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.

CCS/TMS570LS1227: NHET support

Part Number: TMS570LS1227

Tool/software: Code Composer Studio

Team,

As a followup to the response to the following forum, e2e.ti.com/.../2370558

Could you please answer the following customer question.

  • i have a problem with the HET of  the  LC4357 Board.

     This is my program

     P02_Period   PCNT { hr_lr=HIGH,type=RISE2RISE,pin=2};

    ;P02_HighTime   PCNT { hr_lr=LOW,type=RISE2FALL,pin=2};

    P02_EventCount ECNT { pin=2,event=RISE,reg=A,data=0};

    P02_Branch     BR   { next=P02_Last,cond_addr=P02_PeriodSave ,pin=2,event=RISE};

    P02_PeriodSave   ADD { src1=REM,src2=ZERO,dest=IMM,remote=P02_Period,data=0};

    P02_DJZ        DJZ  { next=P02_Add,cond_addr=P02_Move,reg=A,data=8}; Anzahl Nocken zu zählen

    P02_Add   ADD { src1=REM,src2=IMM,dest=IMM,next=P02_Last,remote=P02_Period,data=0};

    P02_Move   ADD { src1=REM,src2=ZERO,dest=IMM,remote=P02_Add,data=0};Ergebnis hier speichern

    P02_ResetDJZ   MOV32 { remote=P02_DJZ,type=IMTOREG&REM,reg=A,data=8};

    P02_ResetSum   MOV32 { remote=P02_Add,type=IMTOREG&REM,reg=A,data=0};

    P02_Last       BR { next=P00_Period,cond_addr=P00_Period,event=NOCOND};

    P02_Period  works fine, if I do not use (comment out)  the P02_HighTime.

    If I use the P02_Hightime there seems to be an Problem with the HR Data.

    I don’t want to use HR Share, because I need the Pins.

    For me it is ok, to have the P02_Hightime only with Low Resolution.

     Where is my mistake

Thank you.

-Needhu