EB_Tresos ADC

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

EB_Tresos ADC

292 Views
chenyh
Contributor II

您好 我想问一下为什么我用EB_Tresos配置的can通讯采集数据,一个ADC只能采集2个数据,第三个数据就和第一个数据重复,我上传了一些图片,帮我看看哪里有问题吗?425e829d68518923b2d0595c20800e9.pngc21b63d0034be6775beff1d6cd97474.png

Tags (1)
0 Kudos
Reply
1 Reply

249 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

CAN has nothing related with ADC, so if used both somehow it is simply application task.
For your code, if you start group conversion, you should wait for conversion completion before you can read results. Either you can do this using interrupt and notification enabled (as done in RTD demo example) or for example by calling of Adc_GetGroupStatus function in a loop.

BR, Petr

0 Kudos
Reply