3/72
Table of Contents
3
4 ON-CHIP PERIPHERALS . . . ...................................................33
4.1 I/OPORTS.............................................................33
4.1.1 Operating Modes . . . . ...............................................34
4.1.2 Safe I/O State Switching Sequence. . . ..................................35
4.1.3 LCD alternate functions (combiports) ...................................37
4.1.4 SPI alternate functions . . . ............................................37
4.1.5 I/O Port Option Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ................38
4.1.6 I/O Port Data Direction Registers . . . ....................................38
4.1.7 I/O Port Data Registers . . . . ..........................................38
4.2 TIMER1&2............................................................39
4.2.1 TIMER 1 Operating Modes . . . . . . .....................................41
4.2.2 TIMER 2 Operating Mode . . . . . . . . . . . . . . . . . . . . ........................41
4.2.3 Timer Interrupt . . . . . . . . . . ...........................................41
4.2.4 Application Notes . . . . ...............................................41
4.2.5 TIMER 1 Registers . .................................................42
4.2.6 TIMER 2 Registers . .................................................43
4.3 A/D CONVERTER (ADC) . . . ..............................................44
4.3.1 Application Notes . . . . ...............................................44
4.4 SERIAL PERIPHERAL INTERFACE (SPI) . . . . . . . . . . . . ........................46
4.5 LCD CONTROLLER-DRIVER . . . . ..........................................48
4.5.1 Multiplexing ratio and frame frequency setting . . . . ........................49
4.5.2 Segment and common plates driving. . ..................................49
4.5.3 LCDRAM.........................................................50
4.5.4 Stand by or STOP operation mode . . . . . . . . . . ...........................51
4.5.5 LCD Mode Control Register (LCDCR)...................................51
5SOFTWARE ................................................................52
5.1 ST6 ARCHITECTURE . . . . . . . . . . . . . . . .....................................52
5.2 ADDRESSING MODES . . . . ...............................................52
5.3 INSTRUCTION SET . . . ...................................................53
6 ELECTRICAL CHARACTERISTICS. . . . . . . . . . . . ..................................58
6.1 ABSOLUTE MAXIMUM RATINGS. ..........................................58
6.2 RECOMMENDED OPERATING CONDITIONS. . . ..............................59
6.3 DC ELECTRICAL CHARACTERISTICS ......................................60
6.4 AC ELECTRICAL CHARACTERISTICS ......................................61
6.5 A/D CONVERTER CHARACTERISTICS. . . ...................................61
6.6 TIMER CHARACTERISTICS . . . ............................................62
6.7 SPI CHARACTERISTICS . . . ..............................................62
6.8 LCD ELECTRICAL CHARACTERISTICS . . . . . . . . . . ...........................62
6.9 PSS ELECTRICAL CHARACTERISTICS (WHEN AVAILABLE). . . . . . . . . . . . . . . .....62
7 GENERAL INFORMATION . . . . . . . . . . ...........................................63
7.1 PACKAGE MECHANICAL DATA. . . . ........................................63
7.2 PACKAGE THERMAL CHARACTERISTIC . . ..................................64
7.3 ORDERING INFORMATION ...............................................64