3/68
Table of Contents
Document
Page
3
4 ON-CHIP PERIPHERALS . . . . . . . . . . . ...........................................32
4.1 I/O PORTS . . . . . . . . . . . . . . . . . . ...........................................32
4.1.1 Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . ........................... 33
4.1.2 Safe I/O State Switching Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5 I/O PORTS (Cont’d) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ........ 34
5.0.1 LCD alternate functions (combiports) . ..................................36
5.0.2 SPI alternate functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ........ 36
5.0.3 I/O Port Option Registers . . . . . . . . . . . .................................. 37
5.0.4 I/O Port Data Direction Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.0.5 I/O Port Data Registers . . . . . . ........................................ 37
5.1 TIMER 1 & 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . ................................. 38
5.1.1 TIMER 1 & 2 Operating Mode ......................................... 40
5.1.2 Timer Interrupt . . . . . . . . . . . . . . . . . . . . . ................................40
5.1.3 Application Notes . . . ................................................ 40
5.1.4 TIMER 1 Registers . . . . . . . . . . ........................................41
5.1.5 TIMER 2 Registers . . . . . . . . . . ........................................42
5.2 A/D CONVERTER (ADC) . . ............................................... 43
5.2.1 Application Notes . . . ................................................ 43
5.3 SERIAL PERIPHERAL INTERFACE (SPI) . . . . . . . . . . . . . . . . . . . . . . . . . ........... 45
5.4 LCD CONTROLLER-DRIVER . . . . . . ........................................47
5.4.1 Multiplexing ratio and frame frequency setting . . . . . . . . . ...................48
5.4.2 Segment and common plates driving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
5.4.3 LCD RAM . . . . . .................................................... 49
5.4.4 Stand by or STOP operation mode . . . . . . . . . . . . . . . . . . . . . . ............... 50
5.4.5 LCD Mode Control Register (LCDCR) . . .................................50
6 SOFTWARE . . . . . . . . . . . . . . . . . ............................................... 51
6.1 ST6 ARCHITECTURE . ...................................................51
6.2 ADDRESSING MODES . . . . . . . . . . . . . . . . . .................................. 51
6.3 INSTRUCTION SET . . . . . . . ............................................... 52
7 ELECTRICAL CHARACTERISTICS . . . . . . . . . . . . . . . . .............................. 57
7.1 ABSOLUTE MAXIMUM RATINGS . . . ........................................57
7.2 RECOMMENDED OPERATING CONDITIONS . . . .............................. 58
7.3 DC ELECTRICAL CHARACTERISTICS . . . . . . . . . . . . . . . . . . . . . . . . . . . ...........59
7.4 AC ELECTRICAL CHARACTERISTICS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
7.5 A/D CONVERTERCHARACTERISTICS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
7.6 TIMER CHARACTERISTICS . . . . ...........................................61
7.7 SPI CHARACTERISTICS . . ...............................................61
7.8 LCD ELECTRICAL CHARACTERISTICS . . . . . . . . . . . . . . . . . . . . . . ............... 61
7.9 PSS ELECTRICAL CHARACTERISTICS (WHEN AVAILABLE) . ................... 61
8 GENERAL INFORMATION . . . . . . . . . . ........................................... 62
8.1 PACKAGE MECHANICAL DATA . . . . . . . . . . . . . . . . . ........................... 62
8.2 PACKAGE THERMAL CHARACTERISTIC . . . . . . . . ........................... 63
8.3 ORDERING INFORMATION . . . . . . . . . . . . . .................................. 63