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.

ETPWM ONT-SHOT Trip force enable use TZFRC rigester

Other Parts Discussed in Thread: TMS570LS0714, HALCOGEN

I  use TMS570LS0714 with PWM  output in ETPWM  way, but  I can't use TZFRC=0x0004  force TZFLG=0X0004 when i want to shut up pwm. 

In 28035 dsp when we operate those registers ,we use ELLOW  befor and us EDIS to protect . 

but i can't find those program like this in TMS570, anyone can help me out of  the trouble?TKS.

  • Hi Arvin,
    I'm not familiar with the 28035 device. I guess the ELLOW and EDIS are some type of mechanism to protect the registers, correct? In TMS570, you should be able to write to TZFRC register in either user or privilege mode.

    Are you simply porting your code from 28035 to TMS570LS07x device? If this is the case then it will not work. The ETPWM pins are multiplexed with other functional pins differently between these two devices. You will need to configure the PINMUX. I will suggest that you use the HalCoGen to configure the ETPWM module for 570 device.
  • Hi Charles,

    Thans for your reply , I am not porting the code from 28035 simply, I configure the PWM module use HalCoGen already.

    I solve the problem yesterday. The reason is I put the register TZFRC into 1s task in FREERTOS, I think maybe it's too long for the operation.I don't know the detail ...don't kown it clearly. The result is I put the program about TZFRC into 1ms interrupt or 100us interrupt ,It's ok...The problem fly..

    Arvin Lu