For systems with additional safety
requirements, diagnostic and monitoring features have been included in this
reference design.
- Imaging radar
- Watchdog: The LP876242-Q1 device
includes a Q&A watchdog to monitor software lockup, and a system error
monitoring input (nERR_MCU) with fault injection option to monitor the lock-step
signal of the attached MCU.
In this implementation,
the SPI bus is used for the communication between the PMIC and the MCU. This is
done using the two pins for I2C (SCK, SDI) and GPIO2 and GPIO3 (CS0, SDO). When
the SPI is configured instead of the two I2C interfaces, the SPI can access all
of the registers, including the Q&A Watchdog registers.
- Voltage Monitors (VMON): The
voltage monitoring pins within the LP876242-Q1 have been connected to the
1V2_FILTERED and 5V rails. In the event of an under voltage or over voltage
event, this allows the PMIC to monitor these rails and using
SOC_nRESET_FROM_PMIC (GPIO10) issue a hard reset to the SOC. These inputs are
low pass filtered to eliminate any short term events that would not adversely
affect the operation of the system. The connection of these monitors is made
directly at the connection to the radar. This avoids the situation where the
ferrite bead in the power filters could fail and not be detected. The VMON
thresholds and the actions taken during an OV/UV condition are configured in the
Non-Volatile Memory (NVM) settings of the PMIC, and are re-configurable over
SPI.
- Additional Voltage Monitoring: To
monitor the VIN_RF1 and VIN_RF2 rails, they are connected to ADC inputs on the
SOC. If the rails monitored by the PMIC are functioning correctly, the SOC will
be powered and the ADC will be able to monitor the RF rails. The action(s) taken
by the SOC during a failure are configurable in software.
- The watchdog monitors the correct
operation of the MCU. This watchdog requires specific messages from the MCU in
specific time intervals to detect correct operation of the MCU. When the
watchdog detects an incorrect operation of the MCU, the LP876242-Q1 device pulls
the SOC_nRESET_FROM_PMIC (GPIO10) pin low. This process triggers a restart of
the SOC and FE1/FE2.