Hi @durgaprasad6122000,
You can use the examples I've mentioned before to configure the ADC. The Adc_Pdb_Ip_Example_S32K118 does the following.
The example uses the software trigger and hardware trigger from Pdb module to trigger ADC conversion.
The used ADC channel is BandGap (~1.45V corresponding to 1200 with 12 bits resolution at assumed 5.0V reference). The raw read ADC data will be compared with provided value. If the result is correct, the program will go through the While loop of checking this result in Adc user notification (AdcConversionCompleteNotif).
The example is divided in 2 parts:
- Part 1: The sequence of conversion is triggered using Software triggering from ADC
- Part 2: The sequence of conversion is triggered using Hardware triggering from Pdb
Both parts of the example make use of ADC interrupts.
- Initialize the ADC/PDB modules.
- Enable ADC IRQs in interrupt controller.
- Start the ADC conversion by software trigger from ADC
- Read raw ADC data conversion and compare with provided value
- Switch ADC trigger from sofware to hardware
- Configure PDB for triggering.
- Start the ADC conversion by hardware trigger from Pdb
- Read raw ADC data conversion and compare with provided value

Best regards,
Julián