User ManualTable of ContentsTOP1PREACE5READING THIS MANUAL7CONTENTS11CHAPTER 1 OVERVIEW151.1 MB89950/950A Series Features161.2 MB89950/950A Series Product Range181.3 Differences among Products201.4 Block Diagram of MB89950/950A Series211.5 Pin Assignment221.6 Package Dimensions241.7 I/O Pins and Pin Functions26CHAPTER 2 HANDLING DEVICES312.1 Notes on Handling Devices32CHAPTER 3 CPU353.1 Memory Space363.1.1 Special Areas383.1.2 Storing 16-bit Data in Memory403.2 Dedicated Registers413.2.1 Condition Code Register (CCR)433.2.2 Register Bank Pointer (RP)463.3 General-purpose Registers473.4 Interrupts493.4.1 Interrupt Level Setting Registers (ILR1, ILR2, ILR3)503.4.2 Interrupt Processing513.4.3 Multiple Interrupts533.4.4 Interrupt Processing Time543.4.5 Stack Operation during Interrupt Processing553.4.6 Stack Area for Interrupt Processing563.5 Resets573.5.1 External Reset Pin593.5.2 Reset Operation603.5.3 Pin States during Reset623.6 Clocks633.6.1 Clock Generator653.6.2 Clock Controller673.6.3 Oscillation Stabilization Delay Time693.7 Standby Mode (Low-power Consumption)713.7.1 Operating States in Standby Mode723.7.2 Sleep Mode733.7.3 Stop Mode743.7.4 Standby Control Register (STBC)753.7.5 State Transition Diagram773.7.6 Notes on Using Standby Mode793.8 Memory Access Mode81CHAPTER 4 I/O PORTS834.1 Overview of I/O Ports844.2 Port 0864.2.1 Port 0 Data Register (PDR0)884.2.2 Operation of Port 0894.3 Port 1914.3.1 Port 1 Data Register (PDR1)934.3.2 Operation of Port 1944.4 Port 2964.4.1 Port 2 Data Register (PDR2)984.4.2 Operation of Port 2994.5 Port 31004.5.1 Port 3 Data Register (PDR3)1034.5.2 Operation of Port 31044.6 Port 41064.6.1 Port 4 Registers (PDR4, DDR4)1084.6.2 Operation of Port 41104.7 Program Example for I/O Ports112CHAPTER 5 TIMEBASE TIMER1135.1 Overview of Timebase Timer1145.2 Block Diagram of Timebase Timer1165.3 Timebase Timer Control Register (TBTC)1185.4 Timebase Timer Interrupt1205.5 Operation of Timebase Timer1215.6 Notes on Using Timebase Timer1235.7 Program Example for Timebase Timer124CHAPTER 6 WATCHDOG TIMER1256.1 Overview of Watchdog Timer1266.2 Block Diagram of Watchdog Timer1276.3 Watchdog Timer Control Register (WDTC)1296.4 Operation of Watchdog Timer1306.5 Notes on Using Watchdog Timer1326.6 Program Example for Watchdog Timer133CHAPTER 7 8-BIT PWM TIMER1357.1 Overview of 8-bit PWM Timer1367.2 Block Diagram of 8-bit PWM Timer1387.3 Structure of 8-bit PWM Timer1407.3.1 PWM Control Register (CNTR)1427.3.2 PWM Compare Register (COMR)1447.4 8-bit PWM Timer Interrupts1457.5 Operation of Interval Timer Function1467.6 Operation of PWM Timer Function1487.7 States in Each Mode during 8-bit PWM Timer Operation1497.8 Notes on Using 8-bit PWM Timer1517.9 Program Example for 8-bit PWM Timer152CHAPTER 8 PULSE WIDTH COUNT TIMER (PWC)1558.1 Overview of Pulse Width Count Timer1568.2 Block Diagram of Pulse Width Count Timer1588.3 Structure of Pulse Width Count Timer1608.3.1 PWC Pulse Width Control Register 1 (PCR1)1628.3.2 PWC Pulse Width Control Register 2 (PCR2)1648.3.3 PWC Reload Buffer Register (RLBR)1668.3.4 PWC Noise Filter Control Register (NCCR)1688.4 Pulse Width Count Timer Interrupts1698.5 Operation of Interval Timer Function1708.6 Operation of Pulse Width Measurement Function1738.7 Operation of Noise Filter Circuit1768.8 States in Each Mode during Pulse Width Count Timer Operation1778.9 Notes on Using Pulse Width Count Timer1788.10 Program Example for Timer Function of Pulse Width Count Timer179CHAPTER 9 8-BIT SERIAL I/O1839.1 Overview of 8-bit Serial I/O1849.2 Block Diagram of 8-bit Serial I/O1859.3 Structure of 8-bit Serial I/O1879.3.1 Serial Mode Register (SMR)1909.3.2 Serial Data Register (SDR)1939.4 8-bit Serial I/O Interrupts1949.5 Operation of Serial Output1959.6 Operation of Serial Input1979.7 States in Each Mode during 8-bit Serial I/O Operation1999.8 Notes on Using 8-bit Serial I/O2029.9 Connection Example for 8-bit Serial I/O2039.10 Program Example for 8-bit Serial I/O204CHAPTER 10 UART20710.1 Overview of UART20810.2 Structure of UART21310.3 UART Pins21610.4 UART Registers21810.4.1 Serial Mode Control Register 1 (SMC1)21910.4.2 Serial Rate Control Register (SRC)22110.4.3 Serial Status and Data Register (SSD)22310.4.4 Serial Input Data Register (SIDR)22510.4.5 Serial Output Data Register (SODR)22610.4.6 Serial Mode Control Register 2 (SMC2)22710.5 UART Interrupts22910.6 Operation of UART23010.7 Operation of Mode 0, 1, 323110.8 Program Example for UART234CHAPTER 11 EXTERNAL INTERRUPT CIRCUIT (EDGE)23711.1 Overview of the External Interrupt Circuit23811.2 Block Diagram of the External Interrupt Circuit23911.3 Structure of the External Interrupt Circuit24011.3.1 External Interrupt Control Register (EIC)24211.4 External Interrupt Circuit Interrupts24411.5 Operation of the External Interrupt Circuit24511.6 Program Example for the External Interrupt Circuit246CHAPTER 12 LCD CONTROLLER/DRIVER24712.1 Overview of LCD Controller/Driver24812.2 Block Diagram of LCD Controller/Driver24912.2.1 LCD Controller/Driver Internal Voltage Divider25112.2.2 LCD Controller/Driver External Voltage Divider25312.3 Structure of LCD Controller/Driver25512.3.1 LCD Control Register (LCDR)25812.3.2 Segment Output Select Register (SEGR)26012.3.3 Display RAM26212.4 Operation of LCD Controller/Driver26412.4.1 Output Waveforms during LCD Controller/Driver Operation (1/2 Duty Ratio)26512.4.2 Output Waveforms during LCD Controller/Driver Operation (1/3 Duty Ratio)26812.4.3 Output Waveforms during LCD Controller/Driver Operation (1/4 Duty Ratio)27112.5 Program Example for LCD Controller/Driver274APPENDIX277APPENDIX A I/O Map278APPENDIX B Overview of Instructions280B.1 Overview of F2MC-8L Instructions281B.2 Addressing283B.3 Special Instructions288B.4 Bit Manipulation Instructions (SETB, CLRB)292B.5 F2MC-8L Instructions293B.6 Instruction map300APPENDIX C Mask Options301APPENDIX D Programming Specifications for One-Time PROM And EPROM Microcontroller303D.1 Programming Specifications for One-time PROM and EPROM Microcontrollers304D.2 Programming Yield and Erasure307D.3 Programming to the EPROM with Piggyback/Evaluation Device308APPENDIX E MB89950/950A Series Pin States309INDEX311Numerics312A312B312C312D312E312F312G312H312I312L313M313N313O313P313R314S314T314U314V315W315Size: 4.64 MBPages: 318Language: EnglishOpen manual