mikroBUS Interface

The SAMA5D2-ICP hosts three pairs of 8-pin female headers (J21, J22, J23) for the mikroBUS interfaces. The mikroBUS defines mainboard sockets and add-on boards used for interfacing microprocessors with integrated modules with proprietary pin configuration and silkscreen markings. The pinout consists of three groups of communication pins (SPI, UART and TWI), four additional pins (PWM, interrupt, analog input and reset) and two power groups (+3.3V and GND on the left, and 5V and GND on the right 1x8 header).

The figures below illustrates the implementation of the mikroBUS interfaces.

Figure 1. mikroBUS1 Interface
Table 1. mikroBUS1 Connector J21 Pin Assignment
SAMA5D27 MBUS Signal Pin No. MBUS Signal SAMA5D27
Function PIO PIO Function
Analog input PD26 AN 1 16 PWM PC4 PWM
Reset PC5 RST 2 15 INT PC3 Interrupt
SPI CS PC21 SPI_NPCS 3 14 UART_RX PB26 UART receive
SPI clock PC18 SPI_SPCK 4 13 UART_TX PB27 UART transmit
SPI MISO PC19 SPI_MISO 5 12 TWI_SCL PD22 TWI clock
SPI MOSI PC20 SPI_MOSI 6 11 TWI_SDA PD21 TWI data
3.3VCC 3.3V supply 7 10 5V supply 5VDD
Ground GND 8 9 GND Ground
Figure 2. mikroBUS2 Interface
Table 2. mikroBUS2 Connector J22 Pin Assignment
SAMA5D27 MBUS Signal Pin No. MBUS Signal SAMA5D27
Function PIO PIO Function
Analog input PD25 AN 1 16 PWM PB23 PWM
Reset PB24 RST 2 15 INT PB22 Interrupt
SPI CS PB31 SPI_NPCS 3 14 UART_RX PC12 UART receive
SPI clock PB30 SPI_SPCK 4 13 UART_TX PC13 UART transmit
SPI MISO PB29 SPI_MISO 5 12 TWI_SCL PD22 TWI clock
SPI MOSI PB28 SPI_MOSI 6 11 TWI_SDA PD21 TWI data
3.3VCC 3.3V supply 7 10 5V supply 5VDD
Ground GND 8 9 GND Ground
Figure 3. mikroBUS3 Interface
Table 3. mikroBUS3 Connector J23 Pin Assignment
SAMA5D27 MBUS Signal Pin No. MBUS Signal SAMA5D27
Function PIO PIO Function
Analog input PD24 AN 1 16 PWM PB20 PWM
Reset PB21 RST 2 15 INT PB19 Interrupt
SPI CS PA17 SPI_NPCS 3 14 UART_RX PC7 UART receive
SPI clock PA14 SPI_SPCK 4 13 UART_TX PC8 UART transmit
SPI MISO PA16 SPI_MISO 5 12 TWI_SCL PD22 TWI clock
SPI MOSI PA15 SPI_MOSI 6 11 TWI_SDA PD21 TWI data
3.3VCC 3.3V supply 7 10 5V Supply 5VDD
Ground GND 8 9 GND Ground
Figure 4. mikroBUS Connectors Location