![Maxim Integrated MAX32660 User Manual Download Page 166](http://html1.mh-extra.com/html/maxim-integrated/max32660/max32660_user-manual_1744484166.webp)
MAX32660 User Guide
Maxim Integrated
Page 166 of 195
Figure 13-7. SPI Timing (
.clk_pha = 1)
SCLK
(CLKPOL = 0)
SCLK
(CLKPOL = 1)
Bit15
Bit14
Bit3
Bit2
Bit1
Bit0
MOSI
Bit15
Bit14
Bit3
Bit2
Bit1
Bit0
MISO
Input Sample Time
SSEL
13.3.10
Three-Wire SPI Read and Write
In three-wire SPI, read and write transactions are controlled using the SPI FIFO enable bits. For a read transaction, enable
the Receive FIFO and disable the Transmit FIFO.
13.3.10.1
Read Transaction
Figure 13-8 shows a three-wire SPI read transaction. The direction is set to a read by enabling the receive FIFO
(
rx
_
fifo
_
en
= 1) and disabling the transmit FIFO (
tx
_
fifo
_
en
= 0). The SPI0_MOSI(SISO) pin is
automatically set as an input by hardware based on the FIFO enable bits.