Contents
Product Specification (V2.3) 08.19.2004 • iii
Contents
1 General Description ......................................................................................1
2 Feature ...........................................................................................................1
2.1 CPU....................................................................................................................1
2.2 Programmable Tone Generators........................................................................2
2.3 LCD (8x80, 9x80, 16x80, 24x72)........................................................................2
2.4 Package type......................................................................................................2
3 Application.....................................................................................................3
4 Pin Configuration ..........................................................................................4
5 Functional Block Diagram ............................................................................6
6 Pin Descriptions............................................................................................7
7 Functional Descriptions................................................................................8
7.1 Operational Registers.........................................................................................8
7.2 Operational Register Table List..........................................................................9
7.2.1 Paged registers (R PAGE0, RPAGE1, IOC PAGE0, IOC PAGE1) R0~R4 and RF
are unpaged registers..........................................................................................9
7.3 Operational Register Detail Description ...........................................................15
7.3.1 R0 (Indirect Addressing Register).....................................................................15
7.3.2 R1 (TCC)...........................................................................................................16
7.3.3 R2 (Program Counter).......................................................................................16
7.3.4 R3 (Status Register)..........................................................................................17
7.3.5 R4 (RAM selection for common registers R20 ~ R3F, SPI control)..................17
7.3.6 R5 (PORT5 I/O data, Program page selection, SPI data).................................22
7.3.7 R6 (PORT6 I/O data).........................................................................................23
7.3.8 R7 (PORT7 I/O data).........................................................................................23
7.3.9 R8 (PORT8 I/O data).........................................................................................24
7.3.10 R9 (PORT9 I/O data, extra LCD address bit)....................................................24
7.3.11 RA (CPU power saving, PLL, Main clock selection, Watchdog timer, LCD
address).........................................................................................................................24
7.3.12 RB (PORTB I/O data, LCD data).......................................................................27
7.3.13 RC (PORTC I/O data, Data RAM data).............................................................28
7.3.14 RD (Comparator control, Data RAM address(0 ~ 7))........................................29
7.3.15 RE (Key sacn, LCD control, Data RAM addresss(8 ~ 10))...............................31
7.3.16 R10~R3F (General Purpose Register)..............................................................38
7.4 Special Purpose Registers...............................................................................38
7.4.1 A (Accumulator).................................................................................................38
7.4.2 CONT (Control Register)...................................................................................38
7.4.3 IOC5 (PORT5 I/O control, PORT switch, Key tone,LCD bias)..........................40
7.4.4 IOC6 (PORT6 I/O control, PORT switch, LCD driving control).........................45
7.4.5 IOC7 (PORT7 I/O control, Key strobe(8~15))...................................................46