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
3.4.3.2
mikroBUS 2 Connector
The second mikroBUS 8-pin female header (J12) 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-40. mikroBUS 2 Interface
mikroBUS connectors
FLEXCOM7_IO1
FLEXCOM7_IO0
AD15
GND
GND
mikroBUS2
FLEXCOM9_IO1
FLEXCOM9_IO0
0R
0603
R200
MIKROE-4247
AN
1
RST
2
CS
3
SCK
4
MISO
5
MOSI
6
3.3V
7
GND
8
PWM 16
INT 15
RX 14
TX 13
SCL 12
SDA 11
5V 10
GND 9
J12
5V_MAIN
VDD_3V3
MIKROBUS2_AN_PD1
MIKROBUS2_TX_PC23
MIKROBUS2_RX_PC24
MIKROBUS2_INT_PC20
(5V0)
MIKROBUS2_PWM_PD20
FLEXCOM11_IO4
MIKROBUS2_TWD_PC18
MIKROBUS2_TWCK_PC19
MIKROBUS2_CS_PB7
MIKROBUS2_SCK_PB5
MIKROBUS2_MISO_PB4
MIKROBUS2_MOSI_PB3
FLEXCOM11_IO2
FLEXCOM11_IO1
FLEXCOM11_IO0
nRST_MBUS
S
0R
0603
R198
0R
0603
R199
nRST_MBU
nRST
nRST_OUT
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 (PB7 for the mikroBUS 2 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 second mikroBUS interface features a two-wire interface (PC18 and PC19) shared with the first mikroBUS
interface and with a 40-pin RPi connector. The end user must take care of the I²C addresses used on this nodes.
The PWM feature of the first mikroBUS interface (PD20) is shared with the blue LED control.
SAMA7G54-EK
Function Blocks
©
2022 Microchip Technology Inc.
and its subsidiaries
User Guide
DS50003273A-page 48