Hello,
I am using the PRU-ICSSG (250 MHz - 4ns) of the TMDX654IDKEVM in a current sensing application. I use the ECAP module in APWM Mode Operation to generate a 1MHz PWM with a 50% duty cycle.
As 250*4ns= 1µs I’d expect the set the CAP1 = 250-1 = 249 and CAP2 = CAP1/2 -1 = 124. However this results leads to a Positive width of 504 ns and Neg width of 496 ns. Is it possible to get exactly 50% for 1 MHz?
Regards,
Geoffrey