I configure ADC0 can work but ADC1 can't work.
I use the same configuration and notice "adc target mask" adc1 use 2. How to use adc1 correctly?
I use ADC1 after power on system can't start up. I use UART to debug print program to find ADC driver bug. As long as adc_init() -> Adc_Sar_Ip_StartConversion(ADCHWUNIT_1_INSTANCE,
ADC_SAR_IP_CONV_CHAIN_NORMAL)-> SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_10(), the program deadlock.
Hi,
Thank you so much for your interest in our products and for using our community.
You can refer to the Adc_Sar_Bctu_Ip_example_S32K3xx example:
Hope it helps you.
Have a nice day!
We didn't solve the problem.We both refer to S32k344 BCTU ADC example code.
We use the different project but same configure in S32K311, it can work.
Initial adc1 to call Adc_Sar_Ip_StartConversion() system hang in S32K314.
Can you try adc1 and use this function in S32k314?