0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
MB90561APF

MB90561APF

  • 厂商:

    FUJITSU(富士通)

  • 封装:

  • 描述:

    MB90561APF - 16-bit Proprietary Microcontrollers - Fujitsu Component Limited.

  • 数据手册
  • 价格&库存
MB90561APF 数据手册
FUJITSU MICROELECTRONICS DATA SHEET DS07-13715-5E 16-bit Proprietary Microcontrollers CMOS F2MC-16LX MB90560/565 Series MB90561A/562A/F562B/V560/567/568/F568 ■ DESCRIPTION The MB90560/565 series is a general-purpose 16-bit microcontroller designed for industrial, OA, and process control applications that require high-speed real-time processing. The device features a multi-function timer able to output a programmable waveform. The microcontroller instruction set is based on the same AT architecture as the F2MC-8L and F2MC-16L families with additional instructions for high-level languages, extended addressing modes, enhanced signed multiplication and division instructions, and a complete range of bit manipulation instructions. The microcontroller has a 32-bit accumulator for processing long word (32-bit) data. Note: F2MC is the abbreviation of FUJITSU Flexible Microcontroller. ■ FEATURES • Clock • Internal oscillator circuit and PLL clock multiplication circuit • Oscillation clock Clock speed selectable from either the machine clock, main clock, or PLL clock. The main clock is the oscillation clock divided into 2 (0.5 MHz to 8 MHz for a 1 MHz to 16 MHz base oscillation) . The PLL clock is the oscillation clock multiplied by one to four (4 MHz to 16 MHz for a 4 MHz base oscillation) . • Minimum instruction execution time : 62.5 ns (for oscillation = 4 MHz, PLL clock setting = × 4, VCC = 5.0 V) • Maximum CPU memory space : 16 MB • 24-bit addressing • Bank addressing (Continued) The information for microcontroller supports is shown in the following homepage. Be sure to refer to the "Check Sheet" for the latest cautions on development. "Check Sheet" is seen at the following support page "Check Sheet" lists the minimal requirement items to be checked to prevent problems beforehand in system development. http://edevice.fujitsu.com/micom/en-support/ Copyright©2001-2008 FUJITSU MICROELECTRONICS LIMITED All rights reserved 2008.9 MB90560/565 Series (Continued) • Instruction set • Bit, byte, word, and long word data types • 23 different addressing modes • Enhanced calculation precision using a 32-bit accumulator • Enhanced signed multiplication and division instructions and RETI instruction • Instruction set designed for high level language (C) and multi-tasking • Uses a system stack pointer • Symmetric instruction set and barrel shift instructions • Program patch function (2 address pointers) . • 4-byte instruction queue • Interrupt function • Priority levels are programmable • 32 interrupts • Data transfer function • Extended intelligent I/O service function : Up to 16 channels • Low-power consumption modes • Sleep mode (CPU operating clock stops.) • Timebase timer mode (Only oscillation clock and timebase timer continue to operate.) • Stop mode (Oscillation clock stops.) • CPU intermittent operation mode (The CPU operates intermittently at the specified interval.) • Package • LQFP-64P (FTP-64P-M23 : 0.65 mm pin pitch) • QFP-64P (FTP-64P-M06 : 1.00 mm pin pitch) • SH-DIP (DIP-64P-M01 : 1.778 mm pin pitch) • Process : CMOS technology ■ PERIPHERAL FUNCTIONS (RESOURCES) I/O ports : 51 ports (max.) Timebase timer : 1 channel Watchdog timer : 1 channel 16-bit reload timer : 2 channels Multi-function timer • 16-bit free-run timer : 1 channel • Output compare : 6 channels Can output an interrupt request when a match occurs between the count in the 16-bit freerun timer and the value set in the compare register. • Input capture : 4 channels On detecting an active edge on the input signal from an external input pin, copies the count value of the 16bit freerun timer to the input capture data register and generates an interrupt request. • 8/16-bit PPG timer (8-bit × 6 channels or 16-bit × 3 channels) The period and duty of the output pulse can be set by the program. • Waveform generator (8-bit timer : 3 channels) • UART : 2 channels • Full-duplex, double-buffered (8-bit) • Can be set to asynchronous or clock synchronous serial transfer (I/O expansion serial) operation • DTP/external interrupt circuit (8 channels) • External interrupts can activate the extended intelligent I/O service. • Generates interrupts in response to external interrupt inputs. 2 DS07-13715-5E • • • • • MB90560/565 Series • Delayed interrupt generation module • Generates an interrupt request for task switching. • 8/10-bit A/D converter : 8 channels • 8-bit or 10-bit resolution selectable DS07-13715-5E 3 MB90560/565 Series ■ PRODUCT LINEUP 1. MB90560 Series Part Number Classification ROM size RAM size Dedicated emulator power supply* MB90F562B Internal flash memory product 64 Kbytes 2 Kbytes ⎯ MB90562A MB90561A MB90V560 Evaluation product No ROM 4 Kbytes No Internal mask ROM product 32 Kbytes 1 Kbytes ⎯ CPU functions Number of instructions : 351 Minimum instruction execution time : 62.5 ns for a 4 MHz oscillation (with ×4 multiplier) Addressing modes : 23 modes Program patch function : 2 address pointers Maximum memory space : 16 Mbytes I/O ports (CMOS) : 51 Full-duplex, double-buffered Clock synchronous or asynchronous operation selectable Can be used as I/O serial Internal dedicated baud rate generator 2 channels 16-bit reload timer operation 2 channels 16-bit free-run timer × 1 channel Output compare × 6 channels Input capture × 4 channels 8/16-bit PPG timer (8-bit × 6 channels or 16-bit × 3 channels) Waveform generator (8-bit timer × 3 channels) 3-phase waveform output, deadtime output 8 channels (multiplexed input) 8-bit or 10-bit resolution selectable Conversion time : 6.13 µs (min.) (for maximum machine clock speed 16 MHz) 8 channels (8 channels available, shared with A/D input) Interrupt triggers : “L” → “H” edge, “H” → “L” edge, “L” level, “H” level (selectable) Sleep mode, timebase timer mode, stop mode, and CPU intermittent operation mode CMOS 5 V ± 10% Ports UART 16-bit reload timer Multi-function timer 8/10-bit A/D converter DTP/external interrupts Low power consumption modes Process Operating voltage * : DIP switch setting (S2) when using the emulation pod (MB2145-507) . Refer to “2.7 Dedicated Emulator Power Supply” in the “MB2145-507 Hardware Manual” for details. 4 DS07-13715-5E MB90560/565 Series 2. MB90565 Series Part Number Classification ROM size RAM size Dedicated emulator power supply* MB90F568 Internal flash memory product 128 Kbytes 4 Kbytes ⎯ MB90568 MB90567 96 Kbytes 4 Kbytes ⎯ Internal mask ROM product CPU functions Number of instructions : 351 Minimum instruction execution time : 62.5 ns for a 4 MHz oscillation (with ×4 multiplier) Addressing modes : 23 modes Program patch function : 2 address pointers Maximum memory space : 16 Mbytes I/O ports (CMOS) : 51 Full-duplex, double-buffered Clock synchronous or asynchronous operation selectable Can be used as I/O serial Internal dedicated baud rate generator 2 channels 16-bit reload timer operation 2 channels 16-bit free-run timer × 1 channel Output compare × 6 channels Input capture × 4 channels 8/16-bit PPG timer (8-bit × 6 channels or 16-bit × 3 channels) Waveform generator (8-bit timer × 3 channels) 3-phase waveform output, deadtime output 8 channels (multiplexed input) 8-bit or 10-bit resolution selectable Conversion time : 6.13 µs (min.) (for maximum machine clock speed 16 MHz) 8 channels (8 channels available, shared with A/D input) Interrupt triggers : “L” → “H” edge, “H” → “L” edge, “L” level, “H” level (selectable) Sleep mode, timebase timer mode, stop mode, and CPU intermittent operation mode CMOS Ports UART 16-bit reload timer Multi-function timer 8/10-bit A/D converter DTP/external interrupts Low power consumption modes Process Operating voltage 3.3 V ± 0.3 V * : DIP switch setting (S2) when using the emulation pod (MB2145-507) . Refer to “2.7 Dedicated Emulator Power Supply” in the “MB2145-507 Hardware Manual” for details. DS07-13715-5E 5 MB90560/565 Series ■ PACKAGE AND CORRESPONDING PRODUCTS Package FPT-64P-M23 (LQFP-0.65 mm) FPT-64P-M06 (QFP-1.00 mm) DIP-64P-M01 (SH-DIP) PGA-256C-A01 (PGA) : Available × × : Not available × × × × × × × × MB90561A MB90562A MB90F562B MB90567 MB90568 MB90F568 MB90V560 × × × Note : See the “Package Dimensions” section for details of each package. 6 DS07-13715-5E MB90560/565 Series ■ PIN ASSIGNMENTS (TOP VIEW) P43/PPG2 P42/PPG1 P41/PPG0 P40/SCK0 P37/SOT0 P36/SIN0 C* VCC P35/RTO5 P34/RTO4 P33/RTO3 P32/RTO2 P31/RTO1 P44/PPG3 P45/PPG4 P46/PPG5 P50/AN0 P51/AN1 P52/AN2 P53/AN3 P54/AN4 P55/AN5 P56/AN6 P57/AN7 AVCC AVR AVSS P60/SIN1 P61/SOT1 P62/SCK1 P63/INT7/DTTI MD0 64 63 62 61 60 59 58 57 56 55 54 53 52 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 P30/RTO0 VSS P27/IN3 P26/IN2 P25/IN1 P24/IN0 P23/TO1 P22/TIN1 P21/TO0 P20/TIN0 P17/FRCK P16/INT6 P15/INT5 P14/INT4 P13/INT3 P12/INT2 P11/INT1 P10/INT0 P07 * : N.C. on the MB90F568, MB90567, and MB90568. RST MD1 MD2 X0 X1 VSS P00 P01 P02 P03 P04 P05 P06 20 21 22 23 24 25 26 27 28 29 30 31 32 (FPT-64P-M06) (Continued) DS07-13715-5E 7 MB90560/565 Series (TOP VIEW) P44/PPG3 P43/PPG2 P42/PPG1 P41/PPG0 P40/SCK0 P37/SOT0 P36/SIN0 C* VCC P35/RTO5 P34/RTO4 P33/RTO3 P32/RTO2 P31/RTO1 P30/RTO0 VSS P45/PPG4 P46/PPG5 P50/AN0 P51/AN1 P52/AN2 P53/AN3 P54/AN4 P55/AN5 P56/AN6 P57/AN7 AVCC AVR AVSS P60/SIN1 P61/SOT1 P62/SCK1 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 P27/IN3 P26/IN2 P25/IN1 P24/IN0 P23/TO1 P22/TIN1 P21/TO0 P20/TIN0 P17/FRCK P16/INT6 P15/INT5 P14/INT4 P13/INT3 P12/INT2 P11/INT1 P10/INT0 * : N.C. on the MB90F568, MB90567, and MB90568. (Continued) 8 P63/INT7/DTTI MD0 RST MD1 MD2 X0 X1 VSS P00 P01 P02 P03 P04 P05 P06 P07 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 (FPT-64P-M23) DS07-13715-5E MB90560/565 Series (Continued) (TOP VIEW) C* P36/SIN0 P37/SOT0 P40/SCK0 P41/PPG0 P42/PPG1 P43/PPG2 P44/PPG3 P45/PPG4 P46/PPG5 P50/AN0 P51/AN1 P52/AN2 P53/AN3 P54/AN4 P55/AN5 P56/AN6 P57/AN7 AVCC AVR AVSS P60/SIN1 P61/SOT1 P62/SCK1 P63/INT7/DTTI MD0 RST MD1 MD2 X0 X1 VSS 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 VCC P35/RTO5 P34/RTO4 P33/RTO3 P32/RTO2 P31/RTO1 P30/RTO0 VSS P27/IN3 P26/IN2 P25/IN1 P24/IN0 P23/TO1 P22/TIN1 P21/TO0 P20/TIN0 P17/FRCK P16/INT6 P15/INT5 P14/INT4 P13/INT3 P12/INT2 P11/INT1 P10/INT0 P07 P06 P05 P04 P03 P02 P01 P00 (DIP-64P-M01) (Only support MB90F562B, MB90561A, and MB90562A.) * : Not support on the MB90F568, MB90567, and MB90568. DS07-13715-5E 9 MB90560/565 Series ■ PIN DESCRIOTIONS Pin No. QFP*3 23, 24 20 26 to 33 LQFP*4 22, 23 19 25 to 32 SDIP*5 30, 31 27 33 to 40 State/ Circuit Pin Function *1 Name Type at Reset X0, X1 RST P00 to P07 P10 to P16 34 to 40 33 to 39 41 to 47 C A H C Oscillator Reset input Description Connect oscillator to these pins. If using an external clock, leave X1 open. External reset input pin I/O ports I/O ports Can be used as interrupt request inputs ch0 to ch6. In standby mode, these pins can operate as inputs by setting the bits corresponding to EN0 to EN6 to “1” and setting as input ports. When used as a port, set the corresponding bits in the analog input enable register (ADER) to “port”. I/O port External clock input pin for the freerun timer. This pin can be used as an input when set as the clock input for the freerun timer and set as an input port. When used as a port, set the corresponding bit in the analog input enable register (ADER) to “port”. Port inputs (Hi-Z outputs) I/O port External clock input pin for reload timer ch0. This pin can be used as an input when set as the external clock input and set as an input port. I/O port D Event output pin for reload timer ch0. Output operates when event output is enabled. I/O port D External clock input pin for reload timer ch1. This pin can be used as an input when set as the external clock input and set as an input port. I/O port D Event output pin for reload timer ch1. Output operates when event output is enabled. I/O ports D Trigger input pins for input capture ch0 to ch3. These pins can be used as an input when set as an input capture trigger input and set as an input port. (Continued) INT0 to INT6 P17 41 40 48 FRCK C P20 42 41 49 TIN0 P21 43 42 50 TO0 P22 44 43 51 TIN1 P23 45 44 52 TO1 P24 to P27 46 to 49 45 to 48 53 to 56 IN0 to IN3 D 10 DS07-13715-5E MB90560/565 Series Pin No. QFP*3 LQFP*4 SDIP*5 State/ Circuit Pin Function *1 Name Type at Reset P30 to P35 I/O ports Description 51 to 56 50 to 55 58 to 63 RTO0 to RTO5 E Event output pins for the output compare and waveform generator output pins. The pins output the specified waveform generated by the waveform generator. If not using waveform generation, these terminals enable output compare event output to use as output compare outputs. When used as a port, set the corresponding bits in the analog input enable register (ADER) to “port”. I/O port Serial data input pin for UART ch0. This pin is used continuously when input operation is enabled for UART ch0. In this case, do not use as a general input pin. I/O port Serial data output pin for UART ch0. Output operates when UART ch0 output is enabled. I/O port Serial clock I/O pin for UART ch0. Output operates when UART ch0 clock output is enabled. I/O ports P36 59 58 2 D Port inputs (Hi-Z) D SIN0 P37 60 59 3 SOT0 P40 61 60 4 SCK0 P41 to P46 5 to 10 PPG0 to PPG5 P50 to P57 4 to 11 3 to 10 11 to 18 AN0 to AN7 F D D 62 to 64, 1 to 3 61 to 64, 1, 2 Output pins for PPG ch0 to ch5. The outputs operate when output is enabled for PPG ch0 to ch5. I/O ports Analog inputs Analog input pins for the A/D converter. Input is available when the corresponding analog input enable register bits are set. (ADER : bit0 to bit7) VCC power supply input pin for A/D converter. 12 11 19 AVCC ⎯ Power supply input 13 12 20 AVR G ReferReference voltage input pin for A/D converter. ence voltEnsure that the voltage does not exceed VCC. age input Power supply input VSS power supply input pin for A/D converter. (Continued) 14 13 21 AVSS ⎯ DS07-13715-5E 11 MB90560/565 Series (Continued) Pin No. QFP*3 LQFP*4 SDIP*5 Pin Name P60 15 14 22 D Circuit Type*1 State/ Function at Reset I/O port Serial data input pin for UART ch1. This pin is used continuously when input operation is enabled for UART ch1. In this case, do not use as a general input pin. I/O port D Serial data output pin for UART ch1. Output operates when UART ch1 output is enabled. I/O port Port input Serial clock I/O pin for UART ch1. (Hi-Z) Output operates when UART ch1 clock output is enabled. I/O port This pin can be used as interrupt request input ch7. In standby mode, this pin can operate as an input by setting the bit corresponding to EN7 to “1” and setting as an input port. Fixed pin level input pin when RTO0 to RTO5 pins are used. Input is enabled when “input enabled” set in the waveform generator. Capacitor Capacitor pin for stabilizing the power supply. pin, Connect an external ceramic capacitor of approxpower imately 0.1 µF. supply input Input pin for setting the operation mode. Connect directly to VCC or VSS. Input pin for setting the operation mode. Mode Connect directly to VCC or VSS. input pins Input pin for setting the operation mode. Connect directly to VSS. Mask ROM products have a built-in pull-up resistor and its circuit type is “I”. Power supply inputs Power supply (GND) input pin MB90560 series is power supply (5 V) input pin MB90565 series is power supply (3.3 V) input pin Description SIN1 P61 16 15 23 SOT1 P62 17 16 24 SCK1 P63 D INT7 18 17 25 D DTTI 58 57 1 C*2 ⎯ 19 21 18 20 26 28 MD0 MD1 B B 22 21 29 MD2 B/I ⎯ ⎯ 25, 50 57 24, 49 56 32, 57 64 VSS VCC *1 : See “■ I/O CIRCUITS” for details of the circuit types. *2 : N.C. on the MB90F568, MB90567, and MB90568 *3 : FPT-64P-M06 *4 : FPT-64P-M23 *5 : DIP-64P-M01 12 DS07-13715-5E MB90560/565 Series ■ I/O CIRCUITS Type X1 Rf Xout Circuit Remarks • Oscillation circuit Internal oscillation feedback resistor (Rf) A X0 Nch Pch Nch Standby control signal Pch • CMOS hysteresis input B CMOS hysteresis input Rp Pch Pull-up control Pout C Nch Nout CMOS hysteresis input Standby control signal • CMOS hysteresis I/O pin with pull-up control CMOS output CMOS hysteresis input (with input cutoff function in standby mode) Internal pull-up resistor (Rp) < Note > • The pull-up resistor is active when the port is set as an input. Pch Pout Nch Nout D CMOS hysteresis input Standby control signal • CMOS hysteresis I/O pin CMOS output CMOS hysteresis input (with input cutoff function in standby mode) < Notes > • The I/O port output and internal resource output share the same output buffer. • The I/O port input and internal resource input share the same input buffer. (Continued) DS07-13715-5E 13 MB90560/565 Series (Continued) Type Circuit Remarks • CMOS I/O pin CMOS output CMOS hysteresis input (with input cutoff function in standby mode) < IOL = 12 mA > Pch Pout E Nch Nout CMOS hysteresis input Standby control signal Pch Pout Nch Nout F CMOS hysteresis input Standby control signal A/D converter analog input • Analog/CMOS hysteresis I/O pin CMOS output CMOS hysteresis input (with input cutoff function in standby mode) Analog input (Analog input to A/D converter is enabled when “1” is set in the corresponding bit in the analog input enable register (ADER) .) • The I/O port output and internal resource output share the same output buffer. • The I/O port input and internal resource input share the same input buffer. • A/D converter (AVR) voltage input pin Pch Pch G Nch Nch AVR input Analog input enable signal from A/D converter Pull-up resistor • CMOS hysteresis input • Pull-up resistor CMOS hysteresis input H R CMOS hysteresis input • CMOS hysteresis input • Pull-down resistor I R Pull-down resistor 14 DS07-13715-5E MB90560/565 Series ■ HANDLING DEVICES Take note of the following nine points when handling devices : • Do not exceed maximum rated voltage (to prevent latch-up) • Supply voltage stability • Power-on precautions • Treatment of unused pins • Treatment of A/D converter power supply pins • Notes on using an external clock • Power supply pins • Sequence for connecting and disconnecting the A/D converter power supply and analog input pins • Notes on using the DIV A, Ri and DIVW A, RWi instructions • Device Handling Precautions (1) Do not exceed maximum rated voltage (to prevent latch-up) Do not apply a voltage grater than VCC or less than VSS to the MB90560/565 series input or output pins. Also ensure that the voltage between VCC and VSS does not exceed the rating. Applying a voltage in excess of the ratings may result in latch-up causing thermal damage to circuit elements. Similarly, when connecting or disconnecting the power to the analog power supply (AVCC, AVR) and analog inputs (AN0 to AN7) , ensure that the analog power supply voltages do not exceed the digital voltage (VCC) . (2) Supply voltage stability Rapid changes in the VCC supply voltage may cause the device to misoperate. Accordingly, ensure that the VCC power supply is stable. The standard for power supply voltage stability is a peak-to-peak VCC ripple voltage at the supply frequency (50 to 60 Hz) of 10% or less of VCC and a transient fluctuation in the voltage of 0.1 V/ms or less when turning the power supply on or off. (3) Power-on precautions To prevent misoperation of the internal regulator circuit, ensure that the voltage rise time at power-on is at least 50 µs (between 0.2 V to 2.7 V) . (4) Treatment of unused pins Leaving unused input pins unconnected can cause misoperation or permanent damage to the device due to latchup. Always pull-up or pull-down unused pins using a 2 kΩ or larger resistor. If some I/O pins are unused, either set as outputs and leave open circuit or set as inputs and treat in the same way as input pins. (5) Treatment of A/D converter power supply pins If not using the A/D converter, connect the analog power supply pins so that AVCC = AVR = VCC and AVSS = VSS. (6) Notes on using an external clock Even if using an external clock, an oscillation stabilization delay time occurs after a power-on reset and when recovering from stop mode in the same way as when an oscillator is connected. When using an external clock, drive the X0 pin only and leave the X1 pin open. DS07-13715-5E 15 MB90560/565 Series X0 OPEN X1 MB90560/565 series Example of using an external clock (7) Power supply pins The multiple VCC and VSS pins are connected together in the internal device design so as to prevent misoperation such as latch-up. However, always connect all VCC and VSS pins to the same potential externally to minimize spurious radiation, prevent misoperation of strobe signals due to increases in the ground level, and maintain the overall output current rating. Also, ensure that the impedance of the VCC and VSS connections to the power supply is as low as possible. To minimize these problems, connect a bypass capacitor of approximately 0.1 µF between VCC and VSS. Connect the capacitor close to the VCC and VSS pins. (8) Sequence for connecting and disconnecting power supply Do not apply voltage to the A/D converter power supply pins (AVCC, AVR, AVSS) or analog inputs (AN0 to AN7) until the digital power supply (VCC) is turned on. When turning the device off, turn off the digital power supply after disconnecting the A/D converter power supply and analog inputs. When turning the power on or off, ensure that AVR does not exceed AVCC. When using the I/O ports that share pins with the analog inputs, ensure that the input voltage does not exceed AVCC (turning the analog and digital power supplies on and off simultaneously is OK) . (9) Conditions when output from ports 0 and 1 is undefined After turning on the power supply, the outputs from ports 0 and 1 are undefined during the oscillation stabilization delay time controlled by the regulator circuit (during the power-on reset) if the RST pin level is “H”. When the RST pin level is “L”, ports 0 and 1 go to high impedance. Figures 1 and 2 show the timing (for the MB90F562B and MB90V560) . Note that this undefined output period does not occur on products without an internal regulator circuit as these products do not have an oscillation stabilization delay time. (MB90561A, MB90562A, MB90F568, MB90567 and MB90568) 16 DS07-13715-5E MB90560/565 Series • Figure 1 Timing chart for undefined output from ports 0 and 1 (When RST pin level is “H”) Oscillation stabilization delay time*2 Regulator circuit stabilization delay time*1 VCC (Power supply pin) PONR (Power-on reset) signal RST (External asynchronous reset) signal RST (Internal reset) signal Oscillation clock signal KA (Internal operating clock A) signal KB (Internal operating clock B) signal PORT (port output) signal Undefined output time *1 : Regulator circuit oscillation stabilization delay time : 217/Oscillation clock frequency (approx. 8.19 ms for a 16 MHz oscillation clock frequency) *2 : Oscillation stabilization delay time : 218/Oscillation clock frequency (approx. 16.38 ms for a 16 MHz oscillation clock frequency) DS07-13715-5E 17 MB90560/565 Series • Figure 2 Timing chart for ports 0 and 1 going to high impedance state (When RST pin level is “L”) Oscillation stabilization delay time*2 Regulator circuit stabilization delay time*1 VCC (Power supply pin) PONR (Power-on reset) signal RST (External asynchronous reset) signal RST (Internal reset) signal Oscillation clock signal KA (Internal operating clock A) signal KB (Internal operating clock B) signal PORT (port output) signal High impedance *1 : Regulator circuit oscillation stabilization delay time : 217/Oscillation clock frequency (approx. 8.19 ms for a 16 MHz oscillation clock frequency) *2 : Oscillation stabilization delay time : 218/Oscillation clock frequency (approx. 16.38 ms for a 16 MHz oscillation clock frequency) (10) Notes on using the DIV A, Ri and DIVW A, RWi instructions The location in which the remainder value produced by the signed division instructions “DIV A, Ri” and “DIVW A, RWi” is stored depends on the bank register. The remainder is stored in an address in the memory bank specified in the bank register. Set the bank register to “00H” when using the “DIV A, Ri” and “DIVW A, RWi” instructions. (11) Notes on using REALOS The extended intelligent I/O service (EI2OS) cannot be used when using REALOS. (12) Caution on Operations during PLL Clock Mode If the PLL clock mode is selected in the microcontroller, it may attempt to continue the operation using the freerunning frequency of the self oscillation circuit in the PLL circuitry even if the oscillator is out of place or the clock input is stopped. Performance of this operation, however, cannot be guaranteed. 18 DS07-13715-5E MB90560/565 Series ■ BLOCK DIAGRAM X0, X1 RST MD0 to MD2 Clock control circuit F2MC-16LX CPU Interrupt controller 8/16-bit PPG timer ch0 to ch5* Input capture ch0 to ch3 RAM ROM UART ch0 UART ch1 Internal data bus SIN0 SOT0 SCK0 SIN1 SOT1 SCK1 AVCC AVR AVSS AN0 to AN7 PPG0 to PPG5 IN0 to IN3 16-bit freerun timer FRCK 8/10-bit A/D converter Output compare ch0 to ch5 TO0 TIN0 16-bit reload timer ch0 Waveform generator circuit RTO0 RTO1 RTO2 RTO3 RTO4 RTO5 DTTI TO1 TIN1 16-bit reload timer ch1 DTP/ external interrupts I/O ports (Ports 0, 1, 2, 3, 4, 5, and 6) INT0 to INT7 P00 P07 P10 P17 P20 P27 P30 P37 P40 P46 P50 P57 P60 P63 * : Channel numbers when used as 8-bit timers. Three channels (ch1, ch3, and ch5) are available when used as 16-bit timers. Note: The I/O ports share pins with the various peripheral functions (resources) . See the Pin Assignment and Pin Description sections for details. Note that, if a pin is used by a peripheral function (resource) , it may not be used as an I/O port. DS07-13715-5E 19 MB90560/565 Series ■ MEMORY MAP Single chip mode (with ROM mirror function) FFFFFFH ROM area Address #1 FF0000H 010000H ROM area (image of FF bank) Address #2 004000H Address #3 RAM area 000100H 0000C0H Peripherals 000000H Access prohibited Registers Part No. MB90561A MB90562A MB90F562B MB90567 MB90568 MB90F568 MB90V560 Address#1 FF8000H FF0000H FF0000H FE8000H FE0000H FE0000H FE0000 H* Address#2 008000H 004000H 004000H 004000H 004000H 004000H 004000 H* Address#3 000500H 000900H 000900H 001100H 001100H 001100H 001100H * : “V” products do not contain internal ROM. Treat this address as the ROM decode area used by the tools. Memory map of MB90560/565 series Notes : • When specified in the ROM mirror function register, the upper part of 00 bank (“004000H to 00FFFFH”) contains a mirror of the data in the upper part of FF bank (“FF4000H to FFFFFFH”) . • See “10. ROM Mirror Function Selection Module” in the Peripheral Functions section for details of the ROM mirror function settings. Remarks : • The ROM mirror function is provided so the C compiler’s small memory model can be used. • The lower 16 bits of the FF bank and 00 bank addresses are the same. However, as the FF bank ROM area exceeds 48 KBytes, the entire ROM data area cannot be mirrored in 00 bank. • When using the C compiler’s small memory model, locating data tables in the area “FF4000H to FFFFFFH” makes the image of the data visible in the “004000H to 00FFFFH” area. This means that data tables located in ROM can be referenced without needing to declare far pointers. 20 DS07-13715-5E MB90560/565 Series ■ I/O MAP AbbreviatAddress ed Register Name 000000H 000001H 000002H 000003H 000004H 000005H 000006H 000007H to 00000FH 000010H 000011H 000012H 000013H 000014H 000015H 000016H 000017H 000018H to 00001FH 000020H 000021H 000022H 000023H 000024H 000025H 000026H 000027H 000028H 000029H CDCR0 Communication prescaler control register ch0 SMR0 SCR0 SIDR0 SODR0 SSR0 SMR1 SCR1 SIDR1 SODR1 SSR1 Mode register ch0 Control register ch0 Input data register ch0 Output data register ch0 Status register ch0 Mode register ch1 Control register ch1 Input data register ch1 Output data register ch1 Status register ch1 DDR0 DDR1 DDR2 DDR3 DDR4 DDR5 DDR6 ADER Port 0 direction register Port 1 direction register Port 2 direction register Port 3 direction register Port 4 direction register Port 5 direction register Port 6 direction register Analog input enable register PDR0 PDR1 PDR2 PDR3 PDR4 PDR5 PDR6 Register name Port 0 data register Port 1 data register Port 2 data register Port 3 data register Port 4 data register Port 5 data register Port 6 data register Read/ Write R/W R/W R/W R/W R/W R/W R/W Access prohibited R/W R/W R/W R/W R/W R/W R/W R/W Port 0 Port 1 Port 2 Port 3 Port 4 Port 5 Port 6 Port 5, A/D converter 0 0 0 0 0 0 0 0B 0 0 0 0 0 0 0 0B 0 0 0 0 0 0 0 0B 0 0 0 0 0 0 0 0B X 0 0 0 0 0 0 0B 0 0 0 0 0 0 0 0B XXXX 0 0 0 0B 1 1 1 1 1 1 1 1B Resource Name Port 0 Port 1 Port 2 Port 3 Port 4 Port 5 Port 6 Initial Value XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB Access prohibited R/W W, R/W R W R, R/W R/W W, R/W R W R, R/W Access prohibited R/W Communication prescaler 0 XXX 0 0 0 0B (Continued) UART1 UART0 0 0 0 0 0 X 0 0B 0 0 0 0 0 1 0 0B XXXXXXXXB 0 0 0 0 1 0 0 0B 0 0 0 0 0 X 0 0B 0 0 0 0 0 1 0 0B XXXXXXXXB 0 0 0 0 1 0 0 0B DS07-13715-5E 21 MB90560/565 Series AbbreviatAddress ed Register Name 00002AH 00002BH 00002CH to 00002FH 000030H 000031H 000032H 000033H 000034H 000035H 000036H 000037H 000038H 000039H 00003AH 00003BH 00003CH 00003DH 00003EH 00003FH 000040H 000041H 000042H 000043H 000044H 000045H 000046H 000047H 000048H 000049H 00004AH 00004BH 00004CH PRLL4 PRLH4 PRLL5 PRLH5 PPGC4 PRLL2 PRLH2 PRLL3 PRLH3 PPGC2 PPGC3 PCS23 ENIR EIRR ELVR ADCS0 ADCS1 ADCR0 ADCR1 PRLL0 PRLH0 PRLL1 PRLH1 PPGC0 PPGC1 PCS01 CDCR1 Register name Read/ Write Resource Name Initial Value Access prohibited Communication prescaler control register ch1 R/W Communication prescaler 0 XXX 0 0 0 0B Access prohibited DTP/external interrupt enable register DTP/external interrupt request register Request level setting register (lower) Request level setting register (upper) A/D control status register (lower) A/D control status register (upper) A/D data register (lower) A/D data register (upper) PPG reload register ch0 (lower) PPG reload register ch0 (upper) PPG reload register ch1 (lower) PPG reload register ch1 (upper) PPG control register ch0 (lower) PPG control register ch1 (upper) PPG clock control register ch0, ch1 PPG reload register ch2 (lower) PPG reload register ch2 (upper) PPG reload register ch3 (lower) PPG reload register ch3 (upper) PPG control register ch2 (lower) PPG control register ch3 (upper) PPG clock control register ch2, ch3 PPG reload register ch4 (lower) PPG reload register ch4 (upper) PPG reload register ch5 (lower) PPG reload register ch5 (upper) PPG control register ch4 (lower) R/W R/W R/W R/W R/W W, R/W R R, W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 8/10-bit A/D converter DTP/external interrupts 0 0 0 0 0 0 0 0B XXXXXXXXB 0 0 0 0 0 0 0 0B 0 0 0 0 0 0 0 0B 0 0 0 0 0 0 0 0B 0 0 0 0 0 0 0 0B XXXXXXXXB 0 0 0 0 0 XXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB 8/16-bit PPG timer XXXXXXXXB 0 0 0 0 0 0 0 1B 0 0 0 0 0 0 0 1B 0 0 0 0 0 0 XXB XXXXXXXXB XXXXXXXXB XXXXXXXXB 8/16-bit PPG timer XXXXXXXXB 0 0 0 0 0 0 0 1B 0 0 0 0 0 0 0 1B 0 0 0 0 0 0 XXB XXXXXXXXB XXXXXXXXB 8/16-bit PPG timer XXXXXXXXB XXXXXXXXB 0 0 0 0 0 0 0 1B (Continued) Access prohibited Access prohibited 22 DS07-13715-5E MB90560/565 Series AbbreviatAddress ed Register Name 00004DH 00004EH 00004FH 000050H 000051H 000052H 000053H 000054H 000055H 000056H 000057H 000058H 000059H 00005AH 00005BH 00005CH 00005DH 00005EH 00005FH 000060H 000061H 000062H 000063H 000064H 000065H 000066H 000067H 000068H 000069H 00006AH 00006BH to 00006EH ICS23 IPCP0 IPCP1 IPCP2 IPCP3 ICS01 CPCLR TCDT TCCS TMRR0 DTCR0 TMRR1 DTCR1 TMRR2 DTCR2 SIGCR PPGC5 PCS45 Register name PPG control register ch5 (upper) PPG clock control register ch4, ch5 8-bit reload register ch0 8-bit timer control register ch0 8-bit reload register ch1 8-bit timer control register ch1 8-bit reload register ch2 8-bit timer control register ch2 Waveform control register Compare clear register (lower) Compare clear register (upper) Timer data register (lower) Timer data register (upper) Timer control/status register (lower) Timer control/status register (upper) Read/ Write R/W R/W R/W R/W R/W R/W R/W R/W R/W Resource Name Initial Value 0 0 0 0 0 0 0 1B 0 0 0 0 0 0 XXB XXXXXXXXB 0 0 0 0 0 0 0 0B XXXXXXXXB 8/16-bit PPG timer Access prohibited Waveform generator 0 0 0 0 0 0 0 0B XXXXXXXXB 0 0 0 0 0 0 0 0B 0 0 0 0 0 0 0 0B XXXXXXXXB XXXXXXXXB 0 0 0 0 0 0 0 0B 0 0 0 0 0 0 0 0B 0 0 0 0 0 0 0 0B 0 XX 0 0 0 0 0B Access prohibited R/W R/W R/W R/W R/W R/W 16-bit freerun timer Access prohibited Input capture data register ch0 (lower) Input capture data register ch0 (upper) Input capture data register ch1 (lower) Input capture data register ch1 (upper) Input capture data register ch2 (lower) Input capture data register ch2 (upper) Input capture data register ch3 (lower) Input capture data register ch3 (upper) Input capture control register 01 Input capture control register 23 R R R R R R R R R/W R/W Input capture Input capture XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB 0 0 0 0 0 0 0 0B 0 0 0 0 0 0 0 0B Access prohibited Access prohibited (Continued) DS07-13715-5E 23 MB90560/565 Series AbbreviatAddress ed Register Name 00006FH 000070H 000071H 000072H 000073H 000074H 000075H 000076H 000077H 000078H 000079H 00007AH 00007BH 00007CH 00007DH 00007EH 00007FH 000080H 000081H ROMM Register name Read/ Write Resource Name ROM mirror function selection module Initial Value ROM mirror function selection register Compare register ch0 (lower) Compare register ch0 (upper) Compare register ch1 (lower) Compare register ch1 (upper) Compare register ch2 (lower) Compare register ch2 (upper) Compare register ch3 (lower) Compare register ch3 (upper) Compare register ch4 (lower) Compare register ch4 (upper) Compare register ch5 (lower) Compare register ch5 (upper) Compare control register ch0 (lower) Compare control register ch1 (upper) Compare control register ch2 (lower) Compare control register ch3 (upper) Compare control register ch4 (lower) Compare control register ch5 (upper) W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R W R W R/W R/W R W R W XXXXXXX 1B XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB 0 0 0 0 XX 0 0B XXX 0 0 0 0 0B 0 0 0 0 XX 0 0B XXX 0 0 0 0 0B 0 0 0 0 XX 0 0B XXX 0 0 0 0 0B 0 0 0 0 0 0 0 0B XXXX 0 0 0 0B XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB 0 0 0 0 0 0 0 0B XXXX 0 0 0 0B XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB (Continued) OCCP0 OCCP1 OCCP2 OCCP3 OCCP4 OCCP5 OCS0 OCS1 OCS2 OCS3 OCS4 OCS5 Output compare 000082H TMCSR0 : L Timer control status register ch0 (lower) 000083H TMCSR0 : H Timer control status register ch0 (upper) 000084H 000085H TMR0 TMRLR0 TMR0 TMRHR0 16-bit timer register ch0 (lower) 16-bit reload register ch0 (lower) 16-bit timer register ch0 (upper) 16-bit reload register ch0 (upper) 000086H TMCSR1 : L Timer control status register ch1 (lower) 000087H TMCSR1 : H Timer control status register ch1 (upper) 000088H 000089H TMR1 TMRLR1 TMR1 TMRHR1 16-bit timer register ch1 (lower) 16-bit reload register ch1 (lower) 16-bit timer register ch1 (upper) 16-bit reload register ch1 (upper) 16-bit reload timer 24 DS07-13715-5E MB90560/565 Series AbbreviatAddress ed Register Name 00008AH to 00008BH 00008CH 00008DH 00008EH to 00009DH 00009EH 00009FH 0000A0H 0000A1H 0000A2H to 0000A7H 0000A8H 0000A9H 0000AAH to 0000ADH 0000AEH 0000AFH 0000B0H 0000B1H 0000B2H 0000B3H 0000B4H 0000B5H ICR00 ICR01 ICR02 ICR03 ICR04 ICR05 FMCS WDTC TBTC PACSR DIRR LPMCR CKSCR RDR0 RDR1 Register name Read/ Write Resource Name Initial Value Access prohibited Port 0 pull-up resistor setting register Port 1 pull-up resistor setting register R/W R/W Port 0 Port 1 0 0 0 0 0 0 0 0B 0 0 0 0 0 0 0 0B Access prohibited Program address detection control status register Delayed interrupt request/clear register Low power consumption mode register Clock selection register Address match detection Delayed interrupt Low power consumption control circuit Clock R/W R/W W, R/W R, R/W Access prohibited 0 0 0 0 0 0 0 0B XXXXXXX 0B 0 0 0 1 1 0 0 0B 1 1 1 1 1 1 0 0B Watchdog control register Timebase timer control register R/W W, R/W Watchdog timer Timebase timer 1 XXXX 1 1 1B 1 XX 0 0 1 0 0B Access prohibited R, W, R/W W, R/W R, R/W W, R/W R, R/W W, R/W R, R/W W, R/W R, R/W W, R/W R, R/W W, R/W R, R/W Interrupts Flash memory control status register Flash memory 0 0 0 0 0 0 0 0B Access prohibited Interrupt control register 00 (for writing) Interrupt control register 00 (for reading) Interrupt control register 01 (for writing) Interrupt control register 01 (for reading) Interrupt control register 02 (for writing) Interrupt control register 02 (for reading) Interrupt control register 03 (for writing) Interrupt control register 03 (for reading) Interrupt control register 04 (for writing) Interrupt control register 04 (for reading) Interrupt control register 05 (for writing) Interrupt control register 05 (for reading) XXXX 0 1 1 1B XX 0 0 0 1 1 1B XXXX 0 1 1 1B XX 0 0 0 1 1 1B XXXX 0 1 1 1B XX 0 0 0 1 1 1B XXXX 0 1 1 1B XX 0 0 0 1 1 1B XXXX 0 1 1 1B XX 0 0 0 1 1 1B XXXX 0 1 1 1B XX 0 0 0 1 1 1B (Continued) DS07-13715-5E 25 MB90560/565 Series AbbreviatAddress ed Register Name 0000B6H 0000B7H 0000B8H 0000B9H 0000BAH 0000BBH 0000BCH 0000BDH 0000BEH 0000BFH 0000C0H to 0000FFH 000100H to #H #H to 001FEFH 001FF0H 001FF1H 001FF2H PADR0 ICR06 ICR07 ICR08 ICR09 ICR10 ICR11 ICR12 ICR13 ICR14 ICR15 Register name Interrupt control register 06 (for writing) Interrupt control register 06 (for reading) Interrupt control register 07 (for writing) Interrupt control register 07 (for reading) Interrupt control register 08 (for writing) Interrupt control register 08 (for reading) Interrupt control register 09 (for writing) Interrupt control register 09 (for reading) Interrupt control register 10 (for writing) Interrupt control register 10 (for reading) Interrupt control register 11 (for writing) Interrupt control register 11 (for reading) Interrupt control register 12 (for writing) Interrupt control register 12 (for reading) Interrupt control register 13 (for writing) Interrupt control register 13 (for reading) Interrupt control register 14 (for writing) Interrupt control register 14 (for reading) Interrupt control register 15 (for writing) Interrupt control register 15 (for reading) Read/ Write W, R/W R, R/W W, R/W R, R/W W, R/W R, R/W W, R/W R, R/W W, R/W R, R/W W, R/W R, R/W W, R/W R, R/W W, R/W R, R/W W, R/W R, R/W W, R/W R, R/W Resource Name Initial Value XXXX 0 1 1 1B XX 0 0 0 1 1 1B XXXX 0 1 1 1B XX 0 0 0 1 1 1B XXXX 0 1 1 1B XX 0 0 0 1 1 1B XXXX 0 1 1 1B XX 0 0 0 1 1 1B XXXX 0 1 1 1B XX 0 0 0 1 1 1B XXXX 0 1 1 1B XX 0 0 0 1 1 1B XXXX 0 1 1 1B XX 0 0 0 1 1 1B XXXX 0 1 1 1B XX 0 0 0 1 1 1B XXXX 0 1 1 1B XX 0 0 0 1 1 1B XXXX 0 1 1 1B XX 0 0 0 1 1 1B Interrupts Unused area RAM area Reserved area Program address detection register ch0 (lower) Program address detection register ch0 (middle) Program address detection register ch0 (lower) R/W R/W R/W Address match detection XXXXXXXXB XXXXXXXXB XXXXXXXXB (Continued) 26 DS07-13715-5E MB90560/565 Series (Continued) AbbreviatAddress ed Register Name 001FF3H 001FF4H 001FF5H 001FF6H to 001FFFH • Read/write notation R/W : Reading and writing permitted R : Read-only W : Write-only • Initial value notation 0 : Initial value is “0”. 1 : Initial value is “1”. X : Initial value is undefined. PADR1 Register name Program address detection register ch1 (lower) Program address detection register ch1 (middle) Program address detection register ch1 (lower) Unused area Read/ Write R/W R/W R/W Address match detection Resource Name Initial Value XXXXXXXXB XXXXXXXXB XXXXXXXXB DS07-13715-5E 27 MB90560/565 Series ■ INTERRUPTS, INTERRUPT VECTORS, AND INTERRUPT CONTROL REGISTERS Interrupt Reset INT 9 instruction Exception A/D converter conversion complete Output compare channel 0 match 8/16-bit PPG timer 0 counter borrow Output compare channel 1 match 8/16-bit PPG timer 1 counter borrow Output compare channel 2 match 8/16-bit PPG timer 2 counter borrow Output compare channel 3 match 8/16-bit PPG timer 3 counter borrow Output compare channel 4 match 8/16-bit PPG timer 4 counter borrow Output compare channel 5 match 8/16-bit PPG timer 5 counter borrow DTP/external interrupt channel 0/1 detection DTP/external interrupt channel 2/3 detection DTP/external interrupt channel 4/5 detection DTP/external interrupt channel 6/7 detection 8-bit timer 0/1/2 counter borrow 16-bit reload timer 0 underflow 16-bit freerun timer overflow 16-bit reload timer 1 underflow Input capture channel 0/1 16-bit freerun timer clear Input capture channel 2/3 Timebase timer UART1 receive UART1 send UART0 receive UART0 send Flash memory status Delay interrupt output module 28 × × × × × × EI2OS Support × × × Interrupt Vector No.* #08 #09 #10 #11 #13 #14 #15 #16 #17 #18 #19 #20 #21 #22 #23 #24 #25 #26 #27 #28 #29 #30 #31 #32 #33 #34 #35 #36 #37 #38 #39 #40 #41 #42 08H 09H 0AH 0BH 0DH 0EH 0FH 10H 11H 12H 13H 14H 15H 16H 17H 18H 19H 1AH 1BH 1CH 1DH 1EH 1FH 20H 21H 22H 23H 24H 25H 26H 27H 28H 29H 2AH Address FFFFDCH FFFFD8H FFFFD4H FFFFD0H FFFFC8H FFFFC4H FFFFC0H FFFFBCH FFFFB8H FFFFB4H FFFFB0H FFFFACH FFFFA8H FFFFA4H FFFFA0H FFFF9CH FFFF98H FFFF94H FFFF90H FFFF8CH FFFF88H FFFF84H FFFF80H FFFF7CH FFFF78H FFFF74H FFFF70H FFFF6CH FFFF68H FFFF64H FFFF60H FFFF5CH FFFF58H FFFF54H Interrupt Control Register ICR ⎯ ⎯ ⎯ ICR00 ICR01 ICR02 ICR03 ICR04 ICR05 ICR06 ICR07 ICR08 ICR09 ICR10 ICR11 ICR12 ICR13 ICR14 ICR15 Address ⎯ ⎯ ⎯ 0000B0H 0000B1H 0000B2H 0000B3H 0000B4H 0000B5H 0000B6H 0000B7H 0000B8H 0000B9H 0000BAH 0000BBH 0000BCH 0000BDH 0000BEH 0000BFH Priority High Low DS07-13715-5E MB90560/565 Series : Supported × : Not supported : Supported, includes EI2OS stop function : Available if the interrupt that shares the same ICR is not used. * : If two or more interrupts with the same level occur simultaneously, the interrupt with the lower interrupt vector number has priority DS07-13715-5E 29 MB90560/565 Series ■ PERIPHERAL FUNCTIONS 1. I/O Ports • The I/O ports can be used as general-purpose I/O ports (parallel I/O ports) . The MB90560/565 series have 7 ports (51 pins) . The ports share pins with the inputs and outputs of the peripheral functions. • The port data registers (PDR) are used to output data to the I/O pins and read the data input from the I/O ports. Similarly, the port direction registers (DDR) set the I/O direction (input or output) for each individual port bit. • The following table lists the I/O ports and the peripheral functions with which they share pins. Pin Name (Port) Pin Name (Peripheral) Peripheral Function that Shares Pin Port 0 Port 1 Port 2 Port 3 Port 4 Port 5 Port 6 P00-P07 P10-P16 P17 P20-P23 P24-P27 P30-P35 P36, P37 P40 P41-P46 P50-P57 P60-P62 P63 ⎯ INT0-INT6 FRCK TIN0, TO0, TIN1, TO1 IN0-IN3 RTO0-RTO5 SIN0, SOT0 SCK0 PPG0-PPG5 AN0-AN7 SIN1, SOT1, SCK1 INT7 DTTI Not shared External interrupts Freerun timer external input 16-bit reload timer 0 and 1 Input capture 0 to 3 Output compare UART0 UART0 8/16-bit PPG timer 8/10-bit A/D converter UART1 External interrupts Waveform generator Notes : • Pins P30 to P35 of port 3 can drive a maximum of IOL = 12 mA. • Port 5 shares pins with the analog inputs. When using port 5 pins as a general-purpose ports, ensure that the corresponding analog input enable register (ADER) bits are set to “0B”. ADER is initialized to “FFH” after a reset. • Block diagram for port 0 and 1 pins Pull-up resistor setting register (PDRx) Internal pull-up resistor Internal data bus PDRx read Port data register (PDRx) Port direction register (DDRx) Input/output selection circuit Input buffer Output buffer Port pin PDRx write Standby control (LPMCR : SPL = "1") 30 DS07-13715-5E MB90560/565 Series • Block diagram for port 2, 3, 4, and 6 pins Resource input Internal data bus PDRx read Port data register (PDRx) PDRx write Port direction register (DDRx) Resource output control signal Resource output Input/output selection circuit Input buffer Output buffer Port pin Standby control (LPMCR : SPL = "1") • Block diagram for port 5 pins Analog input enable register (ADER) Internal data bus Analog converter analog input signal PDR5 read Port data register (PDR5) Input/output selection circuit Input buffer Output buffer Port 5 pin PDR5 write Port direction register (DDR5) Standby control (LPMCR : SPL = "1") Notes: • When using as an input port, set the corresponding bit in the port 5 direction register (DDR5) to “0” and set the corresponding bit in the analog input enable register (ADER) to “0”. • When using as an analog input pin, set the corresponding bit in the port 5 direction register (DDR5) to “0” and set the corresponding bit in the analog input enable register (ADER) to “1”. DS07-13715-5E 31 MB90560/565 Series 2. Timebase Timer • The timebase timer is an 18-bit freerun timer (timebase timer/counter) that counts up synchronized with the main clock (oscillation clock : HCLK divided into 2) . • The timer can generate interrupt requests at a specified interval, with four different interval time settings available. • The timer supplies the operating clock for peripheral functions including the oscillation stabilization delay timer and watchdog timer. • Timebase timer interval settings Internal Count Clock Period 2 /HCLK (approx. 1.024 ms) 2/HCLK (0.5 µs) 214/HCLK (approx. 4.096 ms) 216/HCLK (approx. 16.384 ms) 219/HCLK (approx. 131.072 ms) Notes : • HCLK : Oscillation clock frequency • The values enclosed in ( ) indicate the times for a clock frequency of 4 MHz. • Period of clocks supplied from timebase timer Peripheral Function 210/HCLK (approx. 0.256 ms) Oscillation stabilization delay for the main clock 213/HCLK (approx. 2.048 ms) 215/HCLK (approx. 8.192 ms) 217/HCLK (approx. 32.768 ms) 212/HCLK (approx. 1.024 ms) Watchdog timer 214/HCLK (approx. 4.096 ms) 216/HCLK (approx. 16.384 ms) 219/HCLK (approx. 131.072 ms) Notes : • HCLK : Oscillation clock frequency • The values enclosed in ( ) indicate the times for a clock frequency of 4 MHz. Clock Period 12 Interval Time 32 DS07-13715-5E MB90560/565 Series • Block diagram To PPG timer Timebase timer/counter HCLK divided into 2 × 21 × 22 × 23 To watchdog timer × 28 × 29 × 210 × 211 × 212 × 213 × 214 × 215 × 216 × 217 × 218 OF OF OF OF To oscillation stabilization delay time selector in clock controller Reset*1 Clear stop mode, etc.*2 Switch clock mode*3 Counter clear circuit TBOF clear Interval timer selector TBOF set Timebase timer control register (TBTC) Timebase timer interrupt signal TBIE TBOF TBR TBC1 TBC0 OF HCLK *1 *2 *3 : Overflow : Oscillation clock frequency : Power-on reset, watchdog reset : Recovery from stop mode and timebase timer mode : Main → PLL clock The actual interrupt request number for the timebase timer is : Interrupt request number : #36 (24H) DS07-13715-5E 33 MB90560/565 Series 3. Watchdog Timer • The watchdog timer is a timer/counter used to detect faults such as program runaway. • The watchdog timer is a 2-bit counter that counts the clock signal from the timebase timer or watch timer. • Once started, the watchdog timer must be cleared before the 2-bit counter overflows. If an overflow occurs, the CPU is reset. • Interval time for the watchdog timer HCLK : Oscillation Clock (4 MHz) Min. Approx. 3.58 ms Approx. 14.33 ms Approx. 57.23 ms Approx. 458.75 ms Max. Approx. 4.61 ms Approx. 18.30 ms Approx. 73.73 ms Approx. 589.82 ms Clock Period 214 ± 211 / HCLK 216 ± 213 / HCLK 218 ± 215 / HCLK 218 ± 215 / HCLK Notes : • The difference between the maximum and minimum watchdog timer interval times is due to the timing when the counter is cleared. • As the watchdog timer is a 2-bit counter that counts the carry-up signal from the timebase timer or watch timer, clearing the timebase timer (when operating on HCLK) or the watch timer (when operating on SCLK) lengthens the time until the watchdog timer reset is generated. • Watchdog timer count clock WTC : WDCS “0” “1” • Events that stop the watchdog timer 1 : Stop due to a power-on reset 2 : Watchdog reset • Events that clear the watchdog timer 1 : External reset input from the RST pin. 2 : Writing “0” to the software reset bit. 3 : Writing “0” to the watchdog control bit (second and subsequent times) . 4 : Changing to sleep mode (clears the watchdog timer and temporarily halts the count) . 5 : Changing to timebase timer mode (clears the watchdog timer and temporarily halts the count) . 6 : Changing to stop mode (clears the watchdog timer and temporarily halts the count) . HCLK : Oscillation clock PCLK : PLL clock Prohibited setting Count the timebase timer output. 34 DS07-13715-5E MB90560/565 Series • Block diagram Watchdog timer control register (WDTC) PONR STBR WRST ERST SRST WTE WT1 WT0 Watchdog timer 2 Start Reset Change to sleep mode Change to timebase timer mode Change to stop mode Counter clear control circuit Counter clock selector 2-bit counter Watchdog timer reset generation circuit To internal reset circuit Clear 4 (Timebase timer/counter) Main clock (HCLK divided into 2) × 21 × 22 × 28 × 29 × 210 × 211 × 212 × 213 × 214 × 215 × 216 × 217 × 218 HCLK : Oscillation clock frequency DS07-13715-5E 35 MB90560/565 Series 4. 16-Bit Reload Timers 0 and 1 (With Event Count Function) • The 16-bit reload timers have the following functions. • The count clock can be selected from three internal clocks or the external event clock. • An interrupt to the CPU can be generated when an underflow occurs on 16-bit reload timer 0 or 1. This interrupt allows the timers to be used as interval timers. • Two different operation modes can be selected when an underflow occurs on 16-bit reload timer 0 or 1: oneshot mode in which timer operation halts when an underflow occurs or reload mode in which the value in the reload register is loaded into the timer and counting continues. • Extended intelligent I/O service (EI2OS) is supported. • The MB90560/565 series contains two 16-bit reload timer channels. • 16-bit reload timer operation modes Count Clock Start Trigger Software trigger Internal clock External trigger Event count mode (external clock mode) Software trigger Operation When an Underflow Occurs One-shot mode Reload mode One-shot mode Reload mode One-shot mode Reload mode • Interval times for the 16-bit reload timers Count Clock Count Clock Period 2 /φ (0.125 µs) 1 Example of Interval Times 0.125 µs to 8.192 ms 0.5 µs to 32.768 ms 2.0 µs to 131.1 ms 0.5 µs or longer Internal clock Event count mode 2 /φ (0.5 µs) 3 25/φ (2.0 µs) 23/φ or longer Note : The values enclosed in ( ) and the example of interval times is for a machine clock frequency of 16 MHz. φ is the machine clock frequency value for the calculation. Remarks : 16-bit reload timer 0 can be used to generate the baud rate for UART0. 16-bit reload timer 1 can be used to generate the baud rate for UART1 and activation trigger for the A/D converter. 36 DS07-13715-5E MB90560/565 Series • Block diagram Internal data bus TMRLR0*1 TMRLR1*2 16-bit reload register Reload signal TMR0*1 TMR1*2 16-bit timer register CLK Count clock generation circuit Machine clock φ 3 Gate input Clock pulse detection circuit Wait signal To UART0*1 To UART1 and A/D converter trigger*2 Output control circuit Output signal generation circuit EN Pin TO0*1 TO1*2 UF *4 Reload control circuit Prescaler Clear trigger Internal clock Pin TIN0*1 TIN1*2 Input control circuit External clock 2 CLK Clock selector Select signal 3 Function selection Operation control circuit ⎯ ⎯ ⎯ ⎯ CSL1 CSL0 MOD2 MOD1 MOD0 OUTE OUTL RELD INTE UF CNTE TRG Interrupt request output #30 (1EH) *1, *3 #32 (20H) *2, *3 Timer control status register (TMCSR) *1 : Channel 0 *2 : Channel 1 *3 : Interrupt number *4 : Underflow DS07-13715-5E 37 MB90560/565 Series 5. Multi-Function Timer • Based on the 16-bit freerun timer, the multi-function timer can be used to generate 12 independent waveform outputs and to measure input pulse widths and external clock periods. • Structure of multi-function timer 16-bit 16-bit freerun timer output compare 1 ch 6 ch 16-bit input capture 4 ch 8/16-bit PPG timer 8 bit × 6 ch 16 bit × 3 ch Waveform generator 8-bit timer × 3 ch • 16-bit freerun timer (1 channel) The 16-bit freerun timer consists of a 16-bit up-counter (timer data register (TCDT) ) , compare clear register (CPCLR) , timer control status register (TCCS) , and prescaler. The count output value from the 16-bit freerun timer provides the base time for the input capture and output compare functions. • The count clock can be selected from the following eight clocks : 1/φ, 2/φ, 4/φ, 8/φ, 16/φ, 32/φ, 64/φ, 128/φ φ : Machine clock frequency • An interrupt can be generated when the 16-bit freerun timer overflows or when the 16-bit freerun timer count is cleared to “0000H” due to a match occurring between the value in the compare clear register (CPCLR) and the count in the 16-bit freerun timer (TCCS : ICRE = “1”, MODE = “1”) . • The 16-bit freerun timer is cleared to “0000H” when a reset occurs, on setting the timer clear bit (SCLR) in the timer control status register (TCCS) , when a compare match occurs between the 16-bit freerun timer count and the value in the compare clear register (CPCLR) (TCCS : MODE = “1”) , or by writing “0000H” to the timer data register (TCDT) . • Output compare (6 channels) The output compare unit consists of compare registers (OCCP0 to OCCP5) , compare control registers (OCS0 to OCS5) , and compare output latches. When a match occurs between a compare register (OCCP0 to OCCP5) value and the count from the 16-bit freerun timer, the output compare can invert the level of the corresponding output compare pin and generate an interrupt. • The compare registers (OCCP0 to OCCP5) operate independently for each channel. Each of the compare registers (OCCP0 to OCCP5) has a corresponding output pin and an interrupt request flag in the channel’s compare control register (lower) (OCS0, OCS2, OCS4) . • Two channels of the compare registers (OCCP0 to OCCP5) can be used to invert the output pins. • An interrupt can be output when a match occurs between a compare register (OCCP0 to OCCP5) and the count from the 16-bit freerun timer (OCS0, OCS2, OCS4 : IOP0 = “1”, IOP1 = “1”) . (OCS0, OCS2, OCS4 : IOE0 = “1”, IOE1 = “1”) • The initial output levels for the output compare pins can be set. • Input capture (4 channels) The input capture consists of external input pins (IN0 to IN3) , corresponding input capture data registers (IPCP0 to IPCP3) , and input capture control status registers (ICS01, ICS23) . The input capture can transfer the count value from the 16-bit freerun timer to the input capture data register (IPCP0 to IPCP3) and output an interrupt on detecting an active edge on the signal input from the external input pin. • Each channel of the input capture operates independently. • The active edge (rising edge, falling edge, or either edge) on the external signal can be specified. 38 DS07-13715-5E MB90560/565 Series • An interrupt can be generated when an active edge is detected on the external signal (ICS01, ICS23 : ICE0 = “1”, ICE1 = “1”, ICE2 = “1”, ICE3 = “1”) . • 8/16-bit PPG timer (8-bit : 6 channels, 16-bit : 3 channels) The 8/16-bit PPG timer consists of an 8-bit down counter (PCNT) , PPG control registers (PPGC0 to PPGC 5) , PPG clock control registers (PCS01, PCS23, PCS45) , and PPG reload registers (PRLL0 to PRLL5, PRLH0 to PRLH5) . When used as an 8/16-bit reload timer, the PPG operates as an event timer. The PPG can also be used to output pulses with specified frequency and duty ratio. • 8-bit PPG mode Each channel operates as an independent 8-bit PPG. • 8-bit prescaler + 8-bit PPG mode ch0 (ch2, ch4) operates as an 8-bit prescaler and ch1 (ch3, ch5) operates as a variable frequency PPG by counting up on the borrow output from ch0 (ch2, ch4) . • 16-bit PPG mode ch0 (ch2, ch4) and ch1 (ch3, ch5) operate together as a 16-bit PPG. • PPG operation Outputs pulses with the specified frequency and duty ratio (ratio of “H” level period and “L” level period), and can also be used as a D/A converter when combined with an external circuit. • Waveform generator The waveform generator consists of an 8-bit timer, 8-bit timer control registers (DTCR0 to DTCR2) , 8-bit reload registers (TMRR0 to TMRR2) , and waveform control register (SIGCR) . The waveform generator can generate a DC chopper output or non-overlapping three-phase waveform output for inverter control using the realtime outputs (RT0 to RT5) and 8/16-bit PPG timer. • A non-overlapping waveform can be generated by using the 8-bit timer as a deadtime timer and adding a nonoverlap time delay to the PPG timer pulse output. (Deadtime timer function) • A non-overlapping waveform can be generated by using the 8-bit timer as a deadtime timer and adding a nonoverlap time delay to the realtime outputs (RT1, RT3, RT5) . (Deadtime timer function) • A GATE signal can be generated when a match occurs between the count from the 16-bit freerun timer and compare register in the output compare (OCCP0 to OCCP5) (rising edge on realtime output (RT) ) to control the PPG timer operation. (GATE function) • Can control the RTO0 to RTO5 pin outputs using the DTTI pin input. By making the DTTI pin input clockless, the pins can be controlled externally even when the oscillation clock is halted. (The level for each pin can be set by the program.) However, the I/O ports (P30 to P35) must have been set beforehand as outputs and the output values set in the port 3 data register (PDR3) . DS07-13715-5E 39 MB90560/565 Series • Block diagram • 16-bit freerun timer, input capture, and output compare To interrupt #31 (1FH) * 8 IVF IVFE STOP MODE SCLR CLK2 CLK1 CLK0 Divider Clock 16-bit freerun timer 3 φ 16 16-bit compare clear register 16 Compare registers 0, 2, 4 MS13 to 0 T CMOD T Q Q ICLR ICRE Compare circuit To interrupt #34 (22H) * To A/D trigger Compare circuit 16 Compare registers 1, 3, 5 To RT0, 2, 4 waveform generator Compare circuit Internal data bus 4 IOP1 IOP0 To RT1, 3, 5 waveform generator IOE1 IOE0 To interrupts #13 (0DH) *, #17 (11H) *, #21 (15H) * #15 (0FH) *, #19 (13H) *, #23 (17H) * Capture registers 0, 2 Edge detection IN0/2 4 EG11 EG10 EG01 EG00 Capture registers 1, 3 4 ICP0 ICP1 Edge detection IN1/3 ICE0 ICE1 To interrupts #33 (21H) *, #35 (23H) * #33 (21H) *, #35 (23H) * * : Interrupt number φ : Machine clock frequency 40 DS07-13715-5E MB90560/565 Series • Block diagram of 8/16-bit PPG timer PC02 PC01 PC00 POS0 OEN0 φ SST0 POE0 PUF0 PIE0 To interrupt #14 (0EH) * Selector Divider Operation control GATE0/1 Selector Selector To PPG0, 2, 4 PCNT0 (Down counter) Reload L/H selector PRLL0/2/4 Internal data bus PRLH0/2/4 ch1, 3, 5 borrow PRLBH0/2/4 PC12 ch0, 2, 4 borrow PC11 PC10 POS1 OEN1 φ SST1 POE1 PUF1 PIE1 To interrupt #16 (10H) * Selector Divider Operation control GATE1 PCNT1 (Down counter) Selector Reload Selector To PPG1, 3, 5 L/H selector PRLL1/3/5 PRLH1/3/5 PRLBH1/3/5 * : Interrupt number φ : Machine clock frequency DS07-13715-5E 41 MB90560/565 Series • Block diagram of waveform generator φ Divider Clock DCK2 DCK1 DCK0 TMD1 TMD0 NRSL DTIL DTIE DTTI control circuit DTTI To GATE0, 1 (To PPG timer) RT0 RT1 Selector 8-bit timer Compare circuit Selector U Deadtime generation X To GATE2, 3 (To PPG timer) RT2 RT3 8-bit timer Compare circuit Selector Selector V 8-bit timer register 1 Deadtime generation Y To GATE4, 5 (To PPG timer) RT4 RT5 Selector 8-bit timer Compare circuit Selector W 8-bit timer register 2 Deadtime generation RTO4/W RTO5/Z Waveform generator TO4 TO5 RTO2/V RTO3/Y Waveform generator TO2 TO3 RTO0/U RTO1/X Waveform generator TO0 TO1 Internal data bus 8-bit timer register 0 φ : Machine clock frequency 42 DS07-13715-5E MB90560/565 Series 6. UART (1) Overview • The UART is a general-purpose serial communications interface for performing synchronous or asynchronous (start-stop synchronization) communications with external devices. • The interface provides both a bi-directional communication function (normal mode) and a master-slave communication function (multi-processor mode) . • The UART can generate interrupt requests at receive complete, receive error detected, and transmit complete timings. Also the UART supports EI2OS. • UART functions The UART is a general-purpose serial communications interface for sending serial data to and from other CPUs and peripheral devices. Function Data buffer Transmission modes Full-duplex double-buffered • Clock synchronous (no start and stop bits) • Clock asynchronous (start-stop synchronization) • • • • • Max. 2 MHz (for a 16 MHz machine clock) Baud rate generated by dedicated baud rate generator Baud rate generated by external clock (clock input from SCK0 and SCK1 pins) Baud rate generated by internal clock (clock supplied from 16-bit reload timer) Eight different baud rate settings are available. Baud rate Number of data bits Signal format Receive error detection • 7 bits (asynchronous normal mode only) • 8 bits Non return to zero (NRZ) format • Framing errors • Overrun errors • Parity errors (not available in multi-processor mode) • Receive interrupt (Receive complete or receive error detected) • Transmit interrupt (Transmission complete) • Both transmit and receive support the extended intelligent I/O service (EI2OS) . Used for 1 (master) to n (slave) communications. (Can only be used as master) Interrupt requests Master/slave communication function (multi-processor mode) Note : The UART does not add the start and stop bits in clock synchronous mode. In this case, only data is transmitted. DS07-13715-5E 43 MB90560/565 Series • UART operation modes Operation Mode 0 1 2 Normal mode Multi-processor mode Clock synchronous mode 8+1 8 *1 No. of Data Bits No Parity With Parity ⎯ ⎯ 7 or 8 bits Synchronization Asynchronous Asynchronous Synchronous No. of Stop Bits 1 or 2 bits*2 None ⎯ : Not available *1 : The “+1” represents the address/data (A/D) bit used for communication control. *2 : Only 1 stop bit supported for receiving. • UART interrupts and EI2OS Interrupt Interrupt No. Interrupt Control Register Register Name ICR13 ICR13 ICR14 ICR14 Address 0000BDH 0000BDH 0000BEH 0000BEH Vector Table Address EI2OS Lower FFFF68H FFFF64H FFFF60H FFFF5CH Upper FFFF69H FFFF65H FFFF61H FFFF5DH Bank FFFF6AH FFFF66H FFFF62H FFFF5EH UART1 receive interrupt UART1 send interrupt UART0 receive interrupt UART0 send interrupt #37 (25H) #38 (26H) #39 (27H) #40 (28H) : The UART has a function to halt EI2OS if a receive error is detected. : Available when the interrupt shared with ICR13 or ICR14 is not used. 44 DS07-13715-5E MB90560/565 Series (2) UART structure The UART consists of the following 11 blocks: • Clock selector • Mode registers (SMR0, SMR1) • Receive control circuit • Control registers (SCR0, SCR1) • Transmission control circuit • Status registers (SSR0, SSR1) • Receive status evaluation circuit • Input data registers (SIDR0, SIDR1) • Receive shift register • Output data registers (SODR0, SODR1) • Transmission shift register • Block diagram Control bus Receive interrupt signal #39 (27H)* Transmit interrupt signal #40 (28H)* Dedicated baud rate generator Clock selector Transmit clock Receive clock 16-bit reload timer Pin P40/SCK0 Receive control circuit Transmission control circuit Transmission start circuit Transmit bit counter Transmit parity counter Start bit detection circuit Receive bit counter Receive parity counter Pin P37/SOT0 Pin P36/SIN0 Receive shift register Receive complete Transmission shift register Transmission start SODR0/SODR1 SIDR0/SIDR1 Receive status evaluation circuit Receive error detection signal for EI2OS (to CPU) Internal data bus SMR0/SMR1 MD1 MD0 CS2 CS1 CS0 SCKE SOE SCR0/SCR1 PEN P SBL CL A/D REC RXE TXE SSR0/SSR1 PE ORE FRE RDRF TDRE BDS RIE TIE * : Interrupt number DS07-13715-5E 45 MB90560/565 Series • Clock selector Selects the send/receive clock from either the dedicated baud rate generator, external input clock (clock input to SCK0 or SCK1 pin) , or internal clock (clock supplied by 16-bit reload timer) . • Receive control circuit The receive control circuit consists of a receive bit counter, start bit detection circuit, and receive parity counter. The receive bit counter counts the received data bits and outputs a receive interrupt request when the required number of data bits have been received. The start bit detection circuit detects the start bit on the serial input signal. On detecting a start bit, the receive data is shifted to the input data register (SIDR0 or SIDR1) in accordance with the specified transfer speed. The receive parity counter calculates the parity of the received data if parity is selected. • Transmission control circuit The transmission control circuit consists of a transmission bit counter, transmission start circuit, and transmission parity counter. The transmission bit counter counts the transmitted data bits and outputs a transmit interrupt request when the required number of data bits have been sent. The transmission start circuit starts transmission when data is written to the output data register (SODR0 or SODR1) . The transmission parity counter generates the parity bit for the transmitted data when parity is selected. • Receive shift register The receive shift register captures the data input from the SIN0 or SIN1 pin by shifting one bit at a time then transfers the received data to the input data register (SIDR0 or SIDR1) when reception completes. • Transmission shift register The transmission data is transferred from the output data register (SODR0 or SODR1) to the transmission shift register and output from the SOT0 or SOT1 pin by shifting one bit at a time. • Mode register (SMR0, SMR1) Set the operation mode, baud rate clock and serial clock input/output control, and enables output for the serial data pin. • Control register (SCR0, SCR1) Specifies whether to use parity, the type of parity, number of stop bits and data bits and the frame data format for operation mode 1, to clear the receive error flag bit, and to enable or disable send and receive operation. • Status register (SSR0, SSR1) Stores the send/receive and error status information, set the serial data transfer direction, and enables or disables the send and receive interrupt requests. • Input data register (SIDR0, SIDR1) Stores the received data. • Output data register (SODR0, SODR1) Set the transmission data. The data set in the output data register is converted to serial format and output. 46 DS07-13715-5E MB90560/565 Series 7. DTP/External Interrupt Circuit (1) Overview of the DTP/external interrupt circuit The DTP (Data Transfer Peripheral) /external interrupt circuit detects interrupt requests input to the external interrupt input pins (INT7 to INT0) and outputs interrupt requests. • DTP/external interrupt circuit functions The DTP/external interrupt function detects edge or level signals input to the external interrupt input pins (INT7 to INT0) and outputs interrupt requests. The interrupt request is received by the CPU and, if the extended intelligent I/O service (EI2OS) is enabled, EI2OS performs automatic data transfer (DTP function) then passes control to the interrupt handler routine on completion. If EI2OS is disabled, control passes directly to the interrupt handler routine without performing automatic data transfer (DTP function) . • Overview of the DTP/external interrupt circuit External Interrupt Input pins Interrupt conditions Interrupt number Interrupt control Interrupt flag Processing selection Operation 8 channels (P10/INT0 to P16/INT6, P63/INT7) The level or edge to detect can be set independently for each pin in the detection level setup register (ELVR) . “L” level, “H” level, rising edge, or falling edge input #25 (19H) to #28 (1CH) Interrupts can be enabled or disabled in the DTP/external interrupt enable register (ENIR) . The DTP/external interrupt request register (ENRR) stores interrupt requests. Set EI2OS to disabled (ICR : ISE = 0) Jumps to interrupt handler routine Set EI2OS to enabled (ICR : ISE = 1) Jumps to interrupt handler routine after automatic data transfer by EI2OS completes. DTP Function ICR : Interrupt control register • DTP/external interrupt circuit interrupts and EI2OS Interrupt Control Register Interrupt Channel No. Register Name Address INT0/INT1 INT2/INT3 INT4/INT5 INT6/INT7 #25 (19H) #26 (1AH) #27 (1BH) #28 (1CH) ICR07 ICR08 0000B7H 0000B8H Vector Table Address Lower FFFF98H FFFF94H FFFF90H FFFF8CH Upper FFFF99H FFFF95H FFFF91H FFFF8DH Bank FFFF9AH FFFF96H FFFF92H FFFF8EH EI2OS : Available when the interrupt shared with ICR07 or ICR08 is not used. DS07-13715-5E 47 MB90560/565 Series (2) Structure of the DTP/external interrupt circuit The DTP/external interrupt circuit consists of the following four blocks : • DTP/interrupt detection circuit • DTP/interrupt request register (EIRR) • DTP/interrupt enable register (ENIR) • Request level setting register (ELVR) • Block diagram Request level setting register (ELVR) LB7 LA7 2 Pin P63/INT7 Pin P16/INT6 Pin P15/INT5 Internal data bus Pin P14/INT4 DTP/interrupt request register (EIRR) ER7 ER6 ER5 ER4 ER3 ER2 ER1 ER0 Interrupt request signal #25 (19H)* #26 (1AH)* #27 (1BH)* DTP/interrupt enable register (ENIR) EN7 EN6 EN5 EN4 EN3 EN2 EN1 EN0 #28 (1CH)* Selector Selector Selector Selector Selector Selector Selector LB6 LA6 2 LB5 LA5 2 LB4 LA4 2 LB3 LA3 2 LB2 LA2 2 LB1 LA1 2 LB0 LA0 2 Selector Pin P10/INT0 Pin P11/INT1 Pin P12/INT2 Pin P13/INT3 DTP/external interrupt input detection circuit * : Interrupt number 48 DS07-13715-5E MB90560/565 Series 8. Delayed Interrupt Generation Module • The delayed interrupt generation module is used to generate the task switching interrupt. Generation of this hardware interrupt can be specified by software. • Delayed interrupt generation module functions Function and Control • Writing “1” to bit R0 of the delayed interrupt request generation/clear register (DIRR : R0 = 1) generates an interrupt request. • Writing “0” to bit R0 of the delayed interrupt request generation/clear register (DIRR : R0 = 1) clears the interrupt request. • No enable/disable register is provided for this interrupt. • Set in bit R0 of the delayed interrupt request generation/clear register (DIRR : R0) . • Not supported by the extended intelligent I/O service (EI2OS) . Interrupt trigger Interrupt control Interrupt flag EI2OS support • Block diagram Internal data bus ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ R0 Delayed interrupt request generation/ clear register (DIRR) S Interrupt request R latch Interrupt request signal ⎯ : Undefined DS07-13715-5E 49 MB90560/565 Series 9. 8/10-Bit A/D Converter • Overview of the 8/10-bit A/D converter • The 8/10-bit A/D converter uses RC successive approximation to convert analog input voltages to an 8-bit or 10-bit digital value. • The input signals can be selected from the eight analog input pin channels. • 8/10-bit A/D converter functions The minimum conversion time is 6.13 µs (for a 16 MHz machine clock, including sampling A/D conversion time time) . The minimum sampling time is 2.0 µs (for a 16 MHz machine clock) Conversion method RC successive approximation with sample & hold circuit Resolution Analog input pins Interrupts A/D conversion start trigger EI2OS support 8-bit or 10-bit, selectable Eight analog input pin channels are available. The input pin can be selected by the program. An interrupt request can be generated and EI2OS invoked when A/D conversion completes. The conversion data protection function operates when A/D conversion is performed with the interrupt enabled. The conversion start trigger can be set from the following options : software, output of 16bit reload timer 1 (rising edge) , or zero detection edge from 16-bit freerun timer. Supported by the extended intelligent I/O service (EI2OS) . • 8/10-bit A/D converter conversion modes Conversion Mode Single Conversion Mode Operation Scan Conversion Mode Operation Sequentially performs one conversion Single-shot conversion mode 1 Performs one conversion for the specfor multiple channels (up to 8 channels Single-shot conversion mode 2 ified channel (1 channel) then halts. can be set) , then halts. Continuous conversion mode Performs repeated conversions for the Performs repeated conversions for the specified channels (up to 8 channels specified channel (1 channel) . can be set) . Sequentially performs one conversion Performs one conversion for the specfor multiple channels (up to 8 channels ified channel (1 channel) then halts can be set) , then halts and waits for and waits for the next activation. the next activation. Incremental conversion mode • 8/10-bit A/D converter interrupts and EI2OS Interrupt Control Register Interrupt No. Register Name Address #11 (0BH) : Available ICR00 0000B0H Vector Table Address Lower FFFFD0H Upper FFFFD1H Bank FFFFD2H EI2OS 50 DS07-13715-5E MB90560/565 Series • Block diagram A/D control status register (ADCS0, ADCS1) Interrupt request signal #11 (0BH) * BUSY INT INTE PAUS STS1 STS0 STRT Rese- MD1 MD0 ANS2 ANS1 ANS0 ANE2 ANE1 ANE0 rved 6 2 16-bit reload timer 1 output Clock selector 16-bit freerun timer zero-detect Decoder φ Comparator P57/AN7 P56/AN6 P55/AN5 P54/AN4 P53/AN3 P52/AN2 P51/AN1 P50/AN0 A/D data register (ADCR0, ADCS1) S10 ST1 ST0 CT1 CT0 ⎯ D9 D8 D7 Sample & hold circuit Analog channel selector AVR AVCC AVSS 2 D/A converter 2 Control circuit D6 D5 D4 D3 D2 D1 D0 φ : Machine clock * : Interrupt number DS07-13715-5E Internal data bus 51 MB90560/565 Series 10. ROM Mirror Function Selection Module • The ROM mirror function selection module enables ROM data in FF bank to be read by accessing 00 bank. • ROM mirror function selection module functions Function Mirror setting address Interrupts EI OS support 2 • Data in FFFFFFH to FF4000H in FF bank can be read from 00FFFFH to 004000H in 00 bank. • None • Not supported by the extended intelligent I/O service (EI2OS) . • Relationship between addresses in the ROM mirror function FE0000H ROM area in MB90568 and MB90F568 FE8000H FEFFFFH FF0000H FF4000H ROM area in MB90567 ROM area in MB90562A and MB90F562B FF bank FF8000H FFFFFFH Mirrored ROM data area ROM area in MB90561A • Block diagram ROM mirror function selection register (ROMM) ⎯ Address Internal data bus Address space FF bank 00 bank ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ MI Data ROM 52 DS07-13715-5E MB90560/565 Series 11. Low Power Consumption (Standby) Modes • The power consumption of F2MC-16LX devices can be reduced by various settings that control the operating clock selection. • Functions of each CPU operation mode CPU Operation Operation Clock Mode Normal Run Sleep Pseudo-clock Stop Normal Run Main clock Sleep Stop CPU intermittent operation Normal Run Function The CPU and peripheral functions operate using the oscillation clock (HCLK) multiplied by the PLL circuit. The peripheral functions only operate using the oscillation clock (HCLK) multiplied by the PLL circuit. The timebase timer only operates using the oscillation clock (HCLK) multiplied by the PLL circuit. The oscillation clock is stopped and the CPU and peripherals halt operation. The CPU and peripheral functions operate using the oscillation clock (HCLK) divided into 2. The peripheral functions only operate using the oscillation clock (HCLK) divided into 2. The oscillation clock is stopped and the CPU and peripherals halt operation. The oscillation clock (HCLK) divided into 2 operates intermittently for fixed time intervals. PLL clock DS07-13715-5E 53 MB90560/565 Series 12. 512 Kbit Flash Memory • This section describes the flash memory on the MB90F562B and does not apply to evaluation and mask ROM versions. • The flash memory is located in bank FF in the CPU memory map. • Flash memory functions Function Memory size Memory configuration Sector configuration Sector protect function Programming algorithm • 512 Kbit (64 KBytes) • 64 KWords × 8 bits or 32 KWords × 16 bits • 16 KBytes + 8 KBytes + 8 KBytes + 32 KBytes • Selectable for each sector • Automatic programming algorithm (Embedded Algorithm : Equivalent to MBM29F400TA) • • • • Compatible with JEDEC standard commands Includes an erase pause and restart function Write/erase completion detection by data polling or toggle bit Erasing by sector available (sectors can be combined in any combination) Operation commands No. of write/erase cycles • Min. 10,000 guaranteed • Can be written and erased using a parallel writer (Ando Denki AF9704, AF9705, AF9706, AF9708, and AF9709) • Can be written and erased using a dedicated serial writer (Yokogawa Digital Computer Corporation AF200, AF210, AF120, and AF110) • Can be written and erased by the program • Write and erase completion interrupts • Not supported by the extended intelligent I/O service (EI2OS) . Memory write/erase method Interrupts EI OS support 2 • Sector configuration of flash memory Flash memory SA1 (32 Kbyte) SA2 (8 Kbyte) SA3 (8 Kbyte) CPU address FF0000H FF7FFFH FF8000H FF9FFFH FFA000H FFBFFFH FFC000H SA4 (16 Kbyte) FEFFFFH Writer address* 70000H 77FFFH 78000H 79FFFH 7A000H 7BFFFH 7C000H 7FFFFH * : The writer address is the address to be used instead of the CPU address when writing data from a parallel flash memory writer. Use the writer address when programming or erasing with a general-purpose parallel writer. 54 DS07-13715-5E MB90560/565 Series 13. 1 Mbit Flash Memory • This section describes the flash memory on the MB90F568 and does not apply to evaluation and mask ROM versions. • The flash memory is located in banks FE to FF in the CPU memory map. • Flash memory functions Function Memory size Memory configuration Sector configuration Sector protect function Programming algorithm • 1 Mbit (128 KBytes) • 128 KWords × 8 bits or 64 KWords × 16 bits • 16 KBytes + 8 KBytes + 8 KBytes + 32 KBytes + 64 KBytes • Selectable for each sector • Automatic programming algorithm (Embedded Algorithm : Equivalent to MBM29F400TA) • • • • Compatible with JEDEC standard commands Includes an erase pause and restart function Write/erase completion detection by data polling or toggle bit Erasing by sector available (sectors can be combined in any combination) Operation commands No. of write/erase cycles Memory write/erase method Interrupts EI2OS support • Min. 10,000 guaranteed • Can be written and erased using a parallel writer • Can be written and erased using a dedicated serial writer • Can be written and erased by the program • Write and erase completion interrupts • Not supported by the extended intelligent I/O service (EI2OS) . • Sector configuration of flash memory Flash memory SA0 (64 Kbyte) SA1 (32 Kbyte) SA2 (8 Kbyte) SA3 (8 Kbyte) CPU address FE0000H FEFFFH FF0000H FF7FFFH FF8000H FF9FFFH FFA000H FFBFFFH FFC000H SA4 (16 Kbyte) FEFFFFH Writer address* 60000H 6FFFFH 70000H 77FFFH 78000H 79FFFH 7A000H 7BFFFH 7C000H 7FFFFH * : The writer address is the address to be used instead of the CPU address when writing data from a parallel flash memory writer. Use the writer address when programming or erasing with a general-purpose parallel writer. DS07-13715-5E 55 MB90560/565 Series ■ ELECTRICAL CHARACTERISTICS (MB90560 SERIES) 1. Absolute Maximum Ratings (VSS = AVSS = 0.0 V) Parameter Symbol VCC Power supply voltage Input voltage Output voltage “L” level maximum output current “L” level average output current “L” level total maximum output current “L” level total average output current “H” level maximum output current “H” level average output current “H” level total maximum output current “H” level total average output current Power consumption Operating temperature Storage temperature AVCC AVR VI VO IOL1 IOL2 IOLAV1 IOLAV2 ΣIOL ΣIOLAV IOH IOHAV ΣIOH ΣIOHAV Pd TA Tstg Rating Min. VSS − 0.3 VSS − 0.3 VSS − 0.3 VSS − 0.3 VSS − 0.3 ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ −40 −55 Max. VSS + 6.0 VSS + 6.0 VSS + 6.0 VSS + 6.0 VSS + 6.0 15 20 4 12 100 50 −15 −4 −100 −50 300 +85 +150 Unit V V V V V mA mA mA mA mA mA mA mA mA mA mW °C °C Average value (operating current × operating ratio) Average value (operating current × operating ratio) *3 Average value (operating current × operating ratio) VCC ≥ AVCC*1 AVCC ≥ AVR ≥ 0 V *1 *2 *2 *3, *4 *3, *5 Average value (operating current × operating ratio) *4 Average value (operating current × operating ratio) *5 Remarks *1 : AVCC and AVR must not exceed VCC. Also, AVR must not exceed AVCC. *2 : VI and VO must not exceed VCC + 0.3 V. *3 : The maximum output current is the peak value for a single pin. *4 : Pins other than P30/RTO0 to P35/RTO5 *5 : P30/RTO0 to P35/RTO5 pins WARNING: Semiconductor devices can be permanently damaged by application of stress (voltage, current, temperature, etc.) in excess of absolute maximum ratings. Do not exceed these ratings. 56 DS07-13715-5E MB90560/565 Series 2. Recommended Operating Conditions (VSS = AVSS = 0.0 V) Parameter Symbol Value Min. 3.0 4.5 VCC VIH Input “H” voltage VIHS VIHM VIL Input “L” voltage VILS VILM 3.0 0.7 VCC 0.8 VCC VCC − 0.3 VSS − 0.3 VSS − 0.3 VSS − 0.3 Max. 5.5 5.5 5.5 VCC + 0.3 VCC + 0.3 VCC + 0.3 0.3 VCC 0.2 VCC VSS + 0.3 Unit V V V V V V V V V Remarks Normal operation (MB90562A, MB90561A, and MB90V560) Normal operation (MB90F562B) Maintaining state in stop mode CMOS input pin CMOS hysteresis input pin MD input pin CMOS input pin CMOS hysteresis input pin MD input pin Use a ceramic capacitor or other capacitor with equivalent frequency characteristics. The capacitance of the smoothing capacitor connected to the VCC pin must be greater than CS. Power supply voltage VCC Smoothing capacitor CS 0.1 1.0 µF Operating temperature TA −40 +85 °C • C pin diagram C CS WARNING: The recommended operating conditions are required in order to ensure the normal operation of the semiconductor device. All of the device's electrical characteristics are warranted when the device is operated within these ranges. Always use semiconductor devices within their recommended operating condition ranges. Operation outside these ranges may adversely affect reliability and could result in device failure. No warranty is made with respect to uses, operating conditions, or combinations not represented on the data sheet. Users considering application outside the listed conditions are advised to contact their representatives beforehand. DS07-13715-5E 57 MB90560/565 Series 3. DC Characteristics (TA = −40 °C to +85 °C, VCC = 5.0 V ±10%, VSS = AVSS = 0.0 V) Parameter Output “H” voltage SymPin Name bol VOH All output pins Condition VCC = 4.5 V IOH = −2.0 mA Value Min. VCC − 0.5 Typ. ⎯ Max. ⎯ Unit V Remarks VOL1 Output “L” voltage VOL2 Input leak current Pins other than P30/ VCC = 4.5 V RTO0 to IOL1 = 2.0 mA P35/RTO5 P30/RTO0 VCC = 4.5 V to P35/ IOL2 = 12.0 mA RTO5 All output pins VCC = 5.5 V VSS < VI < VCC For VCC = 5 V, internal frequency = 16 MHz, normal operation ⎯ ⎯ 0.4 V ⎯ −5 ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ 50 40 55 45 45 15 5 0.8 V µA mA MB90562A, MB90561A MB90562A, MB90561A IIL 5 80 50 85 55 60 20 20 mA MB90F562B mA ICC Power supply current* VCC For VCC = 5 V, internal frequency = 16 MHz, A/D operation in progress Flash write or erase mA MB90F562B mA MB90F562B MB90562A, mA MB90561A, MB90F562B* µA ICCS ICCH Other than AVCC, AVSS, C, VCC, and VSS P00 to P07 P10 to P17 RST For VCC = 5 V, internal frequency = 16 MHz, sleep mode Stop mode, TA = 25 °C Input capacitance CIN ⎯ ⎯ 10 80 pF Pull-up resistor Pull-down resistor RUP ⎯ ⎯ 15 30 100 kΩ kΩ Only for mask ROM products RDOWN MD2 15 30 100 * : Value when low power mode bits (LPM0, 1) is set to “01” with an internal operating frequency of 4 MHz. Note : Current values are provisional and are subject to change without notice to allow for improvements to the characteristics. The power supply current is measured with an external clock. 58 DS07-13715-5E MB90560/565 Series 4. AC Characteristics (1) Clock Timings (TA = −40 °C to +85 °C, VCC = 5.0 V ±10%, VSS = AVSS = 0.0 V) Parameter Clock frequency Clock cycle time Input clock pulse width Input clock rise/fall time Internal operating clock frequency Internal operating clock cycle time Sym CondiPin Name bol tion fC tHCYL PWH PWL tcr tcf fCP tCP X0, X1 X0, X1 X0 X0 ⎯ ⎯ Value Min. 3 1 62.5 62.5 ⎯ 10 ⎯ 1.5 62.5 Typ. ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ Max. 16 16 333 1000 ⎯ 5 16 333 Unit MHz ns ns ns MHz ns Remarks With a PLL circuit Without a PLL circuit With a PLL circuit Without a PLL circuit Recommended duty ratio = 30% to 70% When using an external clock When using a main clock When using a main clock • X0 and X1 clock timing tHCYL 0.8 VCC X0 0.2 VCC PWH tcf PWL tcr DS07-13715-5E 59 MB90560/565 Series • PLL guaranteed operation range Relationship between internal operating clock frequency and power supply voltage 5.5 Supply Voltage VCC (V) Guaranteed operation range for MB90F562B PLL guaranteed operation range PLL guaranteed operation range A/D converter guaranteed operation range Guaranteed operation range for MB90561A and MB90562A Guaranteed operation range for MB90V560 1 3 8 Internal Clock fCP (MHz)? 12 16 4.5 3.3 3.0 Relationship between oscillation frequency and internal operating clock frequency 16 Internal Clock fCP (MHz) ×4 ×3 ×2 ×1 12 8 No multiplier 4 3 2 0.5 1 2 3 4 6 8 12 16 Source Oscillation Clock fC (MHz) The AC ratings are specified for the following measurement reference voltages. • Input signal waveform Hysteresis input pin 0.8 VCC 0.2 VCC • Output signal waveform Output pin 2.4 V 0.8 V Pins other than hysteresis input or MD input pins 0.7 VCC 0.3 VCC 60 DS07-13715-5E MB90560/565 Series (2)Reset (TA = −40 °C to +85 °C, VCC = 5.0 V ±10%, VSS = AVSS = 0.0 V) Parameter Symbol Pin Name Condition Value Min. 16 tCP Reset input time tRSTH RST ⎯ Oscillator oscillation time* + 16 tCP Max. ⎯ ⎯ Unit ns ms Remarks In normal operation In stop mode *: Oscillator oscillation time is the time to reach 90% amplitude. For a crystal oscillator, this is a few to several dozen ms; for a ceramic oscillator, this is several hundred µs to a few ms, and for an external clock this is 0 ms. • In normal operation tRSTL RST 0.2 VCC 0.2 VCC • In stop mode tRSTL RST 0.2Vcc 90 % of amplitude 0.2Vcc X0 Internal operation clock Oscillator oscillation time 16 tcp Oscillator stabilization wait time Execution of the instruction Internal reset DS07-13715-5E 61 MB90560/565 Series (3) Power-On Reset (TA = −40 °C to +85 °C, VCC = 5.0 V ±10%, VSS = AVSS = 0.0 V) Parameter Power supply rise time Power supply cutoff time Symbol tR tOFF Pin Name VCC VCC Condition ⎯ Value Min. 0.05 4 Max. 30 ⎯ Unit ms ms For repeated operation Remarks Note: VCC must be less than 0.2 V before power-on. Notes : • The above rating values are for generating a power-on reset. • Some internal registers are only initialized by a power-on reset. Always apply the power supply in accordance with the above ratings if you wish to initialize these registers. tR VCC 2.7 V 0.2 V 0.2 V tOFF 0.2 V Sudden changes in the power supply voltage may cause a power-on reset. The recommended practice if you wish to change the power supply voltage while the device is operating is to raise the voltage smoothly as shown below. Also, changes to the supply voltage should be performed when the PLL clock is not in use. The PLL clock may be used, however, if the rate of voltage change is 1 V/s or less. VCC Recommended rate of voltage rise is 50 mV/ms or less. 3.0 V Maintain RAM data VSS 62 DS07-13715-5E MB90560/565 Series (4) UART0, UART1, and I/O Expansion Serial Timings (TA = −40 °C to +85 °C, VCC = 5.0 V ±10%, VSS = AVSS = 0.0 V) Parameter Serial clock cycle time SCK ↓ → SOT delay time Valid SIN → SCK ↑ SCK ↑ → valid SIN hold time Serial clock “H” pulse width Serial clock “L” pulse width SCK ↓ → SOT delay time Valid SIN → SCK ↑ SCK ↑ → valid SIN hold time Symbol tSCYC tSLOV tIVSH tSHIX tSHSL tSLSH tSLOV tIVSH tSHIX Pin Name SCK0, SCK1 SCK0, SCK1 SOT0, SOT1 Internal shift clock mode, output pin load is SCK0, SCK1 CL = 80 pF + 1 TTL SIN0, SIN1 SCK0, SCK1 SIN0, SIN1 SCK0, SCK1 SCK0, SCK1 External shift clock SCK0, SCK1 mode, output pin load is SOT0, SOT1 CL = 80 pF + 1 TTL SCK0, SCK1 SIN0, SIN1 SCK0, SCK1 SIN0, SIN1 Condition Value Min. 8 tCP −80 100 60 4 tCP 4 tCP ⎯ 60 60 Max. ⎯ 80 ⎯ ⎯ ⎯ ⎯ 150 ⎯ ⎯ Unit Remarks ns ns ns ns ns ns ns ns ns Notes : • These are the AC ratings for CLK synchronous mode. • CL is the load capacitor connected to the pin for testing. • tCP is the machine cycle period (unit = ns) DS07-13715-5E 63 MB90560/565 Series • Internal shift clock mode SCK 0.8 V tSLOV 2.4 V tSCYC 2.4 V 0.8 V SOT 0.8 V tIVSH 0.8 VCC tSHIX 0.8 VCC 0.2 VCC SIN 0.2 VCC • External shift clock mode SCK 0.2 VCC tSLOV 2.4 V tSLSH 0.2 VCC tSHSL 0.8 VCC 0.8 VCC SOT 0.8 V tIVSH 0.8 VCC tSHIX 0.8 VCC 0.2 VCC SIN 0.2 VCC 64 DS07-13715-5E MB90560/565 Series (5) Timer Input Timings (TA = −40 °C to +85 °C, VCC = 5.0 V ±10%, VSS = AVSS = 0.0 V) Parameter Symbol Pin Name Condition ⎯ Value Min. 4 tCP Max. ⎯ Unit ns Remarks Input pulse width tTIWH, tTIWL FRCK, IN0, IN1, TIN0, TIN1 0.8 VCC 0.8 VCC 0.2 VCC 0.2 VCC tTIWH tTIWL (6) Timer Output Timings (TA = −40 °C to +85 °C, VCC = 5.0 V ±10%, VSS = AVSS = 0.0 V) Parameter CLK ↑ → TOUT change time Symbol tTO Pin Name RTO0 to RTO5, PPG0 to PPG5, TO0 to TO1 Value CondiUnit Remarks tion Min. Max. ⎯ 30 ⎯ ns CLK 2.4 V tTO TOUT 2.4 V 0.8 V (7) Trigger Input Timings (TA = −40 °C to +85 °C, VCC = 5.0 V ±10%, VSS = AVSS = 0.0 V) Parameter Symbol Pin Name Condition Value Min. 5 tCP 1 Max. ⎯ ⎯ Unit ns µs Remarks In normal operation In stop mode Input pulse width tTRGL INT0 to INT7, IN0 to IN3 ⎯ 0.8 VCC 0.8 VCC 0.2 VCC 0.2 VCC tTRGH tTRGL DS07-13715-5E 65 MB90560/565 Series 5. Electrical Characteristics for the A/D Converter (TA = −40 °C to +85 °C, 3.0 V ≤ AVR, VCC = AVCC = 5.0 V ±10%, VSS = AVSS = 0.0 V) Parameter Resolution Total error Non-linearity error Differential linearity error Zero transition voltage Full-scale transition voltage Conversion time Sampling time Analog port input current Analog input voltage Reference voltage Power supply current Reference voltage supply current Variation between channels Symbol ⎯ ⎯ ⎯ ⎯ VOT VFST ⎯ ⎯ IAIN VAIN ⎯ IA IAH IR IRH ⎯ Pin Name ⎯ ⎯ ⎯ ⎯ AN0 to AN7 AN0 to AN7 ⎯ ⎯ AN0 to AN7 AN0 to AN7 AVR AVCC AVCC AVR AVR AN0 to AN7 Value Min. ⎯ ⎯ ⎯ ⎯ Typ. 10 ⎯ ⎯ ⎯ Max. ⎯ ±5.0 ±2.5 ±1.9 Unit bit LSB LSB LSB V V ns ns µA V V mA µA µA µA LSB * * 1 LSB = (AVR−AVSS)/ 1024 Remarks AVSS AVSS AVSS −3.5 LSB +0.5 LSB +4.5 LSB AVR AVR AVR −6.5 LSB −1.5 LSB +1.5 LSB ⎯ ⎯ ⎯ 0 2.7 ⎯ ⎯ ⎯ ⎯ ⎯ 176 tCP 64 tCP ⎯ ⎯ ⎯ 5 ⎯ 400 ⎯ ⎯ ⎯ ⎯ 10 AVR AVCC ⎯ 5 ⎯ 5 4 * : Current when A/D converter is not used and CPU is in stop mode (VCC = AVCC = AVR = 5.0 V) Notes : • The L reference voltage is fixed to AVSS. The relative error increases as AVR becomes smaller. • Ensure that the output impedance of the external circuit connected to the analog input meets the following condition : Output impedance of external circuit ≤ 10 kΩ (Sampling Time = 4.0 µs) • If the output impedance of the external circuit is too high, the analog voltage sampling time may be too short. • Equivalent circuit of analog input circuit RON C Comparator Analog input MB90561A, MB90562A RON = 2.2 kΩ approx. C = 45 pF approx. MB90F562B RON = 2.6 kΩ approx. C = 28 pF approx. Note : The values listed are an indication only. 66 DS07-13715-5E MB90560/565 Series 6. Flash Memory Erase and Programming Performance Parameter Sector erase time Chip erase time Word (16 bit width) programming time Erase/Program cycle Data holding time ⎯ ⎯ TA = + 25 °C Vcc = 5.0 V Condition Value Min ⎯ ⎯ ⎯ 10,000 100,000 Typ 1 5 16 ⎯ ⎯ Max 15 ⎯ 3,600 ⎯ ⎯ Units s s µs cycle h Remarks Excludes 00H programming prior erasure Excludes 00H programming prior erasure Excludes system-level overhead DS07-13715-5E 67 MB90560/565 Series ■ ELECTRICAL CHARACTERISTICS (MB90565 SERIES) 1. Absolute Maximum Ratings (VSS = AVSS = 0.0 V) Parameter Symbol VCC Power supply voltage Input voltage Output voltage “L” level maximum output current “L” level average output current “L” level total maximum output current “L” level total average output current “H” level maximum output current “H” level average output current “H” level total maximum output current “H” level total average output current Power consumption Operating temperature Storage temperature AVCC AVR VI VO IOL IOLAV ΣIOL ΣIOLAV IOH IOHAV ΣIOH ΣIOHAV Pd TA Tstg Rating Min. VSS − 0.3 VSS − 0.3 VSS − 0.3 VSS − 0.3 VSS − 0.3 ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ −40 −55 Max. VSS + 4.0 VSS + 4.0 VSS + 4.0 VSS + 4.0 VSS + 4.0 15 4 100 50 −15 −4 −100 −50 300 +85 +150 Unit V V V V V mA mA mA mA mA mA mA mA mW °C °C Average value (operating current × operating ratio) Average value (operating current × operating ratio) *3 Average value (operating current × operating ratio) VCC ≥ AVCC*1 AVCC ≥ AVR ≥ 0 V *1 *2 *2 *3 Average value (operating current × operating ratio) Remarks *1 : AVCC and AVR must not exceed VCC. Also, AVR must not exceed AVCC. *2 : VI and VO must not exceed VCC + 0.3 V. *3 : The maximum output current is the peak value for a single pin. WARNING: Semiconductor devices can be permanently damaged by application of stress (voltage, current, temperature, etc.) in excess of absolute maximum ratings. Do not exceed these ratings. 68 DS07-13715-5E MB90560/565 Series 2. Recommended Operating Conditions (VSS = AVSS = 0.0 V) Parameter Symbol Value Min. 3.0 Power supply voltage VCC 2.7 2.5 VIH Input “H” voltage VIHS VIHM VIL Input “L” voltage Operating temperature VILS VILM TA 0.7 VCC 0.8 VCC VCC − 0.3 VSS − 0.3 VSS − 0.3 VSS − 0.3 −40 Max. 3.6 3.6 3.6 VCC + 0.3 VCC + 0.3 VCC + 0.3 0.3 VCC 0.2 VCC VSS + 0.3 +85 Unit V V V V V V V V V °C Remarks Normal operation (MB90V560) Normal operation (MB90F568, MB90567 and MB90568) Maintaining state in stop mode CMOS input pin CMOS hysteresis input pin MD input pin CMOS input pin CMOS hysteresis input pin MD input pin WARNING: The recommended operating conditions are required in order to ensure the normal operation of the semiconductor device. All of the device's electrical characteristics are warranted when the device is operated within these ranges. Always use semiconductor devices within their recommended operating condition ranges. Operation outside these ranges may adversely affect reliability and could result in device failure. No warranty is made with respect to uses, operating conditions, or combinations not represented on the data sheet. Users considering application outside the listed conditions are advised to contact their representatives beforehand. DS07-13715-5E 69 MB90560/565 Series 3. DC Characteristics (TA = −40 °C to +85 °C, VCC = 2.7 V to 3.6 V, VSS = AVSS = 0.0 V) Parameter Output “H” voltage Output “L” voltage Input leak current Sym Pin Name bol VOH VOL IIL All output pins All output pins All output pins Condition VCC = 3.0 V IOH = −2.0 mA VCC = 3.0 V IOL = 2.0 mA VCC = 3.0 V VSS < VI < VCC For VCC = 3.3 V, internal frequency = 8 MHz, normal operation For VCC = 3.3 V, internal frequency = 16 MHz, normal operation For VCC = 3.3 V, internal frequency = 8 MHz, A/D operation in progress For VCC = 3.3 V, internal frequency = 16 MHz, A/D operation in progress ICC For VCC = 3.3 V, internal frequency = 8 MHz, normal operation VCC For VCC = 3.3 V, internal frequency = 16 MHz, normal operation For VCC = 3.3 V, internal frequency = 8 MHz, A/D operation in progress For VCC = 3.3 V, internal frequency = 16 MHz, A/D operation in progress Flash write or erase For VCC = 3.3 V, internal frequency = 8 MHz, sleep mode For VCC = 3.3 V, internal frequency = 16 MHz, sleep mode Stop mode, TA = 25 °C Value Min. Typ. Max. ⎯ 0.4 5 Unit V V µA mA MB90567/568 Remarks VCC − 0.5 VCC − 0.3 ⎯ −5 ⎯ 0.2 −1 14 22 ⎯ 27 40 mA MB90567/568 ⎯ 18 27 mA MB90567/568 ⎯ 32 45 mA MB90567/568 ⎯ 18 28 mA MB90F568 Power supply current* ⎯ 36 45 mA MB90F568 ⎯ 23 33 mA MB90F568 ⎯ ⎯ ⎯ 41 40 6 50 50 10 mA MB90F568 mA MB90F568 mA MB90567/568 MB90F568* MB90567/568 MB90F568* ICCS ⎯ ⎯ 14 5 20 20 mA µA ICCH * : Value when low power mode bits (LPM0, 1) are set to “01” with an internal operating frequency of 8 MHz. (Continued) 70 DS07-13715-5E MB90560/565 Series (Continued) Parameter Pull-up resistor Pull-down resistor Symbol RUP Pin Name P00 to P07 P10 to P17 RST Condition Value Min. 20 Typ. 65 Max. 200 Unit Remarks ⎯ kΩ Only for mask ROM products RDOWN MD2 ⎯ 20 65 200 kΩ Note : Current values are provisional and are subject to change without notice to allow for improvements to the characteristics. The power supply current is measured with an external clock. DS07-13715-5E 71 MB90560/565 Series 4. AC Characteristics (1) Clock Timings (MB90567/568/F568 : TA = −40 °C to +85 °C, VCC = 2.7 V to 3.6 V, VSS = AVSS = 0.0 V) (MB90V560 : TA = +25 °C, VCC = 2.7 V to 3.6 V, VSS = AVSS = 0.0 V) Parameter Sym CondiPin Name bol tion Value Min. 3 Clock frequency fC X0, X1 3 83.3 Clock cycle time tHCYL PWH PWL tcr tcf fCP X0, X1 62.5 10 ⎯ X0 ⎯ 1.5 ⎯ 1.5 83.3 tCP ⎯ 62.5 ⎯ ⎯ ⎯ ⎯ ⎯ 5 12 16 666 666 ns Typ. ⎯ ⎯ ⎯ ⎯ ⎯ Max. 12 16 333 333 ⎯ Unit Remarks MHz MB90V560 MHz ns ns ns MB90567/568 MB90F568 MB90V560 MB90567/568 MB90F568 Recommended duty ratio = 30% to 70% When using an external clock MB90567/568 MB90F568 MB90V560 MB90567/568 MB90F568 Input clock pulse width Input clock rise/fall time Internal operating clock frequency Internal operating clock cycle time X0 MHz MB90V560 MHz ns ns • X0 and X1 clock timing tHCYL 0.8 VCC X0 0.2 VCC PWH tcf PWL tcr 72 DS07-13715-5E MB90560/565 Series • PLL guaranteed operation range Relationship between internal operating clock frequency and power supply voltage PLL guaranteed operation range (MB90567/568/F568 : 3.0 V to 3.6 V, fCP = 3 MHz to 16 MHz) (MB90V560 : 3.0 V to 3.6 V, fCP = 3 MHz to 12 MHz) 3.6 Supply Voltage VCC (V) PLL guaranteed A/D converter operation range guaranteed operation range 3.0 2.7 Guaranteed operation range for MB90V560 (3.0 V to 3.6 V, fCP = 1.5 MHz to 12 MHz) 1.5 3 8 Internal Clock fCP (MHz) Guaranteed operation range for MB90567/568/F568 (3.0 V to 3.6 V, fCP = 1.5 MHz to 16 MHz) (2.7 V to 3.6 V, fCP = 1.5 MHz to 8 MHz) 12 16 Relationship between oscillation frequency and internal operating clock frequency ×4 ×3 ×2 ×1 16 Internal Clock fCP (MHz) 12 9 8 6 4 3 2 1.5 3 4 6 8 12 16 No multiplier Source Oscillation Clock fC (MHz) The AC ratings are specified for the following measurement reference voltages. • Input signal waveform Hysteresis input pin 0.8 VCC 0.2 VCC • Output signal waveform Output pin 2.4 V 0.8 V Pins other than hysteresis input or MD input pins 0.7 VCC 0.3 VCC DS07-13715-5E 73 MB90560/565 Series (2) Reset (TA = −40 °C to +85 °C, VCC = 2.7 V to 3.6 V, VSS = AVSS = 0.0 V) Parameter Symbol Pin Name Condition Value Min. 16 tCP Reset input time tRSTL RST ⎯ Oscillator oscillation time* + 16 tCP Max. ⎯ ⎯ Unit ns ms Remarks In normal operation In stop mode *: Oscillator oscillation time is the time to reach 90% amplitude. For a crystal oscillator, this is a few to several dozen ms; for a ceramic oscillator, this is several hundred µs to a few ms, and for an external clock this is 0 ms. • In normal operation tRSTL RST 0.2 VCC 0.2 VCC • In stop mode tRSTL RST 0.2Vcc 90 % of amplitude 0.2Vcc X0 Internal operation clock Oscillator oscillation time 16 tcp Oscillator stabilization wait time Execution of the instruction Internal reset 74 DS07-13715-5E MB90560/565 Series (3) Power-On Reset (TA = −40 °C to +85 °C, VCC = 2.7 V to 3.6 V, VSS = AVSS = 0.0 V) Parameter Power supply rise time Power supply cutoff time Symbol tR tOFF Pin Name VCC* VCC Condition ⎯ Value Min. 0.05 4 Max. 30 ⎯ Unit ms ms For repeated operation Remarks * : VCC must be less than 0.2 V before power-on. Notes : • The above rating values are for generating a power-on reset. • Some internal registers are only initialized by a power-on reset. Always apply the power supply in accordance with the above ratings if you wish to initialize these registers. tR VCC 2.7 V 0.2 V 0.2 V tOFF 0.2 V Sudden changes in the power supply voltage may cause a power-on reset. The recommended practice if you wish to change the power supply voltage while the device is operating is to raise the voltage smoothly as shown below. Also, changes to the supply voltage should be performed when the PLL clock is not in use. The PLL clock may be used, however, if the rate of voltage change is 1 V/s or less. VCC Recommended rate of voltage rise is 50 mV/ms or less. 2.5 V Maintain RAM data VSS DS07-13715-5E 75 MB90560/565 Series (4) UART0 and UART1 (TA = −40 °C to +85 °C, VCC = 2.7 V to 3.6 V, VSS = AVSS = 0.0 V) Parameter Serial clock cycle time SCK ↓ → SOT delay time Valid SIN → SCK ↑ SCK ↑ → valid SIN hold time Serial clock “H” pulse width Serial clock “L” pulse width SCK ↓ → SOT delay time Valid SIN → SCK ↑ SCK ↑ → valid SIN hold time Symbol tSCYC tSLOV tIVSH tSHIX tSHSL tSLSH tSLOV tIVSH tSHIX Pin Name SCK0, SCK1 SCK0, SCK1 SOT0, SOT1 Internal shift clock mode, output pin SCK0, SCK1 load is SIN0, SIN1 CL = 80 pF + 1 TTL SCK0, SCK1 SIN0, SIN1 SCK0, SCK1 SCK0, SCK1 SCK0, SCK1 External shift clock SOT0, SOT1 mode, output pin load is SCK0, SCK1 CL = 80 pF + 1 TTL SIN0, SIN1 SCK0, SCK1 SIN0, SIN1 Condition Value Min. 8 tCP −80 100 60 4 tCP 4 tCP ⎯ 60 60 Max. ⎯ 80 ⎯ ⎯ ⎯ ⎯ 150 ⎯ ⎯ Unit Remarks ns ns ns ns ns ns ns ns ns Notes : • These are the AC ratings for CLK synchronous mode. • CV is the load capacitor connected to the pin for testing. • tCP is the machine cycle period (unit = ns) 76 DS07-13715-5E MB90560/565 Series • Internal shift clock mode SCK 0.8 V tSLOV 2.4 V tSCYC 2.4 V 0.8 V SOT 0.8 V tIVSH 0.8 VCC tSHIX 0.8 VCC 0.2 VCC SIN 0.2 VCC • External shift clock mode SCK 0.2 VCC tSLOV 2.4 V tSLSH 0.2 VCC tSHSL 0.8 VCC 0.8 VCC SOT 0.8 V tIVSH 0.8 VCC tSHIX 0.8 VCC 0.2 VCC SIN 0.2 VCC DS07-13715-5E 77 MB90560/565 Series (5) Timer Input Timings (TA = −40 °C to +85 °C, VCC = 2.7 V to 3.6 V, VSS = AVSS = 0.0 V) Parameter Input pulse width Symbol Pin Name Condition ⎯ Value Min. 4 tCP Max. ⎯ Unit ns Remarks tTIWH, tTIWL FRCK, TIN0, TIN1 0.8 VCC 0.8 VCC 0.2 VCC 0.2 VCC FRCK TIN0 to 1 tTIWH tTIWL (6) Timer Output Timings (TA = −40 °C to +85 °C, VCC = 2.7 V to 3.6 V, VSS = AVSS = 0.0 V) Parameter CLK ↑ → TOUT change time Symbol tTO Pin Name RTO0 to RTO5, PPG0 to PPG5 TO0, TO1 Condition ⎯ Value Min. 30 Max. ⎯ Unit Remarks ns CLK 2.4 V tTO TOUT 2.4 V 0.8 V (7) Trigger Input Timings (TA = −40 °C to +85 °C, VCC = 2.7 V to 3.6 V, VSS = AVSS = 0.0 V) Parameter Symbol Pin Name Condition Value Min. 5 tCP 1 Max. ⎯ ⎯ Unit ns µs Remarks In normal operation In stop mode Input pulse width tTRGL INT0 to INT7, IN0 to IN3 ⎯ 0.8 VCC 0.8 VCC 0.2 VCC 0.2 VCC INT0 to INT7 IN0 to IN3 tTRGH tTRGL 78 DS07-13715-5E MB90560/565 Series 5. Electrical Characteristics for the A/D Converter (MB90567/568/F568 : TA = −40 °C to +85 °C, 2.7 V ≤ AVR, VCC = AVCC = 2.7 V to 3.6 V, VSS = AVSS = 0.0 V) (MB90V560 : TA = +25 °C, 3.0 V ≤ AVR, VCC = AVCC = 3.0 V to 3.6 V, VSS = AVSS = 0.0 V) Parameter Resolution Total error Non-linearity error Differential linearity error Zero transition voltage Full-scale transition voltage Conversion time Sampling time Analog port input current Analog input voltage Reference voltage Power supply current Reference voltage supply current Variation between channels Symbol ⎯ ⎯ ⎯ ⎯ VOT VFST ⎯ ⎯ IAIN VAIN ⎯ IA IAH IR IRH ⎯ Pin Name ⎯ ⎯ ⎯ ⎯ AN0 to AN7 AN0 to AN7 ⎯ ⎯ AN0 to AN7 AN0 to AN7 AVR AVCC AVCC AVR AVR AN0 to AN7 Value Min. ⎯ ⎯ ⎯ ⎯ Typ. ⎯ ⎯ ⎯ ⎯ Max. 10 ±3.0 ±2.5 ±1.9 Unit bit LSB LSB LSB V V ns ns µA V V mA µA µA µA LSB * * Remarks AVSS AVSS AVSS −1.5 LSB +0.5 LSB +2.5 LSB AVR AVR AVR −3.5 LSB −1.5 LSB +0.5 LSB ⎯ ⎯ ⎯ 0 2.7 ⎯ ⎯ ⎯ ⎯ ⎯ 66 tCP 32 tCP ⎯ ⎯ ⎯ 1 ⎯ 100 ⎯ ⎯ ⎯ ⎯ 10 AVR AVCC 5 5 200 5 4 1 LSB = (AVR−AVSS/ 1024 * : Current when A/D converter is not used and CPU is in stop mode (VCC = AVCC = AVR = 3.3 V) Notes : • The L reference voltage is fixed to AVSS. The relative error increases as AVR becomes smaller. • Ensure that the output impedance of the external circuit connected to the analog input meets the following condition : Output impedance of MB90F568 external circuit ≤ 14 kΩ (Sampling Time = 4 µs) Output impedance of MB90567/568 external circuit ≤ 7 kΩ (Sampling Time = 4 µs) • If the output impedance of the external circuit is too high, the analog voltage sampling time may be too short. DS07-13715-5E 79 MB90560/565 Series • Equivalent circuit of analog input circuit RON C Comparator Analog input MB90567/568/F568 RON = 7.1 kΩ approx. C = 48.3 pF approx. Note : The values listed are an indication only. 80 DS07-13715-5E MB90560/565 Series 6. Flash Memory Erase and Programming Performance Parameter Sector erase time Chip erase time Word (16 bit width) programming time Erase/Program cycle Data holding time ⎯ ⎯ TA = + 25 °C Vcc = 3.3 V Condition Value Min ⎯ ⎯ ⎯ 10,000 100,000 Typ 1 5 16 ⎯ ⎯ Max 15 ⎯ 3,600 ⎯ ⎯ Units s s µs cycle h Remarks Excludes 00H programming prior erasure Excludes 00H programming prior erasure Excludes system-level overhead • Points to note regarding the MB90F568, 567, and 568 specifications This section describes the specification differences between the MB90F568/567/568 and the MB90F562B/562A/ 561A. (1) Functional differences 1) The 5 V to 3 V regulator has been removed in the MB96565 series. The C pin has been changed to an N.C. pin. 2) The A/D converter unit in the MB96565 series has changed from a 5 V version to a 3 V version. However, the conversion time and sampling time remain the same. 3) The maximum voltage that can be applied to I/O pins has changed from 5 V to 3 V in the MB96565 series. 4) Added transfer counter clear function to UART in the MB96565 series. This function restores the UART to its initial state when “0” is written to the UART reset bit. (2) Points to note when using the devices The MB90F562B, and F568 use P60 (14) as SIN1, P61 (15) as SOT1, and P40 (60) as SCK0 when performing on-board programming. Use the following pin settings when performing on-board programming. Pin Name MD2 MD1 MD0 SIN1 SOT1 SCK0 P00 P01 Pin I/O Level* “H” level “H” level “L” level Serial data input Serial data output Serial clock “L” level “H” level Input “L” level for PC writing Normally shared with P60 Normally shared with P61 Normally shared with P40 Serial write mode settings Remarks * : These settings are for using a Yokogawa Digital Computer Corporation writer for on-board programming. Alternatively, writing can be performed from a PC, but a special write program is required. DS07-13715-5E 81 MB90560/565 Series ■ EXAMPLE CHARACTERISTICS MB90F568 ICC − VCC 60 TA = +25 °C 50 16 MHz 12 MHz 8 MHz 20 4 MHz 10 0 2 2.5 3 3.5 4 4.5 2 MHz ICC (mA) 40 30 VCC (V) MB90568 ICC − VCC 40 35 30 TA = +25 °C 16 MHz 12 MHz 8 MHz ICC3 (mA) 25 20 15 10 5 0 2 2.5 3 3.5 4 4.5 4 MHz 2 MHz VCC (V) MB90F568 ICCS − VCC 20 18 16 14 TA = +25 °C 16 MHz 12 MHz 8 MHz 4 MHz 2 MHz 2 2.5 3 3.5 4 4.5 ICCS (mA) 12 10 8 6 4 2 0 VCC (V) (Continued) 82 DS07-13715-5E MB90560/565 Series MB90568 ICCS − VCC 18 16 14 12 10 8 6 4 2 0 2 2.5 3 3.5 4 4.5 4 MHz 2 MHz 8 MHz TA = +25 °C 16 MHz 12 MHz ICCS (mA) VCC (V) MB90F562 ICC − VCC 40 35 30 TA = +25 °C f = 16 MHz f = 12 MHz f = 10 MHz f = 8 MHz f = 4 MHz f = 2 MHz ICC (mA) 25 20 15 10 5 0 2.5 3 3.5 4 4.5 5 5.5 6 6.5 VCC (V) MB90562 ICC − VCC 70 TA = +25 °C 60 50 f = 16 MHz f = 12 MHz 40 30 20 10 0 2.5 f = 10 MHz f = 8 MHz f = 4 MHz f = 2 MHz 3 3.5 4 4.5 5 5.5 6 6.5 ICC (mA) VCC (V) (Continued) DS07-13715-5E 83 MB90560/565 Series (Continued) MB90F562 ICCS − VCC 16 14 12 TA = +25 °C f = 16 MHz f = 12 MHz f = 10 MHz f = 8 MHz f = 4 MHz f = 2 MHz 3 3.5 4 4.5 5 5.5 6 6.5 ICCS (mA) 10 8 6 4 2 0 2.5 VCC (V) MB90562 ICCS − VCC 30 TA = +25 °C 25 20 f = 16 MHz f = 12 MHz f = 10 MHz f = 8 MHz 10 5 0 2.5 f = 4 MHz f = 2 MHz 3 3.5 4 4.5 5 5.5 6 6.5 ICCS (mA) 15 VCC (V) 84 DS07-13715-5E MB90560/565 Series ■ ORDERING INFORMATION • MB90560 series Part No. MB90561AP MB90562AP MB90F562BP MB90561APF MB90562APF MB90F562BPF MB90561APMC MB90562APMC MB90F562BPMC • MB90565 series Part No. MB90567PF MB90568PF MB90F568PF MB90567PMC MB90568PMC MB90F568PMC Package 64-pin plastic QFP (FPT-64P-M06) 64-pin plastic LQFP (FPT-64P-M23) Remarks Package 64-pin plastic SH-DIP (DIP-64P-M01) 64-pin plastic QFP (FPT-64P-M06) 64-pin plastic LQFP (FPT-64P-M23) Remarks DS07-13715-5E 85 MB90560/565 Series ■ PACKAGE DIMENSIONS 64-pin plastic QFP Lead pitch Package width × package length Lead shape Sealing method Mounting height Code (Reference) 1.00 mm 14 × 20 mm Gullwing Plastic mold 3.35 mm MAX P-QFP64-14×20-1.00 (FPT-64P-M06) 64-pin plastic QFP (FPT-64P-M06) 24.70±0.40(.972±.016) Note 1) * : These dimensions do not include resin protrusion. Note 2) Pins width and pins thickness include plating thickness. Note 3) Pins width do not include tie bar cutting remainder. * 20.00±0.20(.787±.008) 51 33 0.17±0.06 (.007±.002) 52 32 18.70±0.40 (.736±.016) *14.00±0.20 (.551±.008) INDEX Details of "A" part 3.00 –0.20 .118 –.008 +0.35 +.014 (Mounting height) 64 20 0~8° 1 19 1.00(.039) 0.42±0.08 (.017±.003) 0.20(.008) M 0.25 –0.20 1.20±0.20 (.047±.008) +0.15 +.006 .010 –.008 (Stand off) "A" 0.10(.004) C 2003-2008 FUJITSU MICROELECTRONICS LIMITED F64013S-c-5-6 Dimensions in mm (inches). Note: The values in parentheses are reference values. Please confirm the latest Package dimension by following URL. http://edevice.fujitsu.com/package/en-search/ (Continued) 86 DS07-13715-5E MB90560/565 Series (Continued) 64-pin plastic LQFP Lead pitch Package width × package length Lead shape Sealing method Mounting height Code (Reference) 0.65 mm 12.0 × 12.0 mm Gullwing Plastic mold 1.70 mm MAX P-LFQFP64-12×12-0.65 (FPT-64P-M23) 64-pin plastic LQFP (FPT-64P-M23) 14.00±0.20(.551±.008)SQ *12.00±0.10(.472±.004)SQ 48 33 Note 1) * : These dimensions do not include resin protrusion. Note 2) Pins width and pins thickness include plating thickness. Note 3) Pins width do not include tie bar cutting remainder. 0.145±0.055 (.0057±.0022) 49 32 0.10(.004) Details of "A" part 1.50 –0.10 .059 –.004 +0.20 +.008 (Mounting height) 0.25(.010) INDEX 0~8˚ 64 17 1 16 "A" 0.65(.026) 0.32±0.05 (.013±.002) 0.50±0.20 (.020±.008) 0.60±0.15 (.024±.006) 0.10±0.10 (.004±.004) (Stand off) 0.13(.005) M ©20033 FUJITSU LIMITED F64034S-c-1-1 C 200 -2008 FUJITSU MICROELECTRONICS LIMITED F64034S-c-1-2 Dimensions in mm (inches). Note: The values in parentheses are reference values Please confirm the latest Package dimension by following URL. http://edevice.fujitsu.com/package/en-search/ DS07-13715-5E 87 MB90560/565 Series ■ MAIN CHANGES IN THIS EDITION Page ⎯ ⎯ 34 55 Section ⎯ ⎯ ■ PERIPHERAL FUNCTIONS 3. Watchdog Timer ■ PERIPHERAL FUNCTIONS 13. 1 Mbit Flash Memory Change Results Deleted the description of old products MB90561, MB90562, and MB90F562. The package code is changed. (FPT-64P-M09 → FPT-64P-M23) The resource name of watch timer is collected. (clock timer → watch timer) Deleted “· Standard configuration for Fujitsu Microelectronics standard serial on-board programming”. 66 ■ ELECTRICAL CHARACTERISTICS Changed the items of “Zero transition voltage” and “Full-scale (MB90560 SERIES) transition voltage”. 5. Electrical Characteristics for the A/D Converter ■ ELECTRICAL CHARACTERISTICS Changed the items of “Zero transition voltage” and “Full-scale transition voltage”. (MB90565 SERIES) 5. Electrical Characteristics for the A/D Converter ■ ORDERING INFORMATION Order informations are changed. (MB90561APFM → MB90561APMC MB90562APFM → MB90562APMC MB90F562BPFM → MB90F562BPMC MB90567PFM → MB90567PMC MB90568PFM → MB90568PMC MB90F568PFM → MB90F568PMC) The package figure is changed. (FPT-64P-M09 → FPT-64P-M23) 79 85 87 ■ PACKAGE DIMENSIONS The vertical lines marked in the left side of the page show the changes. 88 DS07-13715-5E MB90560/565 Series MEMO DS07-13715-5E 89 MB90560/565 Series MEMO 90 DS07-13715-5E MB90560/565 Series MEMO DS07-13715-5E 91 MB90560/565 Series FUJITSU MICROELECTRONICS LIMITED 7-1, Nishishinjuku 2-chome, Shinjuku Dai-Ichi Seimei Bldg., Shinjuku-ku, Tokyo 163-0722, JAPAN Tel: +81-3-5322-3347 Fax: +81-3-5322-3387 http://jp.fujitsu.com/fml/en/ For further information please contact: North and South America FUJITSU MICROELECTRONICS AMERICA, INC. 1250 E. Arques Avenue, M/S 333 Sunnyvale, CA 94085-5401, U.S.A. Tel: +1-408-737-5600 Fax: +1-408-737-5999 http://www.fma.fujitsu.com/ Europe FUJITSU MICROELECTRONICS EUROPE GmbH Pittlerstrasse 47, 63225 Langen, F. R. GERMANY Tel: +49-6103-690-0 Fax: +49-6103-690-122 http://emea.fujitsu.com/microelectronics/ Korea FUJITSU MICROELECTRONICS KOREA LTD. 1002 Daechi-Dong, 206 KOSMO TOWER, Kangnam-Gu, Seoul 135-280, KOREA Tel: +82-2-3484-7100 Fax: +82-2-3484-7111 http://www.fmk.fujitsu.com/ Asia Pacific FUJITSU MICROELECTRONICS ASIA PTE LTD. 151 Lorong Chuan, #05-08 New Tech Park, Singapore 556741, SINGAPORE Tel: +65-6281-0770 Fax: +65-6281-0220 http://www.fujitsu.com/sg/services/micro/semiconductor/ FUJITSU MICROELECTRONICS SHANGHAI CO., LTD. No.222 Yan An Road(E), Rm.3102, Bund Center, Shanghai 200002, P. R. CHINA Tel: +86-21-6335-1560 Fax: +86-21-6335-1605 http://cn.fujitsu.com/fmc/ FUJITSU MICROELECTRONICS PACIFIC ASIA LTD. 11 Canton Road, 10/F., World Commerce Centre, Tsimshatsui, Kowloon, HONG KONG Tel: +852-2377-0226 Fax: +852-2376-3269 http://cn.fujitsu.com/fmc/tw All Rights Reserved. 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 MICROELECTRONICS device; FUJITSU MICROELECTRONICS does not warrant proper operation of the device with respect to use based on such information. When you develop equipment incorporating the device based on such information, you must assume any responsibility arising out of such use of the information. FUJITSU MICROELECTRONICS assumes no liability for any damages whatsoever arising out of the use of the information. Any information in this document, including descriptions of function and schematic diagrams, shall not be construed as license of the use or exercise of any intellectual property right, such as patent right or copyright, or any other right of FUJITSU MICROELECTRONICS or any third party or does FUJITSU MICROELECTRONICS warrant non-infringement of any third-party's intellectual property right or other right by using such information. FUJITSU MICROELECTRONICS assumes no liability for any infringement of the intellectual property rights or other rights of third parties which would result from the use of information contained herein. The products described in this document are designed, developed and manufactured as contemplated for general use, including without limitation, ordinary industrial use, general office use, personal use, and household use, but are not designed, developed and manufactured as contemplated (1) for use accompanying fatal risks or dangers that, unless extremely high safety is secured, could have a serious effect to the public, and could lead directly to death, personal injury, severe physical damage or other loss (i.e., nuclear reaction control in nuclear facility, aircraft flight control, air traffic control, mass transport control, medical life support system, missile launch control in weapon system), or (2) for use requiring extremely high reliability (i.e., submersible repeater and artificial satellite). Please note that FUJITSU MICROELECTRONICS will not be liable against you and/or any third party for any claims or damages arising in connection with above-mentioned uses of the products. Any semiconductor devices have an inherent chance of failure. You must protect against injury, damage or loss from such failures by incorporating safety design measures into your facility and equipment such as redundancy, fire protection, and prevention of over-current levels and other abnormal operating conditions. Exportation/release of any products described in this document may require necessary procedures in accordance with the regulations of the Foreign Exchange and Foreign Trade Control Law of Japan and/or US export control laws. The company names and brand names herein are the trademarks or registered trademarks of their respective owners. Edited Business & Media Promotion Dept.
MB90561APF 价格&库存

很抱歉,暂时无法提供与“MB90561APF”相匹配的价格&库存,您可以联系我们找货

免费人工找货