how to config adc interrupt

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

how to config adc interrupt

1,289 Views
jerryxie1
Contributor II

I have to convert multiple adc channel,use interrupt,  configration adc[0]->SC1[1] ,  program cannot enter interrupt, but  configration adc[0]->SC1[0] is correct ,

pastedImage_1.png
Labels (1)
Tags (1)
1 Reply

834 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

 

ADC doesn’t support the sequential conversion for multiple channels using a single software trigger. Moreover, just a SC1A (or SC1[0]) can be used for software trigger. None of the SC1B-SC1n registers are used for software trigger operation.

You should involve the PDB to trigger multiple channels. You can find several threads discussing PDB. For example

https://community.nxp.com/message/851097

https://community.nxp.com/message/867719

 

BR, Petr