
HD66841
28
Pin Programming Method
The palette registers cannot be changed from the default value in the pin programming method.
MPU Programming Method
To change the contents of palette registers in the MPU programming method, set bit 2 (the PS bit) of
control register 1 (R0), to 1. Since data registers (R1–R15) cannot be accessed while this bit is 1, set in to 0
before accessing the data registers again. However, note that control register 1 (R0) can be accessed
regardless of the setting of the PS bit if $0 is set in the address register (AR).
ROM Programming Method
In the ROM programming method, the HD66841 accesses ROM sequentially from address $0000 to
$001F. In this case, write 0 to bit 2 of address $0000 (PS bit) before writing data register values to
addresses $0001–$000F, and write 1 to bit 2 of address $0010 (PS bit) before writing palette register values
to addresses $0011–$0018.
DIZ Function
The HD66841 thins out data on certain lines or dots every frame to enable gray-scale display. If a checker-
board pattern consisting of alternately arranged gray scales of different levels (Figure 13) is displayed by a
simple dot-basis gray-scale display control method. The display might sometimes seem to “flow”
horizontally, depending on the gray-scale and LCD panel characteristics.
The HD66841 automatically checks for such a checker-board section and changes the gray-scale display
control method of dot-based data thinning to that of frame-based data thinning, to reduce display flow.
Setting bit 3 (DIZ) of control register 1 (R0) to 1 enables this function. In frame-based data thinning,
however, flickering might appear with some LCD panels; in that case, select the control method that
generates the better display.
Gray scale 2 (1 dot)
Gray scale 1 (1 dot)
Figure 13 Checker-Board Display