FUJITSU SEMICONDUCTOR DATA SHEET DS07-13723-3E 16-bit Proprietary Microcontroller CMOS F2MC-16LX MB90390 Series MB90F394H/V390H ■ DESCRIPTION The MB90390-series with up to five FULL-CAN* interfaces and FLASH ROM is especially designed for automotive and industrial applications. Its main feature are up to five on board CAN Interfaces, which conform to V2.0 Part A and Part B, while supporting a very flexible message buffer scheme and so offering more functions than a normal full CAN approach. With the new 0.35 µm CMOS technology, Fujitsu now offers on-chip FLASH-ROM program memory up to 512K bytes. An internal voltage booster removes the necessity for a second programming voltage. An on board voltage regulator provides 3 V to the internal MCU core. This creates a major advantage in terms of EMI and power consumption. The internal PLL clock frequency multiplier provides an internal 42 ns instruction cycle time from an external 4 MHz clock. The unit features 6 Stepper Motor Controllers with slew rate controlled high current outputs. Furthermore it features an 8 channel Output Compare Unit and a 6 channel Input Capture Unit with two separate 16-bit free running timers. Up to 4 UARTs constitute additional functionality for communication purposes. * : Controller Area Network (CAN) - License of Robert Bosch GmbH ■ PACKAGE 120-pin Plastic LQFP (FPT-120P-M21) MB90390 Series ■ FEATURES • • • • • • • • • • • • • • • • • • • • • • • • • • • • • 2 16-bit core CPU; 4 MHz external clock (24 MHz internal, 42 ns instruction execution time) New 0.35 µm CMOS Process Technology Internal voltage regulator supports 3 V MCU core, offering low EMI and low power consumption figures Up to five FULL-CAN interfaces; conforming to Version 2.0 Part A and Part B, flexible message buffering (mailbox and FIFO buffering can be mixed) Powerful interrupt functions (8 progr. priority levels; 8 external interrupts) EI2OS - Automatic transfer function indep.of CPU; 16 ch. of intelligent I/O Services 18-bit Time-base counter Watchdog Timer Up to 3 full duplex UARTs; support 10.4 KBand (USA standard ) 1 full duplex UART (SCI) Serial I/O : 1ch for synchronous data transfer Optional I2C with 400 Kbps A/D Converter : 8 ch to 15 ch. analog inputs (Resolution 10 bits or 8 bits) 16-bit reload timer × 2 ch ICU (Input capture) 16-bit × 6 ch (2 input pins are shared with OCU outputs) OCU (Output capture) 16-bit × 8 ch (2 output pins are shared with ICU input pins) 16-bit free running timer × 2 ch (FRT0 : ICU 0/1, OCU 0/1/2/3, FRT1 : ICU 2/3/4/5, OCU 4/5/6/7) 8/16-bit Programmable Pulse Generator 6ch × 16-bit / 12ch × 8-bit Stepping Motor Controller 6ch with slew rate controlled high current outputs Optimized instruction set for controller applications (bit, byte, word and long-word data types; 23 different addressing modes; barrel shift; variety of pointers) 4-byte instruction execution queue signed multiply (16-bit × 16-bit) and divide (32-bit/16-bit) instructions available Program Patch Function Fast Interrupt processing Low Power Consumption mode Sleep mode Timebase timer mode Stop mode CPU intermittent mode Sound Generator Real Time Watch Timer Programmable input levels (Automotive Hysteresis / CMOS Hysteresis, initial level is Automotive Hysteresis) Package : 120-pin plastic LQFP MB90390 Series ■ PRODUCT LINEUP Part Number Parameter MB90F394H MB90V390H F2MC-16LX CPU CPU System clock On-chip PLL clock multiplier ( × 1, × 2, × 3, × 4, × 6, 1/2 when PLL stops) Minimum instruction execution time : 42 ns (4 MHz osc. PLL × 6) ROM Boot-block Flash memory 384K bytes Hard-wired reset vector RAM 10K bytes 16K bytes Yes Emulator-specific power supply*1 Technology Operating voltage range Temperature range Package UART UART (SCI) I2C (400 Kbps) Serial I/O A/D Converter 0.35 µm CMOS with on-chip voltage regulator for internal power supply + Flash memory with On-chip charge pump for programming voltage External 0.35 µm CMOS with on-chip voltage regulator for internal power supply 3.5 V to 5.5 V (4.5 V to 5.5 V if A/D Converter is used) 5 V ± 10% −40 °C to +85 °C LQFP-120 PGA-299 2 channels 3 channels Full duplex double buffer Supports asynchronous/synchronous (with start/stop bit) transfer Baud rate : 4808/9615/10417/19230/38460/62500/500000 bps (asynchronous) 500 K/1 M/2 Mbps (synchronous) at System clock = 24 MHz 1 channel 1 channel 1 channel Transfer can be started from MSB or LSB Supports internal clock synchronized transfer and external clock synchronized transfer Supports positive-edge and negative-edge clock synchronization Baud rate : 31.25 K/62.5 K/125 K/500 K/1 Mbps at System clock = 24 MHz 8 input channels 15 input channels 10-bit or 8-bit resolution Conversion time : Min 4.9 µs include sample time (per one channel) 16-bit Reload Timer (2 channels) Operation clock frequency : fsys/21, fsys/23, fsys/25 (fsys = System clock frequency) Supports External Event Count function Watch Timer Directly operates with the oscillation clock Facility to correct oscillation deviation Read/Write accessible Second/Minute/Hour registers Signals interrupts (Continued) 3 MB90390 Series Part Number Parameter MB90F394H MB90V390H 16-bit I/O Timer (2 channels) Signals an interrupt when overflowing Supports Timer Clear when a match with Output Compare (Channel 0) Operation clock freq. : fsys/22, fsys/24, fsys/26, fsys/28 (fsys = System clock freq.) I/O Timer 0 (clock input FRCK0) corresponds to ICU 0/1, OCU 0/1/2/3 I/O Timer 1 (clock input FRCK1) corresponds to ICU 2/3/4/5, OCU 4/5/6/7 16-bit Output Compare (8 channels) Signals an interrupt when a match with 16-bit I/O Timer Eight 16-bit compare registers. A pair of compare registers can be used to generate an output signal. OCU 6/7 outputs are shared with ICU 3/5 inputs 16-bit Input Capture (6 channels) Rising edge, falling edge or rising & falling edge sensitive Six 16-bit Capture registers Signals an interrupt upon external event ICU 3/5 inputs are shared with OCU 6/7 outputs Supports 8-bit and 16-bit operation modes Twelve 8-bit reload counters 8/16-bit Twelve 8-bit reload registers for L pulse width Programmable Pulse Twelve 8-bit reload registers for H pulse width Generator A pair of 8-bit reload counters can be configured as one 16-bit reload counter or as (6 channels) 8-bit prescaler plus 8-bit reload counter Operation clock freq. : fsys, fsys/21, fsys/22, fsys/23, fsys/24 or 102.4 µs @fosc = 5 MHz (fsys = System clock frequency, fosc = Oscillation clock frequency) 2 channels CAN Interface (up to 5 channels) 5 channels Conforms to CAN Specification Version 2.0 Part A and B Automatic re-transmission in case of error Automatic transmission responding to Remote Frame Prioritized 16 message buffers for data and ID’s Supports multiple messages Flexible configuration of acceptance filtering : Full bit compare/Full bit mask/Two partial bit masks Supports up to 1 Mbps Stepping Motor Controller (6 channels) Four high current outputs with controlled slew rate for each channel Synchronized two 8-bit PWM’s for each channel External Interrupt (8 channels) Can be programmed edge sensitive or level sensitive Sound Generator 8-bit PWM signal is mixed with tone frequency from 8-bit reload counter PWM frequency : 62.5 kHz, 31.2 kHz, 15.6 kHz, 7.8 kHz at System clock = 16 MHz Tone frequency : PWM frequency/2/ (reload value + 1) I/O Ports Virtually all external pins can be used as general purpose I/O All push-pull outputs Bit-wise programmable as input/output or peripheral signal Port-wise programmable as CMOS Hysteresis or automotive Hysteresis inputs (default) (Continued) 4 MB90390 Series (Continued) Part Number Parameter Flash Memory MB90F394H MB90V390H Supports automatic programming, Embedded AlgorithmTM*2 Write/Erase/Erase-Suspend/Resume commands A flag indicating completion of the algorithm Number of erase cycles : 10,000 times Data retention time : 20 years Hard-wired reset vector available in order to point to a fixed boot sector in Flash Memory Boot block configuration Erase can be performed on each block Block protection with external programming voltage *1 : It is setting of Jumper switch (TOOL VCC) when Emulator (MB2147-01) is used. Please refer to the MB2147-01 or MB2147-20 hardware manual (3.3 Emulator-dedicated Power Supply Switching) about details. *2 : Embedded Algorithm is a trade mark of Advanced Micro Devices Inc. 5 MB90390 Series ■ PIN ASSIGNMENTS • MB90V390H 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 P27/INT7 P26/INT6 P25/INT5 P24/INT4 P23/INT3 P22/INT2 P21/RX1 P20/TX1 P17/SGA P16/SGO P15/TOT0 P14/TIN0 X0 X1 VSS VCC P13/OUT5 P12/OUT4 P11/OUT3 P10/OUT2 P07/OUT1 P06/OUT0 P05/IN5/OUT7 P04/IN4 P03/IN3/OUT6 P02/IN2 P01/IN1 P00/IN0 P97/FRCK1/HCLKX PB7/FRCK0/HCLK (TOP VIEW) 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 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 P93/SIN3 P94/SCK3 P95/SOT3 P96/WOT AVCC AVRH AVRL AVSS P60/AN0 P61/AN1 P62/AN2 P63/AN3 P64/AN4 P65/AN5 P66/AN6 P67/AN7 VSS PB0/PPG02/TX3/AN8 PB1/PPG03/RX3/AN9 PB2/PPG04/TX4/AN10 PB3/PPG05/RX4/AN11 PB4/SIN4/AN12 PB5/SCK4/AN13 PB6/SOT4/AN14 DVCC DVSS P70/PWM1P0 P71/PWM1M0 P72/PWM2P0 P73/PWM2M0 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 P30/RX0 P31/TX0 P32/TIN1 P33/TOT1 P34/SOT0 P35/SCK0 P36/SIN0 P37/SIN1 P40/SCK1 P41/SOT1 P42/SDA P43/SCL P44 P45/ADTG VCC VSS C P46/INT0 P47/INT1 P50/PPG10 P51/PPG11 P52/PPG12 P53/PPG13 P54/PPG14 P55/PPG15 P56/PPG00/RX2 P57/PPG01/TX2 P90/SIN2 P91/SCK2 P92/SOT2 (FPT-120P-M21) As seen with QFP120 probe cable 6 RST MD0 MD1 MD2 DVSS DVCC PA7/PWM2M5 PA6/PWM2P5 PA5/PWM1M5 PA4/PWM1P5 PA3/PWM2M4 PA2/PWM2P4 PA1/PWM1M4 PA0/PWM1P4 DVSS DVCC P87/PWM2M3 P86/PWM2P3 P85/PWM1M3 P84/PWM1P3 P83/PWM2M2 P82/PWM2P2 P81/PWM1M2 P80/PWM1P2 DVSS DVCC P77/PWM2M1 P76/PWM2P1 P75/PWM1M1 P74/PWM1P1 MB90390 Series • MB90F394H 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 P27/INT7 P26/INT6 P25/INT5 P24/INT4 P23/INT3 P22/INT2 P21/RX1 P20/TX1 P17/SGA P16/SGO P15/TOT0 P14/TIN0 X0 X1 VSS VCC P13/OUT5 P12/OUT4 P11/OUT3 P10/OUT2 P07/OUT1 P06/OUT0 P05/IN5/OUT7 P04/IN4 P03/IN3/OUT6 P02/IN2 P01/IN1 P00/IN0 P97/FRCK1/HCLKX PB7/FRCK0/HCLK (TOP VIEW) 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 RST MD0 MD1 MD2 DVSS DVCC PA7/PWM2M5 PA6/PWM2P5 PA5/PWM1M5 PA4/PWM1P5 PA3/PWM2M4 PA2/PWM2P4 PA1/PWM1M4 PA0/PWM1P4 DVSS DVCC P87/PWM2M3 P86/PWM2P3 P85/PWM1M3 P84/PWM1P3 P83/PWM2M2 P82/PWM2P2 P81/PWM1M2 P80/PWM1P2 DVSS DVCC P77/PWM2M1 P76/PWM2P1 P75/PWM1M1 P74/PWM1P1 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 P93/SIN3 P94/SCK3 P95/SOT3 P96/WOT AVCC AVRH AVRL AVSS P60/AN0 P61/AN1 P62/AN2 P63/AN3 P64/AN4 P65/AN5 P66/AN6 P67/AN7 VSS PB0/PPG02 PB1/PPG03 PB2/PPG04 PB3/PPG05 PB4/SIN4 PB5/SCK4 PB6/SOT4 DVCC DVSS P70/PWM1P0 P71/PWM1M0 P72/PWM2P0 P73/PWM2M0 P30/RX0 P31/TX0 P32/TIN1 P33/TOT1 P34/SOT0 P35/SCK0 P36/SIN0 P37/SIN1 P40/SCK1 P41/SOT1 P42 P43 P44 P45/ADTG VCC VSS C P46/INT0 P47/INT1 P50/PPG10 P51/PPG11 P52/PPG12 P53/PPG13 P54/PPG14 P55/PPG15 P56/PPG00 P57/PPG01 P90 P91 P92 (FPT-120P-M21) 7 MB90390 Series ■ PIN DESCRIPTION Pin no. Pin name 107 X1 108 X0 90 RST 93 to 95 P00 to P02 IN0 to IN2 Circuit type A B D P03 96 IN3 P04 IN4 D IN5 D P06, P07, P10 to P13 D 110 111 112 113 114 115 to 120 1 2 P14 TIN0 P15 TOT0 P16 SGO P17 SGA P20 TX1 P21 RX1 P22 to P27 INT2 to INT7 P30 RX0 P31 TX0 General purpose I/O Inputs for the Input Captures 0-2 Input for the Input Capture 3 General purpose I/O Input for the Input Capture 4 Input for the Input Capture 5 Output for the Output Compare 7 D OUT0 to OUT5 109 Reset input General purpose I/O OUT7 99 to 104 Oscillation input Output for the Output Compare 6 P05 98 Oscillation output General purpose I/O OUT6 97 Function General purpose I/O Outputs for the Output Compares D D D D D D D D D General purpose I/O TIN0 input for the 16-bit Reload Timer 0 General purpose I/O TOT0 output for the 16-bit Reload Timer 0 General purpose I/O SGO output for the Sound Generator General purpose I/O SGA output for the Sound Generator General purpose I/O TX output for CAN Interface 1 General purpose I/O RX input for CAN Interface 1 General purpose I/O External interrupt inputs for INT2 to INT7 General purpose I/O RX input for CAN Interface 0 General purpose I/O TX output for CAN Interface 0 (Continued) 8 MB90390 Series Pin no. 3 4 5 6 7 8 9 10 11 12 13 14 18, 19 20 to 25 Pin name P32 TIN1 P33 TOT1 P34 SOT0 P35 SCK0 P36 SIN0 P37 SIN1 P40 SCK1 P41 SOT1 P42 SDA P43 SCL P44 P45 ADTG P46, P47 INT0, INT1 P50 to P55 PPG10 to PPG15 Circuit type D D D D D D D D D D D D D D P56 26 27 PPG00 General purpose I/O TIN1 input for the 16-bit Reload Timer 1 General purpose I/O TOT1 output for the 16-bit Reload Timer 1 General purpose I/O SOT output for UART 0 General purpose I/O SCK input/output for UART 0 General purpose I/O SIN input for UART 0 General purpose I/O SIN input for UART 1 General purpose I/O SCK input/output for UART 1 General purpose I/O SOT output for UART 1 General purpose I/O Serial data for I2C interface General purpose I/O Serial clock for I2C interface General purpose I/O General purpose I/O External trigger input of the A/D Converter General purpose I/O External interrupt inputs for INT0 to INT1 General purpose I/O Outputs for the Programmable Pulse Generators General purpose I/O D Output for the Programmable Pulse Generator 0 RX2 RX input for CAN Interface 2 P57 General purpose I/O PPG01 D TX2 28 Function P90 SIN2 Output for the Programmable Pulse Generator 1 TX output for CAN Interface 2 D General purpose I/O SIN input for UART 2 (Continued) 9 MB90390 Series Pin no. 29 30 31 32 33 34 39 to 46 Pin name P91 SCK2 P92 SOT2 P93 SIN3 P94 SCK3 P95 SOT3 P96 WOT P60 to P67 AN0 to AN7 Circuit type D D D D D D E PB0 48 49 50 PPG02 TX3 E SCK input/output for UART 2 General purpose I/O SOT output for UART 2 General purpose I/O SIN input for UART 3 (SCI) General purpose I/O SCK input/output for UART 3 (SCI) General purpose I/O SOT output for UART 3 (SCI) General purpose I/O WOT output for the Watch Timer General purpose I/O Inputs for the A/D Converter Output for the Programmable Pulse Generator 2 TX output for CAN Interface 3 AN8 Input for the A/D Converter PB1 General purpose I/O PPG03 RX3 E Output for the Programmable Pulse Generator 3 RX input for CAN Interface 3 AN9 Input for the A/D Converter PB2 General purpose I/O PPG04 TX4 E PPG05 RX4 E Output for the Programmable Pulse Generator 5 RX input for CAN Interface 4 Input for the A/D Converter PB4 AN12 TX output for CAN Interface 4 General purpose I/O AN11 SIN4 Output for the Programmable Pulse Generator 4 Input for the A/D Converter PB3 52 General purpose I/O General purpose I/O AN10 51 Function General purpose I/O E SIN input for the Serial I/O Input for the A/D Converter (Continued) 10 MB90390 Series Pin no. Pin name Circuit type PB5 53 SCK4 General purpose I/O E AN13 SOT4 General purpose I/O E AN14 PWM1P0 PWM1M0 PWM2P0 PWM2M0 General purpose I/O F P74 to P77 61 to 64 PWM1P1 PWM1M1 PWM2P1 PWM2M1 PWM1P2 PWM1M2 PWM2P2 PWM2M2 F PWM1P3 PWM1M3 PWM2P3 PWM2M3 F PWM1P4 PWM1M4 PWM2P4 PWM2M4 F PWM1P5 PWM1M5 PWM2P5 PWM2M5 F FRCK0 HCLK Output for Stepping Motor Controller channel 4 General purpose I/O F PB7 91 Output for Stepping Motor Controller channel 3 General purpose I/O PA4 to PA7 81 to 84 Output for Stepping Motor Controller channel 2 General purpose I/O PA0 to PA3 77 to 80 Output for Stepping Motor Controller channel 1 General purpose I/O P84 to P87 71 to 74 Output for Stepping Motor Controller channel 0 General purpose I/O P80 to P83 67 to 70 SOT output for the Serial I/O Input for the A/D Converter P70 to P73 57 to 60 SCK input/output for the Serial I/O Input for the A/D Converter PB6 54 Function Output for Stepping Motor Controller channel 5 General purpose I/O D FRCK0 input for the 16-bit I/O Timer 0 Oscillation Clock output (Continued) 11 MB90390 Series (Continued) Pin no. Pin name Circuit type P97 92 FRCK1 General purpose I/O D HCLKX 12 Function FRCK1 input for the 16-bit I/O Timer 1 Inverted Oscillation Clock output 55 65 75 85 DVcc Dedicated power supply pins for the high current output buffers (Pin No. 57 to 84) 56 66 76 86 DVss Dedicated ground pins for the high current output buffers (Pin No. 57 to 84) 35 AVCC Dedicated power supply pin (5 V) for the A/D converter 36 AVRH Dedicated pos. reference voltage pin for the A/D converter 37 AVRL Dedicated neg. reference voltage pin for the A/D converter 38 AVss Dedicated power supply pin (0 V) for the A/D converter 88, 89 MD1, MD0 C These are input pins used to designate the operating mode. They should be connected directly to VCC or VSS. 87 MD2 G This is an input pin used to designate the operating mode. It should be connected directly to VCC or VSS. 15 105 Vcc These are power supply (5 V) input pins 16 47 106 Vss These are power supply (0 V) input pins 17 C This is the power supply stabilization capacitor pin. It should be connected to higher than or equal to 0.1 µF ceramic capacitor. MB90390 Series ■ I/O CIRCUIT TYPE Type Circuit Remarks X1 Clock input P-ch • Oscillation feedback resistor : 1 MΩ approx. N-ch X0 A Standby control signal • CMOS Hysteresis input with pull-up Resistor : 50 kΩ approx. VCC B R (pull-up) C R CMOS HYS R CMOS HYS • EVA device : CMOS Hysteresis input • Flash device : CMOS input. • CMOS output • CMOS Hysteresis input • Automotive Hysteresis input VCC P-ch N-ch D R CMOS HYS R Automotive HYS (Continued) 13 MB90390 Series (Continued) Type Circuit Remarks • • • • VCC P-ch CMOS output CMOS Hysteresis input Automotive Hysteresis input Analog input N-ch P-ch E Analog input N-ch R CMOS HYS R Automotive HYS • CMOS high current output • CMOS Hysteresis input • Automotive Hysteresis input Vcc P-ch High current N-ch F R CMOS HYS R Automotive HYS R G 14 R (pull-down) CMOS HYS • EVA device : CMOS Hysteresis input with pulldown Resistor : 50 kΩ approx. • Flash device : CMOS input without pull-down. MB90390 Series ■ HANDLING DEVICES Special care is required for the following when handling the device : • Preventing latch-up • Stabilization of supply voltage • Treatment of unused pins • Using external clock • Power supply pins (VCC/VSS) • Pull-up/down resistors • Crystal Oscillator Circuit • Turning-on Sequence of Power Supply to A/D Converter and Analog Inputs • Connection of Unused Pins of A/D Converter if A/D Converter is unused. • Notes on Energization • Initialization • Caution on Operations during PLL Clock Mode 1. Preventing latch-up CMOS IC chips may suffer latch-up under the following conditions : • A voltage higher than VCC or lower than VSS is applied to an input or output pin. • A voltage higher than the rated voltage is applied between VCC and VSS. • The AVCC power supply is applied before the VCC voltage. Latch-up may increase the power supply current drastically, causing thermal damage to the device. For the same reason, also be careful not to let the analog power-supply voltage (AVCC, AVRH) exceed the digital power-supply voltage. 2. Stabilization of supply voltage A sudden change in the supply voltage may cause the device to malfunction even within the specified VCC supply voltage operating range. Therefore, the VCC supply voltage should be stabilized. For reference, the supply voltage should be controlled so that VCC ripple variations (peak-to-peak values) at commercial frequencies (50 Hz to 60 Hz) fall below 10 of the standard VCC supply voltage and the coefficient of fluctuation does not exceed 0.1 V/ms at instantaneous power switching. 3. Treatment of unused pins Leaving unused input pins open may result in misbehavior or latch up and possible permanent damage of the device. Therefore they must be pulled up or pulled down through resistors. In this case those resistors should be more than 2 kΩ . Unused bidirectional pins should be set to the output state and can be left open, or the input state with the above described connection. 4. Using external clock To use external clock, drive the X0 pin and leave X1 pin open. MB90390 Series X0 X1 15 MB90390 Series 5. Power supply pins (VCC/VSS) • If there are multiple VCC and VSS pins, from the point of view of device design, pins to be of the same potential are connected the inside of the device to prevent such malfunctioning as latch up. To reduce unnecessary radiation, prevent malfunctioning of the strobe signal due to the rise of ground level, and observe the standard for total output current, be sure to connect the VCC and VSS pins to the power supply and ground externally. • Connect VCC and VSS to the device from the current supply source at a low impedance. • As a measure against power supply noise, connect a capacitor of about 0.1 µF as a bypass capacitor between VCC and VSS in the vicinity of VCC and VSS pins of the device. VCC VSS VCC VSS VSS VCC MB90390 Series VCC VSS VSS VCC 6. Pull-up/down resistors The MB90390 Series does not support internal pull-up/down resistors. Use external components where needed. 7. Crystal Oscillator Circuit Noises around X0 or X1 pins may be possible causes of abnormal operations. Make sure to provide bypass capacitors via shortest distance from X0, X1 pins, crystal oscillator (or ceramic oscillator) and ground lines, and make sure, to the utmost effort, that lines of oscillation circuit not cross the lines of other circuits. It is highly recommended to provide a printed circuit board art work surrounding X0 and X1 pins with a ground area for stabilizing the operation. 8. Turning-on Sequence of Power Supply to A/D Converter and Analog Inputs Make sure to turn on the A/D converter power supply (AVCC, AVRH, AVRL) and analog inputs (AN0 to AN14) after turning-on the digital power supply (VCC) . Turn-off the digital power after turning off the A/D converter supply and analog inputs. In this case, make sure that the voltage not exceed AVRH or AVCC (turning on/off the analog and digital power supplies simultaneously is acceptable) . 9. Connection of Unused Pins of A/D Converter if A/D Converter is unused Connect unused pins of A/D converter to AVCC = VCC, AVSS = AVRH = AVRL = VSS. 10. Notes on Energization To prevent the internal regulator circuit from malfunctioning, set the voltage rise time during energization at 50 or more µs (0.2 V to 2.7 V) . 16 MB90390 Series 11. Initialization In the device, there are internal registers which is initialized only by a power-on reset. To initialize these registers, turn on the power again. 12. 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. 17 MB90390 Series ■ BLOCK DIAGRAMS MB90V390 X0, X1 RST Clock Controller 16LX CPU I/O Timer 0 RAM 16 K Prescaler x4 FRCK0 Input Capture 6 ch IN5 to IN0 Output Compare 8 ch OUT7 to OUT0 I/O Timer 1 FRCK1 SOT3 to SOT0 SCK3 to SCK0 UART 4 ch (1 ch SCI) 8/16-bit PPG 6 ch Prescaler SOT4 SCK4 Serial I/O Internal Data Bus SIN3 to SIN0 CAN 5 ch SIN4 PPG05 to PPG00 PPG15 to PPG10 RX4 to RX0 TX4 to TX0 PWM1M5 to PWM1M0 PWM1P5 to PWM1P0 AVcc SMC 6 ch AVss AN14 to AN0 AVRH 10-bit ADC 15 ch PWM2M5 to PWM2M0 PWM2P5 to PWM2P0 DVcc3 to DVcc0 DVss3 to DVss0 AVRL ADTG External Interrupt TIN1, TIN0 TOT1, TOT0 WOT 18 INT7 to INT0 16-bit Reload Timer 2 ch Sound Generator SGO I2C Interface SDA SGA Watch Timer SCL MB90390 Series MB90F394H X0, X1 RST Clock Controller 16LX CPU I/O Timer 0 RAM 10 K ROM/Flash 384 K Prescaler x 3 FRCK0 Input Capture 6 ch IN5 to IN0 Output Compare 8 ch OUT7 to OUT0 I/O Timer 1 FRCK1 SOT3, SOT1, SOT0 SCK3, SCK1, SCK0 UART 3 ch (1 ch SCI) 8/16-bit PPG 6 ch Prescaler SOT4 SCK4 Serial I/O Internal Data Bus SIN3, SIN1, SIN0 CAN 2 ch SIN4 PPG05 to PPG00 PPG15 to PPG10 RX1, RX0 TX1, TX0 PWM1M5 to PWM1M0 PWM1P5 to PWM1P0 AVcc SMC 6 ch AVss AN7 to AN0 AVRH 10-bit ADC 8 ch PWM2M5 to PWM2M0 PWM2P5 to PWM2P0 DVcc3 to DVcc0 DVss3 to DVss0 AVRL ADTG External Interrupt TIN1, TIN0 TOT1, TOT0 16-bit Reload Timer 2 ch Sound Generator WOT INT7 to INT0 SGO SGA Watch Timer 19 MB90390 Series ■ MEMORY MAP MB90V390H FFFFFFH MB90F394H FFFFFFH ROM (FF bank) FF0000H FEFFFFH ROM (FE bank) FE0000H FDFFFF H ROM (FD bank) FD0000H FCFFFF H FC0000H FBFFFFH ROM (FC bank) ROM (FB bank) FB0000H FA F F F F H ROM (FA bank) FA 0 0 0 0 H F9FFFFH ROM (F9 bank) F90000H 00FFFFH 008000H 0050FFH 004100H ROM (FF bank) FF0000H FEFFFFH ROM (FE bank) FE0000H FDFFFF H ROM (FD bank) FD0000H FCFFFF H FC0000H FBFFFFH ROM (FB bank) FB0000H FA F F F F H ROM (FA bank) FA 0 0 0 0 H F9FFFFH ROM (F9 bank) F90000H ROM (Image of FF bank) RAM 4 K 003FFFH 00FFFFH 004000H or 008000H 003FFFH Peripheral Peripheral 003500H 003500H 0030FFH 0028FFH RAM 12 K 000100H 0000BFH 000000H ROM (Image of FF bank) RAM 10 K 000100H Peripheral 0000BFH 000000H Peripheral Note : The high-order portion of bank 00 gives the image of the FF bank ROM to make the small model of the C compiler effective. Since the low-order 16 bits are the same, the table in ROM can be referenced without using the far specification in the pointer declaration. For example, an attempt to access 00C000H accesses the value at FFC000H in ROM. The ROM area in bank FF exceeds 32/48K bytes, and its entire image cannot be shown in bank 00. The image between FF4000H/FF8000H and FFFFFFH is visible in bank 00, while the image between FF0000H and FF3FFFH/FF7FFFH is visible only in bank FF. In MB90V390H, the image for only ROM data between FF8000H to FFFFFFH is visible in bank 00. As for MB90F394H, it is possible to set the FF bank area which looks the 00 bank image in the ROM mirror function select register (ROMM) . 20 MB90390 Series ■ I/O MAP Address Register AbbreviaAccess tion Resource name Initial value 00H Port 0 Data Register PDR0 R/W Port 0 XXXXXXXX 01H Port 1 Data Register PDR1 R/W Port 1 XXXXXXXX 02H Port 2 Data Register PDR2 R/W Port 2 XXXXXXXX 03H Port 3 Data Register PDR3 R/W Port 3 XXXXXXXX 04H Port 4 Data Register PDR4 R/W Port 4 XXXXXXXX 05H Port 5 Data Register PDR5 R/W Port 5 XXXXXXXX 06H Port 6 Data Register PDR6 R/W Port 6 XXXXXXXX 07H Port 7 Data Register PDR7 R/W Port 7 XXXXXXXX 08H Port 8 Data Register PDR8 R/W Port 8 XXXXXXXX 09H Port 9 Data Register PDR9 R/W Port 9 XXXXXXXX 0AH Port A Data Register PDRA R/W Port A XXXXXXXX 0BH Port B Data Register PDRB R/W Port B XXXXXXXX 0CH Analog Input Enable 0 ADER0 R/W Port 6, A/D 11111111 0DH Analog Input Enable 1/ ADC Select ADER1 R/W Port B, A/D 01111111 0EH Input Level Select Register ILSR R/W Ports 00000000 0FH Input Level Select Register ILSR R/W Ports 00000000 10H Port 0 Direction Register DDR0 R/W Port 0 00000000 11H Port 1 Direction Register DDR1 R/W Port 1 00000000 12H Port 2 Direction Register DDR2 R/W Port 2 00000000 13H Port 3 Direction Register DDR3 R/W Port 3 00000000 14H Port 4 Direction Register DDR4 R/W Port 4 00000000 15H Port 5 Direction Register DDR5 R/W Port 5 00000000 16H Port 6 Direction Register DDR6 R/W Port 6 00000000 17H Port 7 Direction Register DDR7 R/W Port 7 00000000 18H Port 8 Direction Register DDR8 R/W Port 8 00000000 19H Port 9 Direction Register DDR9 R/W Port 9 00000000 1AH Port A Direction Register DDRA R/W Port A 00000000 1BH Port B Direction Register DDRB R/W Port B 00000000 1CH to 1FH Reserved 20H Serial Mode Control 0 UMC0 R/W 21H Status 0 USR0 R/W 22H Input/Output Data 0 23H Rate and Data 0 UIDR0/ UODR0 R/W URD0 R/W 00000100 00010000 UART0 XXXXXXXX 0000000X (Continued) 21 MB90390 Series Address Register AbbreviaAccess tion Resource name Initial value 24H Serial Mode Control 1 UMC1 R/W 00000100 25H Status 1 USR1 R/W 00010000 26H Input/Output Data 1 UIDR1/ UODR1 R/W 27H Rate and Data 1 URD1 R/W 0000000X 28H Serial Mode Control 2 UMC2 R/W 00000100 29H Status 2 USR2 R/W 00010000 2AH Input/Output Data 2 UIDR2/ UODR2 R/W 2BH Rate and Data 2 URD2 R/W 0000000X 2CH Serial Mode Control 4 SMCS4 R/W XXXX0000 2DH Serial Mode Control 4 SMCS4 R/W 2EH Serial Data 4 SDR4 R/W 2FH Serial I/O Prescaler/Edge Selector 4 CDCR4 R/W 0 X 0 X 0000 30H External Interrupt Enable ENIR R/W 00000000 31H External Interrupt Request EIRR R/W 32H External Interrupt Level ELVR R/W 33H External Interrupt Level ELVR R/W 00000000 34H A/D Control Status 0 ADCS0 R/W 00000000 35H A/D Control Status 1 ADCS1 R/W 36H A/D Data 0 ADCR0 R 37H A/D Data 1 ADCR1 R/W 38H PPG0 Operation Mode Control Register PPGC0 R/W 39H PPG1 Operation Mode Control Register PPGC1 R/W 3AH PPG0 and PPG1 Clock Select Register PPG01 R/W 3BH Address Detection Control Register 1 PACSR1 R/W 3CH PPG2 Operation Mode Control Register PPGC2 R/W 3DH PPG3 Operation Mode Control Register PPGC3 R/W 3EH PPG2 and PPG3 Clock Select Register PPG23 R/W 3FH Clock Output Enable Register CKOE R/W 40H PPG4 Operation Mode Control Register PPGC4 R/W 41H PPG5 Operation Mode Control Register PPGC5 R/W 42H PPG4 and PPG5 Clock Select Register PPG45 R/W 43H UART1 UART2 Serial I/O External Interrupt A/D Converter XXXXXXXX XXXXXXXX 00000010 XXXXXXXX XXXXXXXX 00000000 00000000 XXXXXXXX 000010XX 16-bit Programable Pulse Generator 0/1 Address Maching Detection Function 1 0X000XX1 0X000001 000000XX 00000000 16-bit Programable Pulse Generator 2/3 0X000XX1 Clock Output XXXXXX00 16-bit Programable Pulse Generator 4/5 0X000001 000000XX 0X000XX1 0X000001 000000XX Reserved (Continued) 22 MB90390 Series AbbreviaAccess tion Address Register 44H PPG6 Operation Mode Control Register PPGC6 R/W 45H PPG7 Operation Mode Control Register PPGC7 R/W 46H PPG6 and PPG7 Clock Select Register PPG67 R/W Resource name 16-bit Programable Pulse Generator 6/7 Initial value 0X000XX1 0X000001 000000XX Reserved 47H 48H PPG8 Operation Mode Control Register PPGC8 R/W 49H PPG9 Operation Mode Control Register PPGC9 R/W 4AH PPG8 and PPG9 Clock Select Register PPG89 R/W 4BH 16-bit Programable Pulse Generator 8/9 0X000XX1 0X000001 000000XX Reserved 4CH PPGA Operation Mode Control Register PPGCA R/W 4DH PPGB Operation Mode Control Register PPGCB R/W 4EH PPGA and PPGB Clock Select Register PPGAB R/W 4FH 16-bit Programable Pulse Generator A/B 0X000XX1 16-bit Reload Timer 0 00000000 0X000001 000000XX Reserved 50H Timer Control Status 0 TMCSR0 R/W 51H Timer Control Status 0 TMCSR0 R/W 52H Timer Control Status 1 TMCSR1 R/W 53H Timer Control Status 1 TMCSR1 54H Input Capture Control Status 0/1 55H 56H XXXX0000 00000000 R/W 16-bit Reload Timer 1 XXXX0000 ICS01 R/W Input Capture 0/1 00000000 Input Capture Control Status 2/3 ICS23 R/W Input Capture 2/3 00000000 Input Capture Control Status 4/5 ICS45 R/W Input Capture 4/5 00000000 Reserved 57H 58H Output Compare Control Status 0 OCS0 R/W 59H Output Compare Control Status 1 OCS1 R/W 5AH Output Compare Control Status 2 OCS2 R/W 5BH Output Compare Control Status 3 OCS3 R/W 5CH Output Compare Control Status 4 OCS4 R/W 5DH Output Compare Control Status 5 OCS5 R/W 5EH Sound Control SGCR R/W 5FH Sound Control SGCR R/W 60H Watch Timer Control WTCR R/W 61H Watch Timer Control WTCR R/W 62H PWM Control 0 PWC0 R/W Stepping Motor Controller 0 00000XX0 R/W Stepping Motor Controller 1 00000XX0 63H 64H 65H Output Compare 0/1 Output Compare 2/3 Output Compare 4/5 Sound Generator Watch Timer 0000XX00 0XX00000 0000XX00 0XX00000 0000XX00 0XX00000 00000000 0XXXXXX0 000XX000 00000000 Reserved PWM Control 1 PWC1 Reserved (Continued) 23 MB90390 Series Address 66H Register PWM Control 2 67H 68H PWM Control 3 PWC3 PWM Control 4 PWC4 R/W Stepping Motor Controller 2 00000XX0 R/W Stepping Motor Controller 3 00000XX0 R/W Stepping Motor Controller 4 00000XX0 R/W Stepping Motor Controller 5 00000XX0 W ROM Mirror XXXXXXX1 Reserved PWM Control 5 PWC5 6DH Reserved 6EH Reserved 6FH Initial value Reserved 6BH 6CH PWC2 Resource name Reserved 69H 6AH AbbreviaAccess tion ROM Mirror ROMM 70H to 8FH Reserved for CAN Interface 0/1. Refer to “■ CAN CONTROLLERS” 90H to 9DH Reserved PACSR0 R/W Address Maching Detection Function 0 00000000 DIRR R/W Delayed Interrupt XXXXXXX0 Low-power Mode LPMCR R/W Low Power Controller 00011000 Clock Selector CKSCR R/W Low Power Controller 11111100 9EH Address Detection Control Register 0 9FH Delayed Interrupt/Release A0H A1H A2H to A7H Reserved A8H Watchdog Control WDTC R/W Watchdog Timer XXXXX111 A9H Time Base Timer Control TBTC R/W Time Base Timer 1XX00100 R/W Flash Memory 000X0XX0 AAH to ADH AEH Reserved Flash Control Status (MB90F394H only. Otherwise reserved) AFH FMCS Reserved B0H Interrupt Control Register 00 ICR00 R/W 00000111 B1H Interrupt Control Register 01 ICR01 R/W 00000111 B2H Interrupt Control Register 02 ICR02 R/W 00000111 B3H Interrupt Control Register 03 ICR03 R/W B4H Interrupt Control Register 04 ICR04 R/W 00000111 B5H Interrupt Control Register 05 ICR05 R/W 00000111 B6H Interrupt Control Register 06 ICR06 R/W 00000111 Interrupt Controller 00000111 (Continued) 24 MB90390 Series Address Register AbbreviaAccess tion Resource name Initial value B7H Interrupt Control Register 07 ICR07 R/W 00000111 B8H Interrupt Control Register 08 ICR08 R/W 00000111 B9H Interrupt Control Register 09 ICR09 R/W 00000111 BAH Interrupt Control Register 10 ICR10 R/W 00000111 BBH Interrupt Control Register 11 ICR11 R/W BCH Interrupt Control Register 12 ICR12 R/W 00000111 BDH Interrupt Control Register 13 ICR13 R/W 00000111 BEH Interrupt Control Register 14 ICR14 R/W 00000111 BFH Interrupt Control Register 15 ICR15 R/W 00000111 XXXXXXXX C0H to FFH Interrupt Controller 00000111 Reserved 3500H Reload L PRLL0 R/W 3501H Reload H PRLH0 R/W 3502H Reload L PRLL1 R/W 3503H Reload H PRLH1 R/W XXXXXXXX 3504H Reload L PRLL2 R/W XXXXXXXX 3505H Reload H PRLH2 R/W 3506H Reload L PRLL3 R/W 3507H Reload H PRLH3 R/W XXXXXXXX 3508H Reload L PRLL4 R/W XXXXXXXX 3509H Reload H PRLH4 R/W 350AH Reload L PRLL5 R/W 350BH Reload H PRLH5 R/W XXXXXXXX 350CH Reload L PRLL6 R/W XXXXXXXX 350DH Reload H PRLH6 R/W 350EH Reload L PRLL7 R/W 350FH Reload H PRLH7 R/W XXXXXXXX 3510H Reload L PRLL8 R/W XXXXXXXX 3511H Reload H PRLH8 R/W 3512H Reload L PRLL9 R/W 3513H Reload H PRLH9 R/W XXXXXXXX 3514H Reload L PRLLA R/W XXXXXXXX 3515H Reload H PRLHA R/W 3516H Reload L PRLLB R/W 3517H Reload H PRLHB R/W 16-bit Programable Pulse Generator 0/1 16-bit Programable Pulse Generator 2/3 16-bit Programable Pulse Generator 4/5 16-bit Programable Pulse Generator 6/7 16-bit Programable Pulse Generator 8/9 16-bit Programable Pulse Generator A/B XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX (Continued) 25 MB90390 Series Address Register AbbreviaAccess tion Resource name Initial value 3518H Serial Mode Register SMR3 R/W 00000000 3519H Serial Control Register SCR3 R/W 00000000 351AH Reception/Transmission Data Register RDR3/ TDR3 R/W 00000000 351BH Serial Status Register SSR3 R/W 351CH Extended Communication Control Reg. ECCR3 R/W 000000XX 351DH Extended Status/Control Register ESCR3 R/W 00000X00 351EH Baud Rate Register 0 BGR03 R/W 00000000 351FH Baud Rate Register 1 BGR13 R/W 00000000 3520H Input Capture 0 IPCP0 R XXXXXXXX 3521H Input Capture 0 IPCP0 R 3522H Input Capture 1 IPCP1 R 3523H Input Capture 1 IPCP1 R XXXXXXXX 3524H Input Capture 2 IPCP2 R XXXXXXXX 3525H Input Capture 2 IPCP2 R 3526H Input Capture 3 IPCP3 R 3527H Input Capture 3 IPCP3 R XXXXXXXX 3528H Input Capture 4 IPCP4 R XXXXXXXX 3529H Input Capture 4 IPCP4 R 352AH Input Capture 5 IPCP5 R 352BH Input Capture 5 IPCP5 R XXXXXXXX 352CH Timer Data 0 TCDT0 R/W 00000000 352DH Timer Data 0 TCDT0 R/W 352EH Timer Control 0 TCCS0 R/W 352FH Timer Control 0 TCCS0 R/W 0XXXXXXX 3530H Output Compare 0 OCCP0 R/W XXXXXXXX 3531H Output Compare 0 OCCP0 R/W 3532H Output Compare 1 OCCP1 R/W 3533H Output Compare 1 OCCP1 R/W XXXXXXXX 3534H Output Compare 2 OCCP2 R/W XXXXXXXX 3535H Output Compare 2 OCCP2 R/W 3536H Output Compare 3 OCCP3 R/W 3537H Output Compare 3 OCCP3 R/W UART3 Input Capture 0/1 Input Capture 2/3 Input Capture 4/5 I/O Timer 0 Output Compare 0/1 Output Compare 2/3 00001000 XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 00000000 00000000 XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX (Continued) 26 MB90390 Series Address Register AbbreviaAccess tion Resource name Initial value 3538H Output Compare 4 OCCP4 R/W 3539H Output Compare 4 OCCP4 R/W 353AH Output Compare 5 OCCP5 R/W 353BH Output Compare 5 OCCP5 R/W XXXXXXXX 353CH Timer Data 1 TCDT1 R/W 00000000 353DH Timer Data 1 TCDT1 R/W 353EH Timer Control 1 TCCS1 R/W 353FH Timer Control 1 TCCS1 R/W 3540H Timer 0/Reload 0 TMR0/ TMRLR0 R/W 3541H Timer 0/Reload 0 TMR0/ TMRLR0 R/W 3542H Timer 1/Reload 1 TMR1/ TMRLR1 R/W 3543H Timer 1/Reload 1 TMR1/ TMRLR1 R/W 3544H to 3545H XXXXXXXX Output Compare 4/5 I/O Timer 1 XXXXXXXX XXXXXXXX 00000000 00000000 0XXXXXXX 16-bit Reload Timer 0 16-bit Reload Timer 1 XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX Reserved 3546H Frequency Dtata SGFR R/W 3547H Amplitude Data SGAR R/W 3548H Decrement Grade SGDR R/W 3549H Tone Count SGTR R/W XXXXXXXX 354AH Sub-second Data WTBR R/W XXXXXXXX 354BH Sub-second Data WTBR R/W XXXXXXXX 354CH Sub-second Data WTBR R/W 354DH Second Data WTSR R/W 354EH Minute Data WTMR R/W XX000000 354FH Hour Data WTHR R/W XXX00000 3550H PWM1 Compare 0 PWC10 R/W XXXXXXXX 3551H PWM2 Compare 0 PWC20 R/W 3552H PWM1 Select 0 PWS10 R/W 3553H PWM2 Select 0 PWS20 R/W X0000000 3554H PWM1 Compare 1 PWC11 R/W XXXXXXXX 3555H PWM2 Compare 1 PWC21 R/W 3556H PWM1 Select 1 PWS11 R/W 3557H PWM2 Select 1 PWS21 R/W XXXXXXXX Sound Generator Watch Timer Stepping Motor Controller 0 Stepping Motor Controller 1 XXXXXXXX XXXXXXXX XXXXXXXX XX000000 XXXXXXXX 00000000 XXXXXXXX 00000000 X0000000 (Continued) 27 MB90390 Series Address Register AbbreviaAccess tion Resource name Initial value 3558H PWM1 Compare 2 PWC12 R/W 3559H PWM2 Compare 2 PWC22 R/W 355AH PWM1 Select 2 PWS12 R/W 355BH PWM2 Select 2 PWS22 R/W X0000000 355CH PWM1 Compare 3 PWC13 R/W XXXXXXXX 355DH PWM2 Compare 3 PWC23 R/W 355EH PWM1 Select 3 PWS13 R/W 355FH PWM2 Select 3 PWS23 R/W X0000000 3560H PWM1 Compare 4 PWC14 R/W XXXXXXXX 3561H PWM2 Compare 4 PWC24 R/W 3562H PWM1 Select 4 PWS14 R/W 3563H PWM2 Select 4 PWS24 R/W X0000000 3564H PWM1 Compare 5 PWC15 R/W XXXXXXXX 3565H PWM2 Compare 5 PWC25 R/W 3566H PWM1 Select 5 PWS15 R/W 3567H PWM2 Select 5 PWS25 R/W X0000000 3568H Output Compare Control Status 6 OCS6 R/W 0000XX00 3569H Output Compare Control Status 7 OCS7 R/W XXX00000 356AH Output Compare 6 OCCP6 R/W 356BH Output Compare 6 OCCP6 R/W 356CH Output Compare 7 OCCP7 R/W XXXXXXXX 356DH Output Compare 7 OCCP7 R/W XXXXXXXX 356EH CAN Direct Mode Register CDMR R/W CAN Clock Sync XXXXXXX0 356FH CAN RX/TX redirect register CANSWR R/W CAN 0/1/2/3 XXXX0000 XXXXXXXX Stepping Motor Controller 2 Stepping Motor Controller 3 Stepping Motor Controller 4 Stepping Motor Controller 5 Output Compare 6/7 XXXXXXXX 00000000 XXXXXXXX 00000000 XXXXXXXX 00000000 XXXXXXXX 00000000 XXXXXXXX XXXXXXXX 3570H to Reserved for CAN Interface 2/3/4. Refer to “■ CAN CONTROLLERS” 359FH 35A0H 35A1H 35A2H 35A3H 35A4H 35A5H 35A6H 35A7H 35A8H 35A9H to 35AAH I2C Bus Status Register 2 I C Bus Control Register I2C Ten Bit Slave Address Register I2C Ten Bit Address Mask Register I2C Seven Bit Slave Address Register IBSR R 00000000 IBCR R/W 00000000 ITBAL R/W 00000000 ITBAH R/W XXXXXX00 ITMKL R/W ITMKH R/W 00XXXX11 I2C Interface 11111111 ISBA R/W X0000000 2 ISMK R/W 01111111 2 IDAR R/W 00000000 I C Seven Bit Address Mask Register I C Data Register Reserved (Continued) 28 MB90390 Series Address 35ABH Register I2C Clock Control Register 35ACH to 35BFH AbbreviaAccess tion ICCR R/W Resource name Initial value I2C Interface X0011111 Reserved 35C0H Parameter Register Low Byte CMPRL R/W 35C1H Parameter Register High Byte CMPRH R/W 35C2H Clock Modulator Control Register CMCR R/W 35C3H to 35C8H 11111101 Clock Modulator XX000010 00010000 Reserved 35C9H Input Capture Edge 0/1 ICE01 R/W Input Capture 0/1 XXXXX0XX 35CAH Input Capture Edge 2/3 ICE23 R Input Capture 2/3 XXXXXXXX 35CBH Input Capture Edge 4/5 ICE45 R/W Input Capture 4/5 XXXXX0XX 35CCH to 35DFH Reserved 35E0H Detection Address Setting Register 0 (Low-order) PADR0 R/W XXXXXXXX 35E1H Detection Address Setting Register 0 (Middle-order) PADR0 R/W XXXXXXXX 35E2H Detection Address Setting Register 0 (High-order) PADR0 R/W 35E3H Detection Address Setting Register 1 (Low-order) PADR1 R/W 35E4H Detection Address Setting Register 1 (Middle-order) PADR1 R/W XXXXXXXX 35E5H Detection Address Setting Register 1 (High-order) PADR1 R/W XXXXXXXX 35E6H to 35EFH Address Maching Detection Function 0 XXXXXXXX XXXXXXXX Reserved 35F0H Detection Address Setting Register 3 (Low-order) PADR3 R/W XXXXXXXX 35F1H Detection Address Setting Register 3 (Middle-order) PADR3 R/W XXXXXXXX 35F2H Detection Address Setting Register 3 (High-order) PADR3 R/W 35F3H Detection Address Setting Register 4 (Low-order) PADR4 R/W 35F4H Detection Address Setting Register 4 (Middle-order) PADR4 R/W XXXXXXXX 35F5H Detection Address Setting Register 4 (High-order) PADR4 R/W XXXXXXXX Address Maching Detection Function 1 XXXXXXXX XXXXXXXX (Continued) 29 MB90390 Series (Continued) Address Register AbbreviaAccess tion Resource name Initial value 35F6H Detection Address Setting Register 5 (Low-order) PADR5 R/W XXXXXXXX 35F7H Detection Address Setting Register 5 (Middle-order) PADR5 R/W Address Maching XXXXXXXX Detection Function 1 35F8H Detection Address Setting Register 5 (High-order) PADR5 R/W XXXXXXXX 35F9H to 35FFH Reserved 3600H to 36FFH Reserved for CAN Interface 0. Refer to “■ CAN CONTROLLERS” 3700H to 37FFH Reserved for CAN Interface 0. Refer to “■ CAN CONTROLLERS” 3800H to 38FFH Reserved for CAN Interface 1. Refer to “■ CAN CONTROLLERS” 3900H to 39FFH Reserved for CAN Interface 1. Refer to “■ CAN CONTROLLERS” 3A00H to 3AFFH Reserved for CAN Interface 2. Refer to “■ CAN CONTROLLERS” 3B00H to 3BFFH Reserved for CAN Interface 2. Refer to “■ CAN CONTROLLERS” 3C00H to 3CFFH Reserved for CAN Interface 3. Refer to “■ CAN CONTROLLERS” 3D00H to 3DFFH Reserved for CAN Interface 3. Refer to “■ CAN CONTROLLERS” 3E00H to 3EFFH Reserved for CAN Interface 4. Refer to “■ CAN CONTROLLERS” 3F00H to 3FFFH Reserved for CAN Interface 4. Refer to “■ CAN CONTROLLERS” • Explanation on read/write R/W : Readable and Writeble R : Read only W : Write only • Explanation on initial values 0 : Initial value is “0”. 1 : Initial value is “1”. X : Initial value is undefined. Note : Any write access to reserved addresses in I/O map should not be performed. A read access to reserved address results in reading “X”. 30 MB90390 Series ■ CAN CONTROLLERS The CAN controller has the following features : • Conforms to CAN Specification Version 2.0 Part A and B - Supports transmission/reception in standard frame and extended frame formats • Supports transmitting of data frames by receiving remote frames • 16 transmitting/receiving message buffers - 29-bit ID and 8-byte data - Multi-level message buffer configuration • Provides full-bit comparison, full-bit mask, acceptance register 0/acceptance register 1 for each message buffer as ID acceptance mask - Two acceptance mask registers in either standard frame format or extended frame formats • Bit rate programmable from 10 Kbps to 2 Mbps (when input clock is at 16 MHz) List of Control Registers (1) Address CAN0 CAN1 CAN2 CAN3 CAN4 000070H 000080H 003570H 003580H 003590H 000071H 000081H 003571H 003581H 003591H 000072H 000082H 003572H 003582H 003592H 000073H 000083H 003573H 003583H 003593H 000074H 000084H 003574H 003584H 003594H 000075H 000085H 003575H 003585H 003595H 000076H 000086H 003576H 003586H 003596H 000077H 000087H 003577H 003587H 000078H 000088H 003578H 003588H 000079H 000089H 003579H 003589H Register AbbreviaAccess tion Initial Value Message buffer valid register BVALR R/W 00000000 00000000 Transmit request register TREQR R/W 00000000 00000000 Transmit cancel register TCANR W 00000000 00000000 Transmit 003597H complete register TCR R/W 00000000 00000000 003598H Receive complete register 003599H RCR R/W 00000000 00000000 RRTRR R/W 00000000 00000000 ROVRR R/W 00000000 00000000 RIER R/W 00000000 00000000 00007AH 00008AH 00357AH 00358AH 00359AH Remote request 00007BH 00008BH 00357BH 00358BH 00359BH receiving register 00007CH 00008CH 00357CH 00358CH 00359CH 00007DH 00008DH 00357DH 00358DH 00359DH Receive overrun register 00007EH 00008EH 00357EH 00358EH 00359EH Receive interrupt 00007FH 00008FH 00357FH 00358FH 00359FH enable register 31 MB90390 Series List of Control Registers (2) Address CAN0 CAN1 CAN2 CAN3 CAN4 003700H 003900H 003B00H 003D00H 003F00H 003701H 003901H 003B01H 003D01H 003F01H 003702H 003902H 003B02H 003D02H 003F02H 003703H 003903H 003B03H 003D03H 003F03H 003704H 003904H 003B04H 003D04H 003F04H 003705H 003905H 003B05H 003D05H 003F05H 003706H 003906H 003B06H 003D06H 003F06H 003707H 003907H 003B07H 003D07H 003F07H 003708H 003908H 003B08H 003D08H 003F08H 003709H 003909H 003B09H 003D09H 003F09H 00370AH 00390AH 003B0AH 003D0AH 003F0AH 00370BH 00390BH 003B0BH 003D0BH 003F0BH 00370CH 00390CH 003B0CH 003D0CH 003F0CH 00370DH 00390DH 003B0DH 003D0DH 003F0DH 00370EH 00390EH 003B0EH 003D0EH 003F0EH 00370FH 00390FH 003B0FH 003D0FH 003F0FH R/W, R 00XXX000 0XXXX0X1 Last event indicator register LEIR R/W XXXXXXXX 000X0000 Receive/transmit error counter RTEC R 00000000 00000000 Bit timing register BTR R/W X1111111 11111111 IDE register IDER R/W XXXXXXXX XXXXXXXX Transmit RTR register TRTRR R/W 00000000 00000000 Remote frame receive waiting register RFWTR R/W XXXXXXXX XXXXXXXX Transmit interrupt enable register TIER R/W 00000000 00000000 003711H 003713H 003911H 003B11H 003D11H 003F11H Acceptance mask select 003912H 003B12H 003D12H 003F12H register 003913H 003B13H 003D13H 003F13H 003714H 003914H 003B14H 003D14H 003F14H 003715H 003716H 003915H 003B15H 003D15H 003F15H Acceptance mask register 0 003916H 003B16H 003D16H 003F16H 003717H 003917H 003B17H 003D17H 003F17H 003718H 003918H 003B18H 003D18H 003F18H 003719H 003919H 003B19H 003D19H 003F19H Acceptance mask register 1 00391AH 003B1AH 003D1AH 003F1AH 00371BH 00391BH 003B1BH 003D1BH 003F1BH Initial Value CSR 003910H 003B10H 003D10H 003F10H 00371AH AbbreviaAccess tion Control status register 003710H 003712H 32 Register XXXXXXXX XXXXXXXX AMSR R/W XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX AMR0 R/W XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX AMR1 R/W XXXXXXXX XXXXXXXX MB90390 Series List of Message Buffers (ID Registers) (1) Address CAN0 CAN1 CAN2 CAN3 CAN4 003600H 003800H 003A00H 003C00H 003E00H to to to to to 00361FH 00381FH 003A1FH 003C1FH 003E1FH 003620H 003820H 003A20H 003C20H 003E20H 003621H 003821H 003A21H 003C21H 003E21H 003622H 003822H 003A22H 003C22H 003E22H 003623H 003823H 003A23H 003C23H 003E23H 003624H 003824H 003A24H 003C24H 003E24H 003625H 003825H 003A25H 003C25H 003E25H 003626H 003826H 003A26H 003C26H 003E26H 003627H 003827H 003A27H 003C27H 003E27H 003628H 003828H 003A28H 003C28H 003E28H 003629H 003829H 003A29H 003C29H 003E29H 00362AH 00382AH 003A2AH 003C2AH 003E2AH Register Abbreviation Access Initial Value Generalpurpose RAM R/W XXXXXXXX to XXXXXXXX XXXXXXXX XXXXXXXX ID register 0 IDR0 R/W XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX ID register 1 IDR1 R/W XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX ID register 2 IDR2 R/W XXXXXXXX XXXXXXXX 00362BH 00382BH 003A2BH 003C2BH 003E2BH 00362CH 00382CH 003A2CH 003C2CH 003E2CH 00362DH 00382DH 003A2DH 003C2DH 003E2DH 00362EH 00382EH 003A2EH 003C2EH 003E2EH XXXXXXXX XXXXXXXX ID register 3 IDR3 R/W XXXXXXXX XXXXXXXX 00362FH 00382FH 003A2FH 003C2FH 003E2FH 003630H 003830H 003A30H 003C30H 003E30H 003631H 003831H 003A31H 003C31H 003E31H 003632H 003832H 003A32H 003C32H 003E32H 003633H 003833H 003A33H 003C33H 003E33H 003634H 003834H 003A34H 003C34H 003E34H 003635H 003835H 003A35H 003C35H 003E35H 003636H 003836H 003A36H 003C36H 003E36H 003637H 003837H 003A37H 003C37H 003E37H 003638H 003838H 003A38H 003C38H 003E38H 003639H 003839H 003A39H 003C39H 003E39H 00363AH 00383AH 003A3AH 003C3AH 003E3AH XXXXXXXX XXXXXXXX ID register 4 IDR4 R/W XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX ID register 5 IDR5 R/W XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX ID register 6 IDR6 R/W XXXXXXXX XXXXXXXX 00363BH 00383BH 003A3BH 003C3BH 003E3BH 00363CH 00383CH 003A3CH 003C3CH 003E3CH 00363DH 00383DH 003A3DH 003C3DH 003E3DH 00363EH 00383EH 003A3EH 003C3EH 003E3EH 00363FH 00383FH 003A3FH 003C3FH 003E3FH XXXXXXXX XXXXXXXX ID register 7 IDR7 R/W XXXXXXXX XXXXXXXX 33 MB90390 Series List of Message Buffers (ID Registers) (2) Address CAN0 CAN1 Address CAN2 CAN3 CAN4 003640H 003840H 003A40H 003C40H 003E40H 003641H 003841H 003A41H 003C41H 003E41H 003642H 003842H 003A42H 003C42H 003E42H 003643H 003843H 003A43H 003C43H 003E43H 003644H 003844H 003A44H 003C44H 003E44H 003645H 003845H 003A45H 003C45H 003E45H 003646H 003846H 003A46H 003C46H 003E46H 003647H 003847H 003A47H 003C47H 003E47H 003648H 003848H 003A48H 003C48H 003E48H 003649H 003849H 003A49H 003C49H 003E49H 00364AH 00384AH 003A4AH 003C4AH 003E4AH Register Abbreviation Access XXXXXXXX XXXXXXXX ID register 8 IDR8 R/W XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX ID register 9 IDR9 R/W XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX ID register 10 IDR10 R/W XXXXXXXX XXXXXXXX 00364BH 00384BH 003A4BH 003C4BH 003E4BH 00364CH 00384CH 003A4CH 003C4CH 003E4CH 00364DH 00384DH 003A4DH 003C4DH 003E4DH 00364EH 00384EH 003A4EH 003C4EH 003E4EH XXXXXXXX XXXXXXXX ID register 11 IDR11 R/W XXXXXXXX XXXXXXXX 00364FH 00384FH 003A4FH 003C4FH 003E4FH 003650H 003850H 003A50H 003C50H 003E50H 003651H 003851H 003A51H 003C51H 003E51H 003652H 003852H 003A52H 003C52H 003E52H 003653H 003853H 003A53H 003C53H 003E53H 003654H 003854H 003A54H 003C54H 003E54H 003655H 003855H 003A55H 003C55H 003E55H 003656H 003856H 003A56H 003C56H 003E56H 003657H 003857H 003A57H 003C57H 003E57H 003658H 003858H 003A58H 003C58H 003E58H 003659H 003859H 003A59H 003C59H 003E59H 00365AH 00385AH 003A5AH 003C5AH 003E5AH XXXXXXXX XXXXXXXX ID register 12 IDR12 R/W XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX ID register 13 IDR13 R/W XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX ID register 14 IDR14 R/W XXXXXXXX XXXXXXXX 00365BH 00385BH 003A5BH 003C5BH 003E5BH 00365CH 00385CH 003A5CH 003C5CH 003E5CH 00365DH 00385DH 003A5DH 003C5DH 003E5DH 00365EH 00385EH 003A5EH 003C5EH 003E5EH 00365FH 00385FH 003A5FH 003C5FH 003E5FH 34 Initial Value XXXXXXXX XXXXXXXX ID register 15 IDR7 R/W XXXXXXXX XXXXXXXX MB90390 Series List of Message Buffers (DLC Registers and Data Registers) (1) Address CAN0 CAN1 Address CAN2 CAN3 CAN4 003660H 003860H 003A60H 003C60H 003E60H 003661H 003861H 003A61H 003C61H 003E61H 003662H 003862H 003A62H 003C62H 003E62H 003663H 003863H 003A63H 003C63H 003E63H 003664H 003864H 003A64H 003C64H 003E64H 003665H 003865H 003A65H 003C65H 003E65H 003666H 003866H 003A66H 003C66H 003E66H 003667H 003867H 003A67H 003C67H 003E67H 003668H 003868H 003A68H 003C68H 003E68H 003669H 003869H 003A69H 003C69H 003E69H 00366AH 00386AH 003A6AH 003C6AH 003E6AH 00366BH 00386BH 003A6BH 003C6BH 003E6BH 00366CH 00386CH 003A6CH 003C6CH 003E6CH 00366DH 00386DH 003A6DH 003C6DH 003E6DH 00366EH 00386EH 003A6EH 003C6EH 003E6EH 00366FH 00386FH 003A6FH 003C6FH 003E6FH 003670H 003870H 003A70H 003C70H 003E70H 003671H 003871H 003A71H 003C71H 003E71H 003672H 003872H 003A72H 003C72H 003E72H 003673H 003873H 003A73H 003C73H 003E73H 003674H 003874H 003A74H 003C74H 003E74H 003675H 003875H 003A75H 003C75H 003E75H 003676H 003876H 003A76H 003C76H 003E76H 003677H 003877H 003A77H 003C77H 003E77H 003678H 003878H 003A78H 003C78H 003E78H 003679H 003879H 003A79H 003C79H 003E79H 00367AH 00387AH 003A7AH 003C7AH 003E7AH 00367BH 00387BH 003A7BH 003C7BH 003E7BH 00367CH 00387CH 003A7CH 003C7CH 003E7CH 00367DH 00387DH 003A7DH 003C7DH 003E7DH 00367EH 00387EH 003A7EH 003C7EH 003E7EH 00367FH 00387FH 003A7FH 003C7FH 003E7FH Register Abbreviation Access Initial Value DLC register 0 DLCR0 R/W XXXXXXXX DLC register 1 DLCR1 R/W XXXXXXXX DLC register 2 DLCR2 R/W XXXXXXXX DLC register 3 DLCR3 R/W XXXXXXXX DLC register 4 DLCR4 R/W XXXXXXXX DLC register 5 DLCR5 R/W XXXXXXXX DLC register 6 DLCR6 R/W XXXXXXXX DLC register 7 DLCR7 R/W XXXXXXXX DLC register 8 DLCR8 R/W XXXXXXXX DLC register 9 DLCR9 R/W XXXXXXXX DLC register 10 DLCR10 R/W XXXXXXXX DLC register 11 DLCR11 R/W XXXXXXXX DLC register 12 DLCR12 R/W XXXXXXXX DLC register 13 DLCR13 R/W XXXXXXXX DLC register 14 DLCR14 R/W XXXXXXXX DLC register 15 DLCR15 R/W XXXXXXXX 35 MB90390 Series List of Message Buffers (DLC Registers and Data Registers) (2) Address Register Abbreviation Access Initial Value 003880H 003A80H 003C80H 003E80H to to to to 003887H 003A87H 003C87H 003E87H Data register 0 (8 bytes) DTR0 R/W XXXXXXXX to XXXXXXXX 003688H 003888H 003A88H 003C88H 003E88H to to to to to 00368FH 00388FH 003A8FH 003C8FH 003E8FH Data register 1 (8 bytes) DTR1 R/W XXXXXXXX to XXXXXXXX 003690H to 003697H 003890H 003A90H 003C90H 003E90H to to to to 003897H 003A97H 003C97H 003E97H Data register 2 (8 bytes) DTR2 R/W XXXXXXXX to XXXXXXXX 003698H 003898H 003A98H 003C98H 003E98H to to to to to 00369FH 00389FH 003A9FH 003C9FH 003E9FH Data register 3 (8 bytes) DTR3 R/W XXXXXXXX to XXXXXXXX 0036A0H 0038A0H 003AA0H 003CA0H 003EA0H to to to to to 0036A7H 0038A7H 003AA7H 003CA7H 003EA7H Data register 4 (8 bytes) DTR4 R/W XXXXXXXX to XXXXXXXX 0036A8H 0038A8H 003AA8H 003CA8H 003EA8H to to to to to 0036AFH 0038AFH 003AAFH 003CAFH 003EAFH Data register 5 (8 bytes) DTR5 R/W XXXXXXXX to XXXXXXXX 0036B0H 0038B0H 003AB0H 003CB0H 003EB0H to to to to to 0036B7H 0038B7H 003AB7H 003CB7H 003EB7H Data register 6 (8 bytes) DTR6 R/W XXXXXXXX to XXXXXXXX 0036B8H 0038B8H 003AB8H 003CB8H 003EB8H to to to to to 0036BFH 0038BFH 003ABFH 003CBFH 003EBFH Data register 7 (8 bytes) DTR7 R/W XXXXXXXX to XXXXXXXX 0036C0H 0038C0H 003AC0H 003CC0H 003EC0H to to to to to 0036C7H 0038C7H 003AC7H 003CC7H 003EC7H Data register 8 (8 bytes) DTR8 R/W XXXXXXXX to XXXXXXXX 0036C8H 0038C8H 003AC8H 003CC8H 003EC8H to to to to to 0036CFH 0038CFH 003ACFH 003CCFH 003ECFH Data register 9 (8 bytes) DTR9 R/W XXXXXXXX to XXXXXXXX 0036D0H 0038D0H 003AD0H 003CD0H 003ED0H Data register 10 to to to to to (8 bytes) 0036D7H 0038D7H 003AD7H 003CD7H 003ED7H DTR10 R/W XXXXXXXX to XXXXXXXX 0036D8H 0038D8H 003AD8H 003CD8H 003ED8H Data register 11 to to to to to (8 bytes) 0036DFH 0038DFH 003ADFH 003CDFH 003EDFH DTR11 R/W XXXXXXXX to XXXXXXXX 0036E0H 0038E0H 003AE0H 003CE0H 003EE0H Data register 12 to to to to to (8 bytes) 0036E7H 0038E7H 003AE7H 003CE7H 003EE7H DTR12 R/W XXXXXXXX to XXXXXXXX 0036E8H 0038E8H 003AE8H 003CE8H 003EE8H Data register 13 to to to to to (8 bytes) 0036EFH 0038EFH 003AEFH 003CEFH 003EEFH DTR13 R/W XXXXXXXX to XXXXXXXX CAN0 003680H to 003687H 36 Address CAN1 CAN2 CAN3 CAN4 MB90390 Series List of Message Buffers (DLC Registers and Data Registers) (3) Address Address Abbreviation Access Initial Value 0036F0H 0038F0H 003AF0H 003CF0H 003EF0H Data register 14 to to to to to (8 bytes) 0036F7H 0038F7H 003AF7H 003CF7H 003EF7H DTR14 R/W XXXXXXXX to XXXXXXXX 0036F8H 0038F8H 003AF8H 003CF8H 003EF8H Data register 15 to to to to to (8 bytes) 0036FFH 0038FFH 003AFFH 003CFFH 003EFFH DTR15 R/W XXXXXXXX to XXXXXXXX CAN0 CAN1 CAN2 CAN3 CAN4 Register 37 MB90390 Series ■ INTERRUPT FACTORS, INTERRUPT VECTORS, INTERRUPT CONTROL REGISTER Interrupt cause EI2OS clear Interrupt vector Interrupt control register Number Address Number Address Reset N/A #08 FFFFDCH INT9 instruction N/A #09 FFFFD8H Exception N/A #10 FFFFD4H Time Base Timer N/A #11 FFFFD0H #12 FFFFCCH ICR00 0000B0H ICR01 0000B1H ICR02 0000B2H ICR03 0000B3H ICR04 0000B4H ICR05 0000B5H ICR06 0000B6H ICR07 0000B7H ICR08 0000B8H ICR09 0000B9H ICR10 0000BAH ICR11 0000BBH ICR12 0000BCH ICR13 0000BDH External Interrupt INT0 to INT7 CAN 0 RX N/A #13 FFFFC8H CAN 0 TX/NS N/A #14 FFFFC4H CAN 1 RX N/A #15 FFFFC0H CAN 1 TX/NS N/A #16 FFFFBCH PPG 0/1 / (CAN 2 RX) N/A #17 FFFFB8H PPG 2/3 / (CAN 2 TX/NS) N/A #18 FFFFB4H PPG 4/5 / (CAN 3 RX) N/A #19 FFFFB0H PPG 6/7 / (CAN 3 TX/NS) N/A #20 FFFFACH PPG 8/9 / (CAN 4 RX) N/A #21 FFFFA8H PPG A/B / (CAN 4 TX/NS) N/A #22 FFFFA4H 16-bit Reload Timer 0 #23 FFFFA0H 16-bit Reload Timer 1 #24 FFFF9CH Input Capture 0/1 #25 FFFF98H Output compare 0/1 #26 FFFF94H Input Capture 2/3 / Output Compare 6 #27 FFFF90H Output Compare 2/3 #28 FFFF8CH #29 FFFF88H Output Compare 4/5 / (I C) #30 FFFF84H A/D Converter #31 FFFF80H #32 FFFF7CH #33 FFFF78H #34 FFFF74H UART 0 RX #35 FFFF70H UART 0 TX #36 FFFF6CH UART 1 RX #37 FFFF68H UART 1 TX #38 FFFF64H Input Capture 4/5 / Output Compare 7 2 I/O Timer 0 / I/O Timer 1 / Watch Timer N/A Serial I/O Sound Generator N/A (Continued) 38 MB90390 Series (Continued) Interrupt cause EI2OS clear Interrupt vector Number Address (UART 2 RX) / UART 3 RX #39 FFFF60H (UART 2 TX) / UART 3 TX #40 FFFF5CH Flash Memory N/A #41 FFFF58H Delayed interrupt N/A #42 FFFF54H Interrupt control register Number Address ICR14 0000BEH ICR15 0000BFH : The interrupt request flag is cleared by the EI2OS interrupt clear signal. : The interrupt request flag is cleared by the EI2OS interrupt clear signal. A stop request is available. N/A : The interrupt request flag is not cleared by the EI2OS interrupt clear signal. Notes : For a peripheral module with two interrupt causes for a single interrupt number, both interrupt request flags are cleared by the EI2OS interrupt clear signal. At the end of EI2OS, the EI2OS clear signal will be asserted for all the interrupt flags assigned to the same interrupt number. If one interrupt flag starts the EI2OS and in the meantime another interrupt flag is set by hardware event, the later event is lost because the flag is cleared by the EI2OS clear signal caused by the first event. So it is recommended not to use the EI2OS for this interrupt number. If EI2OS is enabled, EI2OS is initiated when one of the two interrupt signals in the same interrupt control register (ICR) is asserted. This means that different interrupt sources share the same EI2OS Descriptor which should be unique for each interrupt source. For this reason, when one interrupt source uses the EI2OS, the other interrupt should be disabled. 39 MB90390 Series ■ ELECTRICAL CHARACTERISTICS 1. Absolute Maximum Ratings Parameter (VSS = AVSS = 0 V) Symbol Rating Unit Remarks Min Max VCC VSS − 0.3 VSS + 6.0 V AVCC VSS − 0.3 VSS + 6.0 V VCC = AVCC*1 AVRH, AVRL VSS − 0.3 VSS + 6.0 V AVCC ≥ AVRH, AVCC ≥ AVRL, AVRH ≥ AVRL DVCC VSS − 0.3 VSS + 6.0 V VCC ≥ DVCC Input voltage VI VSS − 0.3 VSS + 6.0 V *2 Output voltage VO VSS − 0.3 VSS + 6.0 V *2 ICLAMP −2.0 +2.0 mA *5 Σ|ICLAMP| 20 mA *5 IOL1 15 mA Normal outputs*3 IOLAV1 4 mA Normal outputs, average value IOL2 40 mA High current outputs*4 “L” level average output current IOLAV2 30 mA High current outputs, average value “L” level maximum overall output current ΣIOL1 100 mA Sum of all normal outputs “L” level maximum overall output current ΣIOL2 330 mA Sum of all high current outputs “L” level average overall output current ΣIOLAV1 50 mA Sum of all normal outputs, average value “L” level average overall output current ΣIOLAV2 250 mA Sum of all high current outputs, average value IOH1 −15 mA Normal outputs*3 IOHAV1 −4 mA Normal outputs, average value IOH2 −40 mA High current outputs*4 “H” level average output current IOHAV2 −30 mA High current outputs, average value “H” level maximum overall output current ΣIOH1 −100 mA Sum of all normal outputs “H” level maximum overall output current ΣIOH2 −330 mA Sum of all high current outputs “H” level average overall output current ΣIOHAV −50 mA Sum of all normal outputs, average value “H” level average overall output current ΣIOHAV −250 mA Sum of all high current outputs, average value Power consumption PD 800 mW MB90F394H Operating temperature TA −40 +85 °C TSTG −55 +150 °C Power supply voltage Maximum Clamp Current Total Maximum Clamp Current “L” level maximum output current “L” level average output current “L” level maximum output current “H” level maximum output current “H” level average output current “H” level maximum output current Storage temperature (Continued) 40 MB90390 Series (Continued) *1: Set AVCC and VCC to the same voltage. Make sure that AVCC does not exceed VCC and that the voltage at the analog inputs does not exceed AVCC when the power is switched on. *2: VI and VO should not exceed VCC + 0.3 V. VI should not exceed the specified ratings. However if the maximun current to/from a input is limited by some means with external components, the ICLAMP rating supercedes the VI rating. *3: Applicable to pins: P00 to P07, P10 to P17, P20 to P27, P30 to P37, P40 to P47, P50 to P57, P60 to P67, P90 to P97, PB0 to PB7 *4: Applicable to pins: P70 to P77, P80 to P87, PA0 to PA7 *5: • Applicable to pins: P00 to P07, P10 to P17, P20 to P27, P30 to P37, P40 to P47, P50 to P57, P60 to P67 P70 to P77, P80 to P87, P90 to P97, PA0 to PA7, PB0 to PB6, PB7 • Use within recommended operating conditions. • Use at DC voltage (current) • The +B signal should always be applied 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 power supply 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 other than the A/D input 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 P-ch +B input (0 V to 16 V) 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. 41 MB90390 Series 2. Recommended Conditions Parameter Symbol (VSS = AVSS = 0 V) Value Unit Remarks Min Typ Max 3.5 5.0 5.5 V Under normal operation 3.0 5.5 V Retain RAM data in stop mode AVCC 4.5 5.5 V *1 Smoothing capacitor CS 0.1 1.0 µF *2 Operating temperature TA −40 +85 °C Power supply voltage VCC *1 : AVCC is a voltage at which accuracy is guaranteed. AVCC should not exceed VCC. *2 : Use a ceramic capacitor, or a capacitor of similar frequency characteristics. On the VCC pin, use a bypass capacitor that has a larger capacity than that of CS. Refer to the following figure for connection of smoothing capacitor CS. • C Pin Connection Diagram C CS WARNING: The recommended operating conditions are required in order to ensure the normal operation of the semiconductor device. All of the device’s electrical characteristics are warranted when the device is operated within these ranges. Always use semiconductor devices within their recommended operating condition ranges. Operation outside these ranges may adversely affect reliability and could result in device failure. No warranty is made with respect to uses, operating conditions, or combinations not represented on the data sheet. Users considering application outside the listed conditions are advised to contact their FUJITSU representatives beforehand. 42 MB90390 Series 3. DC Characteristics Parameter Input H voltage (At VCC = 5 V ± 10%) Input L voltage (At VCC = 5 V ± 10%) Output H voltage Output H voltage Output L voltage Output L voltage Input leak current (TA = −40 °C to +85 °C, VCC = 5.0 V ± 10%, VSS = AVSS = 0 V) Symbol Pin Condition VIHS Value Min Typ Max 0.8 VCC VCC + 0.3 Unit Remarks V Port inputs if CMOS Hysteresis input levels are selected VIHA 0.8 VCC VCC + 0.3 V Port inputs if AUTOMOTIVE Hysteresis input levels are selected VIHR 0.8 VCC VCC + 0.3 V RST input pin (CMOS Hysteresis) VIHM VCC − 0.3 VCC + 0.3 V MD input pin VILS VSS − 0.3 0.2 VCC V Port inputs if CMOS Hysteresis input levels are selected VILA VSS − 0.3 0.5 VCC V Port inputs if AUTOMOTIVE Hysteresis input levels are selected VILR VSS − 0.3 0.2 VCC V RST input pin (CMOS Hysteresis) VILM VSS − 0.3 VSS + 0.3 V MD input pin VCC − 0.5 V VOH1 VOH2 VOL1 VOL2 IIL Normal outputs High current outputs Normal outputs High current outputs VCC = 4.5 V, IOH1 = −4.0 mA VCC = 4.5 V, IOH2 = −40.0 mA TA = − 40 °C VCC = 4.5 V, VCC − 0.5 IOH2 = −30.0 mA V VCC = 4.5 V, IOH2 = −30.0 mA VCC = 4.5 V, IOL1 = 4.0 mA TA = + 85 °C 0.4 V VCC = 4.5 V, IOL2 = 40.0 mA VCC = 4.5 V, IOL2 = 30.0 mA TA = − 40 °C 0.5 V VCC = 4.5 V, IOL2 = 30.0 mA VCC = 5.5 V, VSS < VI < VCC TA = + 25 °C TA = + 25 °C TA = + 85 °C −5 5 µA (Continued) 43 MB90390 Series (TA = −40 °C to +85 °C, VCC = 5.0 V ± 10%, VSS = AVSS = 0 V) Parameter Symbol Pin Value Unit Remarks 70 mA MB90F394H 60 85 mA MB90F394H 65 85 mA MB90F394H VCC = 5.0 V, Internal frequency : 24 MHz, At writing FLASH memory. 75 100 mA MB90F394H VCC = 5.0 V, Internal frequency : 20 MHz, At erasing FLASH memory. 70 90 mA MB90F394H VCC = 5.0 V, Internal frequency : 24 MHz, At erasing FLASH memory. 80 105 mA MB90F394H VCC = 5.0 V, Internal frequency : 20 MHz, At Sleep mode. 22 30 mA MB90F394H VCC = 5.0 V, Internal frequency : 24 MHz, At Sleep mode. 27 36 mA MB90F394H ICTS VCC = 5.0 V, Internal frequency : 2.5 MHz, At Main Timer mode 0.3 0.6 mA MB90F394H ICTSPLL4 VCC = 5.0 V, Internal frequency : 20 MHz, At PLL Timer mode, external frequency = 5 MHz 4 6 mA MB90F394H ICTSPLL6 VCC = 5.0 V, Internal frequency : 24 MHz, At PLL Timer mode, external frequency = 4 MHz 5 7 mA MB90F394H ICCH VCC = 5.0 V, At Stop mode, TA = +25°C 5 100 µA MB90F394H ICC Power supply current* VCC ICCS Condition Min Typ Max VCC = 5.0 V, Internal frequency : 20 MHz, At normal operation. 50 VCC = 5.0 V, Internal frequency : 24 MHz, At normal operation. VCC = 5.0 V, Internal frequency : 20 MHz, At writing FLASH memory. (Continued) 44 MB90390 Series (Continued) Parameter Input capacity (TA = −40 °C to +85 °C, VCC = 5.0 V ± 10%, VSS = AVSS = 0 V) Symbol CIN Pin Condition Other than C, AVCC, AVSS, AVRH, AVRL, VCC, VSS, DVCC, DVSS, P70 to P77, P80 to P87, PA0 to PA7 P70 to P77, P80 to P87, PA0 to PA7 Value Unit Min Typ Max 5 15 pF 15 30 pF Remarks * : The power supply current is measured with an external clock. 45 MB90390 Series 4. AC Characteristics (1) Clock Timing (TA = −40 °C to +85 °C, VCC = 3.5 V to 5.5 V, VSS = AVSS = 0 V) Parameter Oscillation frequency Oscillation cycle time Input clock pulse width Input clock rise and fall time Symbol Value Unit Remarks 8 MHz When using a crystal oscillator or a ceramic oscilltor* 12 MHz When using an external clock* 125 333 ns When using a crystal oscillator or a ceramic oscillator X0 83.33 333 ns When using an external clock PWH, PWL X0 20 ns Duty ratio is about 30% to 70%. tCR, tCF X0 5 ns When using external clock fC tCYL Pin Min Typ Max X0, X1 3 X0 3 X0, X1 Machine clock frequency fCP 1.5 24 MHz Machine clock cycle time tCP 41.67 666 ns When using clock modulation, be sure that the maximum momentary frequency Fmax does not exceed 24 MHz. Refer to the Clock Modulator chapter of the Hardware Manual. * : When selecting the PLL clock, the range of clock frequency is limitted. Use this product within range as mentioned in “• Guaranteed PLL operation range”. • Clock Timing tCYL 0.8 VCC X0 0.2 VCC PWH PWL tCF 46 tCR MB90390 Series • Guaranteed PLL operation range Guaranteed operation range Guaranteed PLL operation range (PLL2=1) Power supply voltage VCC (V) 5.5 Guaranteed A/D converter operation range 4.5 3.5 Guaranteed PLL operation range (PLL2=0) 1.5 4 8 20 24 Machine clock fCP (MHz) Guaranteed operation range of MB90F394H • PLL2 (bit 0 in PLLC register) = 0 Machine clock fCP (MHz) Guaranteed oscilation frequency range ×4 (CS=11) 20 ×3 (CS=10) ×2 (CS=01) 16 ×1*1 (CS=00) 12 8 6 4 1.5 ×1/2 (PLL off) 3 4 6 8 10 12 External clock fC (MHz)*2 • PLL2 (bit 0 in PLLC register) = 1 ×6 (CS=10) Guaranteed oscilation frequency range ×4 (CS=01) ×2 (CS=00) Machine clock fCP (MHz) 24 16 8 6 ×1/2 (PLL off) 1.5 3 4 6 8 10 12 External clock fC (MHz)*2 *1 : PLL × 1 guaranteed operation range is from 4.0 MHz to 12 MHz. *2 : When using a crystal oscillator or a ceramic oscillator, the maximum oscillation clock frequency is 8 MHz External clock frequency and Machine clock frequency 47 MB90390 Series (2) Reset Standby Input Parameter Symbol Reset input time tRSTL (TA = −40 °C to +85 °C, VCC = 3.5 V to 5.5 V, VSS = AVSS = 0.0 V) Pin RST Value Unit Remarks Min Max 16 tCP*1 ns Under normal operation Oscillation time of oscillator*2 + 100µs + 16 tCP*1 ns In Stop mode 100 µs In Time Base Timer mode *1 : “tCP” represents one cycle time of the machine clock. No reset can fully initialize the Flash Memory if it is performing the automatic algorithm. *2 : Oscillation time of oscillator is the time that the amplitude reaches 90%. In the crystal oscillator, the oscillation time is between several ms and to tens of ms. In FAR / ceramic oscillators, the oscillation time is between hundreds of µs to several ms. With an external clock, the oscillation time is 0 ms. • Under Normal Operation tRSTL RST 0.2 VCC 0.2 VCC • In Stop Mode tRSTL RST 0.2 VCC X0 0.2 VCC 90% of amplitude Internal operation clock 16 tCP Oscillation time of oscillator +100 µs Oscillation setting time Instruction execution Internal reset 48 MB90390 Series (3) Power On Reset (TA = −40 °C to +85 °C, VCC = 3.5 V to 5.5 V, VSS = AVSS = 0.0 V) Parameter Symbol Pin Power on rise time tR VCC tOFF VCC Power off time Condition Value Unit Min Max 0.05 30 ms 1 ms Remarks Due to repetitive operation tR VCC 2.7 V 0.2 V 0.2 V 0.2 V tOFF If you change the power supply voltage too rapidly, a power on reset may occur. We recommend that you startup smoothly by restraining voltages when changing the power supply voltage during operation, as shown in the figure below. Perform while not using the PLL clock. However, if voltage drops are within 1 V/s, you can operate while using the PLL clock. VCC We recommend a rise of 50 mV/ms maximum. 3V VSS Holds RAM data 49 MB90390 Series (4) UART0/1/2/3, Serial I/O Timing (TA = −40 °C to +85 °C, VCC = 3.5 V to 5.5 V, VSS = 0 V) Symbol Pin Serial clock cycle time tSCYC SCK ↓ → SOT delay time tSLOV Valid SIN → SCK ↑ tIVSH SCK ↑ → Valid SIN hold time tSHIX Serial clock “H” pulse width Parameter Value Unit Min Max SCK0 to SCK4 8 tCP ns SCK0 to SCK4, SOT0 to SOT4 Internal clock operation output SCK0 to SCK4, pins are SIN0 to SIN4 CL = 80 pF + 1 TTL. SCK0 to SCK4, SIN0 to SIN4 −80 +80 ns 100 ns 60 ns tSHSL SCK0 to SCK4 4 tCP ns Serial clock “L” pulse width tSLSH SCK0 to SCK4 4 tCP ns SCK ↓ → SOT delay time tSLOV 150 ns Valid SIN → SCK ↑ tIVSH 60 ns SCK ↑ → Valid SIN hold time tSHIX 60 ns SCK0 to SCK4, External clock SOT0 to SOT4 operation output pins are SCK0 to SCK4, CL = 80 pF + 1 TTL. SIN0 to SIN4 SCK0 to SCK4, SIN0 to SIN4 Notes : • AC characteristic in CLK synchronized mode. • CL is load capacity value of pins when testing. • tCP is the machine cycle. 50 Condition Remarks MB90390 Series • Internal Shift Clock Mode tSCYC 2.4 V SCK 0.8 V 0.8 V tSLOV 2.4 V SOT 0.8 V tIVSH SIN tSHIX VIH VIH VIL VIL • External Shift Clock Mode tSLSH SCK tSHSL VIH VIL VIH VIL tSLOV 2.4 V SOT 0.8 V tIVSH SIN tSHIX VIH VIH VIL VIL 51 MB90390 Series (5) Timer Related Resource Input Timing Parameter Symbol Pin tTIWH TIN0, TIN1 tTIWL IN0 to IN5 Input pulse width (TA = −40 °C to +85 °C, VCC = 3.5 V to 5.5 V, VSS = 0 V) Value Condition Min Max 4 tCP Unit Remarks ns • Timer Input Timing VIH VIH VIL VIL tTIWH tTIWL (6) Trigger Input Timing Parameter (TA = −40 °C to +85 °C, VCC = 3.5 V to 5.5 V, VSS = 0 V) Symbol Pin tTRGH tTRGL INT0 to INT7, ADTG Input pulse width Value Condition Unit Remarks ns Under normal operation µs In stop mode Min Max 5 tCP 1 • Trigger Input Timing VIH VIH VIL tTRGH VIL tTRGL (7) Slew Rate High Current Outputs (TA = −40 °C to +85 °C, VCC = 3.5 V to 5.5 V, VSS = 0 V) Parameter Symbol Pin Condition Output Rise/Fall time tR2 tF2 P70 to P77, P80 to P87, PA0 to PA7 Value Min Typ Max 15 Unit ns • Slew Rate Output Timing VH VH VL VL VH = VOL2 + 0.9 ´ (VOH2 - VOL2) VL = VOL2 + 0.1 ´ (VOH2 - VOL2) tR2 52 tF2 Remarks MB90390 Series (8) I2C Timing (TA = −40 °C to +85 °C, VCC = 3.5 V to 5.5 V, VSS = 0 V) Parameter Symbol Condition Standard-mode Fast-mode*4 Unit Min Max Min Max fSCL 0 100 0 400 kHz tHDSTA 4.0 0.6 µs “L” width of the SCL clock tLOW 4.7 1.3 µs “H” width of the SCL clock tHIGH 4.0 0.6 µs Set-up time for a repeated START condition SCL ↑ → SDA ↓ tSUSTA 4.7 0.6 µs Data hold time SCL ↓ → SDA ↓ ↑ tHDDAT 0 3.45*2 0 0.9*3 µs Data set-up time SDA ↓ ↑ → SCL ↑ tSUDAT 250 100 ns Set-up time for STOP condition SCL ↑ → SDA ↑ tSUSTO 4.0 0.6 µs tBUS 4.7 1.3 µs SCL clock frequency Hold time (repeated) START condition SDA ↓ → SCL ↓ Bus free time between a STOP and START condition R = 1.3 kΩ, C = 50 pF*1 *1 : R, C : Pull-up resistor and load capacitor of the SCL and SDA lines. *2 : The maximum tHDDAT only has to be met if the device does not stretch the “L” width (tLOW) of the SCL signal. *3 : A Fast-mode I2C-bus device can be used in a Standard-mode I2C-bus system, but the requirement tSUDAT ≥ 250 ns must then be met. *4 : For use at over 100 kHz, set the machine clock to at least 6 MHz. SDA tSUDAT tLOW tBUS tHDSTA SCL tHDSTA tHDDAT tHIGH tSUSTA tSUSTO 53 MB90390 Series 5. A/D Converter (TA = −40 °C to +85 °C, 3.0 V ≤ AVRH − AVRL, VCC = AVCC = 5.0 V ± 10%, VSS = AVSS = 0 V) Parameter Symbol Pin Resolution Conversion error Value Unit Min Typ Max 10 bit ±3.0 LSB Nonlinearity error ±2.5 LSB Differential nonlinearity error ±1.9 LSB Zero reading voltage VOT AN0 to AN7 AVRL − 1.5 AVRL + 0.5 AVRL + 2.5 LSB Full scale reading voltage VFST AN0 to AN7 AVRH − 3.5 AVRH − 1.5 AVRH + 0.5 LSB Compare time 3.3 66 tCP 16500 µs Sampling time 1.6 32 tCP ∞ µs Analog port input current IAIN AN0 to AN7 −5 +5 µA Analog input voltage range VAIN AN0 to AN7 AVRL AVRH V AVRH AVRL + 2.7 AVCC V AVRL 0 AVRH − 2.7 V IA AVCC 3.5 7.5 mA IAH AVCC 5 µA IR AVRH 165 250 µA IRH AVRH 5 µA AN0 to AN7 4 LSB Reference voltage range Power supply current Reference voltage current Offset between input channels Remarks * * * : When not operating A/D converter, this is the current (VCC = AVCC = AVRH = 5.0 V) . Terminology Conversion error : Absolute maximum conversion deviation with respect to the theoretical conversion line. Nonlinearity : Relative maximum conversion deviation with respect to the theoretical conversion line connecting to the device unique zero reading voltage and full scale reading voltage. Differential nonlinearity : Max conversion deviation in any two adjacent reading voltages with respect to the the oretical LSB conversion step. Zero reading voltage : Input voltage which results in the minimum conversion value. Full scale reading voltage : Input voltage which results in the maximum coversion value. Notes : The accuracy gets worse as AVRH − AVRL becomes smaller. 54 MB90390 Series 6. Definition of A/D Converter Terms Resolution Linear error : Analog variation that is recognized by an A/D converter. : Deviation between a line across zero-transition line ( “00 0000 0000” ← → “00 0000 0001” ) and full-scale transition line ( “11 1111 1110” ← → “11 1111 1111” ) and actual conversion characteristics. Differential linear : Deviation of input voltage, which is required for changing output code by 1 LSB, from an ideal error value. Total error : Difference between an actual value and an ideal value. A total error includes zero transition error, full-scale transition error, and linear error. Total error 3FF 3FE Actual conversion characteristics 1.5 LSB Digital output 3FD {1 LSB × (N − 1) + 0.5 LSB} 004 VNT (Actually-measured value) 003 002 Actual conversion characteristics Ideal characteristics 001 0.5 LSB AVSS AVRH Analog input VNT − {1 LSB × (N − 1) + 0.5 LSB} 1 LSB AVRH − AVSS 1 LSB = (Ideal value) [V] 1024 VOT (Ideal value) = AVSS + 0.5 LSB [V] Total error of digital output “N” = [LSB] VFST (Ideal value) = AVRH − 1.5 LSB [V] VNT : A voltage at which digital output transitions from (N − 1) to N. (Continued) 55 MB90390 Series (Continued) Linear error Differential linear error Ideal characteristics 3FF Actual conversion characteristics {1 LSB × (N − 1) + VOT } Digital output 3FD N+1 VFST (actual measurement value) VNT (actual measurement value) 004 Actual conversion characteristics 003 Digital output 3FE Actual conversion characteristics N V (N + 1) T (actual measurement value) VNT (actual measurement value) N−1 002 Ideal characteristics Actual conversion characteristics N−2 001 VOT (actual measurement value) AVSS AVRH AVSS AVRH Analog input Analog input Linear error of digital output N = Differential linear error of digital output N = 1 LSB = VNT − {1 LSB × (N − 1) + VOT} 1 LSB V (N+1) T − VNT 1 LSB VFST − VOT 1022 −1 LSB [LSB] [V] VOT : Voltage at which digital output transits from “000H” to “001H.” VFST : Voltage at which digital output transits from “3FEH” to “3FFH.” 56 [LSB] MB90390 Series 7. Notes on A/D Converter Section Use the device with external circuits of the following output impedance for analog inputs : Recommended output impedance of external circuits are : Approx. 3.1 kΩ or lower (4.5 V ≤ AVCC ≤ 5.5 V) (sampling period = 1.60 µs at 20 MHz machine clock) . If an external capacitor is used, in consideration of the effect by tap capacitance caused by external capacitors and on-chip capacitors, capacitance of the external one is recommended to be several thousand times as high as internal capacitor. If toutput impedance of an external circuit is too high, a sampling period for an analog voltage may be insufficient. • Analog input circuit model R Analog input Comparator C R =: 2.35 kΩ, C =: 36.4 pF Note : Use the values in the figure only as a guideline. 8. Flash Memory Program/Erase Characteristics Parameter Conditions Sector erase time Chip erase time TA = +25 °C VCC = 5.0 V Word (16 bit width) programming time Value Unit Remarks MIn Typ Max 1 15 s Excludes programming prior to erasure 9 s Excludes programming prior to erasure 16 3,600 µs Except for the over head time of the system Programs/Erase cycle 10,000 cycle Flash Data Retention Time Average TA = +85 °C 20 Year * * : This value comes from the technology qualification (using Arrhenius equation to translate high temperature measurements into normalized value at + 85 °C) . 57 MB90390 Series ■ EXAMPLE CHARACTERISTICS ICC − VCC (Ta = +25 °C) ICCS − VCC (fcp = 2.5 MHz, Ta = +25 °C) 14 60 fcp = 20 MHz 12 50 fcp = 15 MHz 10 fcp = 10 MHz 30 ICCS [mA] ICC [mA] 40 fcp = 5 MHz 8 6 20 4 fcp = 2.5 MHz 10 2 0 2.0 3.0 4.0 5.0 6.0 0 2.0 7.0 3.0 4.0 5.0 6.0 7.0 6.0 7.0 VCC [V] VCC [V] ICTS − VCC (fcp = 2.5 MHz, Ta = +25 °C) ICCH − VCC (Ta = +25 °C) 20 600 18 16 500 14 12 ICCS [ A] ICTS [ A] 400 300 200 10 8 6 4 100 2 0 0 2.0 58 3.0 4.0 5.0 VCC [V] 6.0 7.0 2.0 3.0 4.0 5.0 VCC [V] MB90390 Series ■ ORDERING INFORMATION Part number Package MB90F394HPMT 120-pin Plastic LQFP (FPT-120P-M21) MB90V390HCR 299-pin Ceramic PGA (PGA-299C-A01) Remarks For evaluation 59 MB90390 Series ■ PACKAGE DIMENSION Note 1) * : These dimensions do not include resin protrusion. Resin protrusion is +0.25 (.010) MAX (each side) . Note 2) Pins width and pins thickness include plating thickness. Note 3) Pins width do not include tie bar cutting remainder. 120-pin Plastic LQFP (FPT-120P-M21) 18.00±0.20(.709±.008)SQ +0.40 * 16.00 –0.10 .630 +.016 –.004 SQ 90 61 91 60 0.08(.003) Details of "A" part +0.20 1.50 –0.10 +.008 (Mounting height) .059 –.004 INDEX 0~8˚ 120 LEAD No. 1 30 0.50(.020) C "A" 31 0.22±0.05 (.009±.002) 0.08(.003) M 0.145 .006 +0.05 –0.03 +.002 –.001 0.60±0.15 (.024±.006) 0.10±0.05 (.004±.002) (Stand off) 0.25(.010) 2002 FUJITSU LIMITED F120033S-c-4-4 Dimensions in mm (inches) . Note : The values in parentheses are reference values. 60 MB90390 Series FUJITSU LIMITED All Rights Reserved. The contents of this document are subject to change without notice. Customers are advised to consult with FUJITSU sales representatives before ordering. The information, such as descriptions of function and application circuit examples, in this document are presented solely for the purpose of reference to show examples of operations and uses of Fujitsu semiconductor device; Fujitsu does not warrant proper operation of the device with respect to use based on such information. When you develop equipment incorporating the device based on such information, you must assume any responsibility arising out of such use of the information. Fujitsu 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 or any third party or does Fujitsu warrant non-infringement of any third-party’s intellectual property right or other right by using such information. Fujitsu 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 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. If any products described in this document represent goods or technologies subject to certain restrictions on export under the Foreign Exchange and Foreign Trade Law of Japan, the prior authorization by Japanese government will be required for export of those products from Japan. F0405 FUJITSU LIMITED Printed in Japan