AM263P4-Q1: AM263P4-Q1: Autosar : ADC ISR not triggered on period match event of PWM

  • Hi Wenhao,

    Did you check if the PWM is generated correctly? I did a test with ePWM + ADC example, and test is passed. I haven't checked the sampled ADC values.

    How do you know the ADC is not triggered?

  • When all the ADC peripherals was configurated in ePWM+ADC in DMA mode , the DMA interrupt functions was excuted only once(the first time), so I thought the ADC is not trigged。

    But when I change the mcal configuration, ADC0 was ePWM+ADC in interrupt  mode,  and  ADC1~ADC4 was ePWM+ADC in DMA  mode,

    ADC0 interupt function can be excuted periodically and work normally,but ADC1~ADC4 does not work normally。

    Could you have a try in ePWM+ADC in DMA mode and tell me the result?