Hi, Florian,
I have checked your code, I think you do not set the PWMA_SM0TCTRL register correctly.
Pls add the code:
// route PWMA to PWM_OUT_TRIG0 port
PWMA->SM[kPWM_Module_0].TCTRL |= (1<<0);
If you set the PWMAOT0 bit in the PWMA_SM0TCTRL, the PWM0_A signal will route to the PWM_OUT_TRIG0, if you clear the PWMAOT0 bit in the PWMA_SM0TCTRL, the PWM_OUT_TRIG0 signal will route to the PWM_OUT_TRIG0.
anyway, you have to set the OUT_TRIG_EN bits by the code:
PWMA->SM[kPWM_Module_0].TCTRL |= (1<<0)|(1<<2)|(1<<4);
Pls have a try.
BR
XiangJun Rong