Hi everybody (and hopefully hi Anthony),
this is a follow-up to https://e2e.ti.com/support/microcontrollers/c2000/f/902/t/477694?tisearch=e2e-sitesearch&keymatch=hercules%20Center%20align
I started with the given pwm3ph example and managed to change the polarity (I have an active low HW driver Interface) and set all desired values via the main CPU in the "normal" program flow.
However I come across a problem I could not solve until now:
The HET program is started at the START label which enables everything: timer, PWM outputs, ADC triggering, ...
What I need is a permanently running timer to do things like ADC conversion and interrupt triggering all the time, but a seperate enable to the PWM output.
I was thinking about using the pin output registers of the HET for that, but its not synchronized.
Or is use of a second CNT instruction a way to go? But how to synchronize the two timers?
Any good ideas or solutions to solve this (what I think might be a "standard" Problem)?
Thank you,
Ralph