Hello EveryOne,
I need to use about 8 ADC channels to collect ADC values, They are AD00(PTA0), AD01(PTA1), AD10(PTA2), AD11(PTA3), AD12(PTD2), AD13(PTD3), AD112(PTA15) and AD113(PTA16).
I used SDK to develop the ADC collect, the configure as bellow picture, and use the bellow code to trige each ADC channel to collect ADC value, now only AD00(PTA0) and AD10(PTA2) can get the ADC value ,other channels can not collect ADC value, please help ,thanks
trigle ADC collect code:
check ADC collect end code
Get the ADC collect value
参考这个demo吧,也是software trigger,SDK版本是新一点的,使用了多通道的软件触发ADC采样
When selecting software trigger, you need to pay attention to the conversion time between the two channels, please try to add an appropriate delay and test it again.
Hello Senlent,
I have just add delay for ADC0 ch0 and ch1, but there is no value can be get from ch1. could you help add demo code,thanks
The issue is fixed, I just change channel parameters as 0, the test result is OK.