According to the Am335x Technical Reference Manual:
Two PWM outputs (EPWMxA and EPWMxB) that can be used in the following configurations::
– Two independent PWM outputs with single-edge operation
– Two independent PWM outputs with dual-edge symmetric operation
But in the interrupt table there are no dedicated IRQ for each channel.
There are only, ePWM0INT, ePWM1INT, ePWM2INT, and the respective tripzones.
My use case is that I want to use all 6 PWM outputs in my system and I want to drive each output independently.
And example of driving each would be to wait for an interrupt in each channel and vary the duty cycle for the next period.
However, if only having only a single IRQ for 2 independent channel would add overheads in handling interrupts.
Is there a way that the latency can be minimized. Because as I see it now, I have to create 3 threads. 1 IST and 2 other for each channel control.
Ideally, I would prefer if I can have 2 IST dedicated for each channel.