NXP Semiconductors
PCF2113x
LCD controllers/drivers
11. Interfaces to microcontroller
11.1 Parallel interface
The PCF2113x can send data in either two 4-bit operations or one 8-bit operation and can
thus interface to 4-bit or 8-bit microcontrollers.
In 8-bit mode data is transferred as 8-bit bytes using the 8 data lines DB7 to DB0. Three
further control lines E, RS and R/W are required (see Section 7).
In 4-bit mode data is transferred in two cycles of 4 bits each using pins DB7 to DB4 for the
transaction. The higher order bits (corresponding to bits DB7 to DB4 in 8-bit mode) are
sent in the first cycle and the lower order bits (corresponding to bits DB3 to DB0 in 8-bit
mode) in the second cycle. Data transfer is complete after two 4-bit data transfers. It
should be noted that two cycles are also required for the busy flag check. 4-bit operation is
selected by instruction: see Figure 22, Figure 23 and Figure 24 for examples of bus
protocol.
In 4-bit mode, pins DB3 to DB0 must be left open-circuit. They are pulled up to VDD
internally.
RS
R/W
E
DB7
IR7
IR3
DB6
IR6
IR2
DB5
IR5
IR1
DB4
IR4
IR0
instruction
write
Fig 22. 4-bit transfer example
BF
AC3
AC6
AC2
AC5
AC1
AC4
AC0
busy flag and
address counter read
DR7
DR3
DR6
DR2
DR5
DR1
DR4
DR0
data register
read
mga804
PCF2113_FAM_4
Product data sheet
Rev. 04 — 4 March 2008
© NXP B.V. 2008. All rights reserved.
36 of 65