beautypg.com

Lcd module, 16bit i2c bus gpio – Solvline Eddy DK User Manual

Page 41

background image

Eddy DK Programmer Guide

41

2.4.5.2. LCD Module

Graphic LCD Module (PowerTIP PG12864LRU-JCNH11Q and I2C-Bus I/O Expander IC PCA9539)

Signal Name

Function

Description

I/O

P[00:07]

Data bits

Used for data transfer between the CPU and the LCD

module.

I/O

P10

/CS1

Chip enable for D2 (Segment 1 to 64)

IN

P11

/CS2

Chip enable for D3 (Segment 65 to 128)

IN

P12

R/W

R/W signal input is used to select the read /write

mode

High = Read mode, Low = Write mode

IN

P13

D/ I

Register selection input

High = Data register

Low = Instruction register (for write)

Busy flag address counter (for read)

IN

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