Hi,
I am working on PMIC which is interfaced with SPI.
I would like to know how to disable the PMIC watchdog.
Can any one send sequence of commands to disable the watchdog.
Thanks,
Ram.
Hi Ram
WDW_PERIOD should be configured to 0 during INIT_FS .
You can send 0x020B to FS_WD_WINDOW register in the INIT_FS .
The watchdog configuration requires to write in FS_WD_WINDOW and FS_NOT_WD_WINDOW registers like INIT registers.
Refer to the attached software driver for FS85.
Brs
Cindy
Hi Cindy,
Thanks for your reply.
I have configured as per your guidelines.
The problem is PMIC resets every time.
If possible can you please share only Watchdog Disable code.
I used Simple watchdog to disable the watchdog.
To disable the watchdog we have to close the INIT_FS by good watchdog refresh, after we can able to disable watchdog.
For Good watchdog refresh I used to write default seed into answer register.
/* Performs the watchdog refresh. */
TxDataWithoutCrc[0] = WR_FS_WD_ANSWER | 0x5AB2; /* Normal Watchdog - Default WD_SEED value */
/* Calculate the 8-bit CRC with POLYNOMIAL 0x1D */
crc = CalculateCRC8(TxDataWithoutCrc);
TxData[0] = (TxDataWithoutCrc[0] << 8) | crc;
SpiTxWord(TxData);
Please help me, how to resolve PMIC reset problem.
Thanks & Regards,
Ramanjineyulu.