
9
register address “sticks” at R20. This feature gives the microprocessor quick access to the IO
pins in R20. For example, to output a prestored waveform on a GPIO pin, the SPI master can
write the command byte 10100010 (R20, Write) and then send multiple data bytes to R20 to
output the waveform.
If the SPI master explicitly addresses R21 or above, the register addresses again automatically
increment during the same SS# transfer until R31 is reached, at which point it “sticks” again at
R31.
MISO Values for the First Eight Bits in Full-Duplex Mode
When FDUPSPI = 1, the MAX3421E operates its SPI port in full-duplex mode, meaning that
data is simultaneously clocked in from the MOSI pin and out to the MISO pin on each SCLK
rising edge. The first eight bits of an SPI access constitute the command byte, clocked into the
MOSI pin. The MAX3421E sends status data on the MISO pin while the command byte is
clocked into the MOSI pin. The status bits ,while operating in HOST mode, are shown in
BUSEVENT
IRQ
RSMREQ
IRQ
RCVDAV
IRQ
SNDBAV
IRQ
SUSDN
IRQ
CONN
IRQ
FRAME
IRQ
HXFRDN
IRQ
b7
b6
b5
b4
b3
b2
b1
b0
Figure 2. MISO data when FDUPSPI (HOST = 1).