
HD66841
15
Functional Description
Programming Method
The user may select one of two methods to control the HD66841 functions: by pin programming method or
by internal registers (internal register programming method). The internal register programming method
can be divided into the MPU programming method and the ROM programming method. The MPU writes
data into internal registers in the MPU programming method and ROM writes the data in the ROM
programming method. Table 7 lists the relation between programming method and pins.
Pin Programming Method:
HD66841 mode setting pins control functions in the pin programming
method.
Internal Register Programming Method:
In the internal register programming method, an MPU or ROM
writes data into internal registers to control functions. Figure 3 illustrates the connections of MPU or ROM
and the LVIC. Figure 2 (1) is an example of using a 4-bit microprocessor, but since the HD66841 MPU bus
is compatible with the 4-MHz 80-family controller bus, it can also be connected directly with the bus of
host MPU.
Table 7
Programming Method Selection
Pins
PMOD1
0
0
1
1
Note:
PMOD0
0
1
0
1
Programming Method
Pin programming
Internal register
programming
With MPU
With ROM
Prohibited*
*
This combination is for a test mode and disables display.
B0
B1
B2
B3
A0–A3
CS
RS
WR
RD
D0–D3
4-bit MPU
HD66841 [LVIC-II]
4
(1) Connection of MPU and LVIC
D0–D3
A0–A4
D0–D3
A0–A4
ROM
HD66841 [LVIC-II]
(2) Connection of ROM and LVIC
5
4
Figure 3 Connection of MPU or ROM and HD66841