Hi,
There's a request about ePWMxA and ePWMxB in one ePWM module, like ePWM1
We'd like to use TZ1 to "one shot" ePWM1A, and TZ2 to "one shot" ePWM1B. TZ2 is about 2~2.5us delayed to TZ1.
Is that possible?
Br, Jordan
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
There's a request about ePWMxA and ePWMxB in one ePWM module, like ePWM1
We'd like to use TZ1 to "one shot" ePWM1A, and TZ2 to "one shot" ePWM1B. TZ2 is about 2~2.5us delayed to TZ1.
Is that possible?
Br, Jordan
Yes this is possible. However you cannot just use the Trip-Zone submodule. You will need to use the Digital Compare Submodule. You can use the TZ1 for Trip-Zone submodule and use it qualifiers to change EPWMxA and TZ2 for Digital Compare to control EPWMxB.
Nima Eskandari
That is correct you can use both DC events to accomplish your task.
Nima Eskandari
The problem is if you set up both the CBC and the OSHT, looking at the diagram below,
If a CBC event has occured, the OR GATE will ignore the OSHT event and vica versa. Not only that, you get only of action on OSHT/CBC TZ event.
These two problems wont let you do both CBC and OSHT using just the tripzone module with flexibility.
What you can do is use the TZ module in CBC mode, then use the DC module in OSHT mode.
They can each have independent actions defined for them in the TZCTL register.