I am using S32 Design Studio 3.4 along with example projects from S32K3 RTD AUTOSAR 4.4.2.0.0 D2203. Specifically, I am working with the Adc_sar_Bctu_ip_example_s32k312 project.
I have configured the ADC channels, but I am encountering an issue where the ADC value ranges from 0 to 227 (min to max). I need the ADC value to range from 0 to 4096, which corresponds to the full 12-bit resolution.
I have attempted to change the configuration settings, but the problem persists. I will attach the configuration I have done in S32 Design Studio.
Could you please assist me in resolving this issue? I look forward to your prompt response.
I have attached the platform_io.c ,kindly check the line from 1026 to 1078.(ADC PART).






