5.1 Using SPI Interface via SD/MMCplus Connector
The following hardware rework must be done in the WILCS02-SD board to use the SPI interface through the same SD/MMCplus connector.
- Remove resistors R103, R105, R108, R111 and R113 from the WILCS02-SD board
- Populate R104, R106, R109 resistors
| Pin on SD/MMC Connector | SDIO Bus Mode | SPI Connection |
|---|---|---|
| 1 | DATA 3 | SPI_CS |
| 2 | CMD | SPI_RXD |
| 3 | VSS | Ground |
| 4 | VDD | 3.3 V Power supply |
| 5 | SD CLK | SPI_CLK |
| 6 | VSS | Ground |
| 7 | DATA 0 | SPI_TXD |
| 8 | DATA 1 | — |
| 9 | DATA 2 | — |
| 10 | — | — |
| 11 | MCLR | MCLR |
| 12 | Device IRQ/INTOUT | Device IRQ/INTOUT |
| 13 | Reserved | — |
| Peripheral Interface | Modification Required in Resistors |
|---|---|
| SDIO (Default) | Mounted resistors: R103, R105, R107, R108, R110, R111, R113, R114, R116 and R117 Not mounted resistors: R104, R106, R109, R112 and R115 |
| SPI | Mounted resistors: R104, R106, R107, R109, R110, R107 and R116 Not mounted resistors: R103, R105, R108, R111, R112, R113, R117 and R115 |
