3.4.8.1 mikroBUS1 Connector
The first mikroBUS™ socket (J79) 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 with the system reset line or peripheral reset line by moving resistor R298 to R231 or R232, respectively.
The first mikroBUS interface features an SPI bus shared with the second mikroBUS interface. Each interface has its own Chip Select line connected to its SPI interface (PA15 for the mikroBUS1 interface). PA17 (MISO) is shared between the two, which means that the SPI interface cannot be used at the same time on the two mikroBUS interfaces.
Both mikroBUS interfaces feature a two-wire interface (PC6 and PC7) also shared with the 40-pin RPi connector. The end user should ensure that the I²C addresses used on these nodes are different.
The PWM feature of the first mikroBUS interface (PB15) is shared with the green channel of the RGB LED D12.
To evaluate the CAN FD interface, use specific mikroBUS Click boards™ featuring CAN FD transceivers rather than the standard UART RX/TX signals.
| Function | mikroBUS Signal | PIO | Pin No |
Pin No | PIO | mikroBUS Signal | Function |
|---|---|---|---|---|---|---|---|
|
Analog input |
MBUS0_0.MBUS_AN |
PC05 |
1 |
16 |
PB15 |
MBUS0_0.MBUS_PWM |
PWM |
|
Reset |
MBUS0_0.MBUS_nRST |
PC09 |
2 |
15 |
PB07 |
MBUS0_0.MBUS_INT |
Interrupt |
|
SPI Chip Select |
MBUS0_0.MBUS_CS |
PA15 |
3 |
14 |
PD09 |
MBUS0_0.MBUS_RX |
UART receive (mikroBUS output to SAM) |
|
SPI Clock |
MBUS0_0.MBUS_SCK |
PA16 |
4 |
13 |
PD08 |
MBUS0_0.MBUS_TX |
UART transmit (mikroBUS input from SAM) |
|
SPI MISO |
MBUS0_0.MBUS_MISO |
PA17 |
5 |
12 |
PC06 |
MBUS0_0.MBUS_TWCK |
TWI clock |
|
SPI MOSI |
MBUS0_0.MBUS_MOSI |
PA18 |
6 |
11 |
PC07 |
MBUS0_0.MBUS_TWD |
TWI data |
|
VCC |
VDD_3V3 |
– |
7 |
10 |
– |
5V_MAIN |
VDD |
|
Ground |
GND |
– |
8 |
9 |
– |
GND |
Ground |
