Resumen del contenido incluido en la página 1
CM25-10153-2E
FUJITSU SEMICONDUCTOR
CONTROLLER MANUAL
2
F MC-8L
8-BIT MICROCONTROLLER
MB89202/F202RA Series
HARDWARE MANUAL
Resumen del contenido incluido en la página 2
Resumen del contenido incluido en la página 3
2 F MC-8L 8-BIT MICROCONTROLLER MB89202/F202RA Series HARDWARE MANUAL Be sure to refer to the “Check Sheet” for the latest cautions on development. “Check Sheet” is seen at the following support page URL:http://www.fujitsu.com/global/services/microelectronics/product/micom/support/index.html “Check Sheet” lists the minimal requirement items to be checked to prevent problems beforehand in system development. FUJITSU LIMITED
Resumen del contenido incluido en la página 4
Resumen del contenido incluido en la página 5
PREFACE ■ Purpose of This Manual and Intended Reader The MB89202/F202RA series was developed as one of the general-purpose products of the 2 F MC-8L family, which contains original 8-bit one-chip microcontrollers for use with ASICs (application specific ICs). The MB89202/F202RA series can be used in a wide range of products from consumer products to industrial products. This manual explains the functions and operations of the MB89202/F202RA series for product development. 2 The F MC-8L Programmi
Resumen del contenido incluido en la página 6
CHAPTER 10 EXTERNAL INTERRUPT CIRCUIT 1 (EDGE) This chapter describes the functions and operation of external interrupt circuit 1 (edge). CHAPTER 11 EXTERNAL INTERRUPT CIRCUIT 2 (LEVEL) This chapter describes the functions and operation of external interrupt circuit 2 (level). CHAPTER 12 A/D CONVERTER This chapter describes the functions and operation of the A/D converter. CHAPTER 13 UART This chapter describes the functions and operation of UART. CHAPTER 14 8-BIT SERIAL I/O This ch
Resumen del contenido incluido en la página 7
The contents of this document are subject to change without notice. Customers are advised to consult with sales representatives before ordering. The information, such as descriptions of function and application circuit examples, in this document are presented solely for the purpose of reference to show examples of operations and uses of FUJITSU semiconductor device; FUJITSU does not warrant proper operation of the device with respect to use based on such information. When you develop equipm
Resumen del contenido incluido en la página 8
READING THIS MANUAL ■ Example Notation of Register Names and Pin Names ❍ Example notation of register names and bit names By writing 1 into the sleep bit of the standby control register (STBC : SLP), ... Bit name Register name Bit abbreviation Register abbreviation Prohibit the output of interrupt request of the time-base timer (TBTC : TBIE = 0). Setting data Bit abbreviation Register abbreviation If interrupt enabled (CCR : I = 1) is specified, the interrupt is accepted. Current state Bit ab
Resumen del contenido incluido en la página 9
CONTENTS CHAPTER 1 OVERVIEW ................................................................................................... 1 1.1 Features of MB89202/F202RA Series ................................................................................................ 2 1.2 MB89202/F202RA Series Product Lineup .......................................................................................... 4 1.3 Differences between Models ....................................................................
Resumen del contenido incluido en la página 10
3.7.4 Standby Control Register (STBC) ............................................................................................... 66 3.7.5 Diagram for State Transition in Standby Mode ............................................................................ 68 3.7.6 Notes on Standby Mode .............................................................................................................. 70 3.8 Memory Access Mode ................................................................
Resumen del contenido incluido en la página 11
CHAPTER 7 8-BIT PWM TIMER ................................................................................... 135 7.1 Overview of 8-bit PWM Timer ......................................................................................................... 136 7.2 Configuration of 8-bit PWM Timer .................................................................................................. 139 7.3 Pin of 8-bit PWM Timer .............................................................................
Resumen del contenido incluido en la página 12
CHAPTER 10 EXTERNAL INTERRUPT CIRCUIT 1 (EDGE) ......................................... 225 10.1 Overview of External Interrupt Circuit 1 .......................................................................................... 226 10.2 Configuration of External Interrupt Circuit 1 .................................................................................... 227 10.3 Pins of External Interrupt Circuit 1 .................................................................................
Resumen del contenido incluido en la página 13
13.4.7 Serial Switch Register (SSEL) ................................................................................................... 301 13.5 Interrupt of UART ............................................................................................................................ 303 13.6 Operations of UART Functions ....................................................................................................... 304 13.6.1 Transmission Operations (Operating Mode 0, 1, 2, and 3) ..
Resumen del contenido incluido en la página 14
CHAPTER 17 FLASH MEMORY ..................................................................................... 357 17.1 Overview of Flash Memory ............................................................................................................. 358 17.2 Flash Memory Control Status Register (FMCS) ............................................................................. 359 17.3 Starting the Flash Memory Automatic Algorithm .........................................................
Resumen del contenido incluido en la página 15
Main changes in this edition Page Changes (For details, refer to main body.) - - The followings product name is changed. (MB89202 → MB89202/F202RA) The followings term is changed. (source oscillation → oscillation frequency) 6 1.3 Differences between "Notes:" is changed. Models (The followings sentence is deleted. "• At turning on the power, when the device is used without inputting the external reset, select "reset output supported" and "power-on reset supported" by mask option.") The follo
Resumen del contenido incluido en la página 16
Page Changes (For details, refer to main body.) 310 13.6.3 Reception "■ Reception Operations (Operating Mode 2 Only)" is changed. Operations (Operating ("Note:" is changed.) Mode 2 Only) 358 17.1 Overview of Flash "■ High voltage supply on RST pin (applicable to MB89F202RA only)" is added. Memory 370 17.5.2 Writing Data Figure 17.5-1 is changed. (F555 → F554) 2 394 Table B.4-2 is changed. B.4 F MC-8L ("No.22 DECW A" is changed.) Instructions List The vertical lines marked in the left side of
Resumen del contenido incluido en la página 17
CHAPTER 1 OVERVIEW This chapter describes the features and basic specification of the MB89202/F202RA series. 1.1 Features of MB89202/F202RA Series 1.2 MB89202/F202RA Series Product Lineup 1.3 Differences between Models 1.4 Block Diagram of MB89202/F202RA Series 1.5 Pin Assignment 1.6 Package Dimensions 1.7 Pin Functions Description 1.8 I/O Circuit Types 1
Resumen del contenido incluido en la página 18
CHAPTER 1 OVERVIEW 1.1 Features of MB89202/F202RA Series The MB89202/F202RA series contains general-purpose single-chip microcontrollers that incorporate a full range of peripheral functions such as A/D converter, UART, PWM timer, PPG, capture timer/counter and external interrupts as well as a compact instruction set. ■ Features of MB89202/F202RA Series 2 ● F MC-8L CPU core Instruction set most suitable for controllers Multiplication and division instruction 16-bit operation Branch i
Resumen del contenido incluido en la página 19
CHAPTER 1 OVERVIEW External interrupt 2 (level detection × 8 pins, 1 channel) has eight independent inputs and can be used for wake-up from low-power consumption mode. (L level detection function is supported.) ● Low-power consumption modes (standby modes) Stop mode (The oscillation is stopped so that current consumption is minimal.) Sleep mode (The CPU is stopped so that the current consumption is reduced by one-third of normal consumption.) ● Up to 26 pins of I/O ports General-purpos
Resumen del contenido incluido en la página 20
CHAPTER 1 OVERVIEW 1.2 MB89202/F202RA Series Product Lineup Four MB89202 series models are available. Table 1.2-1 shows the models and Table 1.2- 2 shows the CPU and peripheral functions. ■ MB89202/F202RA Series Models Table 1.2-1 MB89202/F202RA Series Models MB89201 MB89F202/F202RA MB89V201 Evaluation product Flash memory product Mask ROM product Classification (for development) (read protection) 32K × 8 bits 16K × 8 bits 16K × 8 bits ROM size *2 (Internal Flash) (Internal mask ROM) (Externa