pcf2113du/f4 NXP Semiconductors, pcf2113du/f4 Datasheet - Page 28

no-image

pcf2113du/f4

Manufacturer Part Number
pcf2113du/f4
Description
Pcf2113x Lcd Controllers/drivers
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PCF2113DU/F4
Quantity:
1 300
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 DB5 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 DB5 to DB0 are set. Bit DB6 can be
set using the ‘set DDRAM address’ command first, or by
using the auto-increment feature during CGRAM write. All
bits DB6 to DB0 can be read using the ‘read busy flag’ and
‘read address’ command.
When writing to the lower part of the CGRAM, ensure that
bit DB6 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 address counter’ 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.
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.
2001 Dec 19
LCD controllers/drivers
Set CGRAM address
Set DDRAM address
Read busy flag and read address
B
CG
IT
H
into the address counter (binary A5 to A0).
DD
into
28
8.10
‘Write data’ writes binary 8-bit data DB7 to DB0 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 DB4 to DB0 of
CGRAM data are valid, bits DB7 to DB5 are ‘don’t care’.
8.11
‘Read data’ reads binary 8-bit data DB7 to DB0 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 pin E is HIGH. After pin 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.
9
9.1
H = 1 sets the chip into alternate instruction set mode.
9.2
The PCF2113x can drive up to 120 icons. See Fig.16 for
CGRAM to icon mapping.
‘Set CGRAM address’
‘Set DDRAM address’
‘Read data’ from CGRAM or DDRAM.
EXTENDED FUNCTION SET INSTRUCTIONS AND
FEATURES
Write data to CGRAM or DDRAM
Read data from CGRAM or DDRAM
New instructions
Icon control
Product specification
PCF2113x

Related parts for pcf2113du/f4