SLLSFS6C September 2024 – December 2025 TIOL221
PRODMIX
When SPI/PIN is tied high, TIOL221 is in SPI mode. The SPI communication uses a standard SPI. Physically the digital interface pins are CS /PP (Chip select active-low), SDI/NPN (SPI Data In), SDO/NFLT2 (SPI Data Out) and SCK (SPI Clock). Each SPI transaction is initiated by a seven bit address with a R/W bit. The data shifted out on the SDO pin for the transaction always starts with the register 8'h01[7:0] which is the status register. This register provides the high-level status information about the device. The data byte which is the ‘response’ to the address and R/W byte are shifted out next. See Figure 7-5 and Figure 7-6 for SPI read and write frame diagrams for non-burst mode. See Figure 7-7 and Figure 7-8 for SPI read and write frame diagrams for burst mode.
The SPI controller must generate clock and data signals in SPI MODE0 (clock polarity CPOL = 0 and clock phase CPHA = 0) to communicate with TIOL221. The SPI input data on SDI is sampled on the low to high edge of SCK. The SPI output data on SDO is changed on the high to low edge of SCK.