Inter-Integrated Circuit (I2C) group

This group defines all used Inter-Integrated Circuit (I2C) interfaces.

Each I2C interface is a sub group with the I2C name as the group name.

"I2C": {
"dac_i2c": {
"pad_scl": "PA5",
"pad_sda": "PA6",
"peripheral" : "I2C0",
"role": "master",
"address_bits": "7",
"clock_max_frequency": "100 kHz",
}
}

pad_scl

Serial Clock.

type: String

pad_sda

serial data signal.

type: String

peripheral

name of the I2C peripheral to use.

type: String

role

Describes the role in the communication. Possible values are:

master

slave

type: enum

address_bits

7bit Address or 10 bit Address

clock_max_frequency

fastest speed (shotest bit time) to use on the SCL line.

Standard Speed (up to 100 kHz)

fast mode (up to 400 kHz)

fast mode plus (up to 1000 kHz = 1 MHz)

high speed mode (up to 3.4 MHz)

ultra fast mode (up to 5 MHz)