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 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 = WR_FS_WD_ANSWER | 0x5AB2; /* Normal Watchdog - Default WD_SEED value */
/* Calculate the 8-bit CRC with POLYNOMIAL 0x1D */
crc = CalculateCRC8(TxDataWithoutCrc);
TxData = (TxDataWithoutCrc << 8) | crc;
Please help me, how to resolve PMIC reset problem.
Thanks & Regards,