how to config adc interrupt

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how to config adc interrupt

1,544 次查看
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
标签 (1)
标记 (1)
1 回复

1,089 次查看
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