LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Delay on LM3S8962 card between AI0 input to PWM output

Hello I encountered with some parasitic delay between Analog Input  AI0 to PWM output PWM0 (on Luminary Micro evaluation board LM3S8962).


In my case  with minimum components between input and output dealy is about ~2ms.

I work with PWM frequency 20Khz.

 This delay cause big difficult  to close control loop in high gains. What is the reason for this delay ? How it could be reduced ? Best regards

Gil

0 Kudos
Message 1 of 2
(2,486 Views)

Hi Gil,

 

Can you post a picture of your code and elaborate on your setup? Are you taking in a control signal on AIO and using it to change the PWMO, or are you routing the PWM output to AIO externally and observing the delay? How are you measuring the delay? I think we can expect some delay, but I agree that 2 ms is more than expected. What version of LabVIEW for ARM are you using?

 

Thanks,

Product Support Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,460 Views)