SWRU368C May 2018 – January 2021 CC3100 , CC3100MOD , CC3200 , CC3200MOD
The SimpleLink Wi-Fi CC3100 device runs as a SPI slave and supports a 4-wire SPI interface. Table 3-1 lists the required SPI settings.
Attribute | Value |
---|---|
Clock rate | Up to 20 MHz |
Word length | 8-bit, 16-bit, 32-bit |
Mode | 0 (CPOL=0, CPHA=0) |
Other | CS required, and cannot be tied to active state Additional IRQ line required for indicating asynchronous events from the device |
In SPI, all communications on the bus are initiated by the SPI master (the host in this case). There is always a single master on the bus. To allow the SimpleLink Wi-Fi device to trigger asynchronous events to the host, an additional I/O must be connected (H.IRQ) between them. This line triggers the host to read a message from the device.
Figure 3-2 shows a typical host setup of the CC31xx wireless network processor using SPI interface.
For more details about the CC3100 SPI interface, see the CC3100SimpleLink™ Wi-Fi® Network Processor, Internet-of-Things Solution for MCU Applications data sheet.