Datasheet

Ref. IS.MDUINO.XXX
10.3 I2C
I2C communication DOES NOT REQUIRE a pull-up resistor for the M-Duino Family. The pull-up
resistor is already implemented in the PCB.
I2C communication is configured by switches, so the switches must be configured in order to
enable the I2C communication.
To enable I2C the switches SCL/I2.6(I2.1) & SDA/I2.5(I2.0) must be set to OFF mode. In this
mode the inputs are totally disabled and the I2C is now enabled.
Industrial Shields does not provide any library to implement the I2C as it can be used the
standard library of Arduino called Wire.
10.4 SPI
The M-Duino pins used for the SPI bus are summarized in the table below. For SPI bus MISO,
MOSI and CLOCK pins are common to all the connected devices to the M-Duino, conversely,
each of the connected devices will have a single and dedicated SS pin.
Function
M-Duino connection
Mega board pin
MISO
50 S0
50
MOSI
51 SI
51
CLOCK
52 SCK
52
Reset
Reset
Reset
SS
SCL/SDA/RX0/TX0/RX1/TX1/RX3/TX3/Pin2/Pin3
21/20/1/0/19/18/15/14/2/3
Check the switch configuration at section 8 to enable SS pins.
Switch
Analog Shield
Relay Shield
ON
OFF
ON
OFF
D ZONE
SCL/I2.6
I2.6
SCL
I2.1
SCL
SDA/I2.5
I2.5
SDA
I2.0
SDA