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.

TMS570LS3137: TMS570LS3137

Part Number: TMS570LS3137

Tool/software:

Hi im trying to generate 40khz for 5pins in het code i can see the wave form is coming some time its showing cross trigger. source vclk 2 im using 80Mhz. if i go lower it will be in cross trigger. is there any driving capability of pins because i need to generate 8Mhz using het i achieved it but unable to generate in 5pins.

if there is any restrictions please let me know it will help to my development.

thankyou,

suguresh M

  • Hello,

    Our expert for this topic is current out of office and will reply early next week when they are back. Sorry for the delay in response.

    Best Regards,

    Ralph Jacobi

  • Hi Suguresh,

    Can you please elaborate the cross trigger and can you please provide some reference screenshots of your issue.

    And also refer below thread, here i explained how to generate High resolution PWM waveforms using HET IDE.

    (+) TMS570LS3137: PWM high resolution configuration - Arm-based microcontrollers forum - Arm-based microcontrollers - TI E2E support forums

    --
    Thanks & regards,
    Jagadish.

  • When i was working in low frequency to generate 39Khz to multiple pins like 10pins its creating problem when its reduce to 2to3 pins its working fine. And for 10pins some time its working too.

  • Hi Suguresh,

    When i was working in low frequency to generate 39Khz to multiple pins like 10pins its creating problem when its reduce to 2to3 pins its working fine. And for 10pins some time its working too.

    I never faced this issue before; can you please provide the following details:

    1. Which board you are using, is it a custom board or TI-Specific board?

    2. If it is a TI-Specific board then which debugger you are using, on chip debugger or external debugger?

    3. What are the N2HET pins you are using while you are facing the issue? 

    4. Is it possible to share the simplest project for the issue?

    --
    Thanks & regards,
    Jagadish.

  • Using TI DEVO Board.

    internal debugger.

    N2HET 8,12,17,19,23

  • het code small ex with some seq 00 01 10 11

    Note : Generated code is cross triggering HR=1 LR = 64 CLK : 80Mhz

    /////////////////////////////////////////////

    ;L001 CNT { next=L02,reqnum=0,reg=B,max=1000,data=1};

    ;L002 DJZ { reqnum=0,cond_addr=L00,reg=A,data=turnon_time};

    L00 CNT { next=L01,reg=A,max=20,data=1};
    ;L01 DJZ { cond_addr=L02,reg=A,data=5};
    L01 ECMP { hr_lr=LOW,en_pin_action=ON,cond_addr=L02,pin=8,action=PULSELO,reg=A,data=0};

    L02 ECMP { hr_lr=LOW,en_pin_action=ON,cond_addr=L03,pin=10,action=PULSELO,reg=A,data=0};

    L03 ECMP { hr_lr=LOW,en_pin_action=ON,cond_addr=L04,pin=8,action=PULSEHI,reg=A,data=4};

    L04 ECMP { hr_lr=LOW,en_pin_action=ON,cond_addr=L05,pin=8,action=PULSELO,reg=A,data=10};
    L05 ECMP { hr_lr=LOW,en_pin_action=ON,cond_addr=L06,pin=10,action=PULSEHI,reg=A,data=10};

    L06 ECMP { hr_lr=LOW,en_pin_action=ON,cond_addr=L00,pin=8,action=PULSEHI,reg=A,data=15};


    ;L06 ECMP { hr_lr=LOW,en_pin_action=ON,cond_addr=L00,pin=0,action=PULSELO,reg=A,data=20}
    ;L04 ECMP { hr_lr=LOW,en_pin_action=ON,cond_addr=L05,pin=1,action=PULSELO,reg=A,data=10};
    ;L05 ECMP { hr_lr=LOW,en_pin_action=ON,cond_addr=L00,pin=0,action=PULSEHI,reg=A,data=15};
    ;L02 ECMP { next=L03,hr_lr=HIGH,en_pin_action=ON,pin=1,action=PULSELO,reg=A,data=10};
    ;L04 ECMP { next=L05,hr_lr=HIGH,en_pin_action=ON,pin=0,action=PULSELO,reg=A,data=15};
    ;L05 ECMP { next=L00,hr_lr=HIGH,en_pin_action=ON,pin=1,action=PULSEHI,reg=A,data=10};

  • Hi Suguresh,

    I never saw this cross-triggering issue before, I generated PWM signals on multiple PCB's using N2HET but i never come across this issue before.

    Can we setup one live debugging session?

    I will be available from 10AM to 8PM IST (Indian Standard Time), based on your availability can you setup a debugging session?

    --
    Thanks & regards,
    Jagadish.

  • i solved the problem by increasing JTAG Clock thankyou for your support.