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.

I stop feeding watchdog in TPS65381,why dosn't it send out reset signal?

Other Parts Discussed in Thread: TMS570LS3137, HALCOGEN

Hi,all      

   I use the code in project of NoRTOS_CCS_RM46  running on TMS570LS3137 , then I set the breakpoint in my projecet and debug other code ,the program stops at  the breakpoint ,but the watchdog dosn't reset TMS570, then I doubt watchdog dosn't work ,so I delete the  statement ecmpSendWdgAnswer();then TPS65381 still dosn't send out reset signal .Why ?Does the TPS65381 not run to right state?Hope to get answer ,thanks a lot.

  • Hello Jiaming,

    I have forwarded your question to one of our experts.  Due to the year-end holidays and vacations, There may be a delay in the response.

  • Jiaming,

    When you use a RM (little endian)project on a TMS570 device (big endian), you need to check if the peripheral control registers are configured correctly. In this case, if the SPI driver source code is generated by HALCOGEN, you need to re-generate the driver because the addresses for SPI transmit and receive registers are different in big endian.

    Thanks and regards,

    Zhaohong

  • The SPI driver is generated by HALCOGEN for TMS570LS3137,I just use ecmp_if.c and ecmp.c

  • Anybody know my problem?I want to know why I set the breakpoint ,the watchdog in TPS65381 dosn't send reset signal.Or is there project for TMS570LS3137 feeding watchdog in TPS65381?

  • Have you put the TPS65381 into Active mode? By default you will configure it in Diagnostic mode, whereby no resets will be issued. Unless you've written the correct register to enable active mode, then it wont reset.

  • How to put TPS65381 to Active mode?I do the test below

         switch(notification)
         {
             case 4 :
              switch (WDWindow)
              {
              /** send three answers during open window */
              case ECMP_WINDOW_OPEN  :
               WdgFailCount = ecmpGetWdgFailCount();

    I find the WdgFailCount is always 7 ,so I change it to WdgFailCount = 0;then TPS65381 resets TMS570LS3137,then how to stop the watchdog in TPS65381?I power cycle TPS65381,but watchdog still work ,and the feeding watchdog code seems don't work ,TMS570LS3137 keeps being reset

  • Here is what I think:

    For whatever reasons, the TPS65381 stays in safe mode in your case. You can send command from MCU to the TPS65381 to find the current state:

    ecmpIfGetRegister(ECMP_SAFETY_STATUS5)

    Regards,

    Haixiao