ADC1 channels numbers

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

ADC1 channels numbers

254 次查看
Meneglier
Contributor I

Hi community,

I have a custom board with iMX RT 1062 XVN5B, i want to measure 15 ADC channels separate in 2 groups :

Group 1 : 8 channels ADC1.1 to ADC1.8,   trigged by CH0_XBAR_TRIG, 0 » PIT_TRIGGER0  (100 uSec)

Group 2 : 7 channels ADC1.9 to ADC1.15,   trigged by CH0_XBAR_TRIG, 1 » ADC_ETC_XBAR0_COCO0

I use the config tools like this :

ADC1 : 15 channels 

Meneglier_1-1692863833489.png

Meneglier_2-1692863849778.png

ADC_ETC XBAR trigger TC0

Meneglier_3-1692863876107.png

ADC_ETC XBAR trigger TC1

Meneglier_4-1692863920832.png

PIT trig 0

Meneglier_5-1692863944139.png

ADC_ETC pin mux

Meneglier_6-1692863967920.png

ADC1 pin mux

Meneglier_7-1692863993050.png

When i read the ADC_ETC_TRIG _0  results « ADC_ETC_GetADCConversionValue(ADC_ETC, ADC_ETC_TC_0, 0 to 7) »  corresponding to (ADC channel 1 to i get correct values.

When i read the ADC_ETC_TRIG _1  results « ADC_ETC_GetADCConversionValue(ADC_ETC, ADC_ETC_TC_1, 0 to 7) » corresponding to (ADC channel 9 to 15)  i get nothing.

I am looking for a solution to read the 16 channels of ADC1

 

 

0 项奖励
回复
0 回复数