User ManualTable of Contents1 OUTLINE111.1 Features111.2 Block Diagram121.3 Pin Layout Diagram131.4 Pin Description141.5 Mask Option152 POWER SUPPLY AND INITIAL RESET182.1 Power Supply182.1.1 Voltage <VD1> for oscillation circuit and internal circuits182.1.2 Voltage <VC1–VC5> for LCD driving182.2 Initial Reset192.2.1 Reset terminal (RESET)192.2.2 Simultaneous low input to terminals K00–K03202.2.3 Internal register at initial resetting202.2.4 Terminal settings at initial resetting212.3 Test Terminal (TEST)213 CPU, ROM, RAM223.1 CPU223.2 Code ROM223.3 RAM223.4 Data ROM234 PERIPHERAL CIRCUITS AND OPERATION244.1 Memory Map244.2 Watchdog Timer334.2.1 Configuration of watchdog timer334.2.2 Interrupt function334.2.3 I/O memory of watchdog timer344.2.4 Programming notes344.3 Oscillation Circuit354.3.1 Configuration of oscillation circuit354.3.2 OSC1 oscillation circuit354.3.3 OSC3 oscillation circuit364.3.4 Switching the CPU operating clock364.3.5 Clock frequency and instruction execution time364.3.6 I/O memory of oscillation circuit374.3.7 Programming notes374.4 Input Ports (K00–K03 and K10–K13)384.4.1 Configuration of input ports384.4.2 Interrupt function384.4.3 Mask option394.4.4 I/O memory of input ports404.4.5 Programming notes424.5 Output Ports (R00–R03, R10–R13 and R20–R23)434.5.1 Configuration of output ports434.5.2 Mask option434.5.3 High impedance control444.5.4 Special output444.5.5 I/O memory of output ports474.5.6 Programming notes504.6 I/O Ports (P00–P03, P10–P13, P20–P23 and P30–P33)514.6.1 Configuration of I/O ports514.6.2 Mask option524.6.3 I/O control registers and input/output mode524.6.4 Pull-up during input mode524.6.5 Special outputs (CL, FR)534.6.6 I/O memory of I/O ports544.6.7 Programming notes584.7 LCD Driver (COM0–COM16, SEG0–SEG39)594.7.1 Configuration of LCD driver594.7.2 Mask option594.7.3 Power supply for LCD driving594.7.4 LCD display control (ON/OFF) and switching of duty594.7.5 Display memory614.7.6 LCD contrast adjustment634.7.7 I/O memory of LCD driver644.7.8 Programming notes664.8 Clock Timer674.8.1 Configuration of clock timer674.8.2 Data reading and hold function674.8.3 Interrupt function684.8.4 I/O memory of clock timer694.8.5 Programming notes704.9 Stopwatch Timer714.9.1 Configuration of stopwatch timer714.9.2 Count-up pattern714.9.3 Interrupt function724.9.4 I/O memory of stopwatch timer734.9.5 Programming notes744.10 Programmable Timer754.10.1 Configuration of programmable timer754.10.2 Setting of initial value and counting down764.10.3 Counter mode774.10.4 Setting of input clock in timer mode784.10.5 Interrupt function794.10.6 Setting of TOUT output794.10.7 Transfer rate setting for serial interface804.10.8 I/O memory of programmable timer814.10.9 Programming notes864.11 Serial Interface874.11.1 Configuration of serial interface874.11.2 Mask option884.11.3 Transfer modes884.11.4 Clock source904.11.5 Transmit-receive control914.11.6 Operation of clock synchronous transfer924.11.7 Operation of asynchronous transfer964.11.8 Interrupt function1004.11.9 I/O memory of serial interface1024.11.10 Programming notes1094.12 Sound Generator1104.12.1 Configuration of sound generator1104.12.2 Buzzer output circuit1104.12.3 Control of buzzer output1114.12.4 Setting of buzzer frequency and sound level1124.12.5 Digital envelope1134.12.6 One-shot output1144.12.7 I/O memory of sound generator1154.12.8 Programming notes1184.13 SVD (Supply Voltage Detection) Circuit1194.13.1 Configuration of SVD circuit1194.13.2 Mask option1194.13.3 SVD operation1194.13.4 I/O memory of SVD circuit1204.13.5 Programming notes1214.14 Telephone Function (Tone/Pulse Dialer)1224.14.1 Configuration of tone/pulse dialer1224.14.2 Mask option1234.14.3 Operation of telephone function1234.14.4 Tone mode (DTMF)1264.14.5 Pulse mode (DP)1294.14.6 Pause1324.14.7 Flash1344.14.8 Hold-line1354.14.9 Interrupt1364.14.10 I/O memory of telephone function1374.14.11 Programming notes1454.15 FSK Demodulator1464.15.1 Configuration of FSK demodulator1464.15.2 Mask option1484.15.3 Ring/carrier detection and interrupt1494.15.4 Inputting FSK data1504.15.5 I/O memory of FSK demodulator1524.15.6 Programming notes1544.16 Interrupt and HALT1554.16.1 Interrupt factor1574.16.2 Interrupt mask1584.16.3 Interrupt vector1584.16.4 I/O memory of interrupt1594.16.5 Programming notes1615 SUMMARY OF NOTES1625.1 Notes for Low Current Consumption1625.2 Summary of Notes by Function1635.3 Precautions on Mounting1676 BASIC EXTERNAL WIRING DIAGRAM1697 ELECTRICAL CHARACTERISTICS1707.1 Absolute Maximum Rating1707.2 Recommended Operating Conditions1707.3 DC Characteristics1717.4 Analog Circuit Characteristics and Power Current Consumption1727.5 Oscillation Characteristics1737.6 Serial Interface (1), (2) AC Characteristics1747.7 FSK Demodulator Characteristics1757.8 Telephone Function Characteristics1767.9 Timing Chart1767.10 Characteristic Curves (reference value)1778 PACKAGE1798.1 Plastic Package1798.2 Ceramic Package for Test Samples1809 PAD LAYOUT1819.1 Diagram of Pad Layout1819.2 Pad Coordinates182Size: 1.34 MBPages: 185Language: EnglishOpen manual
User ManualTable of Contents1 OUTLINE111.1 Features111.2 Block Diagram121.3 Pin Layout Diagram131.4 Pin Description141.5 Mask Option152 POWER SUPPLY AND INITIAL RESET182.1 Power Supply182.1.1 Voltage <VD1> for oscillation circuit and internal circuits182.1.2 Voltage <VC1–VC5> for LCD driving182.2 Initial Reset192.2.1 Reset terminal (RESET)192.2.2 Simultaneous low input to terminals K00–K03202.2.3 Internal register at initial resetting202.2.4 Terminal settings at initial resetting212.3 Test Terminal (TEST)213 CPU, ROM, RAM223.1 CPU223.2 Code ROM223.3 RAM223.4 Data ROM234 PERIPHERAL CIRCUITS AND OPERATION244.1 Memory Map244.2 Watchdog Timer334.2.1 Configuration of watchdog timer334.2.2 Interrupt function334.2.3 I/O memory of watchdog timer344.2.4 Programming notes344.3 Oscillation Circuit354.3.1 Configuration of oscillation circuit354.3.2 OSC1 oscillation circuit354.3.3 OSC3 oscillation circuit364.3.4 Switching the CPU operating clock364.3.5 Clock frequency and instruction execution time364.3.6 I/O memory of oscillation circuit374.3.7 Programming notes374.4 Input Ports (K00–K03 and K10–K13)384.4.1 Configuration of input ports384.4.2 Interrupt function384.4.3 Mask option394.4.4 I/O memory of input ports404.4.5 Programming notes424.5 Output Ports (R00–R03, R10–R13 and R20–R23)434.5.1 Configuration of output ports434.5.2 Mask option434.5.3 High impedance control444.5.4 Special output444.5.5 I/O memory of output ports474.5.6 Programming notes504.6 I/O Ports (P00–P03, P10–P13, P20–P23 and P30–P33)514.6.1 Configuration of I/O ports514.6.2 Mask option524.6.3 I/O control registers and input/output mode524.6.4 Pull-up during input mode524.6.5 Special outputs (CL, FR)534.6.6 I/O memory of I/O ports544.6.7 Programming notes584.7 LCD Driver (COM0–COM16, SEG0–SEG39)594.7.1 Configuration of LCD driver594.7.2 Mask option594.7.3 Power supply for LCD driving594.7.4 LCD display control (ON/OFF) and switching of duty594.7.5 Display memory614.7.6 LCD contrast adjustment634.7.7 I/O memory of LCD driver644.7.8 Programming notes664.8 Clock Timer674.8.1 Configuration of clock timer674.8.2 Data reading and hold function674.8.3 Interrupt function684.8.4 I/O memory of clock timer694.8.5 Programming notes704.9 Stopwatch Timer714.9.1 Configuration of stopwatch timer714.9.2 Count-up pattern714.9.3 Interrupt function724.9.4 I/O memory of stopwatch timer734.9.5 Programming notes744.10 Programmable Timer754.10.1 Configuration of programmable timer754.10.2 Setting of initial value and counting down764.10.3 Counter mode774.10.4 Setting of input clock in timer mode784.10.5 Interrupt function794.10.6 Setting of TOUT output794.10.7 Transfer rate setting for serial interface804.10.8 I/O memory of programmable timer814.10.9 Programming notes864.11 Serial Interface874.11.1 Configuration of serial interface874.11.2 Mask option884.11.3 Transfer modes884.11.4 Clock source904.11.5 Transmit-receive control914.11.6 Operation of clock synchronous transfer924.11.7 Operation of asynchronous transfer964.11.8 Interrupt function1004.11.9 I/O memory of serial interface1024.11.10 Programming notes1094.12 Sound Generator1104.12.1 Configuration of sound generator1104.12.2 Buzzer output circuit1104.12.3 Control of buzzer output1114.12.4 Setting of buzzer frequency and sound level1124.12.5 Digital envelope1134.12.6 One-shot output1144.12.7 I/O memory of sound generator1154.12.8 Programming notes1184.13 SVD (Supply Voltage Detection) Circuit1194.13.1 Configuration of SVD circuit1194.13.2 Mask option1194.13.3 SVD operation1194.13.4 I/O memory of SVD circuit1204.13.5 Programming notes1214.14 Telephone Function (Tone/Pulse Dialer)1224.14.1 Configuration of tone/pulse dialer1224.14.2 Mask option1234.14.3 Operation of telephone function1234.14.4 Tone mode (DTMF)1264.14.5 Pulse mode (DP)1294.14.6 Pause1324.14.7 Flash1344.14.8 Hold-line1354.14.9 Interrupt1364.14.10 I/O memory of telephone function1374.14.11 Programming notes1454.15 FSK Demodulator1464.15.1 Configuration of FSK demodulator1464.15.2 Mask option1484.15.3 Ring/carrier detection and interrupt1494.15.4 Inputting FSK data1504.15.5 I/O memory of FSK demodulator1524.15.6 Programming notes1544.16 Interrupt and HALT1554.16.1 Interrupt factor1574.16.2 Interrupt mask1584.16.3 Interrupt vector1584.16.4 I/O memory of interrupt1594.16.5 Programming notes1615 SUMMARY OF NOTES1625.1 Notes for Low Current Consumption1625.2 Summary of Notes by Function1635.3 Precautions on Mounting1676 BASIC EXTERNAL WIRING DIAGRAM1697 ELECTRICAL CHARACTERISTICS1707.1 Absolute Maximum Rating1707.2 Recommended Operating Conditions1707.3 DC Characteristics1717.4 Analog Circuit Characteristics and Power Current Consumption1727.5 Oscillation Characteristics1737.6 Serial Interface (1), (2) AC Characteristics1747.7 FSK Demodulator Characteristics1757.8 Telephone Function Characteristics1767.9 Timing Chart1767.10 Characteristic Curves (reference value)1778 PACKAGE1798.1 Plastic Package1798.2 Ceramic Package for Test Samples1809 PAD LAYOUT1819.1 Diagram of Pad Layout1819.2 Pad Coordinates182Size: 1.34 MBPages: 185Language: EnglishOpen manual