Hy Xiangjun,
Thanks a lot for your answer. I want to generate 12 PWM signals, that is why I am using both PWMA and PWMB, in order to use all the corresponding channels. But i need them to be synchronized, so yes, I require the synchronous mode.
I write the register directly on the corresponding OnReload interrupt, for example:
PESL(PWMA, PWM_SM0_WRITE_VALUE_REG2, D);
PESL(PWMB, PWM_SM0_WRITE_VALUE_REG2, D);
But although the program doesn't seem to find any problems, i am not able to see all the PWM signals. I do see the signals corresponding to PWMA (GPIOs in J503), but I am not able to see the signals corresponding to PWMB (GPIOs in J501), so maybe i am doing something wrong?