i am new to this NXP s32k3 and i am working with NXP s32k311 mcu .....i want to configure ADC of s32k311 but i don't know how to start ......please share me some resources and also provide ADC LLD (non-autosar) drivers training module so that i can get to know how to use APIs and which APIs to call....provide me every resource of ADC so that i can configure it by myself.
unfortunately the RTD installation does not contain demo examples specifically for the S32K311, but there are demos for other derivatives that can serve as useful references. The recommended approach is to create a new project, perform manual configuration, and copy the relevant code.
The ADC module in S32K311 receives its input clock from CORE_CLK, which can be up to 120 MHz depending on your system configuration. However, the ADC uses an internal conversion clock, which is derived by dividing the input clock using the ADC.MCR[ADCLKSEL] setting:
ADCLKSEL = 00 → divide by 1
ADCLKSEL = 01 → divide by 2
ADCLKSEL = 10 → divide by 4
All internal ADC timing - including sampling and conversion - is based on this divided clock. The conversion time itself is not configurable directly; it depends on resolution and averaging settings. You may refer to an explanation in this article S32K312 ADC Clock Selection