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.

TMS570LS1114: An unsolved problem about ETPWM(Trip-Zone Submodule) ?

Part Number: TMS570LS1114
Other Parts Discussed in Thread: HALCOGEN

Hello:

According to the advice from Bob ,I state my issue again.
With regard to the ETPWM module using TMS570LS1114PGE (Trip-Zone (TZ) Submodule), I have the following questions:
1.when I configure HALCoGen:ETPWM3->: Trip, Zone, Source:select, all,my program code added the following two sentences:
etpwmEnableTripZoneSources(etpwmREG3,CycleByCycle_TZ4);//4 5 6
etpwmEnableTripInterrupt(etpwmREG3,CycleByCycleTrip);
My program code can work properly, and the normal PWM waveform is observed on the oscilloscope. But when I changed the code to it:
etpwmEnableTripZoneSources(etpwmREG3,CycleByCycle_TZ1);//1 2 3
etpwmEnableTripInterrupt(etpwmREG3,CycleByCycleTrip);
My program code doesn't work properly, and the abnormal PWM waveform is observed on the oscilloscope. I didn't add any other action.

2.Trip-Zone Submodule in the end how to use it, according to the manual, I still can not use it well, stuck here for nearly a month. According to the manual spnu515b, TZ1 to TZ3 are from the GPIO MUX sourced at the page, do I need any other configuration?

3.OSHTfor major short circuits or over-current conditions ,CBC for current limiting operation ?

Explanation: I want to use the ETPWM (TZ) module. I want to achieve the function: when the TZ module to the outside when I detect the error signal, I can make early warning, and the PWM module gives some corresponding instructions, and when no fault, my normal PWM output.

Looking forward to your reply.
Qiu Chi
2017/9/15

  • To use TZ1, TZ2 and TZ3 you must configure pins 3, 4 and 118. This can be done in HALCoGen as shown below.

  • Hello Bob,

    According to your HALCoGen configuration, I found that I was TZ1, TZ2, TZ3 (pin3, 4,118) did not connect.But my procedures with the TZ1, TZ2, TZ3 statement, although the normal operation of the program, I observed on the oscilloscope ETPWM no waveform, a direct trigger failure.I will block the code section, please help me look at.

    In addition, if I want to be detected in the external TZ statement to achieve the function, how to achieve it, such as to detect Oneshot_TZ3, pin3 to a overcurrent signal to achieve the purpose of testing,?in order to check CycleByCycleTrip,if is to pin3 4 118 continuous overcurrent signal What? Is it possible to capture the ETPWM waveform on the oscilloscope?

    Lookingforward to your reply.

    Qiu Chi

    2017/9/18