Other Parts Discussed in Thread: TPS65381A-Q1
Tool/software: Code Composer Studio
Dear E2E:
I have a problem about the TPS65381,when MCU set an esm error to TPS65381.
Configuration:
1. The connection of hardware between tps65381 and tms570 : the same as show in document of TPS65381A-Datasheet(Rev A) (P103 Figure 6-9)
2. The configuration of tps65381: PWD_THR = 0X5u, TPS_WDT_WIN1_CFG = 0x2u, TPS_WDT_WIN2_CFG = 0x1u
Phenomenon:
condition1: 1. check the error pin monitoring (this function I used in the TI Library: bool TPS_TestErrorPinMonitoring(TPS_Test_Result * ErrorPinMonitoring_Test))
2. First, using the fixed window(TPS_WDT_WIN1_CFG = 0x2u, TPS_WDT_WIN2_CFG = 0x1u) to check the error (ANSWER_ERR, SEQ_ERR, TIME_OUT, ANSWER_EARLY) of TPS
Second, changing the the fixed window of TPS (TPS_WDT_WIN1_CFG = 0x27u, TPS_WDT_WIN2_CFG = 0x18u)
when I use one of the condition1 as above and esm error to tps65381 , the status of tps65381 : active state -> safe state -> reset state -> diagnostic state ->safe state ... -> dagnostic state -> active state. the reson of Dagnostic state to safe state is the conditon1 can not be passed ,it will be dead in the function. When DEV_ERR_CNT = PWD_THR, the status of tps will enter into standby state, then tps will pass the function of the condition1 , then tps enter into active state.
Question: 1. when I set the PWD_THR > 1 , the tps65381 can not pass the function of condition1 as above. what's the reason of this problem?
2. What is the meaning of the PWD_THR and how to use it?
3. When NO_SAFE_TO = 1 AND DEV_ERR_CNT[3:0] >= SAFE_LOCK_THR[3:0] + 1 , how to jump out of the safe state?