16bit i2c bus gpio – Solvline Eddy DKV2.1.0.3 User Manual

Page 37

Advertising
background image

Chapter 3. Development

Environment

37

P14

E

Start enable signal to read or write the data.

IN

2.4.5.3. 16bit I2C Bus GPIO

This 16-bit I2C Bus GPIO (PCA9539) provides general-purpose remote I/O expansion.
Slave address of this chip is set to 0x74 in DK board. and Address can be changed with A1,A0
address input from 0x74 to 0x77.
16-bit I/O is used to Digital Input/Output as below, and this is connected with the Expansion Header
also. If you use for GPIO, it is possible to configure individually.

Function

Description

I/O

P00-P07

DIO Output, Connected with DO[0:7]

OUT

P00

DIO output, DO0

P01

DIO output, DO1

P02

DIO output, DO2

P03

DIO output, DO3

P04

DIO output, DO4

P05

DIO output, DO5

P06

DIO output, DO6

P07

DIO output, DO7

P10-P17

DIO Intput, Connected with DI[0:7]

IN

P10

DIO Input, DI0

P11

DIO Input, DI1

P12

DIO Input, DI2

P13

DIO Input, DI3

P14

DIO Input, DI4

P15

DIO Input, DI5

P16

DIO Input, DI6

P17

DIO Input, DI7

/INT

Connected with PB16 of Eddy-CPU

OUT

2.4.5.4. RTC

- DS1340 (Dallas, I2C interface)
- 12.5pF load capacitance crystal must be used. (Refer to Crystal Spec below)
- Do not use another RTC Chip.
- Backup Battery: CR2032 (235mAh) Lithium Battery.

Advertising