HRTIM STM32H743 for 3-phase control - shadowing register
Hallo there,
I use HRTIM_MASTER to retrigger HRTIM A,B;C and to trigger ADC. This works fine.
Each of slave timers generate PWM signals. I works also good.
As the data from ADC is ready I do recalculation of PWM duty for all 3 channels. And there is an issue.
Shadow registry and update on counter reset (bit TxRSTU) should be executed only if all three values are ready. Sometimes I get faulty PWM because third PWM value is not recalculated but gets updated together with first already calculated duty for A and B.
How can I implement double condition of shadow update: once as all 3 dury are new calculated and on counter reload (to keep PWM cycle consistency).

