SLVSHF3 October 2024 LP5899-Q1
PRODUCTION DATA
The LP5899-Q1 monitors the SPI for communication with an internal SPI reset timer. Once an SPI command is started, the timer starts and the device expects the full command (including reading of data) is completed before the timer overflows. The timer starts counting from the first clock pulse on the SCLK pin (with CS pin at active state) when the device is trying to detect the SPI command word. The timer is reset when the device starts to wait for the next SPI command word. If the watchdog timer overflows, the SPI peripheral is reset and starts to wait to receive the next SPI command word. In addition, the FLAG_SPI_TIMEOUT, FLAG_SPI, and FLAG_ERR are set to 1. The SPI controller can access the LP5899-Q1 and write 1 to CLR_FLAG to clear the flags. The SPI reset timer is programmable by 4-bit field SPI_RST_TIMEOUT_CFG in register SPICTRL. TI recommends to enable this timer when the CS pin is always tied to the active state.