Tool/software:
I've configured 4 PWM pairs: PWM0 A/B..PWM3 A/B.
I want to ensure 2 PWM pairs are enabled and disabled simultaneously. I was hoping to use TripZones to do this. But ran into 2 issues.
1. Using Force OSHT requires writing to 1 PWM register followed by another. This is not simultaneous and may enable one PWM before the other by one cycle during counter rollover.
2. Configured both PWM's One-Shot Source to TZ1. Can TZ1 be triggered by software? It seems TZ1 requires GPIO input to toggle. There aren't many GPIO pins available on our board.
3. I also only want to toggle only 4 at a time, leaving the other 4 PWMs untouched. Also keeping all 8 PWM clocks in sync. Disabling/enabling 4 out of 8 PWM clocks may inadvertently put them out of sync. This is why I prefer to use TZ and not control PWM clocks.
Please help provide suggestions on how I can simultaneously enable/disable 2 pairs of PWMs.
Thanks.
