pcf2119x-2 NXP Semiconductors, pcf2119x-2 Datasheet - Page 26

no-image

pcf2119x-2

Manufacturer Part Number
pcf2119x-2
Description
Controllers/drivers
Manufacturer
NXP Semiconductors
Datasheet
Philips Semiconductors
8.6.4
When H = 0 the chip can be programmed via the standard
11 instruction codes used in the PCF2116 and other LCD
controllers.
When H = 1 the extended range of instructions will be
used. These are mainly for controlling the display
configuration and the icons.
8.7
‘Set CGRAM address’ sets bits 5 to 0 of the CGRAM
address A
Data can then be written to or read from the CGRAM.
Attention: the CGRAM address uses the same address
register as the DDRAM address and consists of 7 bits
(binary A6 to A0). With the ‘set CGRAM address’
command, only bits 5 to 0 are set. Bit 6 can be set using
the ‘set DDRAM address’ command first, or by using the
auto-increment feature during CGRAM write. All bits 6 to 0
can be read using the ‘read busy flag’ and ‘read address’
command.
When writing to the lower part of the CGRAM, ensure that
bit 6 of the address is not set (e.g. by an earlier DDRAM
write or read action).
8.8
‘Set DDRAM address’ sets the DDRAM address A
the address counter (binary A6 to A0). Data can then be
written to or read from the DDRAM.
8.9
‘Read busy flag’ and ‘read address’ read the Busy Flag
(BF) and Address Counter (AC). BF = 1 indicates that an
internal operation is in progress. The next instruction will
not be executed until BF = 0. It is recommended that the
BF status is checked before the next write operation is
executed.
28. August 2000
LCD controllers/drivers
Set CGRAM address
Set DDRAM address
Read busy flag and read address
H
CG
into the address counter (binary A5 to A0).
DD
into
26
At the same time, the value of the address counter
expressed in binary A6 to A0 is read out. The address
counter is used by both CGRAM and DDRAM, and its
value is determined by the previous instruction.
8.10
‘Write data’ writes binary 8-bit data D7 to D0 to the
CGRAM or the DDRAM.
Whether the CGRAM or DDRAM is to be written into is
determined by the previous ‘set CGRAM address’ or ‘set
DDRAM address’ command. After writing, the address
automatically increments or decrements by 1, in
accordance with the entry mode. Only bits D4 to D0 of
CGRAM data are valid, bits D7 to D5 are ‘don’t care’.
8.11
‘Read data’ reads binary 8-bit data D7 to D0 from the
CGRAM or DDRAM.
The most recent ‘set address’ command 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 is 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.
There are only three instructions that update the data
register:
Other instructions (e.g. ‘write data’, ‘cursor/display shift’,
‘clear display’ and ‘return home’) do not modify the data
register content.
‘set CGRAM address’
‘set DDRAM address’
‘read data’ from CGRAM or DDRAM.
Write data to CGRAM or DDRAM
Read data from CGRAM or DDRAM
PCF2119x-2
Product specification

Related parts for pcf2119x-2