ZHCSKL2A December 2019 – May 2022 TUSS4470
PRODUCTION DATA
The primary communication between the IC and the external MCU is through an SPI bus that provides full-duplex communications in a controller-peripheral configuration. The external MCU is always a SPI controller that sends command requests on the SDI pin and receives device responses on the SDO pin. The device is always a SPI peripheral device that receives command requests and sends responses to the external MCU over the SDO line. The following lists the characteristics of the SPI:
The SPI communication begins with the NCS falling edge and ends with the NCS rising edge. The NCS high-level maintains the SPI peripheral-interface in the RESET state. The SDO output is in the tri-state condition.
The SPI does not support back-to-back SPI frame operation. After each SPI transfer the NCS pin must go from low to high before the next SPI transfer can begin.
Figure 7-9 shows an overview of a complete 16-bit SPI frame.
Figure 7-10 shows a SPI transfer sequence between the controller and the peripheral TUSS4470 device. When the controller is writing a SPI frame, the parity error bit indicates if there was a parity error for the previous frame. When the controller is transmitting the data for the SPI write, the peripheral echoes back register address that was sent just before in the command.
The status bits are defined in Table 7-4:
STATUS BIT | DESCRIPTION |
---|---|
STAT 5 - VDRV_READY | Set when VDRV power regulator has reached the programmed voltage level. This is also indicated by VDRV_READY bit. |
STAT 4- PULSE_NUM_FLT | Set if the burst sequence was terminated before completing the pulse number selected. This is also indicated by PULSE_NUM_FLT bit. |
STAT 3 - DRV_PULSE_FLT | Set if there is a "stuck" fault detected during pulsing in a burst sequence. This is also indicated by DRV_PULSE_FLT |
STAT 2 - EE_CRC_FLT | Set if there is a CRC Error when loading internal EEPROM memory. This is also indicated by EE_CRC_FLT bit. |
STAT <1:0> - DEV_STATE | Device State: 00 - LISTEN 01 - BURST 10 - STANDBY 11 - SLEEP |