Other Parts Discussed in Thread: TPS65281, HALCOGEN, TMS570LS1227, RM46L852
Dear Champs,
My customer faced 'TPS_SetPowerDownThreshhold FAIL, TPS_ProtectConfigurationRegisters PASS' error at the TPS65281 initialization while SW Lock.
/*test SW_LOCK of Configuration Registers*/
if(TRUE == TpsIf_GetRegister(TPS_SAFETY_PWD_THR_CFG,&u8PWDTHRBackup))
{
if(TRUE == TPS_ProtectConfigurationRegisters(LOCK))
{
if(TRUE == TPS_SetPowerDownThreshhold(0x3U))
{
TPS_SendDebugText(INFO,
(uint8*) "TPS_SetPowerDownThreshhold PASS, TPS_ProtectConfigurationRegisters FAIL", 0);
if(TRUE == TPS_SetPowerDownThreshhold(u8PWDTHRBackup))
{
TPS_SendDebugText(INFO,
(uint8*) "TPS_SetPowerDownThreshhold Restore PASS", 0);
}
else
{
TPS_SendDebugText(INFO,
(uint8*) "TPS_SetPowerDownThreshhold Restore FAIL", 0);
}
}
else
{
TPS_SendDebugText(INFO,
(uint8*) "TPS_SetPowerDownThreshhold FAIL, TPS_ProtectConfigurationRegisters PASS", 0);
}
}
After this error, they also faced "SAFETY_PWD_THR_CFG" error in TPS_RegReadBackandCompare.
When they tried to get log, they found the value of SAFETY_PWD_THR_CFG_MASK register is '0x5' although u8safety_pwd_thr = 0x3.
Could you please check this and provide guide how they need to check to debug this issue?
Thanks and Best Regards,
SI.