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: How to get the TPS65381 to respond the TMS570 error pin?



Tool/software: Code Composer Studio

Hello All,

Its configuration is as follows:

Tps65381_SetReg(SAFETY_FUNCTION_CONFIG, 0xE4);                     /** - ERROR_CFG=1 the TMS570 ERROR pin mode is enabled*/

Tps65381_SetBit(SAFETY_CHECK_CONTROL, 2, 0);                             /** - NO_ERROR=0 MCU_ERROR pin failure is monitored*/

Tps65381_SetReg(SAFETY_ERROR_PWM_LOW, 0xC8);                      /** - SAFETY_ERR_PWM_L =(5x200)=1ms*/

Tps65381_SetBit(SAFETY_FUNCTION_CONFIG, 7, 0);                           /** - NO_SAFE_TO=0     SAFE state time-out is enabled. The device transitions to the RESET state after 680 ms when ERR_CNT reaches                                                                                                                                              the   SAFE_LOCK_THR + 1 value.*/

But when TMS570 ERROR pin is low ,device can not transitions to RESET state.Not as described in the manua.

Q:How to configure the TPS65381 to respond the TMS570 error pin?

Thanks a lot

  • Hello,
    I will move this question to the appropriate device forum. The experts there can help you best.

    Thanks
    ki
  • Sam,

    I am not sure that this should work just from seeing a few API calls. These would have been written for some specific hardware configuration because to communicate with the TPS the Hercules device uses SPI.

    Are you even on the same hardware with the SPI configured correctly and connected between the Hercules and TPS? If not this is the place to start. If so have you checked the SPI signaling around one of the API calls to see if there is even a transfer created? that would be my next step.

    -Anthony
  • Hi Anthony,
    Thanks for your answers.I have solved this problem.its configuration error occurred.