English
Language : 

TMP86C820UG Datasheet, PDF (11/160 Pages) Toshiba Semiconductor – 8 Bit Microcontroller
8.1 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
8.2 Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
8.3 Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
8.3.1 Timer mode............................................................................................................................................. 75
8.3.2 Event Counter mode ............................................................................................................................... 75
8.3.3 Pulse Width Measurement mode............................................................................................................ 76
8.3.4 Frequency Measurement mode .............................................................................................................. 77
9. 8-Bit TimerCounter (TC3, TC4)
9.1 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
9.2 TimerCounter Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
9.3 Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
9.3.1 8-Bit Timer Mode (TC3 and 4) ................................................................................................................ 85
9.3.2 8-Bit Event Counter Mode (TC3, 4) ........................................................................................................ 86
9.3.3 8-Bit Programmable Divider Output (PDO) Mode (TC3, 4)..................................................................... 86
9.3.4 8-Bit Pulse Width Modulation (PWM) Output Mode (TC3, 4).................................................................. 89
9.3.5 16-Bit Timer Mode (TC3 and 4) .............................................................................................................. 91
9.3.6 16-Bit Event Counter Mode (TC3 and 4) ................................................................................................ 92
9.3.7 16-Bit Pulse Width Modulation (PWM) Output Mode (TC3 and 4).......................................................... 92
9.3.8 16-Bit Programmable Pulse Generate (PPG) Output Mode (TC3 and 4) ............................................... 95
9.3.9 Warm-Up Counter Mode......................................................................................................................... 97
9.3.9.1
9.3.9.2
Low-Frequency Warm-up Counter Mode
(NORMAL1 → NORMAL2 → SLOW2 → SLOW1)
High-Frequency Warm-Up Counter Mode
(SLOW1 → SLOW2 → NORMAL2 → NORMAL1)
10. Synchronous Serial Interface (SIO)
10.1 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
10.2 Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
10.3 Serial clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
10.3.1 Clock source ....................................................................................................................................... 101
10.3.1.1 Internal clock
10.3.1.2 External clock
10.3.2 Shift edge............................................................................................................................................ 103
10.3.2.1 Leading edge
10.3.2.2 Trailing edge
10.4 Number of bits to transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
10.5 Number of words to transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
10.6 Transfer Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
10.6.1 4-bit and 8-bit transfer modes ............................................................................................................. 104
10.6.2 4-bit and 8-bit receive modes ............................................................................................................. 106
10.6.3 8-bit transfer / receive mode ............................................................................................................... 107
11. 8-Bit AD Converter (ADC)
11.1 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11.2 Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11.3 Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11.3.1 AD Conveter Operation ...................................................................................................................... 112
11.3.2 AD Converter Operation ..................................................................................................................... 112
11.3.3 STOP and SLOW Mode during AD Conversion ................................................................................. 113
11.3.4 Analog Input Voltage and AD Conversion Result ............................................................................... 114
11.4 Precautions about AD Converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11.4.1 Analog input pin voltage range ........................................................................................................... 115
109
110
112
115
iii