I use the S12ZVMC256 chip, and I want to through PMF to trigger PTU.I have configured the program which generated by PE.And I can trigger TG0 through PMF reload event,but I can't trigger TG1.I observed that PTU reload override interrupt flag (PTUIFH_PTUROIF) has been set to 1.There may be a problem in the configuration process.I see that multiple trigger values can be set,And how do I verify that multiple triggers have been implemented.Here are the settings in my PE.
The following are the register parameters of the module after initialization
Hi Alan,
I would recommend starting with an existing demo project for motor control.
Or you can refer to the attached S12ZVM hands-on labs.
The processor expert is good for the initialization only.
As you can see below, the PTUROIF flag is set if PTULDOK is not set when the reload event occurs.
You can scope the triggers and the reload signal on external pins.
Regards,
Daniel