PCF2114AU/10 PHILIPS [NXP Semiconductors], PCF2114AU/10 Datasheet - Page 27

no-image

PCF2114AU/10

Manufacturer Part Number
PCF2114AU/10
Description
LCD controller/drivers
Manufacturer
PHILIPS [NXP Semiconductors]
Datasheet
Philips Semiconductors
9.6.3
Controls the V
9.7
‘Set CGRAM address’ sets bit 0 to 5 of the CGRAM
address (A
(binary A[5] to A[0]). Data can then be written to or read
from the CGRAM.
Only bits 0 to 5 of the CGRAM address are set by the
‘Set CGRAM address’ instruction. Bit 6 can be set using
the ‘Set DDRAM address’ instruction or by using the
auto-increment feature during CGRAM write. All bits 0 to 6
can be read using the ‘Read busy flag and address’
instruction.
9.8
‘Set DDRAM address’ sets the DDRAM address (A
Table 3) into the Address Counter (binary A[6] to A[0]).
Data can then be written to or read from the DDRAM.
Hexadecimal address ranges.
9.9
‘Read busy flag and address’ reads the Busy Flag (BF).
BF = logic 1 indicates that an internal operation is in
progress. The next instruction will not be executed until
BF = logic 0, so BF should be checked before sending
another instruction.
At the same time, the value of the Address Counter (A
Table 3) expressed in binary A[6] to A[0] is read out. The
Address Counter is used by both CGRAM and DDRAM,
and its value is determined by the previous instruction.
9.10
Writes binary 8-bit data D[7] to D[0] to the CGRAM or the
DDRAM.
Whether the CGRAM or DDRAM is to be written into is
determined by the previous specification of CGRAM or
DDRAM address setting.
1997 Apr 07
00 to 4F
00 to 0B and 0C to 4F
00 to 27 and 40 to 67
00 to 13, 20 to 33, 40 to 53
and 60 to 73
LCD controller/drivers
Set CGRAM address
Set DDRAM address
Read busy flag and address
Write data to CGRAM or DDRAM
G
ADDRESS
CG
in Table 3) into the Address Counter
LCD
voltage generator characteristic.
1-line by 24; 2114x/2116x
2-line by 12; 2114x
2-line by 24; 2114x/2116x
4-line by 12; 2114x/2116x
FUNCTION
DD
C
in
in
27
After writing, the address automatically increments or
decrements by 1, in accordance with the entry mode.
Only bits D[4] to D[0] of CGRAM data are valid, bits
D[7] to D[5] are ‘don’t care’.
9.11
Reads binary 8-bit data D[7] to D[0] from the CGRAM or
DDRAM.
The most recent ‘Set address’ instruction determines
whether the CGRAM or DDRAM is to be read.
The ‘Read data’ instruction gates the content of the data
register (DR) to the bus while E = HIGH. After E goes LOW
again, internal operation increments (or decrements) the
AC and stores RAM data corresponding to the new AC into
the DR.
Remark: the only three instructions that update the data
register (DR) are:
Other instructions (e.g. ‘Write data’, ‘Cursor/Display shift’,
‘Clear display’, ‘Return home’) will not modify the data
register content.
10 INTERFACE TO MICROCONTROLLER
The PCF2116 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 DB0 to DB7. Three further control lines E, RS,
and R/W are required.
In 4-bit mode data is transferred in two cycles of 4-bits
each. The higher order bits (corresponding to DB4 to DB7
in 8-bit mode) are sent in the first cycle and the lower order
bits (DB0 to DB3 in 8-bit mode) in the second.
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 Figs 18, 19 and 20 for examples of bus protocol.
In 4-bit mode pins DB3 to DB0 must be left open-circuit.
They are pulled up to V
‘Set CGRAM address’
‘Set DDRAM address’
‘Read data’ from CGRAM or DDRAM.
(PARALLEL INTERFACE)
Read data from CGRAM or DDRAM
DD
internally.
PCF2116 family
Product specification

Related parts for PCF2114AU/10