1 SPI Slave Interface

The ATWINC1500 provides an SPI that can be used for control and for serial I/O of 802.11 data. The SPI Slave pins are mapped as shown in the following table. The RXD pin is the same as the Master Output, Slave Input (MOSI), and the TXD pin is the same as the Master Input, Slave Output (MISO). The SPI slave is a full-duplex, slave-synchronous serial interface that is available following a reset when pin 9 (SDIO_SPI_CFG) is tied to VDDIO.

Table 1-1. ATWINC15x0 SPI Slave Interface Pin Mapping
Pin NumberPin NameSPI Function
9SPI_CFGMust be tied to VDDIO
16SPI_SSNActive low slave select
18SPI_SCKSerial clock
13SPI_RXDSerial data receive (MOSI)
17SPI_TXDSerial data transmit (MISO)

When the SPI is not selected (SSN is high), the SPI does not interfere with data transfers between the serial-master and other serial-slave devices. When the serial slave is not selected, its transmitted data output is buffered, resulting in a high impedance driver onto the serial master receive line.

The SPI slave interface responds to a protocol that allows an external host to read or write any register in the chipset, as well as, initiate DMA transfer.

The SPI slave interface supports four standard modes as determined by the Clock Polarity (CPOL) and Clock Phase (CPHA) configuration. These modes are illustrated in the following table.

Table 1-2. SPI Slave Modes
Mode CPOLCPHA
000
101
210
311

The red lines in the following figure correspond to Clock Phase = 0 and the blue lines correspond to Clock Phase = 1.

Figure 1-1. SPI Slave Clock Polarity and Clock Phase Timing
Figure 1-2. ATWINC15x0 SPI Timing Diagram
: Each chapter in this document is independent of each other. The user can refer directly to the information in any chapter without going through the complete document in sequence.