SWRU543B January 2019 – June 2025 CC3230S , CC3230SF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
The two data pins interface mode allows a full-duplex SPI transmission where data is transmitted (shifted out serially) and received (shifted in serially) simultaneously on separate data lines, MISO and MOSI.
The serial clock (SPICLK) synchronizes shifting and sampling of the information on the two serial data lines. Each time a bit is transferred out from the master; 1 bit is transferred in from the slave.
Figure 8-2 shows an example of a full-duplex system with a master device on the left and a slave device on the right. After eight cycles of the serial clock SPICLK, the WordA has been transferred from the master to the slave. At the same time, the WordB has been transferred from the slave to the master.
Figure 8-2 SPI Full-Duplex Transmission (Example)When referring to the master device, the control block transmits the clock SPICLK and the enable signal SPIEN.