3.4.8.2 mikroBUS 2 Connector
The second mikroBUS socket (J26) implements all mikroBUS features, as shown in the schematic below. The reset feature is ensured (by default) by the PIO port PC9 and can be swapped to the system reset line or peripheral reset line by moving resistor R224 to R222 or R223, respectively.
The second mikroBUS interface features an SPI bus shared with the first mikroBUS interface. Each interface has its own Chip Select line to its SPI interface (PA14 for the mikroBUS2 interface). I/Os in common are PA16, PA17 and PA18. That means that the SPI interface cannot be used at the same time on the two mikroBUS interfaces.
The second mikroBUS interface features a two-wire interface (PC6 and PC7) 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 second mikroBUS interface (PB17) is shared with the red junction of the D11 RGB LED.
To evaluate the CAN-FD interface, use selected mikroBUS click boards having the CAN-FD transceivers implemented in place of the standard UART RX/TX signals.
Function | PIO | mBUS Signal | Pin No. | Pin No. | mBUS Signal | PIO | Function |
---|---|---|---|---|---|---|---|
Analog input |
PC13 |
AN |
1 |
16 |
PWM |
PB17 |
PWM |
Reset |
PC9 |
nRST_MBUS |
2 |
15 |
INT |
PA22 |
Interrupt |
SPI Chip Select |
PA14 |
SPI_CS |
3 |
14 |
RX-CAN4 |
PD17 |
UART receive (mBUS output to SAM) |
SPI Clock |
PA16 |
SCK |
4 |
13 |
TX-CAN4 |
PD16 |
UART transmit (mBUS input from SAM) |
SPI MISO |
PA17 |
MISO |
5 |
12 |
TWCK |
PC6 |
TWI clock |
SPI MOSI |
PA18 |
MOSI |
6 |
11 |
TWD |
PC7 |
TWI data |
VCC |
- |
3.3V supply |
7 |
10 |
5V supply |
- |
VDD |
Ground |
- |
GND |
8 |
9 |
GND |
- |
Ground |