Sleep mode is the power saving mode for the device. In this mode, the device can wake up from the CAN bus, LIN bus, WAKEx pins or SW pin (if programmed). If VCC1 is present, SPI is available to change modes and nRST is high. If sleep mode is entered due to a fault condition, INT_2 register 8'h52[7] (SMS) is set to 1b. Figure 8-28 shows the various ways that sleep mode is entered and exited.
While the device is in sleep mode, the following conditions exist.
- The LIN bus driver is disabled and the internal LIN bus termination is switched off (to minimize power loss if LIN is short circuited to ground). However, the weak current pull-up is active to prevent false wake up events in case an external connection to the LIN bus is lost.
- The CAN bus driver is disabled and the internal CAN bus termination is switched to a weak ground.
- The CAN and LIN transceiver receivers are disabled.
- The CAN and LIN low power wake up receivers are as programmed.
- WAKE pins are as programmed.
- If cyclic sensing is enabled, HSS4 periodically turns on.
- If programmed as a digital wake input, the SW pin is on.
- If cyclic wake is enabled in sleep mode, the device wakes and transitions to restart mode and then standby mode once VCC1 > UVCC1R. If a watchdog trigger does not take place during the long window or the fault is still present, the device transitions back to sleep mode.
- When VCC1 is configured on for sleep mode, consider the following:
- The watchdog can be enabled as a timeout watchdog
- A watchdog fault causes the device to enter restart mode and finally to standby mode. This also sets the SME interrupt
- SBC faults are now monitored that can cause the device to change modes automatically which sets the sleep mode exit (SME) interrupt at INT_2 register 8'h52[0] is set to 1b
- If Fail-safe mode is enabled, a TSD, OVCC1 or VCC1SC fault causes the device to transition to Fail-safe mode and turn off VCC1.
- If Fail-safe mode is disabled, a TSD, OVCC1 or VCC1SC fault causes VCC1 to turn off for 300ms, and then turn back on. If the fault has cleared, the device transitions to restart and finally to standby mode.
- If a UVCC1 event takes place, the device transitions to restart mode and finally to standby mode. This also sets the SME interrupt.
To enter sleep mode successfully, following conditions have to be met:
- All existing wake interrupts have to be
cleared
- Failure to do so results in an immediate wake-up
from SBC Sleep Mode by going using SBC Restart to Standby Mode.
- At least one method to wake up has to be
available
- If all wake methods are
disabled before entering Sleep mode, the device does not enter sleep
mode and sets a MODE_ERR interrupt, 8'h5A[3].
- If VCC1_CFG=10b (VCC1 is
off in Sleep mode) and WAKEx pin threshold is set to be VCC1 based
(WAKEx_LEVEL =00b), the device sets CAN and LIN to be wake capable
before entering Sleep mode