VII LCD CONTROLLER BLOCK: LCD CONTROLLER

Programming Notes

(1)When the chip is set in HALT2 or SLEEP mode after the LCD controller is set in power-save mode, it is necessary to wait until all LCD signals are turned off by the controller’s power-down sequence (by default, a one-frame period). If the chip is placed in HALT2 or SLEEP mode while LCD signals are being output, the LCD panel may be damaged due to stoppage of the clock.

(2)When LPWREN (D4)/LCDC mode register 2 (0x39FFE3) is used to control the LCDPWR output, be careful to ensure that LCD signals are not turned off while the power to the LCD panel remains on. During a power- down state in particular, allow a sufficient wait time, after dropping the LCDPWR output low for LCD power-discharging before turning the LCD signals off.

(3)I/O-area addresses 0x39FFFE and 0x39FFFF are assigned for use in inspection of the LCD controller. Writing data to these addresses may damage the LCD controller and the LCD panel to which the LCD controller is connected. Therefore, make sure data is never written to that location.

Precautions on Using ICD33

Follow the precautions described below when using the ICD33 (S5U1C33000H) for debugging an application, which uses this LCD controller.

1.When #WAIT is enabled, do not dump (including displays using the [Memory] window) or set the contents from/to the LCDC register area (0x39FFE0–0x39FFFF). This operation inserts wait states permanently and the debugger hangs. The same problem results when the target program accesses the LCDC register area during execution.

When ICD33 is used for debugging, be sure to disable #WAIT (D0/0x4812E = "0") before the LCDC register area is accessed in a debugging operation or from the target program.

2.When the target program stops execution by a break factor during debugging with the ICD33, the LCD display goes off until the program resumes execution.

Therefore, do not use the ICD33 for debugging a target system, which uses an EPSON MLS driver for driving the LCD panel.

In this case, use the MON33 (S5U1C330M1D1) for debugging, since the LCD display does not go off in a break state so it allows debugging.

B-VII-2-42

EPSON

S1C33L03 FUNCTION PART