Part Number: TMS320F28379D
Other Parts Discussed in Thread: TIDA-01606
Tool/software:
Hi,
Is there a way to generate complementary signals between ePWM1, 2 and so on; a complementary signal between ePWM1A and ePWM2A ?
Generating complementary signals in one ePWM (1A and 1B ) is straightforward. But, ePWM1A and ePWM2A and so on, not so.
I was trying to modify TIDA-01606 3L-2L. The first step is to shut down switches Q3 and Q4 (A,B,C). Then Q1 and Q2 (A,B,C) need to be in complementary mode. This means ePWM1A and ePWM2A as complimentary signals.
This 3L to 2L could have been easy if ePWMs could be redirected arbitrarily to any GPIO. Going through the Diagrams of XBARS, Input, output and ePWM XBARs,I think this is not be possible as GPIOs remain limited to the mux options described in the datasheet. XBAR helps take any GPIO of the device into any place in the processor, however, XBAR does not send ePWMs to any arbitrary GPIO.
Another way around 3L---> 2L PWM Driver modification may be if complementary signals can be generated between ePWMs (1A and 2A and so on). This also does not appear to be a possibility,
The next step then is the intervention in HW by generating ePWM A,B complementaries and disabling (in HW) Q3 (and Q4) and using the signal from Q3 to drive Q2. A SW only solution would be preferred. Can you please provide a code snippet if you think this is possible.
Thanks a lot,
en