Copyright
©
2017
congatec
AG
SEVALm10
26/58
4.1.3
I2C Bus
The conga-SEVAL provides two I2C interfaces— general purpose interface and power management interface.
4.1.3.1
General Purpose I2C
The general purpose I²C signals are available in different locations on the conga-SEVAL, including on the feature connector X37. The conga-
SEVAL includes socket P20 for an I²C EEPROM (U40) for test purposes during the system development. This 8-pin DIL socket can be used
with various 2-wire serial EEPROMS (for example 24C04 / 24C08 / 24C16 / 24C32) and can be accessed by using the I²C control commands
implemented in the congatec CGOS API driver.
Use DIP switch SW1 to configure the EEPROM’s address inputs (A0-A2) and write protect (WP) pin. Switches 1, 2 and 3 of DIP SW1 are set to
OFF (high state) by default while switch 4 is set to ON (low state) by default. This default configuration sets address pins A0, A1 and A2 to high
and the WP pin to low.
Table 16 DIP Switch SW1 Description
SW1 - DIP
Address
Configuration
Switch 1
Switch 2
Switch 3
Switch 4
ON
OFF
OFF
OFF
A0
OFF
ON
OFF
OFF
A1
OFF
OFF
ON
OFF
A2
N.A
N.A
N.A
ON
WP
Connector Type
P20: 8-pin DIL socket
U40: 8-pin I
2
C EEPROM
U40
I
2
C_GP EEPROM
Socket
P20
SW1
1 2 3 4
O N