I am trying to read the potentiometer voltage ( ADC1 Channel 6 on PE12 ) on the development board for MPC5744P by PWM -CTU-ADC synchronization.
The problem is that ADC seems only read once.That is, it doesn't continuously read the ADC.
I am using the S32 studio IDE.
and the code I configured is based on the example
Example MPC5744P FlexPWM CTU ADC synchronization and motor control example of MPC5744P.
The initialization code is attached.
I can't find what's wrong with the setting, so please help. Thanks in advance!