FUJITSU SEMICONDUCTOR DATA SHEET DS07-13737-6E 16-bit Microcontroller CMOS F2MC-16LX MB90350 Series MB90F351(S), MB90F352(S),MB90F351A(S), MB90F351TA(S), MB90F352A(S), MB90F352TA(S), MB90F356A(S), MB90F356TA(S), MB90F357A(S), MB90F357TA(S),MB90351A(S), MB90351TA(S), MB90352A(S), MB90352TA(S),MB90356A(S), MB90356TA(S), MB90357A(S), MB90357TA(S), MB90V340A-101/102/103/104 DESCRIPTION The MB90350-series with 1 channel FULL-CAN interface and Flash ROM is especially designed for automotive and industrial applications. Its main feature is the on-board CAN interface, which conforms 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 SEMICONDUCTOR now offers on-chip FlashROM program memory up to 128 Kbytes. The power supply (3 V) is supplied to the internal MCU core from an internal regulator circuit. This creates a major advantage in terms of EMI and power consumption. The internal PLL clock frequency multiplier provides an internal 42 ns instruction execution time from an external 4 MHz clock. Also, the clock monitor function can monitor main clock and sub clock independently. As the peripheral resources, the unit features a 4-channel Output Compare Unit, 6-channel Input Capture Unit, 2 separate 16-bit freerun timers, 2-channel UART and 15-channel 8/10-bit A/D converter. Note : F2MC is the abbreviation of FUJITSU Flexible Microcontroller. For the information for microcontroller supports, see the following web site. This web site includes the "Customer Design Review Supplement" which provides the latest cautions on system development and the minimal requirements to be checked to prevent problems before the system development. http://edevice.fujitsu.com/micom/en-support/ Copyright(c)2003-2010 FUJITSU SEMICONDUCTOR LIMITED All rights reserved 2010.9 MB90350 Series FEATURES * Clock * Built-in PLL clock frequency multiplication circuit * Selection of machine clocks (PLL clocks) is allowed among frequency division by two on oscillation clock, and multiplication of 1 to 6 times of oscillation clock (for 4 MHz oscillation clock, 4 MHz to 24 MHz). * Operation by sub clock (up to 50 kHz : 100 kHz oscillation clock divided by two) is allowed. (devices without S-suffix only) * Minimum execution time of instruction : 42 ns (when operating with 4-MHz oscillation clock, and 6-time multiplied PLL clock). * Built-in clock modulation circuit * 16 Mbytes CPU memory space * 24-bit internal addressing * Clock monitor function (MB90x356x and MB90x357x only) * Main clock or sub clock is monitored independently. * Internal CR oscillation clock (100 kHz typical) can be used as sub clock. * Instruction system best suited to controller * Wide choice of data types (bit, byte, word, and long word) * Wide choice of addressing modes (23 types) * Enhanced multiply-divide instructions with sign and RETI instructions * Enhanced high-precision computing with 32-bit accumulator * Instruction system compatible with high-level language (C language) and multitask * Employing system stack pointer * Enhanced various pointer indirect instructions * Barrel shift instructions * Increased processing speed * 4-byte instruction queue * Powerful interrupt function * Powerful 8-level, 34-condition interrupt feature * Up to 8 channels external interrupts are supported. * Automatic data transfer function independent of CPU * Extended intelligent I/O service function (EI2OS) : up to 16 channels * DMA : up to 16 channels * Low power consumption (standby) mode * Sleep mode (a mode that halts CPU operating clock) * Main timer mode (a timebase timer mode switched from the main clock mode) * PLL timer mode (a timebase timer mode switched from the PLL clock mode) * Watch mode (a mode that operates sub clock and watch timer only) * Stop mode (a mode that stops oscillation clock and sub clock) * CPU intermittent operation mode * Process * CMOS technology (Continued) 2 DS07-13737-6E MB90350 Series * I/O port * General-purpose input/output port (CMOS output) - 49 ports (devices without S-suffix : devices that correspond to sub clock) - 51 ports (devices with S-suffix : devices that do not correspond to sub clock) * Sub clock pin (X0A, X1A) * Yes (using the external oscillation) : devices without S-suffix * No (using the sub clock mode at internal CR oscillation) : devices with S-suffix * Timer * Timebase timer, watch timer, watchdog timer : 1 channel * 8/16-bit PPG timer : 8-bit x 10 channels or 16-bit x 6 channels * 16-bit reload timer : 4 channels * 16- bit input/output timer - 16-bit freerun timer : 2 channels (FRT0 : ICU0/1, FRT1 : ICU 4/5/6/7, OCU 4/5/6/7) - 16- bit input capture: (ICU) : 6 channels - 16-bit output compare : (OCU) : 4 channels * FULL-CAN interface : 1 channel * Compliant with Ver2.0 part A and Ver2.0 part B CAN specifications * Flexible message buffering (mailbox and FIFO buffering can be mixed) * CAN wake-up function * UART (LIN/SCI) : 2 channels * Equipped with full-duplex double buffer * Clock-asynchronous or clock-synchronous serial transmission is available. * I2C interface : 1 channel * Up to 400 Kbit/s transfer rate * DTP/External interrupt : 8 channels, CAN wakeup : 1 channel * Module for activation of extended intelligent I/O service (EI2OS), DMA, and generation of external interrupt by external input. * Delay interrupt generator module * Generates interrupt request for task switching. * 8/10-bit A/D converter : 15 channels * Resolution is selectable between 8-bit and 10-bit. * Activation by external trigger input is allowed. * Conversion time : 3 s (at 24-MHz machine clock, including sampling time) * Program patch function * Address matching detection for 6 address pointers. * Capable of changing input voltage level for port * Automotive/CMOS-Schmitt (initial level is Automotive in single chip mode) * TTL level (corresponds to external bus pins only, initial level of these pins is TTL in external bus mode) * Low voltage/CPU operation detection reset (devices with T-suffix) * Detects low voltage (4.0 V 0.3 V) and resets automatically * Resets automatically when program is runaway and counter is not cleared within interval time (approx. 262 ms : external 4 MHz) (Continued) DS07-13737-6E 3 MB90350 Series (Continued) * Dual operation flash memory (only flash memory devices with A-suffix) * Erase/write and read can be executed in the different bank (Upper Bank/Lower Bank) at the same time. * Models that support + 125 C * Devices without A-suffix (excluding evaluation device) : The maximum operating frequency is 16 MHz (at TA = +125 C) . * Devices with A-suffix (excluding evaluation device) : The maximum operating frequency is 24 MHz (at TA = +125 C) . * Flash security function * Protects the content of Flash memory (MB90F352x and MB90F357x only) * External bus interface * 4 Mbytes external memory space 4 DS07-13737-6E MB90350 Series PRODUCT LINEUP 1 Part Number Parameter MB90F351, MB90F352 MB90F351S, MB90F352S MB90F351A, MB90F352A MB90F351TA, MB90F351AS, MB90F351TAS, MB90F352TA MB90F352AS MB90F352TAS F2MC-16LX CPU CPU System clock On-chip PLL clock multiplier (x1, x2, x3, x4, x6, 1/2 when PLL stops) Minimum instruction execution time : 42 ns (oscillation clock 4 MHz, PLL x 6) ROM Flash memory 64Kbytes : MB90F351(S) 128Kbytes : MB90F352(S) Dual operation flash memory 64Kbytes : MB90F351A(S), MB90F351TA(S) 128Kbytes : MB90F352A(S), MB90F352TA(S) RAM 4 Kbytes Emulator-specific power supply* Sub clock pin (X0A, X1A) (Max 100 kHz) Yes No Yes Clock monitor function Low voltage/CPU operation detection reset No No No No Yes Operating voltage range 3.5 V to 5.5 V : at normal operating (not using A/D converter) 4.0 V to 5.5 V : at using A/D converter/Flash programming 4.5 V to 5.5 V : at using external bus Operating temperature range -40 C to +105 C (+125 C up to 16 MHz machine clock) Package No Yes -40 C to +125 C LQFP-64 2 channels UART I2C (400 Kbps) Wide range of baud rate settings using a dedicated reload timer Special synchronous options for adapting to different synchronous serial protocols LIN functionality working either as master or slave LIN device 1 channel 15 channels A/D Converter 10-bit or 8-bit resolution Conversion time : Min 3 s includes sample time (per one channel) 16-bit Reload Timer (4 channels) Operation clock frequency : fsys/21, fsys/23, fsys/25 (fsys = Machine clock frequency) Supports External Event Count function. I/O Timer 0 (clock input FRCK0) corresponds to ICU 0/1. I/O Timer 1 (clock input FRCK1) corresponds to ICU 4/5/6/7, OCU 4/5/6/7. 16-bit I/O Timer (2 channels) 16-bit Output Compare Signals an interrupt when overflowing. Supports Timer Clear when a match with Output Compare (Channel 0, 4) . Operation clock frequency : fsys, fsys/21, fsys/22, fsys/23, fsys/24, fsys/25, fsys/26, fsys/27 (fsys = Machine clock frequency) 4 channels Signals an interrupt when 16-bit I/O Timer matches with output compare registers. A pair of compare registers can be used to generate an output signal. (Continued) DS07-13737-6E 5 MB90350 Series (Continued) Part Number Parameter MB90F351, MB90F352 MB90F351S, MB90F352S MB90F351A, MB90F352A MB90F351TA, MB90F351AS, MB90F351TAS, MB90F352TA MB90F352AS MB90F352TAS 6 channels 16-bit Input Capture Retains freerun timer value by (rising edge, falling edge or rising & falling edge), signals an interrupt. 6 channels (16-bit)/10 channels (8-bit) 8-bit reload counters x 12 8-bit reload registers for L pulse width x 12 8-bit reload registers for H pulse width x 12 8/16-bit Programmable Pulse Supports 8-bit and 16-bit operation modes. Generator A pair of 8-bit reload counters can be configured as one 16-bit reload counter or as 8-bit prescaler + 8-bit reload counter. Operation clock frequency : fsys, fsys/21, fsys/22, fsys/23, fsys/24 or 128 s@fosc = 4 MHz (fsys = Machine clock frequency, fosc = Oscillation clock frequency) 1 channel CAN Interface 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 Supports multiple messages. Flexible configuration of acceptance filtering : Full bit compare/Full bit mask/Two partial bit masks Supports up to 1 Mbps. 8 channels External Interrupt Can be used rising edge, falling edge, starting up by H/L level input, external interrupt, extended intelligent I/O services (EI2OS) and DMA. D/A converter I/O Ports Virtually all external pins can be used as general purpose I/O port. All push-pull outputs Bit-wise settable as input/output or peripheral signal Settable as CMOS schmitt trigger/ automotive inputs TTL input level settable for external bus (only for external bus pin) Flash Memory Supports automatic programming, Embedded Algorithm Write/Erase/Erase-Suspend/Resume commands A flag indicating completion of the algorithm Number of erase cycles : 10,000 times Data retention time : 10 years Boot block configuration Erase can be performed on each block. Block protection with external programming voltage Flash Security Feature for protecting the content of the Flash (MB90F352x only) Corresponding EVA name MB90V340A- MB90V340A102 101 MB90V340A-102 MB90V340A-101 * : It is setting of Jumper switch (TOOL VCC) when Emulator (MB2147-01) is used. Please refer to the Emulator hardware manual about details. 6 DS07-13737-6E MB90350 Series PRODUCT LINEUP 2 Part Number Parameter MB90351A, MB90352A MB90351TA, MB90352TA MB90351AS, MB90352AS MB90351TAS, MB90352TAS MB90V340A101 MB90V340A102 F2MC-16LX CPU CPU System clock On-chip PLL clock multiplier (x1, x2, x3, x4, x6, 1/2 when PLL stops) Minimum instruction execution time : 42 ns (oscillation clock 4 MHz, PLL x 6) ROM MASK ROM 64Kbytes : MB90351A(S), MB90351TA(S) 128Kbytes : MB90352A(S), MB90352TA(S) RAM Emulator-specific power supply* Sub clock pin (X0A, X1A) (Max 100 kHz) 4 Kbytes 30 Kbytes Yes Yes No Clock monitor function Low voltage/CPU operation detection reset Operating voltage range Operating temperature range Package UART I2C (400 Kbps) External No Yes No No Yes No Yes No 3.5 V to 5.5 V : at normal operating (not using A/D converter) 4.0 V to 5.5 V : at using A/D converter 4.5 V to 5.5 V : at using external bus 5 V 10% -40 C to +125 C LQFP-64 PGA-299 2 channels 5 channels Wide range of baud rate settings using a dedicated reload timer Special synchronous options for adapting to different synchronous serial protocols LIN functionality working either as master or slave LIN device 1 channel 2 channels 15 channels 24 channels A/D Converter 10-bit or 8-bit resolution Conversion time : Min 3 s includes sample time (per one channel) 16-bit Reload Timer (4 channels) Operation clock frequency : fsys/21, fsys/23, fsys/25 (fsys = Machine clock frequency) Supports External Event Count function. 16-bit I/O Timer (2 channels) I/O Timer 0 (clock input FRCK0) corresponds to ICU 0/1. I/O Timer 1 (clock input FRCK1) corresponds to ICU 4/5/6/7, OCU 4/5/6/7. I/O Timer 0 corresponds to ICU 0/1/2/3, OCU 0/1/2/3. I/O Timer 1 corresponds to ICU 4/5/6/7, OCU 4/5/6/7. Signals an interrupt when overflowing. Supports Timer Clear when a match with Output Compare (Channel 0, 4) . Operation clock frequency : fsys, fsys/21, fsys/22, fsys/23, fsys/24, fsys/25, fsys/26, fsys/27 (fsys = Machine clock frequency) (Continued) DS07-13737-6E 7 MB90350 Series (Continued) Part Number Parameter 16-bit Output Compare MB90351A, MB90352A MB90351TA, MB90352TA MB90351AS, MB90352AS MB90351TAS, MB90352TAS MB90V340A101 4 channels 8 channels Signals an interrupt when 16-bit I/O Timer matches output compare registers. A pair of compare registers can be used to generate an output signal. 6 channels 16-bit Input Capture 8/16-bit Programmable Pulse Generator 8 channels Retains freerun timer value by (rising edge, falling edge or rising & falling edge), signals an interrupt. 6 channels (16-bit)/10 channels (8-bit) 8-bit reload counters x 12 8-bit reload registers for L pulse width x 12 8-bit reload registers for H pulse width x 12 8 channels (16-bit)/ 16 channels (8-bit) 8-bit reload counters x 16 8-bit reload registers for L pulse width x 16 8-bit reload registers for H pulse width x 16 Supports 8-bit and 16-bit operation modes. A pair of 8-bit reload counters can be configured as one 16-bit reload counter or as 8-bit prescaler + 8-bit reload counter. Operation clock frequency : fsys, fsys/21, fsys/22, fsys/23, fsys/24 or 128 s@fosc = 4 MHz (fsys = Machine clock frequency, fosc = Oscillation clock frequency) 1 channel CAN Interface 3 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 Supports multiple messages. Flexible configuration of acceptance filtering : Full bit compare/Full bit mask/Two partial bit masks Supports up to 1 Mbps. 8 channels External Interrupt 2 channels Virtually all external pins can be used as general purpose I/O port. All push-pull outputs Bit-wise settable as input/output or peripheral signal Settable as CMOS schmitt trigger/ automotive inputs TTL input level settable for external bus (only for external bus pin) Flash Memory Corresponding EVA name 16 channels Can be used rising edge, falling edge, starting up by H/L level input, external interrupt, extended intelligent I/O services (EI2OS) and DMA. D/A converter I/O Ports MB90V340A102 MB90V340A-102 MB90V340A-101 * : It is setting of Jumper switch (TOOL VCC) when Emulator (MB2147-01) is used. Please refer to the Emulator hardware manual about details. 8 DS07-13737-6E MB90350 Series PRODUCT LINEUP 3 Part Number Parameter MB90F356A, MB90F357A MB90F356TA, MB90F357TA MB90F356AS, MB90F357AS MB90F356TAS, MB90F357TAS F2MC-16LX CPU CPU System clock On-chip PLL clock multiplier (x1, x2, x3, x4, x6, 1/2 when PLL stops) Minimum instruction execution time : 42 ns (oscillation clock 4 MHz, PLL x 6) ROM Dual operation flash memory 64Kbytes : MB90F356A(S), MB90F356TA(S) 128Kbytes : MB90F357A(S), MB90F357TA(S) RAM 4 Kbytes Emulator-specific power supply* Sub clock pin (X0A, X1A) No (internal CR oscillation can be used as sub clock) Yes Clock monitor function Low voltage/CPU operation detection reset Operating voltage range Operating temperature range Package Yes No Yes No Yes 3.5 V to 5.5 V : at normal operating (not using A/D converter) 3.5 V to 5.5 V : at using A/D converter/Flash programming 3.5 V to 5.5 V : at using external bus -40 C to +125 C LQFP-64 2 channels UART I2C (400 Kbps) Wide range of baud rate settings using a dedicated reload timer Special synchronous options for adapting to different synchronous serial protocols LIN functionality working either as master or slave LIN device 1 channel 15 channels A/D Converter 10-bit or 8-bit resolution Conversion time : Min 3 s includes sample time (per one channel) 16-bit Reload Timer (4 channels) Operation clock frequency : fsys/21, fsys/23, fsys/25 (fsys = Machine clock frequency) Supports External Event Count function. I/O Timer 0 (clock input FRCK0) corresponds to ICU 0/1. I/O Timer 1 (clock input FRCK1) corresponds to ICU 4/5/6/7, OCU 4/5/6/7. 16-bit I/O Timer (2 channels) 16-bit Output Compare Signals an interrupt when overflowing. Supports Timer Clear when a match with Output Compare (Channel 0, 4) . Operation clock frequency : fsys, fsys/21, fsys/22, fsys/23, fsys/24, fsys/25, fsys/26, fsys/27 (fsys = Machine clock frequency) 4 channels Signals an interrupt when 16-bit I/O Timer matches with output compare registers. A pair of compare registers can be used to generate an output signal. (Continued) DS07-13737-6E 9 MB90350 Series (Continued) Part Number Parameter MB90F356A, MB90F357A MB90F356TA, MB90F357TA MB90F356AS, MB90F357AS MB90F356TAS, MB90F357TAS 6 channels 16-bit Input Capture Retains freerun timer value by (rising edge, falling edge or rising & falling edge), signals an interrupt. 6 channels (16-bit)/10 channels (8-bit) 8-bit reload counters x 12 8-bit reload registers for L pulse width x 12 8-bit reload registers for H pulse width x 12 8/16-bit Programmable Pulse Supports 8-bit and 16-bit operation modes. Generator A pair of 8-bit reload counters can be configured as one 16-bit reload counter or as 8-bit prescaler + 8-bit reload counter. Operation clock frequency : fsys, fsys/21, fsys/22, fsys/23, fsys/24 or 128 s@fosc = 4 MHz (fsys = Machine clock frequency, fosc = Oscillation clock frequency) 1 channel CAN Interface 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 Supports multiple messages. Flexible configuration of acceptance filtering : Full bit compare/Full bit mask/Two partial bit masks Supports up to 1 Mbps. 8 channels External Interrupt Can be used rising edge, falling edge, starting up by H/L level input, external interrupt, extended intelligent I/O services (EI2OS) and DMA. D/A converter I/O Ports Virtually all external pins can be used as general purpose I/O port. All push-pull outputs Bit-wise settable as input/output or peripheral module signal Settable as CMOS schmitt trigger/ automotive inputs TTL input level settable for external bus (only for external bus pin) Flash Memory Supports automatic programming, Embedded Algorithm Write/Erase/Erase-Suspend/Resume commands A flag indicating completion of the algorithm Number of erase cycles : 10,000 times Data retention time : 10 years Boot block configuration Erase can be performed on each block. Block protection with external programming voltage Flash Security Feature for protecting the content of the Flash (MB90F357x only) Corresponding EVA name MB90V340A-104 MB90V340A-103 * : It is setting of Jumper switch (TOOL VCC) when Emulator (MB2147-01) is used. Please refer to the Emulator hardware manual about details. 10 DS07-13737-6E MB90350 Series PRODUCT LINEUP 4 Part Number Parameter MB90356A, MB90357A MB90356TA, MB90357TA MB90356AS, MB90357AS MB90356TAS, MB90357TAS MB90V340A103 MB90V340A104 F2MC-16LX CPU CPU System clock On-chip PLL clock multiplier (x1, x2, x3, x4, x6, 1/2 when PLL stops) Minimum instruction execution time : 42 ns (oscillation clock 4 MHz, PLL x 6) ROM MASK ROM 64Kbytes : MB90356A(S), MB90356TA(S) 128Kbytes : MB90357A(S), MB90357TA(S) RAM Emulator-specific power supply* Sub clock pin (X0A, X1A) 4 Kbytes 30 Kbytes Yes No (internal CR oscillation can be used as sub clock) Yes Clock monitor function Low voltage/CPU operation detection reset Operating voltage range Operating temperature range Package UART I2C (400 Kbps) External No (internal CR oscillation can be used as sub clock) Yes Yes No Yes No Yes No 3.5 V to 5.5 V : at normal operating (not using A/D converter) 4.0 V to 5.5 V : at using A/D converter 4.5 V to 5.5 V : at using external bus 5 V 10% -40 C to +125 C LQFP-64 PGA-299 2 channels 5 channels Wide range of baud rate settings using a dedicated reload timer Special synchronous options for adapting to different synchronous serial protocols LIN functionality working either as master or slave LIN device 1 channel 2 channels 15 channels 24 channels A/D Converter 10-bit or 8-bit resolution Conversion time : Min 3 s includes sample time (per one channel) 16-bit Reload Timer (4 channels) Operation clock frequency : fsys/21, fsys/23, fsys/25 (fsys = Machine clock frequency) Supports External Event Count function. 16-bit I/O Timer (2 channels) I/O Timer 0 (clock input FRCK0) corresponds to ICU 0/1. I/O Timer 1 (clock input FRCK1) corresponds to ICU 4/5/6/7, OCU 4/5/6/7. I/O Timer 0 corresponds to ICU 0/1/2/3, OCU 0/1/2/3. I/O Timer 1 corresponds to ICU 4/5/6/7, OCU 4/5/6/7. Signals an interrupt when overflowing. Supports Timer Clear when a match with Output Compare (Channel 0, 4) . Operation clock frequency : fsys, fsys/21, fsys/22, fsys/23, fsys/24, fsys/25, fsys/26, fsys/27 (fsys = Machine clock frequency) (Continued) DS07-13737-6E 11 MB90350 Series (Continued) Part Number Parameter 16-bit Output Compare MB90356A, MB90357A MB90356TA, MB90357TA MB90356AS, MB90357AS MB90356TAS, MB90357TAS MB90V340A103 4 channels 8 channels Signals an interrupt when 16-bit I/O Timer matches with output compare registers. A pair of compare registers can be used to generate an output signal. 6 channels 16-bit Input Capture 8/16-bit Programmable Pulse Generator 8 channels Retains freerun timer value by (rising edge, falling edge or rising & falling edge), signals an interrupt. 6 channels (16-bit)/10 channels (8-bit) 8-bit reload counters x 12 8-bit reload registers for L pulse width x 12 8-bit reload registers for H pulse width x 12 8 channels (16-bit)/16 channels (8-bit) 8-bit reload counters x 16 8-bit reload registers for L pulse width x 16 8-bit reload registers for H pulse width x 16 Supports 8-bit and 16-bit operation modes. A pair of 8-bit reload counters can be configured as one 16-bit reload counter or as 8-bit prescaler + 8-bit reload counter. Operation clock frequency : fsys, fsys/21, fsys/22, fsys/23, fsys/24 or 128 s@fosc = 4 MHz (fsys = Machine clock frequency, fosc = Oscillation clock frequency) 1 channel CAN Interface 3 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 Supports multiple messages. Flexible configuration of acceptance filtering : Full bit compare/Full bit mask/Two partial bit masks Supports up to 1 Mbps. 8 channels External Interrupt *: 12 2 channels Virtually all external pins can be used as general purpose I/O port. All push-pull outputs Bit-wise settable as input/output or peripheral module signal Settable as CMOS schmitt trigger/ automotive inputs TTL input level settable for external bus (only for external bus pin) Flash Memory Corresponding EVA name 16 channels Can be used rising edge, falling edge, starting up by H/L level input, external interrupt, extended intelligent I/O services (EI2OS) and DMA. D/A converter I/O Ports MB90V340A104 MB90V340A-104 MB90V340A-103 It is setting of Jumper switch (TOOL VCC) when Emulator (MB2147-01) is used. Please refer to the Emulator hardware manual about details. DS07-13737-6E MB90350 Series PACKAGES AND PRODUCT CORRESPONDENCE Package MB90V340A -101 -102 -103 -104 PGA-299C-A01 FPT-64P-M23 (12 mm , 0.65 mm pitch) x FPT-64P-M24 (10 mm , 0.50 mm pitch) x MB90F351 MB90F351S MB90F352 MB90F352S MB90F351A (S) , MB90F351TA (S) MB90F352A (S) , MB90F352TA (S) MB90F356A (S) , MB90F356TA (S) MB90F357A (S) , MB90F357TA (S) MB90351A (S) , MB90351TA (S) MB90352A (S) , MB90352TA (S) MB90356A (S) , MB90356TA (S) MB90357A (S) , MB90357TA (S) x x x * * : This device is under development. : Yes, x : No Note : Refer to " PACKAGE DIMENSIONS" for detail of each package. DS07-13737-6E 13 MB90350 Series PIN ASSIGNMENTS * MB90F351(S), MB90F352(S),MB90F351A(S), MB90F351TA(S), MB90F352A(S), MB90F352TA(S), MB90F356A(S), MB90F356TA(S), MB90F357A(S), MB90F357TA(S),MB90351A(S), MB90351TA(S), MB90352A(S), MB90352TA(S),MB90356A(S), MB90356TA(S), MB90357A(S), MB90357TA(S), P11/AD09/TOT1 P12/AD10/SIN3/INT11R P14/AD12/SCK3 P13/AD11/SOT3 P15/AD13 P16/AD14 P17/AD15 P20/A16/PPG9(8) P21/A17/PPGB(A) P22/A18/PPGD(C) P23/A19/PPGF(E) P24/A20/IN0 RST X1 X0 Vss (TOP VIEW) (LQFP-64P) 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 Vcc 49 32 P10/AD08/TIN1 C 50 31 P07/AD07/INT15 P25/A21/IN1/ADTG 51 30 P06/AD06/INT14 P44/SDA0/FRCK0 52 29 P05/AD05/INT13 P45/SCL0/FRCK1 53 28 P04/AD04/INT12 P30/ALE/IN4 54 27 P03/AD03/INT11 P31/RD/IN5 55 26 P02/AD02/INT10 P32/WRL/WR/INT10R 56 25 P01/AD01/INT9 P33/WRH 57 24 P00/AD00/INT8 P34/HRQ/OUT4 58 23 MD0 P35/HAK/OUT5 59 22 MD1 P36/RDY/OUT6 60 21 MD2 P37/CLK/OUT7 61 20 P41/X1A* P60/AN0 62 19 P40/X0A* P61/AN1 63 18 Vss AVcc 64 17 P43/IN7/TX1 P56/AN14 P42/IN6/RX1/INT9R P55/AN13 P54/AN12/TOT3 P53/AN11/TIN3 P52/AN10/SCK2 P51/AN9/SOT2 P50/AN8/SIN2 P67/AN7/PPGE(F) P66/AN6/PPGC(D) P65/AN5/PPGA(B) P64/AN4/PPG8(9) P63/AN3/PPG6(7) P62/AN2/PPG4(5) AVss AVRH 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 (FPT-64P-M23, FPT-64P-M24) * : Devices without S-suffix : X0A, X1A Devices with S-suffix : P40, P41 14 DS07-13737-6E MB90350 Series PIN DESCRIPTION Pin No. Pin name LQFP64* 46 X1 47 X0 45 RST Circuit type A E P62 to P67 PPG4 (5) , 6 (7) , 8 (9) , A (B) , C (D) , E (F) AN8 10 Analog input pins for A/D converter Output pins for PPGs General purpose I/O port O P51 General purpose I/O port I AN10 General purpose I/O port I SCK2 General purpose I/O port I Event input pin for reload timer3 P54 General purpose I/O port AN12 P55, P56 AN13, AN14 I IN6 RX1 I F Analog input pins for A/D converter Data sample input pin for input capture ICU6 RX input pin for CAN1 External interrupt request input pin for INT9 P43 IN7 General purpose I/O ports General purpose I/O port INT9R 17 Analog input pin for A/D converter Output pin for reload timer3 P42 16 Analog input pin for A/D converter TIN3 TOT3 14, 15 Analog input pin for A/D converter Serial clock I/O pin for UART2 P53 AN11 Analog input pin for A/D converter Serial data output pin for UART2 P52 13 Analog input pin for A/D converter Serial data input pin for UART2 SOT2 12 Reset input pin SIN2 AN9 11 Oscillation input pin I P50 9 Oscillation output pin General purpose I/O ports AN2 to AN7 3 to 8 Function General purpose I/O port F TX1 Data sample input pin for input capture ICU7 TX output pin for CAN1 P40, P41 F General purpose I/O ports (devices with S-suffix and MB90V340A-101/103) X0A, X1A B X0A : Oscillation input pins for sub clock X1A : Oscillation output pins for sub clock (devices without S-suffix and MB90V340A-102/104) 19, 20 (Continued) DS07-13737-6E 15 MB90350 Series Pin No. LQFP64* Pin name Circuit type General purpose I/O ports. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. P00 to P07 24 to 31 AD00 to AD07 G INT8 to INT15 33 AD08 General purpose I/O port. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. G Event input pin for reload timer1 P11 General purpose I/O port. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. AD09 G AD10 General purpose I/O port. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. N SIN3 External interrupt request input pin for INT11 General purpose I/O port. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. P13 G SOT3 AD12 General purpose I/O port. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. G SCK3 N AD13 P16 38 G AD14 Input/output pin for external bus address data bus bit 12. This function is enabled when external bus is enabled. Clock input/output pin for UART3 P15 37 Input/output pin for external bus address data bus bit 11. This function is enabled when external bus is enabled. Serial data output pin for UART3 P14 36 Input/output pin for external bus address data bus bit 10. This function is enabled when external bus is enabled. Serial data input pin for UART3 INT11R AD11 Input/output pin for external bus address data bus bit 9. This function is enabled when external bus is enabled. Output pin for reload timer1 P12 35 Input/output pin for external bus address data bus bit 8. This function is enabled when external bus is enabled. TIN1 TOT1 34 Input/output pins of external address data bus lower 8 bits. This function is enabled when the external bus is enabled. External interrupt request input pins for INT8 to INT15 P10 32 Function General purpose I/O port. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. Input/output pin for external bus address data bus bit 13. This function is enabled when external bus is enabled. General purpose I/O port. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. Input/output pin for external bus address data bus bit 14. This function is enabled when external bus is enabled. (Continued) 16 DS07-13737-6E MB90350 Series Pin No. LQFP64* Pin name Circuit type P17 39 G AD15 A16 to A19 G PPG9 (8) , PPGB (A) , PPGD (C) , PPGF (E) A20 Output pin for A20 of the external address data bus. When the corresponding bit in the external address output control register (HACR) is 0, the pin is enabled as high address output pin A20. IN0 Data sample input pin for input capture ICU0 P25 General purpose I/O port. The register can be set to select whether to use a pull-up resistor. In external bus mode, the pin is enabled as a generalpurpose I/O port when the corresponding bit in the external address output control register (HACR) is 1. A21 Output pin for A21 of the external address data bus. When the corresponding bit in the external address output control register (HACR) is 0, the pin is enabled as high address output pin A21. IN1 Data sample input pin for input capture ICU1 G ADTG Trigger input pin for A/D converter P44 SDA0 General purpose I/O port H FRCK0 SCL0 FRCK1 Serial data I/O pin for I2C 0 Input pin for the 16-bit I/O Timer 0 P45 53 Output pins for A16 to A19 of the external address data bus. When the corresponding bit in the external address output control register (HACR) is 0, the pins are enabled as high address output pins A16 to A19. General purpose I/O port. The register can be set to select whether to use a pull-up resistor. In external bus mode, the pin is enabled as a generalpurpose I/O port when the corresponding bit in the external address output control register (HACR) is 1. G 51 52 Input/output pin for external bus address data bus bit 15. This function is enabled when external bus is enabled. Output pins for PPGs P24 44 General purpose I/O port. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. General purpose I/O ports. The register can be set to select whether to use a pull-up resistor. In external bus mode, the pins are enabled as a generalpurpose I/O port when the corresponding bit in the external address output control register (HACR) is 1. P20 to P23 40 to 43 Function General purpose I/O port H Serial clock I/O pin for I2C 0 Input pin for the 16-bit I/O Timer 1 (Continued) DS07-13737-6E 17 MB90350 Series Pin No. LQFP64* Pin name Circuit type General purpose I/O port. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. P30 54 55 ALE Function G Address latch enable output pin. This function is enabled when external bus is enabled. IN4 Data sample input pin for input capture ICU4 P31 General purpose I/O port. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. RD G Read strobe output pin for data bus. This function is enabled when external bus is enabled. IN5 Data sample input pin for input capture ICU5 P32 General purpose I/O port. The register can be set to select whether to use a pull-up resistor. This function is enabled either in single-chip mode or with the WR/WRL pin output disabled. 56 G WR/WRL INT10R External interrupt request input pin for INT10 P33 57 Write strobe output pin for the data bus. This function is enabled when both the external bus and the WR/WRL pin output are enabled. WRL is used to write-strobe 8 lower bits of the data bus in 16-bit access. WR is used to write-strobe 8 bits of the data bus in 8-bit access. G General purpose I/O port. The register can be set to select whether to use a pull-up resistor. This function is enabled either in single-chip mode, in external bus 8-bit mode or with the WRH pin output disabled. WRH Write strobe output pin for the 8 higher bits of the data bus. This function is enabled when the external bus is enabled, when the external bus 16-bit mode is selected, and when the WRH output pin is enabled. P34 General purpose I/O port. The register can be set to select whether to use a pull-up resistor. This function is enabled either in single-chip mode or with the hold function disabled. 58 G HRQ Hold request input pin. This function is enabled when both the external bus and the hold function are enabled. OUT4 Waveform output pin for output compare OCU4 General purpose I/O port. The register can be set to select whether to use a pull-up resistor. This function is enabled either in single-chip mode or with the hold function disabled. P35 59 G HAK OUT5 Waveform output pin for output compare OCU5 General purpose I/O port. The register can be set to select whether to use a pull-up resistor. This function is enabled either in single-chip mode or with the external ready function disabled. P36 60 Hold acknowledge output pin. This function is enabled when both the external bus and the hold function are enabled. G RDY Ready input pin. This function is enabled when both the external bus and the external ready function are enabled. OUT6 Waveform output pin for output compare OCU6 (Continued) 18 DS07-13737-6E MB90350 Series (Continued) Pin No. LQFP64* Pin name Circuit type General purpose I/O port. The register can be set to select whether to use a pull-up resistor. This function is enabled either in single-chip mode or with the CLK output disabled. P37 61 G CLK OUT7 62, 63 Function CLK output pin. This function is enabled when both the external bus and CLK output are enabled. Waveform output pin for output compare OCU7 P60, P61 I AN0, AN1 General purpose I/O ports Analog input pins for A/D converter 64 AVCC K VCC power input pin for analog circuits 2 AVRH L Reference voltage input for the A/D converter. This power supply must be turned on or off while a voltage higher than or equal to AVRH is applied to AVCC. 1 AVSS K VSS power input pin for analog circuits 22, 23 MD1, MD0 C Input pins for specifying the operating mode 21 MD2 D Input pin for specifying the operating mode 49 VCC Power (3.5 V to 5.5 V) input pin 18, 48 VSS Power (0 V) input pins 50 C K This is the power supply stabilization capacitor pin. It should be connected to a higher than or equal to 0.1 F ceramic capacitor. * : FPT-64P-M23, FPT-64P-M24 DS07-13737-6E 19 MB90350 Series I/O CIRCUIT TYPE Type Circuit X1 A Remarks Xout Oscillation circuit * High-speed oscillation feedback resistor = approx. 1 M X0 Standby control signal X1A B Xout Oscillation circuit * Low-speed oscillation feedback resistor = approx. 10 M X0A Standby control signal R C R D E Mask ROM device: * CMOS hysteresis input pin CMOS hysteresis inputs CMOS hysteresis inputs Pull-down resistor Mask ROM device: * CMOS hysteresis input pin * Pull-down resistor value: approx. 50 k Flash memory device: * CMOS input pin * No Pull-down CMOS hysteresis input pin * Pull-up resistor value: approx. 50 k Pull-up resistor R Flash memory device: * CMOS input pin CMOS hysteresis inputs (Continued) 20 DS07-13737-6E MB90350 Series Type Circuit Remarks P-ch Pout N-ch Nout F R * CMOS level output (IOL = 4 mA, IOH = -4 mA) * CMOS hysteresis inputs (With the standby-time input shutdown function) * Automotive input (With the standby-time input shutdown function) CMOS hysteresis inputs Automotive inputs Standby control for input shutdown Pull-up control Pull-up resistor P-ch P-ch Pout N-ch Nout G R CMOS hysteresis inputs * CMOS level output (IOL = 4 mA, IOH = -4 mA) * CMOS hysteresis inputs (With the standby-time input shutdown function) * Automotive input (With the standby-time input shutdown function) * TTL input (With the standby-time input shutdown function) * Programmable pull-up resistor: approx. 50 k Automotive inputs TTL input Standby control for input shutdown P-ch Pout N-ch Nout H * CMOS level output (IOL = 3 mA, IOH = -3 mA) * CMOS hysteresis inputs (With the standby-time input shutdown function) * Automotive input (With the standby-time input shutdown function) R CMOS hysteresis inputs Automotive inputs Standby control for input shutdown (Continued) DS07-13737-6E 21 MB90350 Series Type Circuit Remarks * CMOS level output (IOL = 4 mA, IOH = -4 mA) * CMOS hysteresis inputs (With the standby-time input shutdown function) * Automotive input (With the standby-time input shutdown function) * A/D analog input P-ch Pout N-ch Nout R I CMOS hysteresis inputs Automotive inputs Standby control for input shutdown Analog input * Power supply input protection circuit P-ch K N-ch ANE L P-ch N-ch AVR ANE * A/D converter reference voltage power supply input pin, with the protection circuit * Flash memory devices do not have a protection circuit against VCC for pin AVRH. (Continued) 22 DS07-13737-6E MB90350 Series (Continued) Type Circuit pull-up control pull-up resistor Pout Nout N R CMOS inputs Remarks * CMOS level output (IOL = 4 mA, IOH = -4 mA) * CMOS inputs (With the standby-time input shutdown function) * Automotive input (With the standby-time input shutdown function) * TTL input (With the standby-time input shutdown function) * Programmable pull-up resistor: approx. 50 k Automotive inputs TTL input Standby control for input shutdown P-ch Pout N-ch Nout R O * CMOS level output (IOL = 4 mA, IOH = -4 mA) * CMOS inputs (With the standby-time input shutdown function) * Automotive input (With the standby-time input shutdown function) * A/D analog input CMOS inputs Automotive inputs Standby control for input shutdown Analog input DS07-13737-6E 23 MB90350 Series HANDLING DEVICES Special care is required for the following when handling the device : * Preventing latch-up * Treatment of unused pins * Using external clock * Precautions for when not using a sub clock signal * Notes on during operation of PLL clock mode * 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 * Notes on Energization * Stabilization of power supply voltage * Initialization * Port0 to port3 output during Power-on (External-bus mode) * Notes on using CAN Function * Flash security Function * Correspondence with TA = + 105 C or more * Low voltage/CPU operation detection reset circuit * Internal CR oscillation circuit 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 pin and VSS pin. * 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. In using the devices, take sufficient care to avoid exceeding maximum ratings. For the same reason, also be careful not to let the analog power-supply voltage (AVCC, AVRH) exceed the digital power-supply voltage. 2. Handling 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 I/O pins should be set to the output state and can be left open, or the input state with the above described connection. 3. Using external clock To use external clock, drive the X0 pin and leave X1 pin open. MB90350 Series X0 Open 24 X1 DS07-13737-6E MB90350 Series 4. Precautions for when not using a sub clock signal If you do not connect pins X0A and X1A to an oscillator, use pull-down handling on the X0A pin, and leave the X1A pin open. 5. Notes on during operation of PLL clock mode If the PLL clock mode is selected, the microcontroller attempts 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. 6. 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 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 pins 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 pins in the vicinity of VCC and VSS pins of the device. Vcc Vss Vcc Vss Vss Vcc MB90350 Series Vcc Vss Vss Vcc 7. Pull-up/down resistors The MB90350 series does not support internal pull-up/down resistors (Port 0 to Port 3: built-in pull-up resistors). Use external components where needed. 8. 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 resonator) and ground lines, and make sure, to the utmost effort, that lines of oscillation circuit do not cross the lines of other circuits. It is highly recommended to provide a printed circuit board artwork surrounding X0 and X1 pins with a ground area for stabilizing the operation. Please ask the crystal maker to evaluate the oscillational characteristics of the crystal and this device. DS07-13737-6E 25 MB90350 Series 9. 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) 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 power supply and analog inputs. In this case, make sure that the voltage does not exceed AVRH or AVCC (turning on/off the analog and digital power supplies simultaneously is acceptable). 10. Connection of Unused Pins of A/D Converter if A/D Converter is not used Connect unused pins of A/D converter to AVCC = VCC, AVSS = AVRH = VSS. 11. Notes on Energization To prevent the internal regulator circuit from malfunctioning, set the voltage rise time during energization at 50 s or more (0.2 V to 2.7 V) . 12. Stabilization of power supply voltage A sudden change in the power supply voltage may cause the device to malfunction even within the specified VCC power supply voltage operating range. Therefore, the VCC power supply voltage should be stabilized. For reference, the power supply voltage should be controlled so that VCC ripple variations (peak-to-peak value) at commercial frequencies (50 Hz to 60 Hz) fall below 10% of the standard VCC power supply voltage and the coefficient of fluctuation does not exceed 0.1 V/ms at instantaneous power switching. 13. Initialization In the device, there are internal registers which are initialized only by a power-on reset. To initialize these registers, turn on the power again. 14. Port 0 to port 3 output during Power-on (External-bus mode) As shown below, when power is turned on in external-bus mode, there is a possibility that output signal of Port 0 to Port 3 might be unstable. 1/2 VCC VCC Port0 to Port3 Port0 to Port3 outputs might be unstable. Port0 to Port3 outputs = Hi-Z 15. Notes on using CAN Function To use CAN function, please set "1" to DIRECT bit of CAN direct mode register (CDMR). If DIRECT bit is set to "0" (initial value), wait states will be performed when accessing CAN registers. Note : Please refer to section "22.15 CAN Direct Mode Register" in Hardware Manual of MB90350 series for detail of CAN direct mode register. 26 DS07-13737-6E MB90350 Series 16. Flash security Function The security byte is located in the area of the flash memory. If protection code 01H is written in the security byte, the flash memory is in the protected state by security. Therefore please do not write 01H in this address if you do not use the security function. Please refer to following table for the address of the security byte. MB90F352(S) MB90F352A(S) MB90F352TA(S) MB90F357A(S) MB90F357TA(S) Flash memory size Address for security bit Embedded 1 Mbit Flash Memory FE0001H 17. Correspondence with TA = +105 C or more If used exceeding TA = +105 C, please contact sales representatives for reliability limitations. 18. Low voltage/CPU operation 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 CPU operation detection reset circuit is a 20-bit counter that uses oscillation as a count clock and 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 reset 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, low voltage reset is generated after the completion of writing. During the output of this internal reset, the reset output from the low voltage detection reset circuit is suppressed. (2) CPU operation detection reset circuit The CPU operation detection reset circuit is a counter that prevents program runaway. 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 from the CPU operation detection circuit has a width of 5 machine cycles. Interval time 220/FC (approx. 262 ms*) * : This value assumes the interval time at an oscillation clock frequency of 4 MHz. During recovery from standby mode, the detection period is the maximum interval plus 20 s. DS07-13737-6E 27 MB90350 Series This circuit does not operate in modes where CPU operation is stopped. The CPU operation detection reset circuit counter is cleared under any of the following conditions. * "0" writing to CL bit of LVRC register * Internal reset * Main oscillation clock stop * Transit to sleep mode * Transit to timebase timer mode and watch mode 19. Internal CR oscillation circuit Parameter Oscillation frequency Oscillation stabilization wait time 28 Symbol Value Unit Min Typ Max fRC 50 100 200 kHz tstab 100 s DS07-13737-6E MB90350 Series BLOCK DIAGRAMS * MB90V340A-101/102 X0 X0A* RST X1 X1A* Clock controller 16LX CPU RAM 30 Kbytes AN23 to AN0 AVRH AVRL Input Capture 8 channels IN7 to IN0 Output Compare 8 channels OUT7 to OUT0 I/O Timer 1 UART 5 channels CAN Controller 3 channels AVCC AVSS FRCK0 Prescaler 5 channels 10-bit A/D Converter 24 channels F2MC-16 bus SOT4 to SOT0 SCK4 to SCK0 SIN4 to SIN0 I/O Timer 0 16-bit Reload Timer 4 channels FRCK1 RX2 to RX0 TX2 to TX0 TIN3 to TIN0 TOT3 to TOT0 AD15 to AD00 A21 to A16 ADTG ALE DA00,DA01 10-bit D/A Converter 2 channels RD External Bus Interface WRL WRH HRQ PPGF to PPG0 SDA0,SDA1 SCL0,SCL1 HAK 8/16-bit PPG 16 channels I2C interface 2 channels DMAC RDY CLK INT7 to INT0 External Interrupt Clock Monitor INT15 to INT8 (INT11R to INT9R) CKOT * : MB90V340A-102 only DS07-13737-6E 29 MB90350 Series * MB90V340A-103/104 X0 X0A * RST X1 X1A* Clock controller/ Monitor F2MC-16LX Core I/O Timer 0 CR oscillation circuit Input Capture 8 channels Output Compare 8 channels RAM 30 Kbytes SOT4 to SOT0 SCK4 to SCK0 SIN4 to SIN0 UART 5 channels AVCC AVSS AN23 to AN0 AVRH AVRL ADTG 8/10-bit A/D Converter 24 channels DA01, DA00 10-bit D/A Converter 2 channels PPGF to PPG0 8/16-bit PPG 16 channels SDA1, SDA0 SCL1, SCL0 I2C interface 2 channels DMA Internal Data Bus Prescaler 5 channels FRCK0 IN7 to IN0 OUT7 to OUT0 I/O Timer 1 FRCK1 CAN Controller 3 channels RX2 to RX0 TX2 to TX0 16-bit Reload Timer 4 channels TIN3 to TIN0 TOT3 to TOT0 External Bus Interface AD15 to AD00 A23 to A16 ALE RD WRL WRH HRQ HAK RDY CLK DTP/External Interrupt Clock Monitor INT15 to INT8 (INT15R to INT8R) INT7 to INT0 CKOT * : MB90V340A-104 only 30 DS07-13737-6E MB90350 Series * MB90F352 (S) , MB90F351 (S) , MB90F352A (S) , MB90F352TA (S) , MB90F351A (S) , MB90F351TA (S) , MB90352A (S) , MB90352TA (S) , MB90351A (S) , MB90351TA (S) SOT3, SOT2 SCK3, SCK2 SIN3, SIN2 Clock controller Low voltage/ CPU operation detection reset*2 I/O Timer 0 FRCK0 RAM 4 Kbytes Input Capture 6 channels IN7 to IN4, IN1, IN0 ROM/Flash 128 K/64 Kbytes Output Compare 4 channels Prescaler 2 channels I/O Timer 1 UART 2 channels CAN Controller 1 channel AVCC AVSS AN14 to AN0 AVRH 16LX CPU 8/10-bit A/D Converter 15 channels OUT7 to OUT4 FRCK1 F2MC-16 bus X0 X0A *1 RST X1 X1A*1 16-bit Reload Timer 4 channels RX1 TX1 TIN3, TIN1 TOT3, TOT1 AD15 to AD00 A21 to A16 ADTG ALE PPGF to PPG8 PPG6, PPG4 8/16-bit PPG 10/6 channels External Bus Interface RD WRL WRH HRQ HAK RDY SDA0 SCL0 CLK I2C interface 1 channel External Interrupt INT15 to INT8 (INT11R to INT9R) DMAC *1 : Only for devices without "S"-suffix *2 : Only for devices with "T"-suffix DS07-13737-6E 31 MB90350 Series * MB90F357A (S) , MB90F357TA (S) , MB90F356A (S) , MB90F356TA (S) , MB90357A (S) , MB90357TA (S) , MB90356A (S) , MB90356TA (S) X0 X0A*1 RST X1 X1A*1 Clock controller/ monitor 16LX CPU CR oscillation circuit Low voltage detector*2 CPU operation detector*2 I/O Timer 0 FRCK0 Input Capture 6 channels IN7 to IN4, IN1, IN0 Output Compare 4 channels RAM 4 Kbytes I/O Timer 1 Prescaler 2 channels SOT3, SOT2 SCK3, SCK2 SIN3, SIN2 UART 2 channels F2MC-16 bus ROM/Flash 128 K/64 K bytes CAN Controller 1 channel 16-bit Reload Timer 4 channels AVCC AVSS AN14 to AN0 AVRH SDA0 SCL0 FRCK1 RX1 TX1 TIN3, TIN1 TOT3, TOT1 AD15 to AD00 8/10-bit A/D Converter 15 channels ADTG PPGF to PPG8 PPG6, PPG4 OUT7 to OUT4 A21 to A16 ALE External Bus Interface RD WRL WRH HRQ HAK 8/16-bit PPG 10/6 channels I2C interface 1 channel RDY CLK External Interrupt INT15 to INT8 (INT11R to INT9R) DMAC *1 : Only for devices without "S"-suffix *2 : Only for devices with "T"-suffix 32 DS07-13737-6E MB90350 Series MEMORY MAP MB90352A (S) MB90352TA (S) MB90357A (S) MB90357TA (S) MB90F352A (S) MB90F352TA (S) MB90F357A (S) MB90F357TA (S) MB90F352 (S) MB90V340A-101 MB90V340A-102 MB90V340A-103 MB90V340A-104 MB90351A (S) MB90351TA (S) MB90356A (S) MB90356TA (S) MB90F351A (S) MB90F351TA (S) MB90F356A (S) MB90F356TA (S) MB90F351 (S) FFFFFFH FF0000H FEFFFFH FE0000H FDFFFFH FD0000H FCFFFFH FC0000H FBFFFFH FB0000H FAFFFFH FA0000H F9FFFFH F90000H F8FFFFH F80000H 00FFFFH 008000H 007FFFH 007900H 0078FFH ROM (FF bank) FFFFFFH ROM (FE bank) FF0000H FEFFFFH ROM (FD bank) FE0000H FDFFFFH ROM (FC bank) FFFFFFH ROM (FF bank) FF0000H ROM (FE bank) FDFFFFH External access area ROM (FB bank) ROM (FA bank) ROM (FF bank) C00100H External access area C00100H ROM (F9 bank) ROM (F8 bank) ROM (image of FF bank) 00FFFFH 008000H 007FFFH ROM (image of FF bank) Peripheral 007900H 00FFFFH 008000H 007FFFH ROM (image of FF bank) Peripheral 007900H Peripheral RAM 30 Kbytes 001100H 0010FFH 0010FFH RAM 4 Kbytes RAM 4 Kbytes 000100H 000100H 0000EFH 000000H 0000EFH 000000H Peripheral External access area Peripheral 000100H 0000EFH 000000H External access area Peripheral : No access 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 Kbytes, and its entire image cannot be shown in bank 00. The image between FF8000H and FFFFFFH is visible in bank 00, while the image between FF0000H and FF7FFFH is visible only in bank FF. DS07-13737-6E 33 MB90350 Series I/O MAP Address Register Abbreviation Access Resource name Initial value 00H Port 0 Data Register PDR0 R/W Port 0 XXXXXXXXB 01H Port 1 Data Register PDR1 R/W Port 1 XXXXXXXXB 02H Port 2 Data Register PDR2 R/W Port 2 XXXXXXXXB 03H Port 3 Data Register PDR3 R/W Port 3 XXXXXXXXB 04H Port 4 Data Register PDR4 R/W Port 4 XXXXXXXXB 05H Port 5 Data Register PDR5 R/W Port 5 XXXXXXXXB 06H Port 6 Data Register PDR6 R/W Port 6 XXXXXXXXB 07H to 0AH Reserved 0BH Port 5 Analog Input Enable Register ADER5 R/W Port 5, A/D 11111111B 0CH Port 6 Analog Input Enable Register ADER6 R/W Port 6, A/D 11111111B 0DH Reserved 0EH Input Level Select Register 0 ILSR0 R/W Ports 00000000B 0FH Input Level Select Register 1 ILSR1 R/W Ports 00000000B 10H Port 0 Direction Register DDR0 R/W Port 0 00000000B 11H Port 1 Direction Register DDR1 R/W Port 1 00000000B 12H Port 2 Direction Register DDR2 R/W Port 2 XX000000B 13H Port 3 Direction Register DDR3 R/W Port 3 00000000B 14H Port 4 Direction Register DDR4 R/W Port 4 XX000000B 15H Port 5 Direction Register DDR5 R/W Port 5 X0000000B 16H Port 6 Direction Register DDR6 R/W Port 6 00000000B W UART2, UART3 X00XXXXXB 17H to 19H 1AH Reserved SIN input Level Setting Register 1BH DDRA Reserved 1CH Port 0 Pull-up Control Register PUCR0 R/W Port 0 00000000B 1DH Port 1 Pull-up Control Register PUCR1 R/W Port 1 00000000B 1EH Port 2 Pull-up Control Register PUCR2 R/W Port 2 00000000B 1FH Port 3 Pull-up Control Register PUCR3 R/W Port 3 00000000B 20H to 37H 38H Reserved PPG 4 Operation Mode Control Register PPGC4 39H PPG 5 Operation Mode Control Register PPGC5 3AH PPG 4/5 Count Clock Select Register PPG45 3BH Address Detect Control Register 1 PACSR1 W, R/W 0X000XX1B 16-bit Programmable W, R/W Pulse Generator 4/5 R/W R/W Address Match Detection 1 0X000001B 000000X0B 00000000B (Continued) 34 DS07-13737-6E MB90350 Series Address Register Abbreviation Access 3CH PPG 6 Operation Mode Control Register PPGC6 W, R/W 3DH PPG 7 Operation Mode Control Register PPGC7 W, R/W 3EH PPG 6/7 Count Clock Select Register PPG67 R/W 3FH 40H PPG 8 Operation Mode Control Register PPGC8 PPGC9 W, R/W 42H PPG 8/9 Count Clock Select Register PPG89 R/W 43H PPG A Operation Mode Control Register PPGCA PPGCB W, R/W 46H PPG A/B Count Clock Select Register PPGAB R/W 47H 0X000XX1B 16-bit Programmable Pulse Generator 8/9 0X000001B 000000X0B 0X000XX1B 16-bit Programmable Pulse Generator A/B 0X000001B 000000X0B Reserved PPG C Operation Mode Control Register PPGCC W,R/W 49H PPG D Operation Mode Control Register PPGCD W,R/W 4AH PPG C/D Count Clock Select Register PPGCD R/W 4BH 0X000XX1B 16-bit Programmable Pulse Generator C/D 0X000001B 000000X0B Reserved PPG E Operation Mode Control Register PPGCE W,R/W 4DH PPG F Operation Mode Control Register PPGCF W,R/W 4EH PPG E/F Count Clock Select Register PPGEF R/W 4FH 0X000XX1B 16-bit Programmable Pulse Generator E/F 0X000001B 000000X0B Reserved 50H Input Capture Control Status Register 0/1 ICS01 R/W 51H Input Capture Edge Register 0/1 ICE01 R/W, R 52H, 53H Input Capture 0/1 00000000B XXX0X0XXB Reserved 54H Input Capture Control Status Register 4/5 ICS45 R/W 55H Input Capture Edge Register 4/5 ICE45 R 56H Input Capture Control Status Register 6/7 ICS67 R/W 57H Input Capture Edge Register 6/7 ICE67 R/W, R 58H to 5BH 5DH 000000X0B W, R/W PPG B Operation Mode Control Register 5CH 0X000001B Reserved 45H 4CH 0X000XX1B 16-bit Programmable Pulse Generator 6/7 W, R/W PPG 9 Operation Mode Control Register 48H Initial value Reserved 41H 44H Resource name Input Capture 4/5 00000000B XXXXXXXXB Input Capture 6/7 00000000B XXX000XXB Reserved Output Compare Control Status Register 4 OCS4 Output Compare Control Status Register 5 OCS5 R/W 0000XX00B Output Compare 4/5 R/W 0XX00000B (Continued) DS07-13737-6E 35 MB90350 Series Address Register AbbreviaAccess tion Resource name Initial value Output Compare Control Status Register 6 OCS6 5FH Output Compare Control Status Register 7 OCS7 R/W 60H Timer Control Status Register 0 TMCSR0 R/W 61H Timer Control Status Register 0 TMCSR0 R/W 62H Timer Control Status Register 1 TMCSR1 R/W 63H Timer Control Status Register 1 TMCSR1 R/W 64H Timer Control Status Register 2 TMCSR2 R/W 65H Timer Control Status Register 2 TMCSR2 R/W 66H Timer Control Status Register 3 TMCSR3 R/W 67H Timer Control Status Register 3 TMCSR3 R/W 68H A/D Control Status Register 0 ADCS0 R/W 000XXXX0B 69H A/D Control Status Register 1 ADCS1 R/W 0000000XB 6AH A/D Data Register 0 ADCR0 R 6BH A/D Data Register 1 ADCR1 R 6CH ADC Setting Register 0 ADSR0 R/W 00000000B 6DH ADC Setting Register 1 ADSR1 R/W 00000000B 6EH Low Voltage/CPU Operation Detection Reset Control Register LVRC R/W, W Low Voltage/CPU Operation Detection Reset 00111000B 6FH ROM Mirror Function Select Register ROMM W ROM Mirror XXXXXXX1B 5EH 70H to 7FH R/W 0000XX00B Output Compare 6/7 0XX00000B 16-bit Reload Timer 0 16-bit Reload Timer 1 16-bit Reload Timer 2 16-bit Reload Timer 3 00000000B XXXX0000B 00000000B XXXX0000B 00000000B XXXX0000B 00000000B XXXX0000B 00000000B A/D Converter XXXXXX00B Reserved 80H to 8FH Reserved for CAN Interface 1. Refer to " CAN CONTROLLERS" 90H to 9AH Reserved 9BH DMA Descriptor Channel Specification Register DCSR R/W 9CH DMA Status Register L DSRL R/W 9DH DMA Status Register H DSRH R/W 9EH Address Detect Control Register 0 PACSR0 R/W Address Match Detection 0 00000000B 9FH Delayed Interrupt/Release Register DIRR R/W Delayed Interrupt XXXXXXX0B A0H Low-power Consumption Mode Control Register LPMCR W,R/W Low Power Consumption Control Circuit 00011000B A1H Clock Selection Register CKSCR R,R/W Low Power Consumption Control Circuit 11111100B A2H, A3H 00000000B DMA 00000000B 00000000B Reserved (Continued) 36 DS07-13737-6E MB90350 Series Address Register Abbreviation Access Resource name Initial value DMA 00000000B A4H DMA Stop Status Register DSSR R/W A5H Automatic Ready Function Selection Register ARSR W A6H External Address Output Control Register HACR W A7H Bus Control Signal Selection Register ECSR W A8H Watchdog Control Register WDTC R,W Watchdog Timer XXXXX111B A9H Timebase Timer Control Register TBTC W,R/W Timebase timer 1XX00100B AAH Watch Timer Control Register WTC R,R/W Watch Timer 1X001000B ABH 0011XX00B External Memory Access 00000000B 0000000XB Reserved ACH DMA Enable Register L DERL R/W ADH DMA Enable Register H DERH R/W AEH Flash Control Status Register (Flash Devices only. Otherwise reserved) FMCS R,R/W AFH DMA Flash Memory 00000000B 00000000B 000X0000B Reserved B0H Interrupt Control Register 00 ICR00 W,R/W 00000111B B1H Interrupt Control Register 01 ICR01 W,R/W 00000111B B2H Interrupt Control Register 02 ICR02 W,R/W 00000111B B3H Interrupt Control Register 03 ICR03 W,R/W 00000111B B4H Interrupt Control Register 04 ICR04 W,R/W 00000111B B5H Interrupt Control Register 05 ICR05 W,R/W 00000111B B6H Interrupt Control Register 06 ICR06 W,R/W 00000111B B7H Interrupt Control Register 07 ICR07 W,R/W B8H Interrupt Control Register 08 ICR08 W,R/W B9H Interrupt Control Register 09 ICR09 W,R/W 00000111B BAH Interrupt Control Register 10 ICR10 W,R/W 00000111B BBH Interrupt Control Register 11 ICR11 W,R/W 00000111B BCH Interrupt Control Register 12 ICR12 W,R/W 00000111B BDH Interrupt Control Register 13 ICR13 W,R/W 00000111B BEH Interrupt Control Register 14 ICR14 W,R/W 00000111B BFH Interrupt Control Register 15 ICR15 W,R/W 00000111B C0H to C9H Interrupt Control 00000111B 00000111B Reserved (Continued) DS07-13737-6E 37 MB90350 Series Address Register Abbreviation Access Resource name Initial value CAH External Interrupt Enable Register 1 ENIR1 R/W 00000000B CBH External Interrupt Source Register 1 EIRR1 R/W XXXXXXXXB CCH External Interrupt Level Register 1 ELVR1 R/W CDH External Interrupt Level Register 1 ELVR1 R/W 00000000B CEH External Interrupt Source Select Register EISSR R/W 00000000B CFH PLL/Sub clock Control register PSCCR W D0H DMA Buffer Address Pointer L BAPL R/W XXXXXXXXB D1H DMA Buffer Address Pointer M BAPM R/W XXXXXXXXB D2H DMA Buffer Address Pointer H BAPH R/W XXXXXXXXB D3H DMA Control Register DMACS R/W D4H I/O Register Address Pointer L IOAL R/W D5H I/O Register Address Pointer H IOAH R/W XXXXXXXXB D6H Data Counter L DCTL R/W XXXXXXXXB D7H Data Counter H DCTH R/W XXXXXXXXB D8H Serial Mode Register 2 SMR2 W,R/W 00000000B D9H Serial Control Register 2 SCR2 W,R/W 00000000B DAH Reception/Transmission Data Register 2 RDR2/ TDR2 R/W 00000000B DBH Serial Status Register 2 SSR2 R,R/W DCH Extended Communication Control Register 2 ECCR2 R,W, R/W DDH Extended Status/Control Register 2 ESCR2 R/W 00000100B DEH Baud Rate Generator Register 20 BGR20 R/W 00000000B DFH Baud Rate Generator Register 21 BGR21 R/W 00000000B E0H to EFH Reserved F0H to FFH External area 7900H to 7907H Reserved External Interrupt 1 PLL DMA UART2 00000000B XXXX0000B XXXXXXXXB XXXXXXXXB 00001000B 000000XXB (Continued) 38 DS07-13737-6E MB90350 Series Address Register Abbreviation Access Resource name Initial value 7908H Reload Register L4 PRLL4 R/W XXXXXXXXB 7909H Reload Register H4 PRLH4 R/W 790AH Reload Register L5 PRLL5 R/W 790BH Reload Register H5 PRLH5 R/W 16-bit Programmable XXXXXXXXB Pulse XXXXXXXXB Generator 4/5 XXXXXXXXB 790CH Reload Register L6 PRLL6 R/W XXXXXXXXB 790DH Reload Register H6 PRLH6 R/W 790EH Reload Register L7 PRLL7 R/W 790FH Reload Register H7 PRLH7 R/W 16-bit Programmable XXXXXXXXB Pulse XXXXXXXXB Generator 6/7 XXXXXXXXB 7910H Reload Register L8 PRLL8 R/W XXXXXXXXB 7911H Reload Register H8 PRLH8 R/W 7912H Reload Register L9 PRLL9 R/W 7913H Reload Register H9 PRLH9 R/W 16-bit Programmable XXXXXXXXB Pulse XXXXXXXXB Generator 8/9 XXXXXXXXB 7914H Reload Register LA PRLLA R/W XXXXXXXXB 7915H Reload Register HA PRLHA R/W 7916H Reload Register LB PRLLB R/W 7917H Reload Register HB PRLHB R/W 16-bit Programmable XXXXXXXXB Pulse XXXXXXXXB Generator A/B XXXXXXXXB 7918H Reload Register LC PRLLC R/W XXXXXXXXB 7919H Reload Register HC PRLHC R/W 791AH Reload Register LD PRLLD R/W 791BH Reload Register HD PRLHD R/W 16-bit Programmable XXXXXXXXB Pulse XXXXXXXXB Generator C/D XXXXXXXXB 791CH Reload Register LE PRLLE R/W XXXXXXXXB 791DH Reload Register HE PRLHE R/W 791EH Reload Register LF PRLLF R/W 791FH Reload Register HF PRLHF R/W 16-bit Programmable XXXXXXXXB Pulse XXXXXXXXB Generator E/F XXXXXXXXB 7920H Input Capture Register 0 IPCP0 R 7921H Input Capture Register 0 IPCP0 R 7922H Input Capture Register 1 IPCP1 R 7923H Input Capture Register 1 IPCP1 R XXXXXXXXB XXXXXXXXB 7924H to 7927H XXXXXXXXB Input Capture 0/1 XXXXXXXXB XXXXXXXXB Reserved 7928H Input Capture Register 4 IPCP4 R 7929H Input Capture Register 4 IPCP4 R 792AH Input Capture Register 5 IPCP5 R 792BH Input Capture Register 5 IPCP5 R Input Capture 4/5 XXXXXXXXB XXXXXXXXB XXXXXXXXB (Continued) DS07-13737-6E 39 MB90350 Series Address Register Abbreviation Access Resource name Initial value 792CH Input Capture Register 6 IPCP6 R 792DH Input Capture Register 6 IPCP6 R 792EH Input Capture Register 7 IPCP7 R 792FH Input Capture Register 7 IPCP7 R XXXXXXXXB XXXXXXXXB 7930H to 7937H XXXXXXXXB XXXXXXXXB Input Capture 6/7 XXXXXXXXB Reserved 7938H Output Compare Register 4 OCCP4 R/W 7939H Output Compare Register 4 OCCP4 R/W 793AH Output Compare Register 5 OCCP5 R/W 793BH Output Compare Register 5 OCCP5 R/W XXXXXXXXB 793CH Output Compare Register 6 OCCP6 R/W XXXXXXXXB 793DH Output Compare Register 6 OCCP6 R/W 793EH Output Compare Register 7 OCCP7 R/W 793FH Output Compare Register 7 OCCP7 R/W XXXXXXXXB 7940H Timer Data Register 0 TCDT0 R/W 00000000B 7941H Timer Data Register 0 TCDT0 R/W 7942H Timer Control Status Register 0 TCCSL0 R/W 7943H Timer Control Status Register 0 TCCSH0 R/W 0XXXXXXXB 7944H Timer Data Register 1 TCDT1 R/W 00000000B 7945H Timer Data Register 1 TCDT1 R/W 7946H Timer Control Status Register 1 TCCSL1 R/W 7947H Timer Control Status Register 1 TCCSH1 R/W Timer Register 0/Reload Register 0 TMR0/ TMRLR0 R/W Timer Register 1/Reload Register 1 TMR1/ TMRLR1 R/W Timer Register 2/Reload Register 2 TMR2/ TMRLR2 R/W Timer Register 3/Reload Register 3 TMR3/ TMRLR3 R/W 7948H 7949H 794AH 794BH 794CH 794DH 794EH 794FH R/W R/W R/W R/W Output Compare 4/5 Output Compare 6/7 I/O Timer 0 I/O Timer 1 XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB 00000000B 00000000B 00000000B 00000000B 0XXXXXXXB 16-bit Reload Timer 0 XXXXXXXXB 16-bit Reload Timer 1 XXXXXXXXB 16-bit Reload Timer 2 XXXXXXXXB 16-bit Reload Timer 3 XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB (Continued) 40 DS07-13737-6E MB90350 Series Address Register Abbreviation Access Resource name Initial value 7950H Serial Mode Register 3 SMR3 W, R/W 00000000B 7951H Serial Control Register 3 SCR3 W, R/W 00000000B 7952H Reception/Transmission Data Register 3 RDR3/ TDR3 R/W 00000000B 7953H Serial Status Register 3 SSR3 R,R/W 7954H Extended Communication Control Register 3 ECCR3 R,W, R/W 7955H Extended Status/Control Register 3 ESCR3 R/W 00000100B 7956H Baud Rate Generator Register 30 BGR30 R/W 00000000B 7957H Baud Rate Generator Register 31 BGR31 R/W 00000000B 7958H, 7959H 7960H Clock Monitor Function Control Register 7971H 7972H 7973H 7974H 000000XXB CSVCR R, R/W Clock Monitor 00011100B CAN Clock Sync XXXXXXX0B Reserved CAN Direct Mode Register 796FH 7970H 00001000B Reserved 7961H to 796DH 796EH UART3 CDMR R/W Reserved I2C Bus Status Register 0 2 I C Bus Control Register 0 I2C 10-bit Slave Address Register 0 IBSR0 R 00000000B IBCR0 W,R/W 00000000B ITBAL0 R/W 00000000B ITBAH0 R/W 00000000B 2 I C Interface 0 ITMKL0 R/W 11111111B ITMKH0 R/W 00111111B 7975H I2C 10-bit Slave Address Mask Register 0 7976H I2C 7-bit Slave Address Register 0 ISBA0 R/W 00000000B 7977H I2C 7-bit Slave Address Mask Register 0 ISMK0 R/W 01111111B 7978H I2C data register 0 IDAR0 R/W 00000000B 7979H, 797AH 797BH Reserved I2C Clock Control Register 0 797CH to 79A1H 79A2H ICCR0 R/W I2C Interface 0 00011111B Reserved Flash Write Control Register 0 FWR0 R/W 79A3H Flash Write Control Register 1 FWR1 R/W 79A4H Sector Change Setting Register SSR0 R/W 79A5H to 79C1H 00000000B Dual Operation Flash 00000000B 00XXXXX0B Reserved (Continued) DS07-13737-6E 41 MB90350 Series (Continued) Address Register Abbreviation Access 79C2H Setting Prohibited 79C3H to 79DFH Reserved Resource name Initial value 79E0H Detect Address Setting Register 0 PADR0 R/W XXXXXXXXB 79E1H Detect Address Setting Register 0 PADR0 R/W XXXXXXXXB 79E2H Detect Address Setting Register 0 PADR0 R/W XXXXXXXXB 79E3H Detect Address Setting Register 1 PADR1 R/W XXXXXXXXB Address Match Detection 0 79E4H Detect Address Setting Register 1 PADR1 R/W 79E5H Detect Address Setting Register 1 PADR1 R/W XXXXXXXXB 79E6H Detect Address Setting Register 2 PADR2 R/W XXXXXXXXB 79E7H Detect Address Setting Register 2 PADR2 R/W XXXXXXXXB 79E8H Detect Address Setting Register 2 PADR2 R/W XXXXXXXXB 79E9H to 79EFH XXXXXXXXB Reserved 79F0H Detect Address Setting Register 3 PADR3 R/W XXXXXXXXB 79F1H Detect Address Setting Register 3 PADR3 R/W XXXXXXXXB 79F2H Detect Address Setting Register 3 PADR3 R/W XXXXXXXXB 79F3H Detect Address Setting Register 4 PADR4 R/W XXXXXXXXB Address Match Detection 1 79F4H Detect Address Setting Register 4 PADR4 R/W 79F5H Detect Address Setting Register 4 PADR4 R/W XXXXXXXXB 79F6H Detect Address Setting Register 5 PADR5 R/W XXXXXXXXB 79F7H Detect Address Setting Register 5 PADR5 R/W XXXXXXXXB 79F8H Detect Address Setting Register 5 PADR5 R/W XXXXXXXXB 79F9H to 7BFFH Reserved 7C00H to 7CFFH Reserved for CAN Interface 1. Refer to " CAN CONTROLLERS" 7D00H to 7DFFH Reserved for CAN Interface 1. Refer to " CAN CONTROLLERS" 7E00H to 7FFFH Reserved XXXXXXXXB Notes : * Initial value of "X" represents unknown value. * Any write access to reserved addresses in I/O map should not be performed. A read access to reserved addresses results reading "X". 42 DS07-13737-6E MB90350 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 Address Register Abbreviation Access Initial Value Message buffer enable register BVALR R/W 00000000B 00000000B Transmit request register TREQR R/W 00000000B 00000000B Transmit cancel register TCANR W 00000000B 00000000B Transmission complete register TCR R/W 00000000B 00000000B Receive complete register RCR R/W 00000000B 00000000B Remote request receiving register RRTRR R/W 00000000B 00000000B Receive overrun register ROVRR R/W 00000000B 00000000B Reception interrupt enable register RIER R/W 00000000B 00000000B CAN1 000080H 000081H 000082H 000083H 000084H 000085H 000086H 000087H 000088H 000089H 00008AH 00008BH 00008CH 00008DH 00008EH 00008FH (Continued) DS07-13737-6E 43 MB90350 Series (Continued) Address CAN1 007D00H 007D01H 007D02H 007D03H 007D04H 007D05H 007D06H 007D07H 007D08H 007D09H 007D0AH 007D0BH 007D0CH 007D0DH 007D0EH 007D0FH Register Abbreviation Access Initial Value Control status register CSR R/W, W R/W, R 0XXXX0X1B 00XXX000B Last event indicator register LEIR R/W 000X0000B XXXXXXXXB Receive/transmit error counter RTEC R 00000000B 00000000B Bit timing register BTR R/W 11111111B X1111111B IDE register IDER R/W XXXXXXXXB XXXXXXXXB Transmit RTR register TRTRR R/W 00000000B 00000000B Remote frame receive waiting register RFWTR R/W XXXXXXXXB XXXXXXXXB Transmit interrupt enable register TIER R/W 00000000B 00000000B 007D10H 007D11H 007D12H Acceptance mask select register XXXXXXXXB XXXXXXXXB AMSR R/W XXXXXXXXB XXXXXXXXB 007D13H 007D14H 007D15H 007D16H XXXXXXXXB XXXXXXXXB Acceptance mask register 0 AMR0 R/W XXXXXXXXB XXXXXXXXB 007D17H 007D18H 007D19H 007D1AH 007D1BH 44 XXXXXXXXB XXXXXXXXB Acceptance mask register 1 AMR1 R/W XXXXXXXXB XXXXXXXXB DS07-13737-6E MB90350 Series List of Message Buffers (ID Registers) Address CAN1 007C00H to 007C1FH Register Abbreviation Access Initial Value General-purpose RAM R/W XXXXXXXXB to XXXXXXXXB 007C20H 007C21H 007C22H XXXXXXXXB XXXXXXXXB ID register 0 IDR0 R/W XXXXXXXXB XXXXXXXXB 007C23H 007C24H 007C25H 007C26H XXXXXXXXB XXXXXXXXB ID register 1 IDR1 R/W XXXXXXXXB XXXXXXXXB 007C27H 007C28H 007C29H 007C2AH XXXXXXXXB XXXXXXXXB ID register 2 IDR2 R/W XXXXXXXXB XXXXXXXXB 007C2BH 007C2CH 007C2DH 007C2EH XXXXXXXXB XXXXXXXXB ID register 3 IDR3 R/W XXXXXXXXB XXXXXXXXB 007C2FH 007C30H 007C31H 007C32H XXXXXXXXB XXXXXXXXB ID register 4 IDR4 R/W XXXXXXXXB XXXXXXXXB 007C33H 007C34H 007C35H 007C36H XXXXXXXXB XXXXXXXXB ID register 5 IDR5 R/W XXXXXXXXB XXXXXXXXB 007C37H 007C38H 007C39H 007C3AH XXXXXXXXB XXXXXXXXB ID register 6 IDR6 R/W XXXXXXXXB XXXXXXXXB 007C3BH 007C3CH 007C3DH 007C3EH 007C3FH XXXXXXXXB XXXXXXXXB ID register 7 IDR7 R/W XXXXXXXXB XXXXXXXXB (Continued) DS07-13737-6E 45 MB90350 Series (Continued) Address CAN1 Register Abbreviation Access 007C40H 007C41H 007C42H XXXXXXXXB XXXXXXXXB ID register 8 IDR8 R/W XXXXXXXXB XXXXXXXXB 007C43H 007C44H 007C45H 007C46H XXXXXXXXB XXXXXXXXB ID register 9 IDR9 R/W XXXXXXXXB XXXXXXXXB 007C47H 007C48H 007C49H 007C4AH XXXXXXXXB XXXXXXXXB ID register 10 IDR10 R/W XXXXXXXXB XXXXXXXXB 007C4BH 007C4CH 007C4DH 007C4EH XXXXXXXXB XXXXXXXXB ID register 11 IDR11 R/W XXXXXXXXB XXXXXXXXB 007C4FH 007C50H 007C51H 007C52H XXXXXXXXB XXXXXXXXB ID register 12 IDR12 R/W XXXXXXXXB XXXXXXXXB 007C53H 007C54H 007C55H 007C56H XXXXXXXXB XXXXXXXXB ID register 13 IDR13 R/W XXXXXXXXB XXXXXXXXB 007C57H 007C58H 007C59H 007C5AH XXXXXXXXB XXXXXXXXB ID register 14 IDR14 R/W XXXXXXXXB XXXXXXXXB 007C5BH 007C5CH 007C5DH 007C5EH 007C5FH 46 Initial Value XXXXXXXXB XXXXXXXXB ID register 15 IDR15 R/W XXXXXXXXB XXXXXXXXB DS07-13737-6E MB90350 Series List of Message Buffers (DLC Registers and Data Registers) Address CAN1 007C60H 007C61H 007C62H 007C63H 007C64H 007C65H 007C66H 007C67H 007C68H 007C69H 007C6AH 007C6BH 007C6CH 007C6DH 007C6EH 007C6FH 007C70H 007C71H 007C72H 007C73H 007C74H 007C75H 007C76H 007C77H 007C78H 007C79H 007C7AH 007C7BH 007C7CH 007C7DH 007C7EH 007C7FH Register Abbreviation Access Initial Value DLC register 0 DLCR0 R/W XXXXXXXXB DLC register 1 DLCR1 R/W XXXXXXXXB DLC register 2 DLCR2 R/W XXXXXXXXB DLC register 3 DLCR3 R/W XXXXXXXXB DLC register 4 DLCR4 R/W XXXXXXXXB DLC register 5 DLCR5 R/W XXXXXXXXB DLC register 6 DLCR6 R/W XXXXXXXXB DLC register 7 DLCR7 R/W XXXXXXXXB DLC register 8 DLCR8 R/W XXXXXXXXB DLC register 9 DLCR9 R/W XXXXXXXXB DLC register 10 DLCR10 R/W XXXXXXXXB DLC register 11 DLCR11 R/W XXXXXXXXB DLC register 12 DLCR12 R/W XXXXXXXXB DLC register 13 DLCR13 R/W XXXXXXXXB DLC register 14 DLCR14 R/W XXXXXXXXB DLC register 15 DLCR15 R/W XXXXXXXXB (Continued) DS07-13737-6E 47 MB90350 Series Address Register Abbreviation Access Initial Value 007C80H to 007C87H Data register 0 (8 bytes) DTR0 R/W XXXXXXXXB to XXXXXXXXB 007C88H to 007C8FH Data register 1 (8 bytes) DTR1 R/W XXXXXXXXB to XXXXXXXXB 007C90H to 007C97H Data register 2 (8 bytes) DTR2 R/W XXXXXXXXB to XXXXXXXXB 007C98H to 007C9FH Data register 3 (8 bytes) DTR3 R/W XXXXXXXXB to XXXXXXXXB 007CA0H to 007CA7H Data register 4 (8 bytes) DTR4 R/W XXXXXXXXB to XXXXXXXXB 007CA8H to 007CAFH Data register 5 (8 bytes) DTR5 R/W XXXXXXXXB to XXXXXXXXB 007CB0H to 007CB7H Data register 6 (8 bytes) DTR6 R/W XXXXXXXXB to XXXXXXXXB 007CB8H to 007CBFH Data register 7 (8 bytes) DTR7 R/W XXXXXXXXB to XXXXXXXXB 007CC0H to 007CC7H Data register 8 (8 bytes) DTR8 R/W XXXXXXXXB to XXXXXXXXB 007CC8H to 007CCFH Data register 9 (8 bytes) DTR9 R/W XXXXXXXXB to XXXXXXXXB 007CD0H to 007CD7H Data register 10 (8 bytes) DTR10 R/W XXXXXXXXB to XXXXXXXXB 007CD8H to 007CDFH Data register 11 (8 bytes) DTR11 R/W XXXXXXXXB to XXXXXXXXB 007CE0H to 007CE7H Data register 12 (8 bytes) DTR12 R/W XXXXXXXXB to XXXXXXXXB 007CE8H to 007CEFH Data register 13 (8 bytes) DTR13 R/W XXXXXXXXB to XXXXXXXXB CAN1 (Continued) 48 DS07-13737-6E MB90350 Series (Continued) Address Register Abbreviation Access Initial Value 007CF0H to 007CF7H Data register 14 (8 bytes) DTR14 R/W XXXXXXXXB to XXXXXXXXB 007CF8H to 007CFFH Data register 15 (8 bytes) DTR15 R/W XXXXXXXXB to XXXXXXXXB CAN1 DS07-13737-6E 49 MB90350 Series INTERRUPT FACTORS, INTERRUPT VECTORS, INTERRUPT CONTROL REGISTER EI2OS corresponding DMA ch number Reset N INT9 instruction Interrupt cause Interrupt vector Interrupt control register Number Address Number Address #08 FFFFDCH N #09 FFFFD8H Exception N #10 FFFFD4H Reserved N #11 FFFFD0H Reserved N #12 FFFFCCH ICR00 0000B0H CAN 1 RX / Input Capture 6 Y1 #13 FFFFC8H CAN 1 TX/NS / Input Capture 7 Y1 #14 FFFFC4H ICR01 0000B1H I2C N #15 FFFFC0H Reserved N #16 FFFFBCH ICR02 0000B2H 16-bit Reload Timer 0 Y1 0 #17 FFFFB8H 16-bit Reload Timer 1 Y1 1 #18 FFFFB4H ICR03 0000B3H 16-bit Reload Timer 2 Y1 2 #19 FFFFB0H 16-bit Reload Timer 3 Y1 #20 FFFFACH ICR04 0000B4H PPG 4/5 N #21 FFFFA8H PPG 6/7 N #22 FFFFA4H ICR05 0000B5H PPG 8/9/C/D N #23 FFFFA0H PPG A/B/E/F N #24 FFFF9CH ICR06 0000B6H Timebase Timer N #25 FFFF98H External Interrupt 8 to 11 Y1 3 #26 FFFF94H ICR07 0000B7H Watch Timer N #27 FFFF90H External Interrupt 12 to 15 Y1 4 #28 FFFF8CH ICR08 0000B8H A/D Converter Y1 5 #29 FFFF88H I/O Timer 0 / I/O Timer 1 N #30 FFFF84H ICR09 0000B9H Input Capture 4/5 Y1 6 #31 FFFF80H Output Compare 4/5 Y1 7 #32 FFFF7CH ICR10 0000BAH Input Capture 0/1 Y1 8 #33 FFFF78H Output Compare 6/7 Y1 9 #34 FFFF74H ICR11 0000BBH Reserved N 10 #35 FFFF70H Reserved N 11 #36 FFFF6CH ICR12 0000BCH UART 3 RX Y2 12 #37 FFFF68H UART 3 TX Y1 13 #38 FFFF64H ICR13 0000BDH (Continued) 50 DS07-13737-6E MB90350 Series (Continued) EI2OS corresponding DMA ch number UART 2 RX Y2 UART 2 TX Interrupt cause Interrupt vector Number Address 14 #39 FFFF60H Y1 15 #40 FFFF5CH Flash Memory N #41 FFFF58H Delayed interrupt N #42 FFFF54H Interrupt control register Number Address ICR14 0000BEH ICR15 0000BFH Y1 : Usable Y2 : Usable, with EI2OS stop function N : Unusable Notes : * The peripheral resources sharing the ICR register have the same interrupt level. * When two peripheral resources share the ICR register, only one can use EI2OSat a time. * When either of the two peripheral resources sharing the ICR register specifies EI2OS, the other one cannot use interrupts. DS07-13737-6E 51 MB90350 Series ELECTRICAL CHARACTERISTICS 1. Absolute Maximum Ratings Parameter Symbol Rating Unit Remarks Min Max VCC VSS - 0.3 VSS + 6.0 V AVCC VSS - 0.3 VSS + 6.0 V VCC = AVCC*2 AVRH VSS - 0.3 VSS + 6.0 V AVCC AVRH*2 VI VSS - 0.3 VSS + 6.0 V *3 VO VSS - 0.3 VSS + 6.0 V *3 ICLAMP -4.0 +4.0 mA *5 |ICLAMP| 40 mA *5 IOL 15 mA *4 "L" level average output current IOLAV 4 mA *4 "L" level maximum overall output current IOL 100 mA *4 "L" level average overall output current IOLAV 50 mA *4 IOH -15 mA *4 "H" level average output current IOHAV -4 mA *4 "H" level maximum overall output current IOH -100 mA *4 "H" level average overall output current IOHAV -50 mA *4 240 MB90F351(S), MB90F352(S) +105 C < TA +125 C, mW Normal operation : maximum frequency 16 MHz 320 MB90F351(S), MB90F352(S) -40 C < TA +105 C, mW Normal operation : maximum frequency 24 MHz 320 mW Device other than above -40 +105 C -40 +125 C -55 +150 C 1 Power supply voltage* Input voltage*1 Output voltage* 1 Maximum Clamp Current Total Maximum Clamp Current "L" level maximum output current "H" level maximum output current Power consumption Operating temperature Storage temperature PD TA TSTG *6 (Continued) 52 DS07-13737-6E MB90350 Series (Continued) *1: This parameter is based on VSS = AVSS = 0 V *2: 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. *3: VI and VO should not exceed VCC + 0.3 V. VI should not exceed the specified ratings. However if the maximum current to/from an input is limited by some means with external components, the ICLAMP rating supersedes the VI rating. *4: Applicable to pins: P00 to P07, P10 to P17, P20 to P25, P30 to P37, P40 to P45, P50 to P56, P60 to P67 *5: * Applicable to pins: P00 to P07, P10 to P17, P20 to P25, P30 to P37, P40 to P45, P50 to P56 (for evaluation device : P50 to P55) , P60 to P67 * 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 power supply voltage may not be sufficient to operate the power-on reset. * Care must be taken not to leave the +B input pin open. * Sample recommended circuits: * Input/output equivalent circuits Protective diode VCC Limiting resistance P-ch +B input (0 V to 16 V) N-ch R *6 : If used exceeding TA = +105 C, be sure to contact sales for reliability limitations. 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. DS07-13737-6E 53 MB90350 Series 2. Recommended Operating Conditions Parameter Symbol Power supply voltage VCC, AVCC Smooth capacitor CS Operating temperature TA (VSS = AVSS = 0 V) Value Unit Remarks Min Typ Max 4.0 5.0 5.5 V Under normal operation 3.5 5.0 5.5 V Under normal operation, when not using the A/D converter and not Flash programming. 4.5 5.0 5.5 V When External bus is used. 3.0 5.5 V Maintains RAM data in stop mode 0.1 1.0 F Use a ceramic capacitor or capacitor of better AC characteristics. Bypass capacitor at the VCC pin should be greater than this capacitor. -40 +105 C MB90F352(S) fCP 24MHz -40 +125 C *, MB90F352(S) fCP 16MHz, Devices with A-suffix * : If used exceeding TA = +105 C, be sure to contact sales for reliability limitations. * C Pin Connection Diagram C CS Operation guaranteed range Internal clock fCP (MHz) 24 16 MB90F351(S), MB90F352(S) Device other than above - 40 +105 +125 Operation temperature TA (C) 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. 54 DS07-13737-6E MB90350 Series 3. DC Characteristics (MB90F352(S)/MB90F351(S): TA = -40 C to +105 C, VCC = 5.0 V 10%, fCP 24 MHz, VSS = AVSS = 0 V) (MB90F352(S)/MB90F351(S): TA = -40 C to +125 C, VCC = 5.0 V 10%, fCP 16 MHz, VSS = AVSS = 0 V) (Device other than above: TA = -40 C to +125 C, VCC = 5.0 V 10%, fCP 24 MHz, VSS = AVSS = 0 V) Parameter Input H voltage (At VCC = 5 V 10%) Symbol Pin Condition Value Min Typ Max Unit Remarks VIHS 0.8 VCC VCC + 0.3 V Pin inputs if CMOS hysteresis input levels are selected (except P12, P15, P44, P45, P50) VIHA 0.8 VCC VCC + 0.3 V Pin inputs if AUTOMOTIVE input levels are selected VIHT 2.0 VCC + 0.3 V Pin inputs if TTL input levels are selected VIHS 0.7 VCC VCC + 0.3 V P12, P15, P50 inputs if CMOS input levels are selected VIHI 0.7 VCC VCC + 0.3 V P44, P45 inputs if CMOS 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 Pin inputs if CMOS hysteresis input levels are selected (except P12, P15, P44, P45, P50) VILA VSS - 0.3 0.5 VCC V Pin inputs if AUTOMOTIVE input levels are selected VILT VSS - 0.3 0.8 V Pin inputs if TTL input levels are selected VILS VSS - 0.3 0.3 VCC V P12, P15, P50 inputs if CMOS input levels are selected VILI VSS - 0.3 0.3 VCC V P44, P45 inputs if CMOS 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 Input L voltage (At VCC = 5 V 10%) Output H voltage VOH Normal outputs VCC = 4.5 V, VCC - 0.5 IOH = -4.0 mA V Output H voltage VOHI I2C current VCC = 4.5 V, VCC - 0.5 outputs IOH = -3.0 mA V (Continued) DS07-13737-6E 55 MB90350 Series (MB90F352(S)/MB90F351(S): TA = -40 C to +105 C, VCC = 5.0 V 10%, fCP 24 MHz, VSS = AVSS = 0 V) (MB90F352(S)/MB90F351(S): TA = -40 C to +125 C, VCC = 5.0 V 10%, fCP 16 MHz, VSS = AVSS = 0 V) (Device other than above: TA = -40 C to +125 C, VCC = 5.0 V 10%, fCP 24 MHz, VSS = AVSS = 0 V) Parameter Symbol Pin Condition Value Min Typ Max Unit Remarks Output L voltage VOL Normal outputs VCC = 4.5 V, IOL = 4.0 mA 0.4 V Output L voltage VOLI I2C current outputs VCC = 4.5 V, IOL = 3.0 mA 0.4 V Input leak current IIL VCC = 5.5 V, VSS