I
2
C Bus Controller
The Raspberry Pi GPIO expansion bus I
2
C bus controller device
/dev/i2c-1
is
connected to Grove Connector
J9
.
The I
2
C bus controller is configured for the standard 100 kHz clock rate. It can be
configured for a different clock rate with a device tree overlay command:
dtparam=i2c_baudrate=400000
The
MUNTS-0018
board has 10 kilohm I
2
C bus pullup resistors
R3
and
R4
already
installed.
Pin Mapping
J9
Pin 1
SCL1
I
2
C Clock Signal
J9
Pin 2
SDA1
I
2
C Data Signal
Raspberry Pi 4 Extra I
2
C Bus Controller
Unlike any of its predecessors, the Raspberry Pi 4 has additional I
2
C bus
controllers available on the GPIO expansion bus. One of these extra hardware I
2
C
bus controllers,
I2C3
, can be mapped to Grove Connector
J5
by appending the
following device tree overlay command to
/boot/config.txt
:
dtoverlay=i2c3
This maps Linux I
2
C bus controller device
/dev/i2c-3
to Grove Connector
J5
.
You may need to install 10 kilohm I
2
C bus pullup resistors at positions
R5
and
R6
.
If at least one I
2
C slave device on the bus has pullup resistors, you will not need
R5
and
R6
.
Pin Mapping
J5
Pin 1
SCL3
I
2
C Clock Signal
J5
Pin 2
SDA3
I
2
C Data Signal
MUNTS-0018 Raspberry Pi Tutorial I/O Board User Guide
Page 8 of 11