6.2.1 Overview
The ATWINC15x0-MR210xB has a Serial Peripheral Interface (SPI) that operates as an SPI client. The SPI interface can be used for control and for serial I/O of 802.11 data. The SPI pins are mapped as shown in the following table. The SPI is a full-duplex client-synchronous serial interface that is available immediately following reset when pin 10 (SPI_CFG) is tied to VDDIO.
Pin # | SPI function |
---|---|
10 | CFG: Must be tied to VDDIO |
16 | SSN: Active-Low Client Select |
15 | MOSI (RXD): Serial Data Receive |
18 | SCK: Serial Clock |
17 | MISO (TXD): Serial Data Transmit |
When the SPI is not selected, that is, when SSN is high, the SPI interface will not interfere with data transfers between the serial-host and other serial-client devices. When the serial client is not selected, its transmitted data output is buffered, resulting in a high impedance drive onto the MISO line.
The SPI interface responds to a protocol that allows an external host to read or write any register in the chip as well as initiate DMA transfers.
The SPI SSN, MOSI, MISO and SCK pins of the ATWINC15x0-MR210xB have internal programmable pull-up resistors. These resistors must be programmed to be disabled; otherwise, if any of the SPI pins are driven to a low level while the ATWINC15x0-MR210xB is in the low power sleep state, the current will flow from the VDDIO supply through the pull-up resistors, increasing the current consumption of the module.