04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Under development<br />

Preliminary document<br />

Specifications in this document are tentative and subject to change.<br />

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 16 LCD CONTROLLER/DRIVER<br />

16.4 Setting LCD Controller/Driver<br />

Set the LCD controller/driver using the following procedure:<br />

Set the LCD drive method via MDSET0 and MDSET1 (bits 4 and 5 of the LCD mode register (LCDMD)).<br />

Set the pins to be used as segment outputs to the port function registers (LCDPF0, LCDPF1, LCDPF3, LCDPF5,<br />

LCDPF7 to LCDPF9, LCDPF13).<br />

Set an initial value to the RAM for LCD display.<br />

Set the number of time slices via LCDM0 to LCDM2 (bits 0 to 2 of the LCD display mode register (LCDM)).<br />

Set the LCD source clock and LCD clock via LCD clock control register (LCDC0).<br />

Set SCOC (bit 6 of the LCD display mode register (LCDM)) to 1.<br />

Start output corresponding to each data memory by setting LCDON (bit 7 of the LCD display mode register<br />

(LCDM)) to 1.<br />

Subsequent to this procedure, set the data to be displayed in the data memory.<br />

Remark Use the following procedure to set to the display-off state and disconnect the internal resistors when using<br />

the internal resistance division method.<br />

Clear LCDON (bit 7 of LCDM) (LCDON = 0).<br />

Deselect signals are output from all segment pins and common pins, and a non-display state is<br />

entered.<br />

Clear SCOC (bit 6 of the LCD display mode register (LCDM)) (SCOC = 0).<br />

Ground levels are output from all segment pins and common pins.<br />

Assume MDSET0, MDSET1 (bits 4 and 5 of the LCD mode register (LCDMD)) = (0, 0) and<br />

set to no internal resistor connection (power save mode).<br />

Caution When displaying in a mode with a large number of COMs, such as 4 COM, VLC0 may not be able to<br />

obtain sufficient contrast under the low-voltage conditions, depending on the panel characteristics.<br />

Use the LCD controller/driver after having performed thorough LCD display evaluation and confirmed<br />

that there are no problems regarding the display quality.<br />

R01UH0317EJ0004 Rev. 0.04 977<br />

Feb. 22, 2013

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!