8.1 Interfacing with the Host Microcontroller
This section describes how to interface the ATWILC1000-MR110xB module with the host microcontroller. The interface is comprised of a client SPI/SDIO and additional control signals, as shown in the following figure. Additional control signals are connected to the GPIO/IRQ interface of the microcontroller.
| Module Pin | Function(1) | 
|---|---|
| 4 | RESET_N | 
| 13 | IRQ_N | 
| 22 | CHIP_EN | 
| 16 | SPI_SSN/SD_DATA1 | 
| 15 | SPI_MOSI/SD_DATA2 | 
| 17 | SPI_MISO/SD_DATA0 | 
| 18 | SPI_SCK/SD_CMD | 
| 14 | SD_DATA3 | 
| 19 | SD_CLK | 
Note: 
            
- Logic input for module pin SDIO_SPI_CFG(10) determines whether SDIO or SPI client interface is enabled. Connect SDIO_SPI_CFG to VDDIO through a 1 MΩ resistor to enable the SPI interface. Connect SDIO_SPI_CFG to ground to enable SDIO interface.
- It is recommended to place test points for pins I2C_SDA(3), I2C_SCL(2), GPIO_3(25) and GPIO_5(27) in the design.
