3.4.3.1 mikroBUS 1 Connector

The first mikroBUS 8-pin female header (J10) implements all mikroBUS features as described in the schematic below.

The reset feature is ensured (by default) by the processor reset line and can be controlled by the general reset line by swapping R198 and R199.

Figure 3-39. mikroBUS 1 Interface

The first mikroBUS interface features an SPI bus shared with the second mikroBUS interface. Each interface has its own Chip Select line to its SPI interface (PB6 for the mikroBUS1 interface). I/Os in common are PB3, PB4 and PB5. That means that the SPI interface cannot be used at the same time on the two mikroBUS interfaces.

The first mikroBUS interface features a two-wire interface (PC18 and PC19) shared with the second mikroBUS interface and with the 40-pin RPi connector. The end user must pay attention to the I²C addresses used on these nodes.

The PWM feature of the first mikroBUS interface (PA13) is shared with the green LED control.

Table 3-30. mikroBUS 1 Connector J10 Pin Assignment
Function PIO Mbus Signal Pin No. Pin No. Mbus Signal PIO Function
Analog input PD0 AN 1 16 PWM PA13 PWM
Reset nRST_MBUS RST 2 15 INT PC21 Interrupt
SPI Chip Select PB6 SPI_NPCS 3 14 UART_RX PD19 UART receive (mBUS output to SAM)
SPI Clock PB5 SPI_SPCK 4 13 UART_TX PD18 UART transmit (mBUS input from SAM)
SPI MOSI PB4 SPI_PISO 5 12 TWI_SCL PC19 TWI clock
SPI MISO PB3 SPI_MOSI 6 11 TWI_SDA PC18 TWI data
VCC 3.3V supply 7 10 5V supply VDD
GROUND GND 8 9 GND Ground