ADC conversion issue

cancel
Showing results for 
Search instead for 
Did you mean: 

ADC conversion issue

133 Views
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 Kudos
0 Replies