how to config adc interrupt

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to config adc interrupt

1,403件の閲覧回数
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 返信

948件の閲覧回数
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