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

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
MB90427GCPMC

MB90427GCPMC

  • 厂商:

    FUJITSU(富士通)

  • 封装:

  • 描述:

    MB90427GCPMC - 16-Bit Original Microcontroller - Fujitsu Component Limited.

  • 数据手册
  • 价格&库存
MB90427GCPMC 数据手册
FUJITSU MICROELECTRONICS DATA SHEET DS07-13711-5E 16-Bit Original Microcontroller CMOS F2MC-16LX MB90420G/425G Series MB90423GA/423GC/F423GA/F423GC/427GA/427GC/428GA/428GC/ MB90F428GA/F428GC/V420G ■ DESCRIPTIONS The FUJITSU MICROELECTRONICS MB90420G/425G Series is a 16-bit general purpose high-capacity microcontroller designed for vehicle meter control applications etc. The instruction set retains the same AT architecture as the FUJITSU MICROELECTRONICS original F2MC-8L and F2MC-16L series, with further refinements including high-level language instructions, expanded addressing mode, enhanced (signed) multipler-divider computation and bit processing. In addition, a 32-bit accumulator is built in to enable long word processing. ■ FEATURES • 16-bit input capture (4 channels) Detects rising, falling, or both edges. 16-bit capture register × 4 Pin input edge detection latches the 16-bit free-run timer counter value, and generates an interrupt request. • 16-bit reload timer (2 channels) 16-bit reload timer operation (select toggle output or one-shot output) Event count function selection provided • Watch timer (main clock) Operates directly from oscillator clock. Compensates for oscillator deviation Read/write enabled second/minute/hour register Signal interrupt (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©2004-2008 FUJITSU MICROELECTRONICS LIMITED All rights reserved 2008.8 MB90420G/425G Series • 16-bit PPG (3 channels) Output pins (3) , external trigger input pin (1) Output clock frequencies : fCP, fCP/22, fCP/24, fCP/26 • Delay interrupt Generates interrupt for task switching. Interruptions to CPU can be generated/deleted by software setting. • External interrupts (8 channels) 8-channel independent operation Interrupt source setting available : “L” to “H” edge/ “H” to “L” edge/ “L” level/ “H” level. • A/D converter 10-bit or 8-bit resolution × 8 channels (input multiplexed) Conversion time : 6.13 µs or less (at fCP = 16 MHz) External trigger startup available (P50/INT0/ADTG) Internal timer startup available (16-bit reload timer 1) • UART (2 channels) Full duplex double buffer type Supports asynchronous/synchronous transfer (with start/stop bits) Internal timer can be selected as clock (16-bit reload timer 0) Asynchronous : 4808 bps, 5208 bps, 9615 bps, 10417 bps, 19230 bps, 38460 bps, 62500 bps, 500000 bps Synchronous : 500 Kbps, 1Mbps, 2Mbps (at fCP = 16 MHz) • CAN interface *1 Conforms to CAN specifications version 2.0 Part A and B. Automatic resend in case of error. Automatic transfer in response to remote frame. 16 prioritized message buffers for data and messages for data and ID Multiple message support Receiving filter has flexible configuration : All bit compare/all bit mask/two partial bit masks Supports up to 1 Mbps CAN WAKEUP function (connects RX internally to INT0) • LCD controller/driver (1 channel) Segment driver and command driver with direct LCD panel (display) drive capability • Low voltage/Program Looping detect reset *2 Automatic reset when low voltage is detected Program Looping detection function • Stepping motor controller (4 channels) High current output for all channels × 4 Synchronized 8/10-bit PWM for all channels × 2 • Sound generator 8-bit PWM signal mixed with tone frequency from 8-bit reload counter. PWM frequencies : 62.5 kHz, 31.2 kHz, 15.6 kHz, 7.8 kHz (at fCP = 16MHz) Tone frequencies : 1/2 PWM frequency, divided by (reload frequency +1) • Input/output ports Push-pull output and Schmitt trigger input Programmable in bit units for input/output or peripheral signals. (Continued) 2 DS07-13711-5E MB90420G/425G Series (Continued) • Flash memory Supports automatic programming, Embeded AlgorithmTM, write/erase/erase pause/erase resume instructions Flag indicates algorithm completion Minato Electronics flash writer Boot block configuration Erasable by blocks Block protection by external programming voltage *1 : MB90420G series has 2 channels built-in, MB90425G series has 1 channel built-in *2 : Built-in to MB90420GA/425GA series only. Not built-in to MB90420GC/425GC series. Embeded Algorithm is a registered trademark of Advanced Micro Devices Inc. DS07-13711-5E 3 MB90420G/425G Series ■ PRODUCT LINEUP • MB90420G Series Part number Parameter Configuration CPU Clock System clock ROM RAM CAN interface Low voltage/ CPU operation detection reset Packages Emulator dedicated power supply* MB90F423GA MB90F423GC MB90423GA MB90423GC MB90V420G Flash ROM model 2 Mask ROM model F MC-16LX CPU 1 system 2 systems Evaluation model 2 systems 1 system 2 systems On-chip PLL clock multiplier type ( × 1, × 2, × 3, × 4, 1/2 when PLL stopped) Minimum instruction execution time 62.5 ns (with 4 MHz oscillator × 4) Flash ROM 128 KB 6 KB 2 channels Yes No Yes No No PGA-256 No Mask ROM 128 KB 6 KB External 6 KB QFP100, LQFP100 ⎯ * : When used with emulation pod MB2145-507, use DIP switch S2 setting. For details see the MB2145-50 Hardware Manual (2.7 “Emulator Dedicated Power Supply Pin”) . • MB90425G Series Part number MB90F428GA MB90F428GC MB90427GA MB90427GC MB90428GA MB90428GC Parameter Configuration CPU Clock System clock ROM RAM CAN interface Low voltage/CPU operation detection reset Packages Emulator dedicated power supply Yes No 1 system 2 systems Flash ROM model 2 Mask ROM model F MC-16LX CPU 1 system 2 systems 1 system 2 systems On-chip PLL clock multiplier type ( × 1, × 2, × 3, × 4, 1/2 when PLL stopped) Minimum instruction execution time 62.5 ns (with 4 MHz oscillator × 4) Flash ROM 128 KB 6 KB Mask ROM 64 KB 4 KB 1 channel Yes No Yes No Mask ROM 128 KB 6 KB QFP100, LQFP100 ⎯ Note : MB90V420G can be used as evaluation model for MB90420G/425G series. 4 DS07-13711-5E MB90420G/425G Series ■ PIN ASSIGNMENTS • QFP 100 (TOP VIEW) VSS X0 X1 VCC P00/SIN0/INT4 P01/SOT0/INT5 P02/SCK0/INT6 P03/SIN1/INT7 P04/SOT1 P05/SCK1/TRG P06/PPG0/TOT1 P07/PPG1/TIN1 P10/PPG2 P11/TOT0/WOT P12/TIN0/IN3 P13/IN2 P14/IN1 P15/IN0 COM0 COM1 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 COM2 COM3 SEG0 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 VSS SEG8 SEG9 SEG10 SEG11 P36/SEG12 P37/SEG13 P40/SEG14 P41/SEG15 P42/SEG16 P43/SEG17 P44/SEG18 VCC P45/SEG19 P46/SEG20 P47/SEG21 C P90/SEG22 P91/SEG23 V0 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 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 X0A X1A P57/SGA RST P56/SGO/FRCK P55/RX0 P54/TX0 DVSS P87/PWM2M3 P86/PWM2P3 P85/PWM1M3 P84/PWM1P3 DVCC P83/PWM2M2 P82/PWM2P2 P81/PWM1M2 P80/PWM1P2 DVSS P77/PWM2M1 P76/PWM2P1 P75/PWM1M1 P74/PWM1P1 DVCC P73/PWM2M0 P72/PWM2P0 P71/PWM1M0 P70/PWM1P0 DVSS P53/INT3 MD2 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 MD1 MD0 P52/INT2 (/TX1) P51/INT1 (/RX1) P67/AN7 P66/AN6 P65/AN5 P64/AN4 VSS P63/AN3 P62/AN2 P61/AN1 P60/AN0 AVSS P50/INT0/ADTG AVRH AVCC V3 V2 V1 (FPT-100P-M06) DS07-13711-5E 5 MB90420G/425G Series • LQFP 100 (TOP VIEW) P57/SGA 76 X1A 77 X0A 78 VSS 79 X0 80 X1 81 VCC 82 P00/SIN0/INT4 83 P01/SOT0/INT5 84 P02/SCK0/INT6 85 P03/SIN1/INT7 86 P04/SOT1 87 P05/SCK1/TRG 88 P06/PPG0/TOT1 89 P07/PPG1/TIN1 90 P10/PPG2 91 P11/TOT0/WOT 92 P12/TIN0/IN3 93 P13/IN2 94 P14/IN1 95 P15/IN0 96 COM0 97 COM1 98 COM2 99 COM3 100 75 74 73 72 71 70 69 68 67 66 65 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 32 31 30 29 28 27 26 RST P56/SGO/FRCK P55/RX0 P54/TX0 DVSS P87/PWM2M3 P86/PWM2P3 P85/PWM1M3 P84/PWM1P3 DVCC P83/PWM2M2 P82/PWM2P2 P81/PWM1M2 P80/PWM1P2 DVSS P77/PWM2M1 P76/PWM2P1 P75/PWM1M1 P74/PWM1P1 DVCC P73/PWM2M0 P72/PWM2P0 P71/PWM1M0 P70/PWM1P0 DVSS SEG0 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 VSS SEG8 SEG9 SEG10 SEG11 P36/SEG12 P37/SEG13 P40/SEG14 P41/SEG15 P42/SEG16 P43/SEG17 P44/SEG18 VCC P45/SEG19 P46/SEG20 P47/SEG21 C 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 P53/INT3 MD2 MD1 MD0 P52/INT2 (/TX1) P51/INT1 (/RX1) P67/AN7 P66/AN6 P65/AN5 P64/AN4 VSS P63/AN3 P62/AN2 P61/AN1 P60/AN0 AVSS P50/INT0/ADTG AVRH AVCC V3 V2 V1 V0 P91/SEG23 P90/SEG22 (FPT-100P-M20) 6 DS07-13711-5E MB90420G/425G Series ■ PIN DESCRIPTIONS Pin no. LQFP 80 81 78 77 75 83 QFP 82 83 80 79 77 85 Symbol X0 X1 X0A A X1A RST P00 SIN0 INT4 P01 84 86 SOT0 INT5 P02 85 87 SCK0 INT6 P03 86 88 SIN1 INT7 87 89 P04 SOT1 P05 88 90 SCK1 TRG P06 89 91 PPG0 TOT1 P07 90 92 PPG1 TIN1 91 93 P10 PPG2 G G G G G G G G G B Circuit type A Description High speed oscillator input pin. High speed oscillator output pin. Low speed oscillator input pin. If no oscillator is connected, apply pull-down processing. Low speed oscillator output pin. If no oscillator is connected, leave open. Reset input pin. General purpose input/output port. UART ch.0 serial data input pin. INT4 external interrupt input pin. General purpose input/output port. UART ch.0 serial data output pin. INT5 external interrupt input pin. General purpose input/output port. UART ch.0 serial clock input/output pin. INT6 external interrupt input pin. General purpose input/output port. UART ch.1 serial data input pin. INT7 external interrupt input pin. General purpose input/output port. UART ch.1 serial data output pin. General purpose input/output port. UART ch.1 serial clock input/output pin. 16-bit PPG ch.0-2 external trigger input pin. General purpose input/output port. 16-bit PPG ch.0 output pin. 16-bit reload timer ch.1 TOT output pin. General purpose input/output port. 16-bit PPG ch.1 output pin. 16-bit reload timer ch.1 TIN output pin. General purpose input/output port. 16-bit PPG ch.2 output pin. (Continued) DS07-13711-5E 7 MB90420G/425G Series Pin no. LQFP 92 QFP 94 Symbol P11 TOT0 WOT P12 Circuit type Description General purpose input/output port. G 16-bit reload timer ch.0 TOT output pin. Real-time watch timer WOT output pin. General purpose input/output port. 93 95 TIN0 IN3 P13 to P15 IN2 to IN0 COM0 to COM3 SEG0 to SEG11 P36 to P37 SEG12 to SEG13 P40 to P47 SEG14 to SEG21 P90, P91 SEG22, SEG23 P50 INT0 ADTG P60 to P67 AN0 to AN7 P51 INT1 (RX1 * ) P52 1 G 16-bit reload timer ch.0 TIN output pin. Input capture ch.3 trigger input pin. General purpose input/output ports. Input capture ch.0-2 trigger input pins. LCD controller/driver common output pins. LCD controller/driver segment output pins. General purpose output ports. 94 to 96 97 to 100 1 to 8, 10 to 13 14 to 15 96 to 98 99 to 100, 1 to 2 3 to 10, 12 to 15 16 to 17 G I I E LCD controller/driver segment output pins. General purpose input output ports. 16 to 20, 22 to 24 18 to 22, 24 to 26 E LCD controller/driver segment output pins. General purpose input output ports. 26, 27 28, 29 E LCD controller/driver segment output pins. General purpose input output ports. 34 36 G INT0 external interrupt input pin. A/D converter external trigger input pin. General purpose input output ports. 36 to 39, 41 to 44 38 to 41, 43 to 46 F A/D converter input pins. General purpose input output port. 45 47 G INT1 external interrupt input pin. CAN interface 1 RX intput pin. General purpose input output port. 46 48 INT2 (TX1 * ) 1 G INT2 external interrupt input pin. CAN interface 1 TX output pin. General purpose input output port. INT3 external interrupt input pin. (Continued) 50 52 P53 INT3 G 8 DS07-13711-5E MB90420G/425G Series Pin no. LQFP QFP Symbol P70 to P73 Circuit type Description General purpose input output ports. 52 to 55 54 to 57 PWM1P0 PWM1M0 PWM2P0 PWM2M0 P74 to P77 PWM1P1 PWM1M1 PWM2P1 PWM2M1 P80 to P83 PWM1P2 PWM1M2 PWM2P2 PWM2M2 P84 to P87 PWM1P3 PWM1M3 PWM2P3 PWM2M3 P54 TX0 P55 RX0 P56 SGO FRCK P57 SGA V0 to V3 DVCC DVSS AVCC AVSS AVRH H Stepping motor controller ch.0 output pins. General purpose input output ports. H 57 to 60 59 to 62 Stepping motor controller ch.1 output pins. General purpose input output ports. H 62 to 65 64 to 67 Stepping motor controller ch.2 output pins. General purpose input output ports. H 67 to 70 69 to 72 Stepping motor controller ch.3 output pins. 72 73 74 75 G G General purpose input output port. CAN interface 0 TX output pin. General purpose output port. CAN interface 0 RX input pin. General purpose input output port. Sound generator SGO output pin. Free-run timer clock input pin. General purpose input output port. Sound generator SGA output pin. LCD controller /driver reference power supply pins. High current output buffer with dedicated power supply input pins (pin numbers 54-57, 59-62, 64-67, 69-72) . High current output buffer with dedicated power supply GND pins (pin numbers 54-57, 59-62, 64-67, 69-72) . A/D converter dedicated power supply input pin. A/D converter dedicated GND supply pin. A/D converter Vref + input pin. Vref − AVss. (Continued) 74 76 G 76 28 to 31 56, 66 78 30 to 33 58, 68 G ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ 51, 61, 71 53, 63, 73 32 35 33 34 37 35 DS07-13711-5E 9 MB90420G/425G Series (Continued) Pin no. LQFP 47, 48 49 25 21, 82 QFP 49, 50 51 27 23, 84 Symbol MD0, MD1 MD2 C VCC VSS Circuit type C C/D * ⎯ ⎯ ⎯ 2 Description Test mode input pins. Connect to VCC. Text mode input pin. Connect to VSS. External capacitor pin. Connect an 0.1 µF capacitor between this pin and VSS. Power supply input pins. GND power supply pins. 9, 40, 79 11, 42, 81 *1 : MB90420G series only. *2 : Type C in the flash ROM models, type D in the mask ROM models. 10 DS07-13711-5E MB90420G/425G Series ■ I/O CIRCUIT TYPE Type X1/X1A Circuit Remarks • Oscillation feedback resistance : approx. 1 MΩ (X0, X1 : MAIN) • Oscillation feedback resistance : approx. 10 MΩ (X0A, X1A : SUB) A X0/X0A Standby control signal • Pull-up resistance attached : approx. 50 kΩ, hysteresis input B Hysteresis input • Hysteresis input C Hysteresis input • Pull-down resistance attached : approx. 50 kΩ, hysteresis input Hyteresis input D • CMOS output • LCDC output • Hysteresis input E LCDC output Hysteresis input (Continued) DS07-13711-5E 11 MB90420G/425G Series (Continued) Type Circuit Remarks • CMOS output • Hysteresis input • Analog input F Analog input Hysteresis input • CMOS output • Hysteresis input G Hysteresis input • CMOS high current output • Hysteresis input High current H Hysteresis input • LCDC output I LCDC output 12 DS07-13711-5E MB90420G/425G Series ■ HANDLING DEVICES Precautions for Handling Semiconductor Devices • Strictly observe maximum rated voltages (prevent latchup) When CMOS integrated circuit devices are subjected to applied voltages higher than VCC at input and output pins other than medium- and high-withstand voltage pins, or to voltages lower than VSS, or when voltages in excess of rated levels are applied between VCC and VSS, a phenomenon known as latchup can occur. In a latchup condition, supply current can increase dramatically and may destroy semiconductor elements. In using semiconductor devices, always take sufficient care to avoid exceeding maximum ratings. Also care must be taken when power to analog systems is switched on or off, to ensure that the analog power supply (AVCC, AVRH) , analog input and dedicated power supply for the high current output buffer pins (DVCC) do not exceed the digital power supply (VCC) . Once the digital power supply (VCC) is switched on, the analog power (AVCC,AVRH) and dedicated power supply for the high current output buffer pins (DVCC) may be turned on in any sequence. • Stable supply voltage Even within the warranted operating range of VCC supply voltage, sudden fluctuations in supply voltage can cause abnormal operation. The recommended stability for ripple fluctuations (P-P values) at commercial frequencies (50 Hz to 60 Hz) should be within 10% of the standard VCC value, and voltage fluctuations that occur during switching of power supplies etc. should be limited to transient fluctuation rates of 0.1 V/ms or less. • Power-on procedures In order to prevent abnormal operation of the internal built-in step-down circuits, voltage rise time during poweron should be attained within 50 µs (0.2 V to 2.7 V) . • Treatment of unused pins If unused input pins are left open, they may cause abnormal operation or latchup which may lead to permanent damage to the semiconductor. Any such pins should be pulled up or pulled down through resistance of at least 2 kΩ. Any unused input/output pins should be left open in output status, or if found set to input status, they should be treated in the same way as input pins. Any unused output pins should be left open. • Treatment of A/D converter power supply pins Even if the A/D converter is not used, pins should be connected so that AVCC = VCC, and AVSS = AVRH = VSS. • Use of external clock signals Even when an external clock is used, a stabilization period is required following a power-on reset or release from sub clock mode or stop mode. Also, when an external clock is used it should drive only the X0 pin and the X1 pin should be left open, as shown in the following figure. X0 OPEN X1 MB90420G/425G Series Sample external clock connection DS07-13711-5E 13 MB90420G/425G Series • Power supply pins Devices are designed to prevent problems such as latchup when multiple VCC and VSS supply pins are used, by providing internal connections between pins having the same potential. However, in order to reduce unwanted radiation, and to prevent abnormal operation of strobe signals due to rise in ground level, and to maintain total output current ratings, all such pins should always be connected externally to power supplies and ground. As shown in figure below, all VCC power supply pins must have the same potential. All VSS power supply pins should be handled in the same way. If there are multiple VCC or VSS systems, the device will not operate properly even within the warranted operating range. VCC VSS VCC VSS VCC VSS VCC VSS VSS VCC Power supply input pins (VCC/VSS) In addition, care must be given to connecting the VCC and VSS pins of this device to a current source with as little impedance as possible. It is recommended that a bypass capacitor of 1.0 µF be connected between VCC and VSS as close to the pins as possible. • Proper sequence of A/D converter power supply analog input A/D converter power (AVCC, AVRH) and analog input (AN0-AN7) must be applied after the digital power supply (VCC) is switched on. When power is shut off, the A/D converter power supply and analog input must be cut off before the digital power supply is switched on (VCC) . In both power-on and shut-off, care should be taken that AVRH does not exceed AVCC. Even when pins which double as analog input pins are used as input ports, be sure that the input voltage does not exceed AVCC. (There is no problem if analog power supplies and digital power supplies are turned off and on at the same time.) • Handling the power supply for high-current output buffer pins (DVCC, DVSS) Always apply power to high-current output buffer pins (DVCC, DVSS) after the digital power supply (VCC) is turned on. Also when switching power off, always shut off the power supply to the high-current output buffer pins (DVCC, DVSS) before switching off the digital power supply (VCC) . (There will be no problem if high-current output buffer pins and digital power supplies are turned off and on at the same time.) Even when high-current output buffer pins are used as general purpose ports, the power for high current output buffer pins (DVCC, DVSS) should be applied to these pins. • Pull-up/pull-down resistance The MB90420G/425G series does not support internal pull-up/pull-down resistance. If necessary, use external components. 14 DS07-13711-5E MB90420G/425G Series • Precautions for when not using a sub clock signal. If the X0A and X1A pins are not connected to an oscillator, apply pull-down treatment to the X0A pin and leave the X1A pin open. • Notes on during operation of PLL clock mode If the PLL clock mode is selected, the microcontroller attempt to be working with the self-oscillating circuit even when there is no external oscillator or external clock input is stopped. Performance of this operation, however, cannot be guaranteed. DS07-13711-5E 15 MB90420G/425G Series ■ BLOCK DIAGRAM X0, X1 X0A, X1A RST Clock control circuit CPU F2MC-16LX core RAM Interrupt controller Low voltage/ CPU operation detection reset Port 8 P87/PWM2M3 P86/PWM2P3 P85/PWM1M3 P84/PWM1P3 P83/PWM2M2 P82/PWM2P2 P81/PWM1M2 P80/PWM1P2 P77/PWM2M1 P76/PWM2P1 P75/PWM1M1 P74/PWM1P1 P73/PWM2M0 P72/PWM2P0 P71/PWM1M0 P70/PWM1P0 ROM F2MC-16LX BUS P57/SGA P56/SGO/FRCK P55/RX0 P54/TX0 P53/INT3 P52/INT2 (/TX1) P51/INT1 (/RX1) P50/INT0/ADTG P00/SIN0/INT4 P01/SOT0/INT5 P02/SCK0/INT6 P03/SIN1/INT7 P04/SOT1 P05/SCK1/TRG P06/PPG0/TOT1 P07/PPG1/TIN1 Sound generator CAN controller Port 5 External interrupt (8 ch) UART0/1 Prescaler 0/1 Stepping motor Controller 0/1/2/3 Port 7 Port 0 PPG0/1/2 P10/PPG2 P11/TOT0/WOT P12/TIN0/IN3 P13/IN2 P14/IN1 P15/IN0 Port 1 Port 6 P67 to P60/ AN7 to AN0 AVCC/AVSS AVRH P91, P90/ SEG23, SEG22 P47 to P40/ SEG21 to SEG14 P37, P36/ SEG13 to SEG12 SEG11 to SEG0 COM3 to COM0 V3 to V0 A/D converter (8 ch) Port 9 Reload timer 0/1 Real-time Watch timer Port 3 ICU0/1/2/3 Free-run timer Port 4 LCD controller/ driver Evaluation device (MB90V420G) No built-in ROM Built-in RAM is 6 KB. Note: MB90420G series is equipped with 2-channel CAN interface and MB90425G series is equipped with 1-channel CAN interface. MB90F423GA, MB90423GA, MB90F428GA, MB90427GA and MB90428GA have low voltage/CPU operation detection reset. MB90F423GC, MB90423GC, MB90F428GC, MB90427GC, MB90428GC and MB90V420G do not have low voltage/CPU operation detection reset. See “■ Product Lineup” for detail. 16 DS07-13711-5E MB90420G/425G Series ■ MEMORY MAP Single chip mode (with ROM mirror function) 000000H Peripheral area 0000C0H 000100H Register RAM area Address #2 003900H Peripheral area 004000H ROM area (FF bank image) 010000H Address #1 ROM area FFFFFFH : Internal access memory : Access prohibited Parts No. MB90423GA/GC MB90427GA/GC MB90428GA/GC MB90F423GA/GC MB90F428GA/GC MB90V420G Address #1 FE0000H FF0000H FE0000H FE0000H FE0000H FE0000H Address #2 001900H 001100H 001900H 001900H 001900H 001900H Note : To select models without the ROM mirror function, see the “ROM Mirror Function Selection Module.” The image of the ROM data in the FF bank appears at the top of the 00 bank, in order to enable efficient use of small C compiler models. The lower 16-bit address for the FF bank will be assigned to the same address, so that tables in ROM can be referenced without declaring a “far” indication with the pointer. For example when accessing the address 00C000H, the actual access is to address FFC000H in ROM. Here the FF bank ROM area exceeds 48 KB, so that it is not possible to see the entire area in the 00 bank image. Therefore because the ROM data from FF4000H to FFFFFFH will appear in the image from 004000H to 00FFFFH, it is recommended that the ROM data table be stored in the area from FF4000H to FFFFFFH. DS07-13711-5E 17 MB90420G/425G Series ■ I/O MAP • Other than CAN Interface Address Register name 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H 0AH to 0FH 10H 11H 12H 13H 14H 15H 16H 17H 18H 19H 1AH 1BH to 1FH 20H 21H 22H 23H 24H 25H 26H 27H 28H 29H A/D control status register lower A/D control status register higher A/D data register lower A/D data register higher Compare clear register Timer data register Timer control status register lower Timer control status register higher Port 3 direction register Port 4 direction register Port 5 direction register Port 6 direction register Port 7 direction register Port 8 direction register Port 9 direction register Analog input enable Port 0 direction register Port 1 direction register Port 3 data register Port 4 data register Port 5 data register Port 6 data register Port 7 data register Port 8 data register Port 9 data register Port 0 data register Port 1 data register Symbol PDR0 PDR1 PDR3 PDR4 PDR5 PDR6 PDR7 PDR8 PDR9 Read/write Peripheral function R/W R/W R/W R/W R/W R/W R/W R/W R/W Port 0 Port 1 Port 3 Port 4 Port 5 Port 6 Port 7 Port 8 Port 9 Initial value XXXXXXXX - - XX XX XX XX - - - - - XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX - - - - - -XX (Disabled) (Disabled) DDR0 DDR1 DDR3 DDR4 DDR5 DDR6 DDR7 DDR8 DDR9 ADER R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Port 0 Port 1 Port 3 Port 4 Port 5 Port 6 Port 7 Port 8 Port 9 Port 6, A/D 00000000 --000000 00 - - - - - 00000000 00000000 00000000 00000000 00000000 - - - - - - 00 11111111 (Disabled) (Disabled) ADCSL ADCSH ADCRL ADCRH CPCLR TCDT TCCSL TCCSH R/W R/W R R/W R/W R/W R/W R/W R/W R/W 16-bit free-run timer A/D converter 00000000 00000000 XXXXXXXX 0 0 1 0 1 XXX XXXXXXXX XXXXXXXX 00000000 00000000 00000000 0- - 00000 (Continued) 18 DS07-13711-5E MB90420G/425G Series Address 2AH 2BH 2CH 2DH 2EH 2FH 30H 31H 32H 33H 34H 35H 36H 37H 38H 39H 3AH 3BH 3CH 3DH 3EH 3FH 40H to 4FH 50H 51H 52H 53H 54H 55H 56H 57H 58H 59H Register name PPG0 control status register lower PPG0 control status register higher PPG1 control status register lower PPG1 control status register higher PPG2 control status register lower PPG2 control status register higher External interrupt enable External interrupt request External interrupt level lower External interrupt level higher Serial mode register 0 Serial control register 0 Input data register 0/ Output data register 0 Serial status register 0 Serial mode register 1 Serial control register 1 Input data register 1/ Output data register 1 Serial status register 1 Clock division control register 0 CAN wake-up control register Clock division control register 1 Symbol PCNTL0 PCNTH0 PCNTL1 PCNTH1 PCNTL2 PCNTH2 ENIR EIRR ELVRL ELVRH SMR0 SCR0 SIDR0/ SODR0 SSR0 SMR1 SCR1 SIDR1/ SODR1 SSR1 CDCR0 CWUCR CDCR1 Read/write Peripheral function 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 R/W R/W R/W Real-time watch timer 16-bit reload timer 1 16-bit reload timer 0 Prescaler CAN Prescaler UART1 UART 0 External interrupt 16-bit PPG0 16-bit PPG1 16-bit PPG2 Initial value 00000000 000000000000000 000000000000000 000000000000000 00000000 00000000 00000000 00000-00 00000100 XXXXXXXX 00001000 00000−00 00000100 XXXXXXXX 00001000 0---0000 -------0 0---0000 00000000 - - -00000 XXXXXXXX XXXXXXXX 00000000 - - - 00000 XXXXXXXX XXXXXXXX 000- - 000 00000000 (Continued) (Disabled) Area reserved for CAN interface 0 Timer control status register 0 lower TMCSR0L Timer control status register 0 highTMCSR0H er Timer register 0/ Reload register 0 TMR0/ TMRLR0 Timer control status register 1 lower TMCSR1L Timer control status register 1 highTMCSR1H er Timer register 1/ Reload register 1 Watch timer control register lower Watch timer control register higher TMR1/ TMRLR1 WTCRL WTCRH DS07-13711-5E 19 MB90420G/425G Series Address 5AH 5BH 5CH 5DH 5EH 5FH 60H 61H 62H 63H 64H 65H 66H 67H 68H 69H 6AH 6BH 6CH 6DH 6EH 6FH 70H to 7FH 80H 81H 82H 83H 84H 85H 86H 87H to 9DH Register name Sound control register lower Sound control register higher Frequency data register Amplitude data register Decrement grade register Tone count register Input capture register 0 Input capture register 1 Input capture register 2 Input capture register 3 Input capture control status 0/1 Input capture control status 2/3 LCD control register lower LCD control register higher Low voltage/CPU operation detection reset control register ROM mirror Symbol Read/write SGCRL SGCRH SGFR SGAR SGDR SGTR IPCP0 IPCP1 IPCP2 IPCP3 ICS01 ICS23 LCRL LCRH LVRC ROMM R/W R/W R/W R/W R/W R/W R Peripheral function Initial value 00000000 0 - - - - - 00 XXXXXXXX 00000000 XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 00000000 00000000 00010000 00000000 10111000 XXXXXXX1 Sound generator Input capture 0/1 R R Input capture 2/3 R R/W (Disabled) R/W (Disabled) R/W R/W R/W W LCD controller/ driver Low voltage/CPU operation detection reset ROM mirror Stepping motor controller0 Stepping motor controller1 Stepping motor controller2 Stepping motor controller3 Input capture 2/3 Input capture 0/1 Area reserved for CAN interface 1 PWM control register 0 PWC0 R/W (Disabled) PWM control register 1 PWC1 R/W (Disabled) PWM control register 2 PWM control register 3 PWC2 PWC3 R/W (Disabled) R/W (Disabled) (Continued) 00000--0 00000--0 00000--0 00000--0 20 DS07-13711-5E MB90420G/425G Series Address 9EH 9FH A0H A1H A2H to A7H A8H A9H AAH ABH to ADH AEH AFH B0H B1H B2H B3H B4H B5H B6H B7H B8H B9H BAH BBH BCH BDH BEH BFH C0H to FFH Register name ROM correction control register Delay interrupt/release Power saving mode Clock select Symbol PACSR DIRR LPMCR CKSCR Read/write Peripheral function R/W R/W R/W R/W Address match detection function Delayed interrupt Power saving control circuit Initial value - - - - - 0-0 - - - - - - -0 00011000 11111100 (Disabled) Watchdog control Time base timer control register Watch timer control register WDTC TBTC WTC R/W R/W R/W (Disabled) Flash control register Interrupt control register 00 Interrupt control register 01 Interrupt control register 02 Interrupt control register 03 Interrupt control register 04 Interrupt control register 05 Interrupt control register 06 Interrupt control register 07 Interrupt control register 08 Interrupt control register 09 Interrupt control register 10 Interrupt control register 11 Interrupt control register 12 Interrupt control register 13 Interrupt control register 14 Interrupt control register 15 FMCS ICR00 ICR01 ICR02 ICR03 ICR04 ICR05 ICR06 ICR07 ICR08 ICR09 ICR10 ICR11 ICR12 ICR13 ICR14 ICR15 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 Interrupt controller Flash interface 0 0 0 X 0 XX 0 00000111 00000111 00000111 00000111 00000111 00000111 00000111 00000111 00000111 00000111 00000111 00000111 00000111 00000111 00000111 00000111 Watchdog timer Time base timer Watch timer (sub-clock) XXXXX 1 1 1 1 - -00100 1X000000 (Disabled) (Disabled) (Continued) DS07-13711-5E 21 MB90420G/425G Series Address 1FF0H 1FF1H 1FF2H 1FF3H 1FF4H 1FF5H 3900H to 391FH 3920H 3921H 3922H 3923H 3924H 3925H 3926H to 3927H 3928H 3929H 392AH 392BH 392CH 392DH 392EH to 392FH 3930H 3931H 3932H 3933H 3934H 3935H 3936H to 3959H Register name ROM correction address 0 ROM correction address 1 ROM correction address 2 ROM correction address 3 ROM correction address 4 ROM correction address 5 Symbol PADR0 PADR0 PADR0 PADR1 PADR1 PADR1 Read/write Peripheral function R/W R/W R/W R/W R/W R/W Address match detection function Initial value XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX (Disabled) PPG0 down counter register PPG0 cycle setting register PPG0 duty setting register PDCR0 PCSR0 PDUT0 R W W 16-bit PPG 0 11111111 11111111 XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX (Disabled) PPG1 down counter register PPG1 cycle setting register PPG1 duty setting register PDCR1 PCSR1 PDUT1 R W W 16-bit PPG 1 11111111 11111111 XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX (Disabled) PPG2 down counter register PPG2 cycle setting register PPG2 duty setting register PDCR2 PCSR2 PDUT2 R W W 16 bit PPG 2 11111111 11111111 XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX (Disabled) (Continued) 22 DS07-13711-5E MB90420G/425G Series Address 395AH 395BH 395CH 395DH 395EH 395FH Register name Sub second data register Second data register Minute data register Hour data register Symbol WTBR WTSR WTMR WTHR VRAM Read/write Peripheral function R/W R/W R/W R/W R/W LCD controller/ driver Real time watch timer Initial value XXXXXXXX XXXXXXXX - - - XXXXX - - XXXXXX - - XXXXXX - - - XXXXX XXXXXXXX 3960H to LCD display RAM 396BH 396CH to 397FH 3980H 3981H 3982H 3983H 3984H 3985H 3986H to 3987H 3988H 3989H 398AH 398BH 398CH 398DH 398EH to 398FH 3990H 3991H 3992H 3993H 3994H 3995H 3996H to 3997H PWM1 compare register 2 PWM2 compare register 2 PWM1 select register 2 PWM2 select register 2 PWM1 compare register 1 PWM2 compare register 1 PWM1 select register 1 PWM2 select register 1 PWM1 compare register 0 PWM2 compare register 0 PWM1 select register 0 PWM2 select register 0 (Disabled) PWC10 PWC20 PWS10 PWS20 R/W R/W R/W R/W Stepping motor controller 0 XXXXXXXX - - - - - - XX XXXXXXXX - - - - - - XX - - 000000 -0000000 (Disabled) PWC11 PWC21 PWS11 PWS21 R/W R/W R/W R/W Stepping motor controller 1 XXXXXXXX - - - - - - XX XXXXXXXX - - - - - - XX --000000 -0000000 (Disabled) PWC12 PWC22 PWS12 PWS22 R/W R/W R/W R/W Stepping motor controller 2 XXXXXXXX - - - - - - XX XXXXXXXX - - - - - - XX --000000 -0000000 (Disabled) (Continued) DS07-13711-5E 23 MB90420G/425G Series (Continued) Address 3998H 3999H 399AH 399BH 399CH 399DH 399EH to 39FFH 3A00H to 3AFFH 3B00H to 3BFFH 3C00H to 3CFFH 3D00H to 3DFFH 3E00H to 3EFFH Register name PWM1 compare register 3 PWM2 compare register 3 PWM1 select register 3 PWM2 select register 3 Symbol PWC13 PWC23 PWS13 PWS23 Read/write Peripheral function R/W R/W R/W R/W Stepping motor controller 3 Initial value XXXXXXXX - - - - - - XX XXXXXXXX - - - - - - XX --000000 -0000000 (Disabled) Area reserved for CAN interface 0 Area reserved for CAN interface 1 Area reserved for CAN interface 0 Area reserved for CAN interface 1 (Disabled) • Initial value symbols : “0” initial value 0. “1” initial value 1. “X” initial value undetermined “-” initial value undetermined (none) • Write/read symbols : “R/W” read/write enabled “R” read only “W” write only • Addresses in the area 0000H to 00FFH are reserved for the principal functions of the MCU. Read access attempts to reserved areas will result in an “X” value. Also, write access to reserved areas is prohibited. 24 DS07-13711-5E MB90420G/425G Series • I/O Map for CAN Interface Address CAN0 000040H 000041H 000042H 000043H 000044H 000045H 000046H 000047H 000048H 000049H 00004AH 00004BH 00004CH 00004DH 00004EH 00004FH 003C00H 003C01H 003C02H 003C03H 003C04H 003C05H 003C06H 003C07H 003C08H 003C09H CAN1 000070H 000071H 000072H 000073H 000074H 000075H 000076H 000077H 000078H 000079H 00007AH 00007BH 00007CH 00007DH 00007EH 00007FH 003D00H 003D01H 003D02H 003D03H 003D04H 003D05H 003D06H 003D07H 003D08H 003D09H Register name Symbol BVALR TREQR TCANR TCR RCR RRTRR ROVRR RIER CSR LEIR RTEC BTR IDER TRTRR RFWTR TIER Read/ write (R/W) (R/W) (W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W, R) (R/W) (R) (R/W) (R/W) (R/W) (R/W) (R/W) Initial value 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00---000 -------0----0-1 000-0000 Message buffer valid area Transmission request register Transmission cancel register Transmission completed register Receiving completed register Remote request receiving register Receiving overrun register Receiving interrupt enable register Control status register Last event indicator register RX/TX error counter Bit timing register IDE register Transmission RTR register Remote frame receiving wait register Transmission interrupt enable register 00000000 00000000 -1111111 11111111 XXXXXXXX XXXXXXXX 003C0AH 003D0AH 003C0BH 003D0BH 003C0CH 003D0CH 003C0DH 003D0DH 003C0EH 003D0EH 003C0FH 003D0FH 00000000 00000000 XXXXXXXX XXXXXXXX 00000000 00000000 (Continued) DS07-13711-5E 25 MB90420G/425G Series Address CAN0 003C10H 003C11H 003C12H 003C13H 003C14H 003C15H 003C16H 003C17H 003C18H 003C19H CAN1 003D10H 003D11H 003D12H 003D13H 003D14H 003D15H 003D16H 003D17H 003D18H 003D19H Register name Symbol Read/ write Initial value XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX Acceptance mask select register AMSR (R/W) XXXXXXXX XXXXXXXX Acceptance mask register 0 AMR0 (R/W) XXXXX- - XXXXXXXX 003C1AH 003D1AH 003C1BH 003D1BH 003A00H to 003A1FH 003A20H 003A21H 003A22H 003A23H 003A24H 003A25H 003A26H 003A27H 003A28H 003A29H Acceptance mask register 1 AMR1 (R/W) XXXXX- - - 003B00H to General purpose RAM 003B1FH 003B20H 003B21H 003B22H 003B23H 003B24H 003B25H 003B26H 003B27H 003B28H 003B29H ID register 2 ID register 1 ID register 0 ⎯ (R/W) XXXXXXXX to XXXXXXXX XXXXXXXX IDR0 (R/W) XXXXX- - XXXXXXXX IDR1 (R/W) XXXXX- - XXXXXXXX IDR2 (R/W) XXXXX- - XXXXXXXX ID register 3 IDR3 (R/W) XXXXX- - XXXXXXXX ID register 4 IDR4 (R/W) XXXXX- - - XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX (Continued) 003A2AH 003B2AH 003A2BH 003B2BH 003A2CH 003B2CH 003A2DH 003B2DH 003A2EH 003B2EH 003A2FH 003A30H 003A31H 003A32H 003A33H 003B2FH 003B30H 003B31H 003B32H 003B33H 26 DS07-13711-5E MB90420G/425G Series Address CAN0 003A34H 003A35H 003A36H 003A37H 003A38H 003A39H CAN1 003B34H 003B35H 003B36H 003B37H 003B38H 003B39H Register name Symbol Read/ write Initial value XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX (Continued) ID register 5 IDR5 (R/W) XXXXX- - XXXXXXXX 003A3AH 003B3AH 003A3BH 003B3BH 003A3CH 003B3CH 003A3DH 003B3DH 003A3EH 003B3EH 003A3FH 003A40H 003A41H 003A42H 003A43H 003A44H 003A45H 003A46H 003A47H 003A48H 003A49H 003B3FH 003B40H 003B41H 003B42H 003B43H 003B44H 003B45H 003B46H 003B47H 003B48H 003B49H ID register 6 IDR6 (R/W) XXXXX- - XXXXXXXX ID register 7 IDR7 (R/W) XXXXX- - XXXXXXXX ID register 8 IDR8 (R/W) XXXXX- - XXXXXXXX ID register 9 IDR9 (R/W) XXXXX- - XXXXXXXX 003A4AH 003B4AH 003A4BH 003B4BH 003A4CH 003B4CH 003A4DH 003B4DH 003A4EH 003B4EH 003A4FH 003A50H 003A51H 003A52H 003A53H 003B4FH 003B50H 003B51H 003B52H 003B53H ID register 10 IDR10 (R/W) XXXXX- - XXXXXXXX ID register 11 IDR11 (R/W) XXXXX- - XXXXXXXX ID register 12 IDR12 (R/W) XXXXX- - - DS07-13711-5E 27 MB90420G/425G Series Address CAN0 003A54H 003A55H 003A56H 003A57H 003A58H 003A59H CAN1 003B54H 003B55H 003B56H 003B57H 003B58H 003B59H Register name Symbol Read/ write Initial value XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX (Continued) ID register 13 IDR13 (R/W) XXXXX- - XXXXXXXX 003A5AH 003B5AH 003A5BH 003B5BH 003A5CH 003B5CH 003A5DH 003B5DH 003A5EH 003B5EH 003A5FH 003A60H 003A61H 003A62H 003A63H 003A64H 003A65H 003A66H 003A67H 003A68H 003A69H 003B5FH 003B60H 003B61H 003B62H 003B63H 003B64H 003B65H 003B66H 003B67H 003B68H 003B69H ID register 14 IDR14 (R/W) XXXXX- - XXXXXXXX ID register 15 IDR15 (R/W) XXXXX- - - DLC register 0 DLC register 1 DLC register 2 DLC register 3 DLC register 4 DLC register 5 DLC register 6 DLC register 7 DLC register 8 DLC register 9 DLC register 10 DLCR0 DLCR1 DLCR2 DLCR3 DLCR4 DLCR5 DLCR6 DLCR7 DLCR8 DLCR9 DLCR10 (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX 003A6AH 003B6AH 003A6BH 003B6BH 003A6CH 003B6CH 003A6DH 003B6DH 003A6EH 003B6EH 003A6FH 003A70H 003A71H 003A72H 003A73H 003A74H 003A75H 003B6FH 003B70H 003B71H 003B72H 003B73H 003B74H 003B75H 28 DS07-13711-5E MB90420G/425G Series Address CAN0 003A76H 003A77H 003A78H 003A79H CAN1 003B76H 003B77H 003B78H 003B79H Register name DLC register 11 DLC register 12 DLC register 13 DLC register 14 DLC register 15 Symbol DLCR11 DLCR12 DLCR13 DLCR14 DLCR15 Read/ write (R/W) (R/W) (R/W) (R/W) (R/W) Initial value - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX - - - -XXXX 003A7AH 003B7AH 003A7BH 003B7BH 003A7CH 003B7CH 003A7DH 003B7DH 003A7EH 003B7EH 003A7FH 003A80H to 003A87H 003A88H to 003A8FH 003A90H to 003A87H 003A98H to 003A9FH 003B7FH 003B80H to Data register 0 (8 bytes) 003B87H 003B88H to Data register 1 (8 bytes) 003B8FH 003B90H to Data register 2 (8 bytes) 003B97H 003B98H to Data register 3 (8 bytes) 003B9FH DTR0 (R/W) XXXXXXXX to XXXXXXXX DTR1 (R/W) XXXXXXXX to XXXXXXXX DTR2 (R/W) XXXXXXXX to XXXXXXXX DTR3 (R/W) XXXXXXXX to XXXXXXXX 003AA0H 003BA0H to to Data register 4 (8 bytes) 003AA7H 003BA7H 003AA8H 003BA8H to to Data register 5 (8 bytes) 003AAFH 003BAFH 003AB0H 003BB0H to to Data register 6 (8 bytes) 003AB7H 003BB7H 003AB8H 003BB8H to to Data register 7 (8 bytes) 003ABFH 003BBFH 003AC0H 003BC0H to to Data register 8 (8 bytes) 003AC7H 003BC7H 003AC8H 003BC8H to to Data register 9 (8 bytes) 003ACFH 003BCFH DTR4 (R/W) XXXXXXXX to XXXXXXXX DTR5 (R/W) XXXXXXXX to XXXXXXXX DTR6 (R/W) XXXXXXXX to XXXXXXXX DTR7 (R/W) XXXXXXXX to XXXXXXXX DTR8 (R/W) XXXXXXXX to XXXXXXXX DTR9 (R/W) XXXXXXXX to XXXXXXXX (Continued) DS07-13711-5E 29 MB90420G/425G Series (Continued) Address CAN0 CAN1 Register name Symbol Read/ write (R/W) Initial value 003AD0H 003BD0H to to Data register 10 (8 bytes) 003AD7H 003BD7H 003AD8H 003BD8H to to Data register 11 (8 bytes) 003ADFH 003BDFH 003AE0H 003BE0H to to Data register 12 (8 bytes) 003AE7H 003BE7H 003AE8H 003BE8H to to Data register 13 (8 bytes) 003AEFH 003BEFH 003AF0H to 003AF7H 003BF0H to Data register 14 (8 bytes) 003BF7H DTR10 XXXXXXXX to XXXXXXXX DTR11 (R/W) XXXXXXXX to XXXXXXXX DTR12 (R/W) XXXXXXXX to XXXXXXXX DTR13 (R/W) XXXXXXXX to XXXXXXXX DTR14 (R/W) XXXXXXXX to XXXXXXXX 003AF8H 003BF8H to to Data register 15 (8 bytes) 003AFFH 003BFFH DTR15 (R/W) XXXXXXXX to XXXXXXXX 30 DS07-13711-5E MB90420G/425G Series ■ INTERRUPT SOURCES, INTERRUPT VECTORS, AND INTERRUPT CONTROL REGISTERS Interrupt source Reset INT9 instruction Exception processing CAN0 RX CAN0 TX/NS CAN1 RX CAN1 TX/NS Input capture 0 DTP/external interrupt - ch 0 detected Reload timer 0 DTP/external interrupt - ch 1 detected Input capture 1 DTP/external interrupt - ch 2 detected Input capture 2 DTP/external interrupt - ch 3 detected Input capture 3 DTP/external interrupt - ch 4/5 detected PPG timer 0 DTP/external interrupt - ch 6/7 detected PPG timer 1 Reload timer 1 PPG timer 2 Real time watch timer Free-run timer over flow A/D converter conversion end Free-run timer clear Sound generator Time base timer Watch timer (sub-clock) UART 1 RX UART 1 TX UART 0 RX UART 0 TX Flash memory status Delayed interrupt generator module × × × × × × × × EI2OS compatible × × × × × × × Interrupt vector Number #08 #09 #10 #11 #12 #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 Address 08H FFFFDCH 09H FFFFD8H 0AH FFFFD4H 0BH FFFFD0H 0CH FFFFCCH 0DH FFFFC8H 0EH FFFFC4H 0FH FFFFC0H 10H FFFFBCH 11H 12H 13H 15H 16H 17H 19H 1AH 1BH FFFFB8H FFFFB4H FFFFB0H FFFFA8H FFFFA4H FFFFA0H FFFF98H FFFF94H FFFF90H Interrupt control register Priority ICR ⎯ ⎯ ⎯ ICR00 ICR01 ICR02 ICR03 ICR04 ICR05 ICR06 ICR07 ICR08 ICR09 ICR10 ICR11 ICR12 ICR13 ICR14 ICR15 Address ⎯ ⎯ ⎯ 0000B0H *1 0000B1H *1 0000B2H *1 0000B3H *1 0000B4H *1 0000B5H *1 0000B6H *1 0000B7H *1 0000B8H *1 0000B9H *1 0000BAH *1 0000BBH *1 0000BCH *1 0000BDH *1 0000BEH *1 0000BFH *1 *2 High 14H FFFFACH 18H FFFF9CH 1CH FFFF8CH 1DH FFFF88H 1EH 1FH 21H 22H 23H 25H 26H 27H 29H 2AH FFFF84H FFFF80H FFFF78H FFFF74H FFFF70H FFFF68H FFFF64H FFFF60H FFFF58H FFFF54H 20H FFFF7CH 24H FFFF6CH 28H FFFF5CH Low DS07-13711-5E 31 MB90420G/425G Series : Compatible, with EI2OS stop function : Compatible : Compatible when interrupt sources sharing ICR are not in use × : Not compatible *1 : • Peripheral functions sharing the ICR register have the same interrupt level. • If peripheral functions sharing the ICR register are using expanded intelligent I/O services, one or the other cannot be used. • When peripheral functions are sharing the ICR register and one specifies expanded intelligent I/O services, the interrupt from the other function cannot be used. *2 : Priority applies when interrupts of the same level are generated. 32 DS07-13711-5E MB90420G/425G Series ■ PERIPHERAL FUNCTIONS 1. I/O Ports The I/O ports function is to send data from the CPU to be output from I/O pins and load input signals at the I/O pins into the CPU, according to the port data register (PDR) . Port input/output at I/O pins can be controlled in bit units by the port direction register (DDR) as required. The following list shows each of the functions as well as the shared peripheral function for each port. • • • • • • • • • Port 0 : General purpose I/O port, shared with peripheral functions (external interrupt/UART/PPG) Port 1 : General purpose I/O port, shared with peripheral functions (PPG/reload timer/watch timer/ICU) Port 3 : General purpose I/O port, shared with peripheral functions (LCD) Port 4 : General purpose I/O port, shared with peripheral functions (LCD) Port 5 : General purpose I/O port, shared with peripheral functions (External interrupt/CAN/SG) Port 6 : General purpose I/O port, shared with peripheral functions (A/D converter) Port 7 : General purpose I/O port, shared with peripheral functions (Stepping motor controller) Port 8 : General purpose I/O port, shared with peripheral functions (Stepping motor controller) Port 9 : General purpose I/O port, shared with peripheral functions (LCD) Input format Output format (1) List of Functions Port Port 0 Port 1 Port 3 Port 4 Port 5 Pin name P00/SIN0/INT4 to P07/PPG1 P10/PPG2 to P15/IN0 P36/SEG12, P37/SEG13 P40/SEG14 to P47/SEG21 P50/INT0 to P57/SGA P60/AN0 to P67/AN7 P70/PWM1P0 to P77/PWM2M1 P80/PWM1P2 to P87/PWM2M3 P90/SEG22, P91/SEG23 Function General purpose I/O port Peripheral function General purpose I/O port Peripheral function General purpose I/O port Peripheral function General purpose I/O port Peripheral function General purpose I/O port Peripheral function General purpose I/O port Peripheral function General purpose I/O port Peripheral function General purpose I/O port Peripheral function General purpose I/O port Peripheral function (Continued) CMOS (hysteresis) (Automotive level*) CMOS Analog CMOS (hysteresis) (Automotive level*) Port 6 Port 7 Port 8 Port 9 CMOS (hysteresis) (Automotive level*) DS07-13711-5E 33 MB90420G/425G Series (Continued) Port Port 0 bit7 P07 PPG1 TIN1 ⎯ bit6 P06 PPG0 TOT1 ⎯ ⎯ ⎯ P36 SEG12 bit5 P05 SCK1 ⎯ P15 IN0 ⎯ ⎯ ⎯ P45 SEG19 P55 RX0 ⎯ P65 AN5 P75 PWM1M1 P85 PWM1M3 ⎯ ⎯ bit4 P04 SOT1 ⎯ P14 IN1 ⎯ ⎯ ⎯ P44 SEG18 P54 TX0 ⎯ P64 AN4 P74 PWM1P1 P84 PWM1P3 ⎯ ⎯ bit3 P03 SIN1 INT7 P13 IN2 ⎯ ⎯ ⎯ P43 SEG17 P53 INT3 ⎯ P63 AN3 P73 PWM2M0 P83 PWM2M2 ⎯ ⎯ bit2 P02 SCK0 INT6 P12 IN3 TIN0 ⎯ ⎯ P42 SEG16 P52 INT2 TX1 P62 AN2 P72 PWM2P0 P82 PWM2P2 ⎯ ⎯ bit1 P01 SOT0 INT5 P11 WOT TOT0 ⎯ ⎯ P41 SEG15 P51 INT1 RX1 P61 AN1 P71 PWM1M0 P81 PWM1M2 P91 SEG23 bit0 P00 SIN0 INT4 P10 PPG2 ⎯ ⎯ ⎯ P40 SEG14 P50 INT0 ⎯ P60 AN0 P70 PWM1P0 P80 PWM1P2 P90 SEG22 Port 1 ⎯ ⎯ P37 SEG13 Port 3 Port 4 P47 SEG21 P57 SGA ⎯ P67 AN7 P77 PWM2M1 P87 PWM2M3 ⎯ ⎯ P46 SEG20 P56 SGO FRCK P66 AN6 P76 PWM2P1 P86 PWM2P3 ⎯ ⎯ Port 5 Port 6 Port 7 Port 8 Port 9 *: Range of input voltage. For ratings see “3. DC Characteristics” in “■ ELECTRICAL CHARACTERISTICS”. Note : Port 6 also functions as an analog input pin. When using this port as a general purpose port, always write “0” to the corresponding analog input enable register (ADER) bit. The ADER bit is initialized to “1” at reset. 34 DS07-13711-5E MB90420G/425G Series (2) Block Diagrams Ports 0, 1, 3, 4, 5, 7, 8, 9 Peripheral function output Peripheral function input Peripheral function output enabled PDR (Port data register) Internal data bus PDR read Output latch PDR write Pin DDR (Port direction register) Direction latch DDR write DDR read Standby control (SPL = 1) or LCD output enabled Port 6 ADER PDR (Port data register) Internal data bus Analog input RDR read Output latch PDR write DDR (Port direction register) Direction latch DDR write Pin DDR read Standby control (SPL = 1) DS07-13711-5E 35 MB90420G/425G Series 2. Watchdog Timer/Time Base Timer/Watch Timer The watchdog timer, timer base timer, and watch timer have the following circuit configuration. • Watchdog timer : Watchdog counter, control register, watchdog reset circuit • Time base timer : 18-bit timer, interval interrupt control circuit • Watch timer : 15-bit timer, interval interrupt control circuit (1) Watchdog timer function The watchdog timer is composed of a 2-bit watchdog counter that uses the carry signal from the 18-bit time base timer or 15-bit watch timer as a clock source, plus a control register and watchdog reset control circuit. After startup, this function will reset the CPU if not cleared within a given time. (2) Time base timer function The time base timer is an 18-bit free-run counter (time base counter) synchronized with the internal count clock (base oscillator divided by 2) , with an interval timer function providing a selection of four interval times. Other functions include a timer output for an oscillator stabilization wait time and clock feed to the watchdog timer or other operating clocks. Note that the time base timer uses the main clock regardless of the setting of the MCS bit or SCS bit in the CKSCR register. (3) Watch timer function The watch timer provides functions including a clock source for the watchdog timer, a sub clock base oscillator stabilization wait timer, and an interval timer to generate an interrupt at fixed intervals. Note that the watch timer uses the sub clock regardless of the setting of the MCS bit or SCS bit in the CKSCR register. 36 DS07-13711-5E MB90420G/425G Series • Block Diagram TBTC TBC1 TBC0 TBR TBIE TBOF AND Q S R 211 213 216 218 TBTRES Main base oscillator divided by 2 Clock input Time base timer 211 213 216 218 Selector Time base interrupt WDTC WT1 Selector WT0 WTE WTC 2-bit counter OF CLR Watchdog reset generator circuit CLR To WDGRST internal reset generator circuit F2MC-16LX bus WDCS SCE WTC2 to WTC0 WTR WTIE WTOF AND S R SCM Power-on reset, sub-clock stop 28 29 210 211 212 213 214 216 WTRES 210 213 214 216 Q Selector Watch timer AND Q S R Clock input Sub base oscillator divided by 4 Watch interrupt WDTC PONR From power-on generator WRST ERST SRST RST pin From RST bit in LPMCR register DS07-13711-5E 37 MB90420G/425G Series 3. Input Capture This circuit is composed of a 16-bit free-run timer and four 16-bit input capture circuits. (1) Input capture ( × 4) The input capture circuits consist of four independent external input pins and corresponding capture registers and control registers. When the specified edge of the external signal input (at the input pin) is detected, the value of the 16-bit free-run timer is saved in the capture register, and at the same time an interrupt can also be generated. • The valid edge (rising edge, falling edge, both edges) of the external signal can be selected. • The four input capture circuits can operate independently. • The interrupt can be generated from the valid edge of the external input signal. (2) 16-bit free-run timer ( × 1) The 16-bit free-run timer is composed of a 16-bit up-counter, control register, 16-bit compare register, and prescaler. The output values from this counter are used as the base time for the input capture circuits. • The counter clock operation can be selected from 8 options. The eight internal clock settings are φ, φ/2, φ/4, φ/8, φ/16, φ/32, φ/64, φ/128 where φ represents the machine clock cycle. • Interrupts can be generated from overflow events, or from compare match events with the compare register. (Compare match operation requires a mode setting.) • The counter value can be initialized to “0000H” by a reset, soft clear, or a compare match with the compare register. (3) Block diagram interrupt #31 (1FH) IVF IVFE STOP MODE SCLR CLK2 CLK1 CLK0 φ Divider Clock 16-bit free-run timer 16-bit compare clear register F2MC-16LX bus Compare circuit MSI2 to MSI0 ICLR ICRE Interrupt #33 (21H) A/D startup Edge detection Capture data register 0/2 EG11 EG10 EG01 EG00 IN0/2 Capture data register 1/3 ICP0 ICP1 Edge detection ICE0 ICE1 IN1/3 Interrupt #19, #23 Interrupt #15, #21 38 DS07-13711-5E MB90420G/425G Series 4. 16-bit Reload Timer The 16-bit reload timer can either count down in synchronization with three types of internal clock signals in internal clock mode, or count down at the detection of the designated edge of an external signal. The user may select either function. This timer defines a transition from 0000H to FFFFH as an underflow event. Thus an underflow occurs when counting from the value [Reload register setting + 1]. A selection of two counter operating modes are available. In reload mode, the counter is reset to the count value and continues counting after an underflow, and in one-shot mode the count stops after an underflow. The counter can generate an interrupt when an underflow occurs, and is compatible with the expanded intelligent I/O services (EI2OS) . (1) 16-bit Reload timer operating modes Clock mode Counter mode Reload mode Internal clock mode Event count mode (external clock mode) (2) Internal clock mode One of three input clocks is selected as the count clock, and can be used in one of the following operations. • Soft trigger operation When “1” is written to the TRG bit in the timer control status register (TMCSR0/1) , the count operation starts.Trigger input at the TRG bit is normally valid with an external trigger input, as well as an external gate input. • External trigger operation Count operation starts when a selected edge (rising, falling, both edges) is input at the TIN0/1 pin. • External gate input operation Counting continues as long as the selected signal level (“L” or “H”) is input at the TIN0/1 pin. (3) Event count mode (External clock mode) In this mode a down count event occurs when a selected valid edge (rising, falling, both edges) is input at the TIN0/1 pin. This function can also be used as an interval timer when an external clock with a fixed period is used. (4) Counter operation • Reload mode In down count operation, when an underflow event (transition from “0000H” to “FFFFH”) occurs, the set count value is reloaded and count operation continues. The function can be used as an interval timer by generating an interrupt request at each underflow event. Also, a toggle waveform that inverts at each underflow can be output from the TOT0/1 pin. Counter clock Counter clock period Interval time 21/φ (0.125 µs) Internal clock External clock 2 /φ (0.5 µs) 3 16-bit reload timer operation Soft trigger operation External trigger operation External gate input operation Soft trigger operation One-shot mode Reload mode One-shot mode 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 greater 25/φ (2.0 µs) 23/φ or greater (0.5 µs) φ : Machine clock cycle. Figures in ( ) are values at machine clock frequency 16 MHz. DS07-13711-5E 39 MB90420G/425G Series (5) One-shot mode In down count operation, the count stops when an underflow event (transition from “0000H” to “FFFFH”) occurs. This function can generate an interrupt at each underflow. While the counter is operating, a rectangular wave form indicating that the count is in progress can be output form the TOT0 and TOT1 pins. (6) Block diagram Internal data bus TMRLR0 *1 16-bit reload register TMR0 *1 16-bit timer register (down counter) CLK Reload signal Reload control circuit UF Machine clock Prescaler 3 Gate input Valid clock decision circuit CLK Wait signal To UART 0,1*1 Pins P12/TIN0 *1 Input control circuit Clock selector External clock 2 Select signal Output signal generator Inverted circuit EN Pins P11/TOT0 *1 3 Function selection Operation control circuit ⎯ ⎯ ⎯ ⎯ CSL1 CSL0 WOD2 WOD1 WOD0 OUTE OUTL RELD INTE UF CNTE TRG Interrupt request signal #17 (11h)*2 Timer control status register (TNGSR0)*1 *1: Channel 0 and channel 1. Figures in < *2: Interrupt number > are for channel 1. 40 DS07-13711-5E MB90420G/425G Series 5. Real Time Watch Timer The real time watch timer is composed of a real time watch timer control register, sub second data register, second/minute/hour data registers, 1/2 clock divider, 21-bit prescaler and second/minute/hour counters. Because the MCU oscillation frequency operates on a given real time watch timer operation, a 4 MHz frequency is assumed. The real time watch timer operates as a real world timer and provides real world time information. • Block diagram OE WOT Main oscillator clock OE 1/2 clock divider EN 21-bit prescaler CO Sub second register UPDT ST Second CI EN counter LOAD 6-bit Minute counter CO 6-bit Second/minute/hour register CO Hour counter CO 5-bit INTE0 INT0 INTE1 INT1 INTE2 INT2 INTE3 INT3 IRQ#30 DS07-13711-5E 41 MB90420G/425G Series 6. PPG Timer The PPG timer consists of a prescaler, one 16-bit down-counter, 16-bit data register with buffer for period setting, and 16-bit compare register with buffer for duty setting, plus pin control circuits. The timer can output pulses synchronized with an externally input soft trigger. The period and duty of the output pulse can be adjusted by rewriting the values in the two 16-bit registers. (1) PWM function Programmable to output a pulse, synchronized with a trigger. Can also be used as a D/A converter with an external circuit. (2) One-shot function Detects the edge of a trigger input, and outputs a single pulse. (3) Pin control • Set to “1” at a duty match (priority) . • Reset to “0” at a counter borrow event • Has a fixed output mode to output a simple all “L” ( or “H”) signal. • Polarity can be specified (4) 16-bit down counter • Select from four types of counter operation clocks. Four internal clocks (φ, φ/4, φ/16, φ/64) cycles. • The counter value can be initialized to “FFFFH” at a reset or counter borrow event. (5) Interrupt requests • Timer startup • Counter borrow event (period match) • Duty match event • Counter borrow event (period match) or duty match event (6) Multiple channels can be set to start up at an external trigger, or to restart during operation. φ : Machine clock 42 DS07-13711-5E MB90420G/425G Series (7) Block diagram PCSR Prescaler 1/1 1/4 1/16 1/64 CK Load PDUT PCNT 16-bit down counter Start Borrow CMP PPG mask Machine clock S R Inversion bit Enable Trigger input P05/SCK1/TRG Interrupt selection Edge detection Soft trigger Interrupt IRQ#25, 27, 29 Q PPG output DS07-13711-5E 43 MB90420G/425G Series 7. Delayed Interrupt Generator Module The delayed interrupt generator module is a module that generates interrupts for task switching. This module makes it possible to use software to generate/cancel interrupt requests to the F2MC-16LX CPU. • Block diagram F2MC-16LX bus Delayed interrupt source generate/delete decoder Source latch 44 DS07-13711-5E MB90420G/425G Series 8. DTP/External Interrupt Circuit The DTP (Data transfer peripheral) /external interrupt circuit is located between an externally connected peripheral device and the F2MC-16LX CPU and sends interrupt requests or data transfer requests generated from the peripheral device to the CPU, thereby generating external interrupt requests or starting the expanded intelligent I/O services (EI2OS) . (1) DTP/external interrupt function The DTP/external interrupt function uses a signal input from the DTP/external interrupt pin as a startup source. And it is accepted by the CPU by the same procedure as a normal hardware interrupt, and can generate an external interrupt or start the expanded intelligent I/O service (EI2OS) . When the interrupt is accepted by the CPU, if the corresponding expanded intelligent I/O service (EI2OS) is prohibited the interrupt operates as an external interrupt function and branches to an interrupt routine. If the EI2OS is permitted the interrupt functions as a DTP function, using EI2OS for automatic data transfer, then branching to an interrupt routine after the completion of the specified number of data transfers. External interrupt Input pins DTP function 8 pins (P50/INT0/ADTG to P53/INT3, P00/SIN0/INT4 to P03/INT7) Request level setting register (ELVR) sets the detection level, or selected edge for each pin “H” level/ “L” level/ rising edge/falling edge input “H” level/ “L” level input Interrupt sources Interrupt numbers Interrupt control Interrupt flags Process selection Processing #16 (10H) , #18 (12H) , #20 (14H) , #22 (16H) , #24 (18H) , #26 (1AH) DTP/interrupt enable register (ENIR) permits/prohibits interrupt request output DTP/interrupt enable register (EIRR) stores interrupt sources When EI2OS prohibited (ICR : ISE = 0) Branch to external interrupt processing routine When EI2OS is enabled (ICR : ISE = 1) EI2OS performs automatic data transfer, then after a specified number of cycles, branches to an interrupt routine ICR : Interrupt control register DS07-13711-5E 45 MB90420G/425G Series (2) Block diagram Request level setting register (ELVR) LB7 LA7 LB6 LA6 LB5 LA5 LB4 LA4 LB3 LA3 LB2 LA2 LB1 LA1 LB0 LA0 Pin P03/INT7 Internal data bus Selector Selector Pin P50/INT0 Pin P02/INT6 Selector Selector Pin P51/INT1 Pin P01/INT5 Selector Selector Pin P52/INT2 Pin P00/INT4 Selector Selector Pin P53/INT3 ER7 ER6 ER5 ER4 ER3 ER2 ER1 ER0 Interrupt request number #16 (10H) #18 (12H) #20 (14H) #22 (16H) #24 (18H) #26 (1AH) EN7 EN6 EN5 EN4 EN3 EN2 EN1 EN0 46 DS07-13711-5E MB90420G/425G Series 9. 8/10-bit A/D Converter The 8/10-bit A/D converter has functions for using RC sequential comparator conversion format to convert analog input voltage into 10-bit or 8-bit digital values. The input signal is selected from 8-channel analog input pins, and the conversion start can be selected from three types : by software, 16-bit reload timer 1 or a trigger input from an external signal pin. (1) 8/10-bit A/D converter functions The A/D converter takes analog voltage signals (input voltage) input at analog input pins, and converts these to digital values, providing the following features. • Minimum conversion time is 6.13 µs (at machine clock frequency of 16 MHz, including sampling time) . • Minimum sampling time is 3.75 µs (at machine clock 16 MHz) • The conversion method is an RC sequential conversion in comparison with a sample hold circuit. • Either 10-bit or 8-bit resolution can be selected. • The analog input pin can select from 8 channels by a program setting. • At completion of A/D conversion, an interrupt request can be generated, or EI2OS can be started. • Because the conversion data protection function operates in an interrupt enabled state, no data is lost even in continuous conversion. • The conversion start source may be selected from : software, 16-bit reload timer 1 (rising edge) , or external trigger input (falling edge) . Three conversion modes are available Conversion mode Single conversion operation Single conversion mode Scan conversion operation Converts multiple consecutive channels (up Converts the specified channel (1 channel to 8 channels may be specified) one time, only) one time, then stops. then stops. Continuous conversion Converts the specified channel (1 channel Converts multiple consecutive channels (up mode only) repeatedly. to 8 channels may be specified) repeatedly. Converts multiple consecutive channels (up Converts the specified channel (1 channel to 8 channels may be specified) , however Stop conversion mode only) one time, then pauses, waits until pauses after conversion of each channel, the next start is applied. waits until the next start is applied. DS07-13711-5E 47 MB90420G/425G Series (2) Block diagram AVCC AVRH AVSS D/A converter MPX AN0 AN1 AN2 AN3 AN4 AN5 AN6 AN7 Input circuit Sequential comparator register Comparator F2MC-16LX bus Sample & hold circuit Decoder A/D data register ADCRH, L A/D control status register, high A/D control status register, low 16-bit reload timer 1 Timer start Trigger start ADCSH, L Operating clock Prescaler P50/ADTG φ 48 DS07-13711-5E MB90420G/425G Series 10. UART The UART is a general purpose serial data communication interface for synchronous communication, or asynchronous (start-stop synchronized) communication with external devices. Functions include normal bi-directional functions, as well as master/slave type communication functions (multi-processor mode : master side only supported) . (1) UART Functions The UART is a general purpose serial data communication interface for sending and receiving of serial data with other CPU’s or peripheral devices, and provides the following functions. Functions Data buffer Transfer modes Full duplex double buffer • Clock synchronous (no start/stop bits) • Clock asynchronous (start-stop synchronized) • Exclusive baud rate generator provides a selection of 8 rates • External clock input enabled • Internal clock (can use internal clock feed from 16-bit reload timer) • 7-bit (asynchronous normal mode only) • 8-bit NRZ (Non return to zero) • Framing errors • Overrun errors • Parity errors (not enabled in multiprocessor mode) • Receiving interrupt (receiving completed, receiving error detection) • Sending interrupt (sending completed) • Sending/receiving both compatible with expanded intelligent I/O services (EI2OS) 1 (master) -to-n (slave) communication enabled (only master side supported) . Baud rate Data length Signal type Receiving error detection Interrupt request Master/slave type communication function (multi-processor mode) Note : The UART in clock synchronous transfer does not add start bits or stop bits, but transfers data only. Data length No parity 8+1* 8 1 Operating mode 0 1 2 Normal mode Multi-processor mode Normal mode Parity ⎯ ⎯ Synchronization Asynchronous Asynchronous Synchronous Stop bit length 1-bit or 2-bit *2 None 7-bit or 8-bit ⎯ : Setting not available *1 : “+ ” indicates an address/data selection bit (A/D) for communication control. *2 : In receiving only one stop bit is detected. DS07-13711-5E 49 MB90420G/425G Series (2) Block diagram Control bus Exclusive baud rate generator Communication prescaler Control register (CDCR) Receiving interrupt signals #39 (27H) * Sending interrupt signals #40 (28H) * Machine clock Sending clock Clock selector Receiving clock 16-bit reload timer Pins P02/SCK0 Receiving control circuit Sending control circuit Sending start circuit Sending bit counter Sending parity counter Start bit detection circuit Receiving bit counter Receiving parity counter Pin P01/SOT0 Pins P00/SIN0 Receiving shift register Receiving end Sending shift register Sending start SODR0/1 SIDR0/1 Receiving status judging circuit EI2OS receiving error generator circuit (to CPU) Internal data bus SMR0/1 register MD1 MD0 CS2 CS1 CS0 SCKE SOE SCR0/1 register PEN P SBL CL A/D REC RXE TXE SSR0/1 register PE ORE FRE RDRF TDRE BOS RIE TIE *: Interrupt number 50 DS07-13711-5E MB90420G/425G Series 11. CAN Controller The CAN controller is a self-contained module within a 16-bit microcomputer (F2MC-16LX) . The CAN (controller area network) controller is the standard protocol for serial transmissions among automotive controllers and is widely used in the industry. (1) CAN controller features The CAN controller has the following features. • Conforms to CAN specifications version 2.0 A and B. Supports sending and receiving in standard frame and expanded frame format. • Supports data frame sending by means of remote frame receiving. • 16 sending/receiving message buffers 29-bit ID and 8-byte data Multi-level message buffer configuration • Supports full bit compare, full bit mask as well as partial bet mask filtering. Provides two receiving mask registers for either standard frame or expanded frame format. • Bit speed programmable from 10 KB/s to 1 MB/s (at machine clock 16 MHz) • CAN WAKE UP function • The MB90420G series has a two-channel built-in CAN controller. The MB90425G series has a 1-channel builtin CAN controller. DS07-13711-5E 51 MB90420G/425G Series (2) Block diagram F2MC-16LX bus Machine clock PSC PR PH RSJ TOE TS RS CSR HALT NIE NT NS1,0 BTR RTEC BVALR TREQR TBFx clear Send buffer decision TBFX Data counter Prescaler 1-to-64 frequency divider Bit timing generator TQ (operating clock) SYNC, TSEG1, TSEG2 Node status change interrupt generator Node status change interrupt Error control Send/receive sequencer Receiving filter control Bus state machine IDLE, SUSPND, TX, RX, ERR, OVRLD Error frame generator Overload frame generator ARBLOST Output driver TX TBFX TCANR TRTRR RFWTR TCR TIER RCR RIER RRTRR ROVRR AMSR AMR0 AMR1 IDR0 ~ 15, DLCR0 ~ 15, DTR0 ~ 15, RAM LEIR 0 1 TBFx, set, clear Sending completed interrupt generator RBFx, set Receiving completed interrupt generator RBFx, TBFx, set clear RBFx set IDSEL Receiving completed interrupt Sending completed interrupt TDLC RDLC IDSEL BITER, STFER, CRCER, FRMER, ACKER Send shift register Stuffing CRC ACK TDLC generator generator CRCER RDLC CRC generator error check STFER Receiving shift register Destuffing/ stuffing error check Arbitration check Bit error check Acknowledge error check Form error check ARBLOST BITER ACKER FRMER Receiving filter Receiving bufferx decision RBFX PH1 Input latch RX RAM address generator RBFX, TBFX, RDLC, TDLC, IDSEL 52 DS07-13711-5E MB90420G/425G Series 12. LCD Controller/Driver The LCD controller/driver has a built-in 16 × 8-bit display data memory, and controls the LCD display by means of four common outputs and 24 segment outputs. A selection of three duty outputs are available. This block can drive an LCD (liquid crystal display) panel directly. (1) LCD controller/driver functions The LCD controller/driver provides functions for directly displaying the contents of display data memory (display RAM) on the LCD panel by means of segment output and common output. • LCD drive voltage divider resistance is built-in. External divider resistance can also be connected. • Up to 4 common outputs (COM0 to COM3) and 24 segment outputs (SEG0 to SEG23) can be used. • 16-byte display data memory (display RAM) is built-in. • The duty can be selected at 1/2, 1/3, 1/4 (limited by bias setting) . • Drives the LCD directly. Bias 1/2 bias 1/3 bias : Recommended mode × : Use prohibited Note : When the SEG12 to SEG23 pins have been selected as general purpose ports by the LCRH setting, they cannot be used for segment output. × 1/2 duty 1/3 duty × 1/4 duty × DS07-13711-5E 53 MB90420G/425G Series (2) Block diagram V0 V1 V2 V3 LCDC control register Low (LCRL) Divider resistance 4 Time base timer output Internal data bus Prescaler Timing controller AC circuit Common driver COM0 COM1 COM2 COM3 24 Display RAM, 16 × 8 bits Segment driver SEG0 SEG1 SEG2 SEG3 SEG4 ∼ SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 LCDC control register High (LCRH) Controller Driver 54 DS07-13711-5E MB90420G/425G Series 13. Low voltage/Program Looping Detection Reset Circuit The Low voltage detection reset circuit is a function that monitors power supply voltage in order to detect when a voltage drops below a given voltage level. When a low voltage condition is detected, an internal reset signal is generated. The Program Looping detection reset circuit is a count clock with a 20-bit counter that generates an internal reset signal if not cleared within a given time after startup. (1) Low voltage detection reset circuit Detection voltage 4.0 V ± 0.3 V When a low voltage condition is detected, the low voltage detection flag (LVRC : LVRF) is set to “1” and an internal reset signal is output. Because the low voltage detection circuit continues to operate even in stop mode, detection of a low voltage condition generates an internal reset and releases stop mode. During an internal RAM write cycle, an internal reset is generated after the completion of writing. During the output of this internal reset, the reset output from the low voltage detection circuit is suppressed. (2) Program Looping detection reset circuit The Program Looping detection reset circuit is a counter that prevents program looping. The counter starts automatically after a power-on reset, and must be continually cleared within a given time. If the given time interval elapses and the counter has not been cleared, a cause such as infinite program looping is assumed and an internal reset signal is generated. The internal reset generated form the Program Looping detection circuit has a width of 5 machine cycles. Interval duration 220/FC (Approx. 262 ms *) * : This value assumes an oscillation clock waveform of 4 MHz. During recovery from standby mode the detection period is the maximum interval plus 20 µs. This circuit does not operate in modes where CPU operation is stopped. The Program Looping detection reset circuit counter is cleared under any of the following conditions. 1. Writing “0” to the LVRC register CL bit 2. Internal reset 3. Main oscillation clock stop 4. Transition to sleep mode 5. Transition to time base timer mode or watch mode DS07-13711-5E 55 MB90420G/425G Series (3) Block diagram Voltage comparator circuit VCC − + VSS Program Looping detection circuit Main oscillation clock Constant voltage source Internal reset Counter Over flow Clear Noise canceller Reserved Reserved Reserved Reserved CL LVRF Reserved CPUF Low voltage/CPU operation detection reset control register (LVRC) Internal data bus 56 DS07-13711-5E MB90420G/425G Series 14. Stepping Motor Controller The stepping motor controller is composed of two PWM pulse generators, four motor drivers and selector logic circuits. The four motor drivers have a high output drive capacity and can be directly connected to the four ends of two motor coils. They are designed to operate together with the PWM pulse generators and selector logic circuits to control motor rotation. A synchronization mechanism assures synchronization of the two PWM pulse generators. • Block diagram Machine clock OE1 CK PWM1 pulse generator EN P1 P0 PWM Selector PWM1Mn Output enable Prescaler PWM1Pn PWM1 compare register PWM1 selector register OE2 CK SC PWM2 pulse generator CE EN PWM Load PWM2 compare register BS PWM2 select register Selector Output enable PWM2Pn PWM2Mn n:0~3 DS07-13711-5E 57 MB90420G/425G Series 15. Sound Generator The sound generator is composed of a sound control register, frequency data register, amplitude data register, decrement grade register, tone count register, PWM pulse generator, frequency counter, decrement counter, and tone pulse counter. • Block diagram Clock input Prescaler S1 S0 8-bit PWM pulse generator CO EN PWM Reload CI Frequency counter CO EN Reload Frequency data register DEC Toggle flip-flop D EN Q 1/d Amplitude data register DEC Decrement counter CI CO EN OE1 SGA OE1 Decrement grade register Blend SGO OE2 Tone pulse counter TONE CI CO EN OE2 Tone count register INTE INT ST IRQ#34 58 DS07-13711-5E MB90420G/425G Series 16. Address Match Detect Function If the address setting is the same as the address detection register, an INT9 instruction is executed. The integrated address match detection function can be implemented by processing the INT9 interrupt service routine. Two address registers are used, each with its own compare enable bit. When there is a match between the address register and program counter, and the compare enable bit is set to “1” , the INT9 instruction is forcibly executed by the CPU. • Block diagram Address detection register Enable bit Compare Address latch F2MC-16LX CPU core F2MC-16LX bus DS07-13711-5E 59 MB90420G/425G Series 17. ROM Mirror Function Select Module The ROM mirror function select module uses a select register setting to enable the contents of ROM allocated to the FF bank to be viewed in the 00 bank. • Block diagram F2MC-16LX bus ROM mirror function select register Address area FF bank 00 bank ROM 60 DS07-13711-5E MB90420G/425G Series ■ ELECTRICAL CHARACTERISTICS 1. Absolute Maximum Ratings Parameter Symbol VCC Power supply voltage*1 AVCC AVRH DVCC Input voltage*1 Output voltage* 1 Rating Min VSS − 0.3 VSS − 0.3 VSS − 0.3 VSS − 0.3 VSS − 0.3 VSS − 0.3 − 400 ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ Max VSS + 6.0 VSS + 6.0 VSS + 6.0 VSS + 6.0 VCC + 0.3 VCC + 0.3 + 400 4 15 40 4 30 100 330 50 250 − 15 − 40 −4 − 30 − 100 − 330 − 50 − 250 500 + 105 + 150 Unit V V V V V V µA mA mA mA mA mA mA mA mA mA mA mA mA mA mA mA mA mA mW °C °C *7 *7 AVCC = VCC*2 Remarks AVCC ≥ AVRH*2 DVCC = VCC*2 *3 VI VO ICLAMP IOL1 IOL2 IOLAV1 IOLAV2 Σ IOL1 Σ IOL2 Σ IOLAV1 Σ IOLAV2 I I I I OH1 4 Maximum clamp current “L”level maximum output current*4 “L”level average output current*5 “L”level maximum total output current “L”level average total output current “H”level maximum output current “H”level average output current “H”level maximum total output current “H”level average total output current Power consumption Operating temperature Storage temperature Total maximum clamp current Σ | ICLAMP | Other than P70 to P77, and P80 to P87 P70 to P77, P80 to P87 Other than P70 to P77, and P80 to P87 P70 to P77, P80 to P87 Other than P70 to P77, and P80 to P87 P70 to P77, P80 to P87 Other than P70 to P77, and P80 to P87 P70 to P77, P80 to P87 Other than P70 to P77, and P80 to P87 P70 to P77, P80 to P87 Other than P70 to P77, and P80 to P87 P70 to P77, P80 to P87 Other than P70 to P77, and P80 to P87 P70 to P77, and P80 to P87 Other than P70 to P77, and P80 to P87 P70 to P77, P80 to P87 * * OH2 4 OHAV1 5 * * OHAV2 5 Σ IOH1 Σ IOH2 ΣI ΣI OHAV1 6 * * ⎯ ⎯ ⎯ − 40 − 55 OHAV2 6 PD TA TSTG *1 : The parameter is based on VSS = AVSS = DVSS = 0.0 V. *2 : AVCC, AVRH and DVCC shall never exceed VCC. Also, AVRH shall never exceed AVCC. *3 : The maximum current to/from and input is limited by some means with extenal components, the ICLAMP rating supersedes the VI rating. *4 : Maximum output current is defined as the peak value of the current of any one of the corresponding pins. *5 : Average output current is defined as the value of the average current flowing over 100 ms at any one of the corresponding pins. The “average value” can be calculated from the formula of “operating current” times “operating factor”. (Continued) DS07-13711-5E 61 MB90420G/425G Series (Continued) *6 : Average total output current is defined as the value of the average current flowing over 100 ms at all of the corresponding pins. The “average value” can be calculated from the formula of “operating current” times “ operating factor”. *7 : • Applicable to pins : P00 to P07, P10 to P15, P50 to P57, P70 to P77, P80 to P87 • Use within recommended operating conditions. • Use at DC voltage (current) . • The + B signal should always be applied with a limiting resistance placed between the + B signal and the microcontroller. • The value of the limiting resistance should be set so that when the + B signal is applied the input current to the microcontroller pin does not exceed rated values, either instantaneously or for prolonged periods. • Note that when the microcontroller drive current is low, such as in the power saving modes, the + B input potential may pass through the protective diode and increase the potential at the VCC pin, and this may affect other devices. • Note that if a + B signal is input when the microcontroller current is off (not fixed at 0 V) , the power supply is provided from the pins, so that incomplete operation may result. • Note that if the + B input is applied during power-on, the power supply is provided from the pins and the resulting supply voltage may not be sufficient to operate the power-on reset. • Care must be taken not to leave the + B input pin open. • Note that analog system input/output pins (LCD drive pins, comparator input pins, etc.) cannot accept + B signal input. • Sample recommended circuits : • Input/Output equivalent circuits Protective diode VCC Limiting resistance + B input (0 V to 16 V) P-ch N-ch R 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. 62 DS07-13711-5E MB90420G/425G Series 2. Recommended Operating Conditions (VSS = DVSS = AVSS = 0.0 V) Parameter Symbol Value Min Max Unit Remarks (MB90F428GA, MB90F423GA, MB90428GA, MB90427GA, MB90423GA) Low voltage detection reset starts to work when power supply voltage is 4.0 V ± 0.3 V. (MB90F428GC, MB90F423GC, MB90428GC, MB90427GC, MB90423GC) Holding stop operation status (MB90F428GA, MB90F423GA, MB90428GA, MB90427GA, MB90423GA) Holding stop operation status (MB90F428GC, MB90F423GC, MB90428GC, MB90427GC, MB90423GC) Use a ceramic capacitor or other capacitor of equivalent frequency characteristics. A bypass capacitor on the VCC pin should have a capacitance greater than Cs. 3.7 5.5 V Power supply voltage VCC AVCC DVCC 3.0 5.5 V 4.3 5.5 V 3.0 5.5 V Smoothing capacitor* Operating temperature CS 0.1 − 40 1.0 + 105 µF °C TA * : For smoothing capacitor Cs connections, see the illustration below. • C pin connection C CS VSS DVSS AVSS 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-13711-5E 63 MB90420G/425G Series 3. DC Characteristics (VCC = 5.0 V±10%, VSS = DVSS = AVSS = 0.0 V, TA = − 40 °C to + 105 °C) Value Pin Conditions Unit Remarks Parameter Symbol name Min Typ Max CMOS hysteresis ⎯ VIHS ⎯ 0.8 VCC ⎯ VCC + 0.3 V Automotive level “H”level input pin*1 input voltage ⎯ VCC − 0.3 ⎯ VCC + 0.3 V MD pin*2 VIHM ⎯ CMOS hysteresis ⎯ VSS − 0.3 ⎯ VILS ⎯ 0.5 VCC V Automotive level “L”level input pin*1 input voltage ⎯ VSS − 0.3 ⎯ VSS + 0.3 V MD pin*2 VILM ⎯ MB90F428GA/GC ⎯ 45 72 mA MB90F423GA/GC Operating frequency FCP = 16 MHz, ICC MB90428GA/GC normal operation ⎯ 38 61 mA MB90427GA/GC MB90423GA/GC MB90F428GA/GC ⎯ 15 24 mA MB90F423GA/GC Operating frequency ICCS FCP = 16 MHz, MB90428GA/GC sleep mode ⎯ 13 21 mA MB90427GA/GC MB90423GA/GC Operating frequency FCP = 2 MHz, ⎯ 0.75 1.0 mA ICTS time base timer mode MB90F428GC Operating frequency MB90F423GC FCP = 8 kHz, TA = + 25 °C, ⎯ 0.35 0.7 mA MB90428GC ICCL subclock operation MB90427GC MB90423GC Power supply MB90F428GC VCC Operating frequency current*3 MB90F423GC FCP = 8 kHz, TA = + 25 °C, ICCLS ⎯ 10 30 µA MB90428GC sub sleep operation MB90427GC MB90423GC MB90F428GC Operating frequency MB90F423GC FCP = 8 kHz, TA = + 25 °C, ⎯ 40 100 µA MB90428GC ICCT watch mode MB90427GC MB90423GC MB90F428GC MB90F423GC ⎯ 5 20 µA MB90428GC MB90427GC MB90423GC TA = + 25 °C, ICCH stop mode MB90F428GA MB90F423GA ⎯ 40 100 µA MB90428GA MB90427GA MB90423GA (Continued) 64 DS07-13711-5E MB90420G/425G Series (VCC = 5.0 V±10%, VSS = DVSS = AVSS = 0.0 V, TA = − 40 °C to + 105 °C) Parameter Input leakage current Sym bol IIL Pin name All input pins Other than Vcc, Vss, DVcc, DVss, Avcc, Avss, C, P70 to P77, P80 to P87 P70 to P77, P80 to P87 RST, MD0, MD1 Conditions VCC = DVCC = AVCC = 5.5 V VSS < VI < VCC Value Min −5 Typ ⎯ Max 5 Unit µA Remarks Input capacitance 1 CIN1 ⎯ ⎯ 5 15 pF Input capacitance 2 Pull-up resistance Pull-down resistance Output H voltage 1 Output H voltage 2 Output L voltage 1 Output L voltage 2 CIN2 RUP ⎯ ⎯ ⎯ VCC = 4.5 V IOH = −4.0 mA VCC = 4.5 V IOH = −30.0 mA VCC = 4.5 V IOL = 4.0 mA VCC = 4.5 V IOL = 30.0 mA VCC = 4.5 V IOH = 30.0 mA VOH2 maximum variation ⎯ 25 25 VCC − 0.5 VCC − 0.5 ⎯ ⎯ 15 50 50 ⎯ ⎯ ⎯ ⎯ 45 100 100 ⎯ ⎯ 0.4 pF kΩ kΩ V RDOWN MD2 Other than P70 to P77, P80 to P87 P70 to P77, P80 to P87 Other than P70 to P77, P80 to P87 P70 to P77, P80 to P87 VOH1 VOH2 V VOL1 V VOL2 0.55 V PWM1Pn, Large current PWM1Mn, output drive ∆VOH2 PWM2Pn, capacity PWM2Mn, variation 1 n = 0 to 3 Large current output drive capacity variation 2 LCD internal divider resistance PWM1Pn, PWM1Mn, PWM2Pn, PWM2Mn, n = 0 to 3 V0 to V1, V1 to V2, V2 to V3 0 ⎯ 90 mV *4 ∆VOL2 VCC = 4.5 V IOH = 30.0 mA VOL2 maximum variation 0 ⎯ 90 mV *4 RLCD ⎯ 50 100 200 kΩ (Continued) DS07-13711-5E 65 MB90420G/425G Series (Continued) (VCC = 5.0 V±10%, VSS = DVSS = AVSS = 0.0 V, TA = − 40 °C to + 105 °C) Symbol Parameter COM0 to COM3 output impedance SEG0 to SEG3 output impedance Pin name Conditions Value Min ⎯ Typ ⎯ Max Unit Remarks RVCOM COMn (n = 0 to 3) ⎯ 2.5 kΩ RVSEG SEGn (n = 00 to 23) V0 to V3 COMm (m = 0 to 3) SEGn (n = 00 to 23) ⎯ ⎯ ⎯ 15 kΩ LCD leakage current ILCDC ⎯ − 5.0 ⎯ + 5.0 µA *1 : All input pins except X0, X0A, MD0, MD1, MD2 pins. *2 : MD0, MD1, MD2 pins. *3 : Supply current values assume external clock feed from the X1 pin and X1A pin. Users must be aware that supply current levels differ depending on whether an external clock or oscillator is used. *4 : Defined as maximum variation in VOH2/VOL2 with all channel 0 PWM1P0/PWM1M0/PWM2P0/PWM2M0 simultaneously ON. Similarly for other channels. 66 DS07-13711-5E MB90420G/425G Series 4. AC Characteristics (1) Clock timing Parameter Base oscillation clock frequency Base oscillation clock cycle time Input clock pulse width Input clock rise, fall time Input operating clock frequency Input operating clock cycle time Symbol FC FLC tCYL tLCYL PWH, PWL PWLH, PWLL tcr, tcf FCP FLCP tCP tLCP (VCC = 5.0 V±10%, VSS = DVSS = AVSS = 0.0 V, TA = − 40 °C to + 105 °C) Pin name X0, X1 X0A, X1A X0, X1 X0A, X1A X0 X0A ⎯ X0, X0A ⎯ ⎯ ⎯ ⎯ Conditions Value Min ⎯ ⎯ ⎯ ⎯ 10 ⎯ ⎯ 2 ⎯ 62.5 ⎯ Typ 4 32.768 250 30.5 ⎯ 15.2 ⎯ ⎯ 8.192 — 122.1 Max ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ 5 16 ⎯ 500 ⎯ Unit MHz kHz ns µs ns µs ns MHz With external clock signal Using main clock, PLL clock Using main clock, PLL clock Using sub clock Use duty ratio of 40 to 60% as a guideline Remarks kHz Using sub clock ns µs • X0 clock timing tCYL X0 PWH tcf PWL tcr 0.8 VCC 0.2 VCC • X0A clock timing tLCYL X0A PWLH tcf PWLL tcr 0.8 VCC 0.2 VCC DS07-13711-5E 67 MB90420G/425G Series • Range of warranted operation Relation between internal operating clock frequency and supply voltage MB90F428GA, MB90F423GA, MB90428GA, MB90427GA, MB90423GA range of warranted operation 5.5 4.5 MB90V420G range of warranted operation Supply voltage VCC (V) 3.7 3.3 3.0 PLL range of warranted operation MB90F428GC, MB90F423GC, MB90428GC, MB90427GC, MB90423GC range of warranted operation 2 8 12 16 Internal clock frequency fCP (MHz) The MB90F428GA, MB90F423GA, MB90428GA, MB90427GA, and MB90423GA enter reset mode at supply voltage below 4 V ± 0.3 V. Relation between oscillator clock frequency and internal operating clock frequency Internal operating clock frequency PLL clock Main clock Multiplier ×1 Oscillation clock frequency 4 MHz 2 MHz ⎯ Multiplier ×2 8 MHz Multiplier ×3 12 MHz Multiplier ×4 16 MHz • Sample oscillator circuit Oscillator element manufacturer Oscillator Frequency 4 MHz C1 39 [pF] (Typ) C2 39 [pF] (Typ) Murata Manufacturing Co., Ltd. CSTCR4M00G15 ( ) A-R0 MB90F428A X0 X1 CERALOCK ® C1 C2 68 DS07-13711-5E MB90420G/425G Series AC ratings are defined for the following measurement reference voltage values: • Input signal waveform Hysteresis input pin 0.8 VCC 0.5 VCC • Output signal waveform Output pin 2.4 V 0.8 V DS07-13711-5E 69 MB90420G/425G Series (2) Reset input (VCC = 5.0 V±10%, VSS = AVSS = 0.0 V, TA = − 40 °C to + 105 °C) Parameter Symbol Pin name Conditions Value Min 16 tCP Reset input time tRSTL RST ⎯ Oscillator oscillation time* + 16 tCP Max ⎯ ⎯ Unit ns Remarks In normal operation In stop mode, sub clock mode, sub sleep mode, watch mode ms *: Oscillator oscillation time is the time to reach 90% amplitude. For a crystal oscillator, this is a few to several hundred ms; for a FAR/ceramic oscillator, this is several hundred ms to a few ms, and for an external clock this is 100 µs. Note : tCP : See “ (1) Clock input timing”. • Under normal operation tRSTL RST 0.5 VCC 0.5 VCC • In stop mode, sub clock mode, sub sleep mode, watch mode tRSTL RST 0.5 Vcc 90 % of amplitude 0.5 Vcc X0 Internal operation clock Oscillator oscillation time 16 tcp Oscillator stabilization wait time Execution of the instruction Internal reset 70 DS07-13711-5E MB90420G/425G Series (3) Power-on reset, power on conditions (VSS = 0.0 V, TA = 40 °C to + 105 °C) Parameter Power supply rise time Power supply start voltage Power supply attained voltage Power supply cutoff time Symbol Pin Conditions name Value Min 0.05 ⎯ 2.7 50 Max 30 0.2 ⎯ ⎯ Unit ms V V ms Remarks tR VOFF VON tOFF VCC ⎯ For repeat operation tR VCC 2.7 V 0.2 V 0.2 V tOFF 0.2 V Extreme variations in voltage supply may activate a power-on reset. As the illustration below shows, when varying supply voltage during operation the use of a smooth voltage rise with suppressed fluctuation is recommended. Also in this situation, the PLL clock on the device should not be used, however it is permissible to use the PLL clock during a voltage drop of 1V/s or less. 5.0 V 3.0 V 0V VCC A rise slope of 50 mV or less is recommended VSS RAM data hold DS07-13711-5E 71 MB90420G/425G Series (4) UART0, UART1 timing (VCC = 5.0 V±10%, VSS = AVSS = 0.0 V, TA = − 40 °C to + 105 °C) Parameter Serial clock cycle time SCK fall to SOT delay time Valid SIN to SCK rise SCK rise to valid SIN hold time Serial clock “H” pulse width Serial clock “L” pulse width SCK fall to SOT delay time Valid SIN to SCK rise SCK rise to valid SIN hold time Symbol Pin name SCK0, SCK1 SCK0, SCK1 SOT0, SOT1 SCK0, SCK1 SIN0, SIN1 SCK0, SCK1 SCK0, SCK1 SOT0, SOT1 SCK0, SCK1 SIN0, SIN1 Conditions Value Min 8 tCP Max ⎯ 80 ⎯ ⎯ ⎯ ⎯ 150 ⎯ ⎯ Unit ns ns ns ns ns ns ns ns ns Remarks tSCYC tSLOV tIVSH tSHIX tSHSL tSLSH tSLOV tIVSH tSHIX ⎯ − 80 100 60 4 tCP 4 tCP Internal shift clock mode output pin CL = 80 pF + 1•TTL ⎯ ⎯ 60 60 External shift clock mode output pin CL = 80 pF + 1•TTL Notes : • AC ratings are for CLK synchronous mode. • CL is load capacitance connected to pin during testing. • tCP : See “ (1) Clock timing”. • 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.5 VCC SIN 0.5 VCC • External shift clock mode SCK 0.5 VCC tSLOV 2.4 V tSLSH 0.5 VCC tSHSL 0.8 VCC 0.8 VCC SOT 0.8 V tIVSH 0.8 VCC tSHIX 0.8 VCC 0.5 VCC SIN 0.5 VCC 72 DS07-13711-5E MB90420G/425G Series (5) Timer input timing (VCC = 5.0 V±10%, VSS = AVSS = 0.0 V, TA = − 40 °C to + 105 °C) Parameter Symbol tTIWH tTIWL Pin name TIN0, TIN1, IN0, IN1, IN2, IN3, Conditions Value Min 4 tCP Max ⎯ Unit Remarks Input pulse width ⎯ ns Note : tCP : See “ (1) Clock timing”. • Timer input timing tTIWH tTIWL TIN0 ∼ TIN1 IN0 ∼ IN3 0.8 VCC 0.8 VCC 0.5 VCC 0.5 VCC (6) Trigger input timing (VCC = 5.0 V±10%, VSS = AVSS = 0.0 V, TA = − 40 °C to + 105 °C) Parameter Input pulse width Symbol tTRGH, tTRGL Pin name INT0 to INT7 Conditions ⎯ Value Min 5 tCP 1 Max ⎯ ⎯ Unit ns µs Remarks Under normal operation In stop mode Note : tCP : See “ (1) Clock timing”. • Trigger input timing tTRGH tTRGL INT0 ∼ INT7 0.8 VCC 0.8 VCC 0.5 VCC 0.5 VCC DS07-13711-5E 73 MB90420G/425G Series (7) Low voltage detection (VSS = AVSS = 0.0 V, TA = − 40 °C to + 105 °C) Parameter Detection voltage Hysteresis width Power supply voltage fluctuation ratio Detection delay time Symbol Pin name Conditions Value Min 3.7 0.1 − 0.1 ⎯ Typ 4.0 ⎯ ⎯ ⎯ Max 4.3 ⎯ 0.02 35 Unit V V V/µs µs Remarks During voltage drop During voltage rise VDL VHYS dV/dt td VCC VCC VCC ⎯ ⎯ ⎯ ⎯ ⎯ Internal reset VCC dV dt VDL VHYS td td 74 DS07-13711-5E MB90420G/425G Series 5. A/D Conversion Block (1) Electrical Characteristics (VCC = AVCC = 5.0 V±10%, VSS = AVSS = 0.0 V, TA = − 40 °C to + 105 °C) Parameter Resolution Total error Non-linear error Differential linear error Zero transition voltage Full scale transition voltage Sampling time Compare time A/D conversion time Analog port input current Analog input current Reference voltage Power supply current Reference voltage feed current Inter-channel variation Symbol ⎯ ⎯ ⎯ ⎯ VOT VFST tSMP tCMP tCNV IAIN VAIN AVR+ IA IAH IR IRH — Pin name ⎯ ⎯ ⎯ ⎯ AN0 to AN7 AN0 to AN7 ⎯ ⎯ ⎯ AN0 to AN7 AN0 to AN7 AVRH AVCC AVRH AVRH AN0 to AN7 Value Min ⎯ ⎯ ⎯ ⎯ Typ ⎯ ⎯ ⎯ ⎯ Max 10 ±5.0 ±2.5 ±1.9 Unit bit LSB LSB LSB V V µs µs µs µA V V mA µA µA µA LSB *4 VAVRH = 5.0 V *4 1 LSB = (AVRH − AVSS) / 1024 *1 *2 *3 VAVSS = VAIN = VAVCC Remarks AVSS AVSS AVSS − 3.5 LSB + 0.5 LSB + 4.5 LSB AVRH AVRH AVRH − 6.5 LSB − 1.5 LSB + 1.5 LSB 2.000 4.125 6.125 ⎯ 0 3.0 ⎯ ⎯ 50 ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ 2.3 ⎯ 180 ⎯ ⎯ ⎯ ⎯ ⎯ 10 AVRH AVCC 6.0 5 260 5 4 *1 : At FCP = 16 MHz, tSMP = 32 × tCP = 2.000 (µs) . *2 : At FCP = 16 MHz, tCMP = 66 × tCP = 4.125 (µs) . *3 : Equivalent to conversion time per channel at FCP = 16 MHz, and selection of tSMP = 32 × tCP and tCMP = 66 × tCP. *4 : Defined as supply current (when VCC = AVCC = AVRH = 5.0 V) with A/D converter not operating, and CPU in stop mode. DS07-13711-5E 75 MB90420G/425G Series • Notes of the external impedance of the analog input and its sampling time • A/D converter with sample and hold circuit. If the external impedance is too high to keep sufficient sampling time, the analog voltage charged to the internal sample and hold capacitor is insufficient, adversely affecting A/D conversion presicion. • Analog input circuit model R Analog input Comparator C During sampling : ON MB90420GA/420GC MB90F420GA/F420GC MB90V420G Note : The values are reference values. • To satisfy the A/D conversion precision standard, consider the relationship between the external impedance and minimum sampling time and either adjust the resistor value and operating frequency or decrease the external impedance so that the sampling time is longer than the minimum value. • The relationship between the external impedance and minimum sampling time R 2.4 kΩ (Max) 2.6 kΩ (Max) 3.2 kΩ (Max) C 36.4 pF (Max) 28.0 pF (Max) 30.0 pF (Max) (External impedance = 0 kΩ to 100 kΩ) 100 90 80 70 60 50 40 30 20 10 0 0 MB90V420G (External impedance = 0 kΩ to 20 kΩ) MB90V420G 20 18 16 14 12 10 8 6 4 2 0 0 External impedance [kΩ] External impedance [kΩ] MB90F420GA/ F420GC MB90420GA/ 420GC MB90F420GA/ F420GC MB90420GA/ 420GC 5 10 15 20 25 30 35 1 2 3 4 5 6 7 8 Minimum sampling time [µs] Minimum sampling time [µs] • If the sampling time cannot be sufficient, connect a capacitor of about 0.1 µF to the analog input pin. • About errors As |AVRH| becomes smaller, values of relative errors grow larger. 76 DS07-13711-5E MB90420G/425G Series (2) Definition of terms • Resolution Indicates the ability of the A/D converter to discriminate in analog conversion. 10-bit resolution indicates that analog voltage can be resolved into 210 = 1024 levels. • Total error Expresses the difference between actual and logical values. It is the total value of errors that can come from offset error, gain error, non-linearity error and noise. • Linearity error Expresses the deviation between actual conversion characteristics and a straight line connecting the device’s zero transition point (00 0000 0000 ←→ 00 0000 0001) and full scale transition point (11 1111 1110 ←→ 11 1111 1111) . • Differential linearity error Expresses the deviation of the logical value of input voltage required to create a variation of 1 LSB in output code. • 10-bit A/D converter conversion characteristics 11 11 11 11 1111 1111 1111 1111 . . . . . 1111 1110 1101 1100 1 LSB × N + VOT Digital output . . . . . . . . 00 00 00 00 0000 0000 0000 0000 0011 0010 0001 0000 VOT VNT V(N + 1)T Analog input 1 LSB = VFST − VOT 1022 Linearity error = Differential linearity error = VNT − (1 LSB × N + VOT) [LSB] 1 LSB V (N + 1) T − VNT − 1 [LSB] 1 LSB VFST Linearity error DS07-13711-5E 77 MB90420G/425G Series 6. Flash Memory Program and Erase Performances Parameter Sector erase time Chip erase time Word (16 bit width) programming time Erase/Program cycle Flash data retention time TA = + 25 °C VCC = 5.0 V ⎯ Average TA = + 85 °C Conditions Value Min ⎯ ⎯ ⎯ 10,000 10 Typ 1 5 16 ⎯ ⎯ Max 15 ⎯ 3,600 ⎯ ⎯ Unit s s µs cycle year * Remarks Excludes 00H programming prior erasure Excludes 00H programming prior erasure Excludes system-level overhead * : This value comes from the technology qualification. (using Arrhenius equation to translate high temperature measurements into normalized value at + 85 °C) 78 DS07-13711-5E MB90420G/425G Series ■ EXAMPLE CHARACTERISTICS ICC − VCC (TA = + 25 °C) 40 35 30 ICC (mA) 25 20 15 10 5 0 3.5 4.5 VCC (V) 5.5 FC = 11 MHz FC = 8 MHz FC = 5 MHz FC = 4 MHz FC = 2 MHz 6.5 FC = 16 MHz ICTS − VCC (TA = + 25 °C) 900 800 700 ICTS (µA) 600 500 400 300 200 100 0 3.5 4.5 VCC (V) 5.5 6.5 FC = 16 MHz FC = 11 MHz FC = 8 MHz FC = 5 MHz FC = 4 MHz FC = 2 MHz ICCL − VCC (FC = 8 kHz) 500 400 TA = +25 °C ICCL (µA) 300 200 100 0 3.5 4.5 VCC (V) 5.5 6.5 TA = −40 °C TA = +125 °C DS07-13711-5E 79 MB90420G/425G Series (Continued) (Continued) ICCLS − VCC (FC = 8 kHz) 70 60 50 ICCLS (µA) 40 30 20 10 0 3.5 4.5 VCC (V) 5.5 6.5 TA = −40 °C TA = +25 °C TA = +125 °C ICCT − VCC (FC = 8 kHz) 70 60 50 ICCT (µA) 40 30 20 10 0 3.5 4.5 VCC (V) 5.5 6.5 TA = −40 °C TA = +25 °C TA = +125 °C 80 DS07-13711-5E MB90420G/425G Series ■ ORDERING INFORMATION Part number MB90F423GAPF MB90F423GCPF MB90F428GAPF MB90F428GCPF MB90423GAPF MB90423GCPF MB90427GAPF MB90427GCPF MB90428GAPF MB90428GCPF MB90F423GAPMC MB90F423GCPMC MB90F428GAPMC MB90F428GCPMC MB90423GAPMC MB90423GCPMC MB90427GAPMC MB90427GCPMC MB90428GAPMC MB90428GCPMC Package Remarks Plastic QFP, 100-pin (FPT-100P-M06) Plastic LQFP, 100-pin (FPT-100P-M20) DS07-13711-5E 81 MB90420G/425G Series ■ PACKAGE DIMENSIONS 100-pin plastic QFP Lead pitch Package width × package length Lead shape Sealing method Mounting height Code (Reference) 0.65 mm 14.00 × 20.00 mm Gullwing Plastic mold 3.35 mm MAX P-QFP100-14×20-0.65 (FPT-100P-M06) 100-pin plastic QFP (FPT-100P-M06) 23.90±0.40(.941±.016) * 20.00±0.20(.787±.008) 80 51 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. 81 50 0.10(.004) 17.90±0.40 (.705±.016) *14.00±0.20 (.551±.008) INDEX Details of "A" part 100 31 1 30 0.25(.010) +0.35 3.00 –0.20 +.014 .118 –.008 (Mounting height) 0~8˚ 0.17±0.06 (.007±.002) 0.80±0.20 (.031±.008) 0.88±0.15 (.035±.006) 0.25±0.20 (.010±.008) (Stand off) 0.65(.026) 0.32±0.05 (.013±.002) 0.13(.005) M "A" ©2002-2008 FUJITSU MICROELECTRONICS LIMITED F100008S-c-5-6 C 2002 FUJITSU LIMITED F100008S-c-5-5 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) 82 DS07-13711-5E MB90420G/425G Series (Continued) 100-pin plastic LQFP Lead pitch Package width × package length Lead shape Sealing method Mounting height Weight 0.50 mm 14.0 mm × 14.0 mm Gullwing Plastic mold 1.70 mm Max 0.65 g P-LFQFP100-14×14-0.50 (FPT-100P-M20) Code (Reference) 100-pin plastic LQFP (FPT-100P-M20) 16.00±0.20(.630±.008)SQ 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. * 14.00±0.10(.551±.004)SQ 75 51 76 50 0.08(.003) Details of "A" part INDEX 1.50 –0.10 .059 –.004 (Mounting height) 26 +0.20 +.008 100 0.10±0.10 (.004±.004) (Stand off) 0.25(.010) 0˚~8˚ "A" (0.50(.020)) 0.60±0.15 (.024±.006) 1 25 0.50(.020) 0.20±0.05 (.008±.002) 0.08(.003) M 0.145±0.055 (.0057±.0022) ©2005-2008 FUJITSU MICROELECTRONICS LIMITED F100031S-c-2-2 C 2005 FUJITSU LIMITED F100031S-c-2-1 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-13711-5E 83 MB90420G/425G Series ■ MAIN CHANGES IN THIS EDITION Page 5 Change Results The package code is changed. (FPT-100P-M05 → FPT-100P-M20) ■ PIN ASSIGNMENTS Figure of QFP package pin assignment is changed. Order informations are changed. (MB90423GAPFV → MB90423GAPMC, MB90423GCPFV → MB90423GCPMC, MB90427GAPFV → MB90427GAPMC, MB90427GCPFV → MB90427GCPMC, ■ ORDERING INFORMATION MB90428GAPFV → MB90428GAPMC, MB90428GCPFV → MB90428GCPMC, MB90F423GAPFV → MB90F423GAPMC, MB90F423GCPFV→ MB90F423GCPMC, MB90F428GAPFV → MB90F428GAPMC, MB90F428GCPFV→ MB90F428GCPMC) The package figure is changed. ■ PACKAGE DIMENSIONS (FPT-100P-M05 → FPT-100P-M20) Section 81 83 The vertical lines marked in the left side of the page show the changes. 84 DS07-13711-5E MB90420G/425G Series MEMO DS07-13711-5E 85 MB90420G/425G Series MEMO 86 DS07-13711-5E MB90420G/425G Series MEMO DS07-13711-5E 87 MB90420G/425G Series FUJITSU MICROELECTRONICS LIMITED Shinjuku Dai-Ichi Seimei Bldg. 7-1, Nishishinjuku 2-chome, 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, Germany Tel: +49-6103-690-0 Fax: +49-6103-690-122 http://emea.fujitsu.com/microelectronics/ Korea FUJITSU MICROELECTRONICS KOREA LTD. 206 KOSMO TOWER, 1002 Daechi-Dong, 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 Tel: +65-6281-0770 Fax: +65-6281-0220 http://www.fujitsu.com/sg/services/micro/semiconductor/ FUJITSU MICROELECTRONICS SHANGHAI CO., LTD. Rm.3102, Bund Center, No.222 Yan An Road(E), Shanghai 200002, China Tel: +86-21-6335-1560 Fax: +86-21-6335-1605 http://cn.fujitsu.com/fmc/ FUJITSU MICROELECTRONICS PACIFIC ASIA LTD. 10/F., World Commerce Centre, 11 Canton Road 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.
MB90427GCPMC 价格&库存

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

免费人工找货