ADC conversion issue

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

ADC conversion issue

872件の閲覧回数
shudhamatinarha
Contributor II

Hello Team,

I am working on ADC driver with S32K146 controller for Autosar platform. I am using Tresos tool(S32K14X_MCAL4_3_RTM_HF2_1_0_1
NXP driver stack) for code generation. I have done the below configuration:
Adc HwUnit0: one Adc group with 5 channels, ADC SW trigger, back toback mode enable, one shot trigger conversion without interrupts
Adc HwUnit0: one Adc group with 1 channel, ADC SW trigger, one shot trigger conversion without interrupts
With this configuration I am able to get the correct conversion data (verified with different voltage inputs) in HW
register but I am not able to read the data in user buffer using ADC_ReadGroup API. I am getting ADC status as ADC busy as the coversion flag is not set after conversion.
So as per my understanding conversion flag should get set as soon as conversion is completed. Can you help me to understand this behaviour or I am missing out any configuration?
If any other configuration details are needed please revert me.

0 件の賞賛
0 返答(返信)