EB_Tresos ADC

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

EB_Tresos ADC

1,069件の閲覧回数
chenyh
Contributor II

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

タグ(1)
0 件の賞賛
返信
1 返信

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