您好 我想问一下为什么我用EB_Tresos配置的can通讯采集数据,一个ADC只能采集2个数据,第三个数据就和第一个数据重复,我上传了一些图片,帮我看看哪里有问题吗?
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