Other Parts Discussed in Thread: SYSCONFIG, C2000WARE
Hi Champ,
I am asking for my customer.
(1). The bit TZA/B in TZCTL register tells that TZ1 to TZ6, DCAEVT1/2, DCBEVT1/2 Trip Action On EPWMxA/B. Is it an OR event which means either one of the event is triggered, it would have the trip action(Hi-Z/HIGH/low/do-nothing) on channel A/B output, correct ?
(2). Continue to 1st question, since it is also specified the priority when conflicting actions on the TZCTL, and TZA has the highest priority. Today, if the trigger source is forced by one of DCAEVT1/2.force signals, the bit DCAEVT1/2 in TZCTL could also configure the action on EPWMxA in one of the four state. That means TZA event would also needed to set as same as the action configuration as DCAEVT1/2 Event, correct ? Otherwise, TZA has the highest priority that could overwrite the action configuration in DCAEVT1/2 Event, correct ?
(3). If yes, what is the purpose of having DCAEVT1/2 Event configuration ? Why just have TZA/B decide the EPWMxA/B action configuration ?
(4). So, here comes to my customer condition. They expect to use both one-shot (DCAEVT1) and cycle-by-cycle (DCAEVT2) on one of EPWM module A channel output. Based on above answers and the configuration in GUI, that means I could only have the output action configuration in either state, and it is actually determined by TZA Event state configuration, correct ? So, back to my customer condition and according to the 1st question's answer (OR event), user could only have this A channel output either in one-shot or cycle-by-cycle configuration, correct ?
(5). Is there a suggestion on how to configure the EPWMx module A/B channel output with two different action configurations DCAEVT1/2 signals ? For example, if DCAEVT1 Event is forced trigger, have A channel output set HIGH, and if DCAEVT1 Event is forced trigger, have A channel output do nothing.
Kindly have the expert help on these questions.
Thanks and regards,
Johnny