LPC 1788 ADC Burstmode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC 1788 ADC Burstmode

395 Views
fws
Contributor I

Hello,

I have a problem understanding the behavior of the adc burst mode,

I configure the adc in burstmode with 400khz

I am calling

Chip_ADC_ReadValue

in an Interrupt triggered by the mcpwm. However I sometimes get "ERROR" as a return value. I guess it is caused by an ADC overrun. Is the value that in the ADC Register still valid but values were lost or is it corrupted? Is it possible to just get the last valid value that was read by the ADC?

Kind regards

 

0 Kudos
Reply
0 Replies