I am using the TMS520LS3137 Hercules part (note that part-number did not work in the part-number-field above); I have a single-IO-pin N2HET application running based somewhat on the sine-wave demo, but I cannot figure out how this simple control loop can be extended to multiple IO pins (like 3 motor-phases).
Do you have an example application that manipulates multiple IO pins? I thought the CNT/ECMP pairs might be extended to each IO pin, but CNT increments the counter value each execution (so there cannot be a second CNT instruction for the second ECMP instruction). Then I thought just a second ECMP instruction to manipulate the second IO pin, but the Z flag only stays active for 1 cycle, so the second ECMP would not be able to act on the CNT (Z=1) action. So what does an application look like that requires 3 different pins to be set to 3 different values?
Thanks,
Jim