
ML610Q421/ML610Q422/ML610421 User’s Manual
Chapter 26 LCD Drivers
26 – 2
A) When not using Programmable display allocation function (DASN bit of DSPMOD1 register is “0”)
Suitable for the dot matrix type LCD panel whose common/segment array is approximated to the bit array of the
display register. One of two types for the display register segment mapping can be selected, the numbe of used COM
pins determines the recommended type. See section 26.2.5, 26.2.9, and 26.3.2 for more detail.
When the programmable display function is not used, display allocation register A and display allocation register B
(See section 26.2.7 and 26.2.8) can be used as 1K-byte data memory.
Figure 26-2 An example of correlation between display register and dot matrix type LCD
B) When using Programmable display allocation function (DASN bit of DSPMOD1 register is “
1
”)
The programmable display allocation function is suitable for the LCD panel of segment type or character type whose
common/segment array is restricted by the design or wiring. Segment mapping of the display register can be assigned
in bit units by programming according to the contents of display allocation registers A and B. Therefore, the display
register array can be changed in flexible and simplify the software process for display. Contents of the registers
A(DSmCnA) specify addresses of the display registers (DSPR00 to 71) and contents of the registers B(DSmCnB)
specify bits of the display registers, that are output to common “n” of segment “m”.
DSPR
bit
Symbol
COM
SEG
…
…
…
…
…
DSPR4
6
4G
7
1
…
…
…
…
..
DSPR0
2
0C
0
3
DSPR0
1
0B
0
4
DSPR0
0
0A
1
4
Figure 26-3 An example of correlation between display registers and segment type LCD
DSPR00
Programmable
display
allocation
DSPR01
DSPR02
Unused
DSPR04
b
i
t
0
b
i
t
1
DSPR70
DSPR71
Display
registers
b
i
t
2
b
i
t
3
b
i
t
4
b
i
t
5
b
i
t
6
b
i
t
7
0H 0G 0F 0E 0D 0C 0B 0A
1H 1G 1F 1E 1D 1C 1B 1A
2H 2G 2F 2E 2D 2C 2B 2A
4H 4G 4F 4E 4D 4C 4B 4A
SEG0
C
O
M
0
C
O
M
1
C
O
M
2
C
O
M
5
C
O
M
6
C
O
M
7
C
O
M
3
C
O
M
4
SEG1
SEG3
SEG49
1E
1F
1H
2B
2A
2C
2D
2E
2F
2G
2H
4A
4B
4C
4D
4E
4F 4G
4H
SEG4
0B
0C
1A
1D
0H
0E
0A
0F 0G
1B
1C
0D
1G
SEG0
DSPR0
Dot Matrix LCD
Fixed display
allocation (Type 1)
C
O
M
0
C
O
M
1
C
O
M
2
C
O
M
7
C
O
M
8
C
O
M
15
DSPR1
DSPR2
DSPR3
DSPR4
b
i
t
0
b
i
t
1
SEG1
SEG2
SEG49
DSPR62
DSPR63
Display
registers
b
i
t
2
b
i
t
3
b
i
t
4
b
i
t
5
b
i
t
6
b
i
t
7
Summary of Contents for ML610421
Page 1: ...ML610Q421 ML610Q422 ML610421 User s Manual Issue Date Feb 9 2015 FEUL610Q421 06...
Page 15: ...Chapter 1 Overview...
Page 44: ...Chapter 2 CPU and Memory Space...
Page 49: ...Chapter 3 Reset Function...
Page 53: ...Chapter 4 MCU Control Function...
Page 69: ...Chapter 5 Interrupts INTs...
Page 93: ...Chapter 6 Clock Generation Circuit...
Page 110: ...Chapter 7 Time Base Counter...
Page 121: ...Chapter 8 Capture...
Page 129: ...Chapter 9 1 kHz Timer 1kHzTM...
Page 135: ...Chapter 10 Timers...
Page 160: ...Chapter 11 PWM...
Page 172: ...Chapter 12 Watchdog Timer...
Page 180: ...Chapter 13 Synchronous Serial Port...
Page 195: ...Chapter 14 UART...
Page 216: ...Chapter 15 I2 C Bus Interface...
Page 231: ...Chapter 16 NMI Pin...
Page 237: ...Chapter 17 Port 0...
Page 246: ...Chapter 18 Port 1...
Page 252: ...Chapter 19 Port 2...
Page 259: ...Chapter 20 Port 3...
Page 270: ...Chapter 21 Port 4...
Page 282: ...Chapter 22 Port A...
Page 290: ...Chapter 23 Melody Driver...
Page 304: ...Chapter 24 RC Oscillation Type A D Converter...
Page 327: ...Chapter 25 Successive Approximation Type A D Converter...
Page 338: ...Chapter 26 LCD Drivers...
Page 371: ...Chapter 27 Battery Level Detector...
Page 378: ...Chapter 28 Power Supply Circuit...
Page 381: ...Chapter 29 On Chip Debug Function...
Page 384: ...Appendixes...
Page 435: ...Revision History...