Hi,
We are using TPS3851 for External watchdog configuration. We are facing issue with its initialization.
The code snippet we are using for the initialization is as below:-
FUNC(void, BT_GLOBAL_CODE) PLATFORMTda2xxSetPinmuxRegs(C_UINT32 baseAddrOffset, C_UINT32 ioPinCfg) { C_UINT32 tmpRegVa ;
C_UINT32 regVal=0U;
/* Unlock MMR_5 for pin muxing*/ HW_WR_REG32(0x4A002550U, 0x6F361E05U); tmpRegVal = HW_RD_REG32(SOC_CORE_PAD_IO_REGISTERS_BASE + baseAddrOffset); tmpRegVal &= ~(0xF000FU); tmpRegVal |= (ioPinCfg & 0xF000FU); HW_WR_REG32((SOC_CORE_PAD_IO_REGISTERS_BASE + baseAddrOffset), tmpRegVal); /* Lock MMR_5 for pin muxing*/ HW_WR_REG32(0x4A002550U, 0x143F832CU); regVal = HW_RD_REG32(0x48460014U); regVal |= 0x00000800U; HW_WR_REG32(0x48460014U, regVal); }
We are unable to configure the Watchdog Timer using the above code.
Please give your comments on which all registers need to be configured for enabling External Watchdog and the procedure of doing the same.