NEW DATABASE - 350 MILLION DATASHEETS FROM 8500 MANUFACTURERS
DS07-13747-1E F2MC-16LX MB90340E MB90F342E MB90F342CE MB90F343E MB90F343CE - Datasheet Archive
DATA SHEET DS07-13747-1E 16-bit Proprietary Microcontroller CMOS F2MC-16LX MB90340E Series MB90F342E(S), MB90F342CE(S),
FUJITSU SEMICONDUCTOR DATA SHEET DS07-13747-1E DS07-13747-1E 16-bit Proprietary Microcontroller CMOS F2MC-16LX F2MC-16LX MB90340E MB90340E Series MB90F342E MB90F342E(S), MB90F342CE MB90F342CE(S), MB90F343E MB90F343E(S), MB90F343CE MB90F343CE(S), MB90F345E MB90F345E(S), MB90F345CE MB90F345CE(S), MB90F346E MB90F346E(S), MB90F346CE MB90F346CE(S), MB90F347E MB90F347E(S), MB90F347CE MB90F347CE(S), MB90F349E MB90F349E(S), MB90F349CE MB90F349CE(S), MB90341E MB90341E(S), MB90341CE MB90341CE(S), MB90342E MB90342E(S), MB90342CE MB90342CE(S), MB90346E MB90346E(S), MB90346CE MB90346CE(S), MB90347E MB90347E(S), MB90347CE MB90347CE(S), MB90348E MB90348E(S), MB90348CE MB90348CE(S), MB90349E MB90349E(S), MB90349CE MB90349CE(S), MB90V340E-101/102 MB90V340E-101/102 DESCRIPTION The MB90340E-series with up to 2 FULL-CAN* interfaces and Flash ROM is especially designed for automotive and other industrial applications. Its main feature are the 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 512 Kbytes. The power to the MCU core (3V) is supplied by a built-in regulator circuit, giving these microcontrollers superior performance in terms of power consumption and tolerance to EMI. * : Controller Area Network (CAN) - License of Robert Bosch GmbH Note : F2MC is the abbreviation of FUJITSU Flexible Microcontroller. Be sure to refer to the "Check Sheet" for the latest cautions on development. "Check Sheet" is seen at the following support page URL : "Check Sheet" lists the minimal requirement items to be checked to prevent problems beforehand in system development. Copyright©2006 FUJITSU LIMITED All rights reserved MB90340E MB90340E Series FEATURES · CPU · 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 functionality with signed multiply and divide instructions and the RETI instruction - Enhanced high-precision computing with 32-bit accumulator · Instruction system compatible with high-level language (C language) and multitask - Employing system stack pointer - Various enhanced pointer indirect instructions - Barrel shift instructions · Increased processing speed - 4-byte instruction queue · Serial interface · UART (LIN/SCI) : up to 4 channels - Equipped with full-duplex double buffer - Clock-asynchronous or clock-synchronous serial transmission is available · I2C interface*1 : up to 2 channels (only for devices with a C suffix in the part number) - Up to 400 Kbits/s transfer rate · Interrupt controller · Powerful 8-level, 34-condition interrupt feature · Up to 16 external interrupts are supported · Automatic data transfer function independent of CPU - Expanded intelligent I/O service function (EI2OS) : up to 16 channels · I/O ports · General-purpose input/output port (CMOS output) - 80 ports (for devices without an S suffix in the part number - i.e. devices that support the sub clock) - 82 ports (for devices with an S suffix in the part number - i.e. devices that do not support the sub clock) · 8/10-bit A/D converter : 16 channels 24 channels (only for devices with a C suffix in the part number) · 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 · Detects address matches against 6 address pointers · Timer · Time-base timer, watch timer, watchdog timer : 1 channel · 8/16-bit PPG timer : 8-bit × 16 channels, or 16-bit × 8 channels · 16-bit reload timer : 4 channels · 16-bit input/output timer - 16-bit free-run timer : 2 channels (FRT0 : ICU 0/1/2/3, OCU 0/1/2/3, FRT1 : ICU 4/5/6/7, OCU 4/5/6/7) - 16-bit input capture: (ICU): 8 channels - 16-bit output compare: (OCU): 8 channels 2 MB90340E MB90340E Series · Full-CAN controller*2 · Up to 2 channels · Compliant with Ver2.0A and Ver2.0B CAN specifications · 16 built-in message buffers · CAN wake-up function · Low power consumption (standby) mode · Sleep mode (a mode that halts CPU operating clock) · Timebase timer mode (a mode where only the oscillation clock, sub clock, timebase timer and watch timer operate) · Watch mode (a mode that operates sub clock and clock timer only) · Stop mode (a mode that stops oscillation clock and sub clock) · CPU intermittent operation mode · Technology · 0.35 µm CMOS technology *1 : I2C license : Purchase of Fujitsu I2C components conveys a license under the Philips I2C Patent Rights to use, these components in an I2C system provided that the system conforms to the I2C Standard Specification as defined by Philips. *2 : Controller Area Network (CAN) - License of Robert Bosch GmbH. 3 MB90340E MB90340E Series PRODUCT LINEUP Part Number MB90V340E-101 MB90V340E-101, MB90V340E-102 MB90V340E-102 MB90F342E MB90F342E(S), MB90F342CE MB90F342CE(S), MB90F343E MB90F343E(S)*1, MB90F343CE MB90F343CE(S)*1, MB90F345E MB90F345E(S), MB90F345CE MB90F345CE(S), MB90F346E MB90F346E(S), MB90F346CE MB90F346CE(S), MB90F347E MB90F347E(S), MB90F347CE MB90F347CE(S), MB90F349E MB90F349E(S), MB90F349CE MB90F349CE(S) Evaluation products Flash memory products Parameter Type ROM RAM Emulator-specific power supply*2 Technology Operating voltage range MASK ROM products 2 CPU System clock MB90341E MB90341E(S)*1, MB90341CE MB90341CE(S)*1, MB90342E MB90342E(S)*1, MB90342CE MB90342CE(S)*1, MB90346E MB90346E(S), MB90346CE MB90346CE(S), MB90347E MB90347E(S), MB90347CE MB90347CE(S), MB90348E MB90348E(S)*1, MB90348CE MB90348CE(S)*1, MB90349E MB90349E(S)*1, MB90349CE MB90349CE(S)*1 F MC-16LX MC-16LX CPU 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) 256 Kbytes : 512 Kbytes : External 30 Kbytes Yes MB90F345E MB90F345E(S), MB90F345CE MB90F345CE(S) 384 Kbytes : MB90F343E MB90F343E(S), MB90F343CE MB90F343CE(S) 256 Kbytes : MB90F342E MB90F342E(S), MB90F342CE MB90F342CE(S), MB90F349E MB90F349E(S), MB90F349CE MB90F349CE(S) 128 Kbytes : MB90F347E MB90F347E(S), MB90F347CE MB90F347CE(S) 64 Kbytes : MB90F346E MB90F346E(S), MB90F346CE MB90F346CE(S) MB90342E MB90342E(S), MB90342CE MB90342CE(S), MB90349E MB90349E(S), MB90349CE MB90349CE(S) 128 Kbytes : MB90341E MB90341E(S), MB90341CE MB90341CE(S), MB90348E MB90348E(S), MB90348CE MB90348CE(S), MB90347E MB90347E(S), MB90347CE MB90347CE(S) 64 Kbytes : MB90346E MB90346E(S), MB90346CE MB90346CE(S) 20 Kbytes : MB90F343E MB90F343E(S), MB90F343CE MB90F343CE(S), MB90F345E MB90F345E(S), MB90F345CE MB90F345CE(S) 16 Kbytes : MB90F342E MB90F342E(S), MB90F342CE MB90F342CE(S), MB90F349E MB90F349E(S), MB90F349CE MB90F349CE(S) 6 Kbytes : MB90F347E MB90F347E(S), MB90F347CE MB90F347CE(S) 2 Kbytes : MB90F346E MB90F346E(S), MB90F346CE MB90F346CE(S) 16 Kbytes : MB90341E MB90341E(S), MB90341CE MB90341CE(S), MB90342E MB90342E(S), MB90342CE MB90342CE(S), MB90348E MB90348E(S), MB90348CE MB90348CE(S), MB90349E MB90349E(S), MB90349CE MB90349CE(S) 6 Kbytes : MB90347E MB90347E(S), MB90347CE MB90347CE(S) 2 Kbytes : MB90346E MB90346E(S), MB90346CE MB90346CE(S) 0.35 µm CMOS with 0.35 µm CMOS with built-in power supply regulator + regulator for built-in Flash memory with Charge pump for programming voltage power supply 5 V ± 10% 3.5 V to 5.5 V : When normal operating (not using A/D converter) 4.0 V to 5.5 V : When using the A/D converter/Flash programming 4.5 V to 5.5 V : When using the external bus Package UART I2C (400 kbps) -40 °C to +105 °C PGA-299 PGA-299 QFP-100 QFP-100, LQFP-100 LQFP-100 5 channels Temperature range 4 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 2 channels Devices with a C suffix in the part number : 2channels Devices without a C suffix in the part number : (Continued) 4 MB90340E MB90340E Series Part Number MB90V340E-101 MB90V340E-101, MB90V340E-102 MB90V340E-102 Parameter 24 input channels A/D Converter MB90F342E MB90F342E(S), MB90F342CE MB90F342CE(S), MB90F343E MB90F343E(S)*1, MB90F343CE MB90F343CE(S)*1, MB90F345E MB90F345E(S), MB90F345CE MB90F345CE(S), MB90F346E MB90F346E(S), MB90F346CE MB90F346CE(S), MB90F347E MB90F347E(S), MB90F347CE MB90F347CE(S), MB90F349E MB90F349E(S), MB90F349CE MB90F349CE(S) MB90341E MB90341E(S)*1, MB90341CE MB90341CE(S)*1, MB90342E MB90342E(S)*1, MB90342CE MB90342CE(S)*1, MB90346E MB90346E(S), MB90346CE MB90346CE(S), MB90347E MB90347E(S), MB90347CE MB90347CE(S), MB90348E MB90348E(S)*1, MB90348CE MB90348CE(S)*1, MB90349E MB90349E(S)*1, MB90349CE MB90349CE(S)*1 Devices with a C suffix in the part number : 24 channels Devices without a C suffix in the part number : 16 channels 10-bit or 8-bit resolution Conversion time : Min 3 µs include sample time (per one channel) 16-bit Reload Timer Operation clock frequency : fsys/21, fsys/23, fsys/25 (fsys = Machine clock frequency) Supports External Event Count function (4 channels) 16-bit I/O Timer (2 channels) Generates an interrupt signal on overflow Supports Timer Clear when the output compare finds a match Operation clock freq. : fsys, fsys/21, fsys/22, fsys/23, fsys/24, fsys/25, fsys/26, fsys/27 (fsys = Machine clock freq.) I/O Timer 0 (clock input FRCK0) corresponds to ICU 0/1/2/3, OCU 0/1/2/3 I/O Timer 1 (clock input FRCK1) corresponds to ICU 4/5/6/7, OCU 4/5/6/7 16-bit Output Compare (8 channels) Generates an interrupt signal when one of the 16-bit I/O timer matches the output compare register A pair of compare registers can be used to generate an output signal. 16-bit Input Capture Rising edge, falling edge or rising & falling edge sensitive (8 channels) Signals an interrupt upon external event 8/16-bit Programmable Pulse Generator 8 channels (16-bit) /16 channels (8-bit) Sixteen 8-bit reload counters Sixteen 8-bit reload registers for L pulse width Sixteen 8-bit reload registers for H pulse width 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 plus 8-bit reload counter Operating clock freq. : fsys, fsys/21, fsys/22, fsys/23, fsys/24 or 128 µs@fosc = 4 MHz (fsys = Machine clock frequency, fosc = Oscillation clock frequency) 3 channels CAN Interface 2 channels : MB90F342E MB90F342E(S), MB90F342CE MB90F342CE(S), MB90F343E MB90F343E(S), MB90F343CE MB90F343CE(S), MB90F345E MB90F345E(S), MB90F345CE MB90F345CE(S) 1 channel : MB90F346E MB90F346E(S), MB90F346CE MB90F346CE(S), MB90F347E MB90F347E(S), MB90F347CE MB90F347CE(S), MB90F349E MB90F349E(S), MB90F349CE MB90F349CE(S) 2 channels : MB90341E MB90341E(S), MB90341CE MB90341CE(S), MB90342E MB90342E(S), MB90342CE MB90342CE(S) 1 channel : MB90346E MB90346E(S), MB90346CE MB90346CE(S), MB90347E MB90347E(S), MB90347CE MB90347CE(S), MB90348E MB90348E(S), MB90348CE MB90348CE(S), MB90349E MB90349E(S), MB90349CE MB90349CE(S) Conforms to CAN Specification Version 2.0 Part A and B Automatic re-transmission in case of error Automatic transmission in response to Remote Frames 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 (Continued) 5 MB90340E MB90340E Series (Continued) Part Number MB90V340E-101 MB90V340E-101, MB90V340E-102 MB90V340E-102 Parameter External Interrupt (16 channels) D/A converter MB90F342E MB90F342E(S), MB90F342CE MB90F342CE(S), MB90F343E MB90F343E(S)*1, MB90F343CE MB90F343CE(S)*1, MB90F345E MB90F345E(S), MB90F345CE MB90F345CE(S), MB90F346E MB90F346E(S), MB90F346CE MB90F346CE(S), MB90F347E MB90F347E(S), MB90F347CE MB90F347CE(S), MB90F349E MB90F349E(S), MB90F349CE MB90F349CE(S) MB90341E MB90341E(S)*1, MB90341CE MB90341CE(S)*1, MB90342E MB90342E(S)*1, MB90342CE MB90342CE(S)*1, MB90346E MB90346E(S), MB90346CE MB90346CE(S), MB90347E MB90347E(S), MB90347CE MB90347CE(S), MB90348E MB90348E(S)*1, MB90348CE MB90348CE(S)*1, MB90349E MB90349E(S)*1, MB90349CE MB90349CE(S)*1 Can be used rising edge, falling edge, starting up by H/L level input, external interrupt, expanded intelligent I/O services (EI2OS) and DMA 2 channels Sub clock (maximum 100 kHz) Only for MB90V340E-102 MB90V340E-102 I/O Ports Virtually all external pins can be used as general purpose I/O port All ports are push-pull outputs Bit-wise settable as input/output or peripheral signal Can be configured 8 as CMOS schmitt trigger/ automotive inputs (in blocks of 8 pins) TTL input level settable for external bus (32-pin only for external bus) Flash Memory Devices with sub clock : devices without an S suffix in the part number Devices without sub clock : devices with an S suffix in the part number Supports automatic programming, Embedded AlgorithmTM*3 Write/Erase/Erase-Suspend/Resume commands A flag indicating completion of the algorithm Number of erase cycles : 10000 cycles Data retention time : 20 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 (except for MB90F346E MB90F346E(S) and MB90F346CE MB90F346CE (S) ) *1 : These devices are under development. *2 : It is setting of Jumper switch (TOOL VCC) when Emulator (MB2147-01 MB2147-01) is used. Please refer to the Emulator hardware manual for details. *3 : Embedded Algorithm is a trade mark of Advanced Micro Devices Inc. 6 MB90340E MB90340E Series PIN ASSIGNMENTS · MB90V340E-101/MB90V340E-102 MB90V340E-101/MB90V340E-102 P03/AD03/INT11 P03/AD03/INT11 P02/AD02/INT10 P02/AD02/INT10 P01/AD01/INT9 P01/AD01/INT9 P00/AD00/INT8 P00/AD00/INT8 PA1/TX0 PA0/RX0/INT8R P97/OUT3 P97/OUT3 P96/OUT2 P96/OUT2 P95/OUT1 P95/OUT1 P94/OUT0 P94/OUT0 P93/PPG7 P93/PPG7(6) P92/PPG5 P92/PPG5(4) P91/PPG3 P91/PPG3(2) P90/PPG1 P90/PPG1(0) Vss Vcc P87/SCK1 P87/SCK1 P86/SOT1 P86/SOT1 P85/SIN1 P85/SIN1 P84/SCK0/INT15R P84/SCK0/INT15R P83/SOT0/TOT2 P83/SOT0/TOT2 P82/SIN0/TIN2/INT14R P82/SIN0/TIN2/INT14R P81/TOT0/CKOT/INT13R P81/TOT0/CKOT/INT13R P80/TIN0/ADTG/INT12R P80/TIN0/ADTG/INT12R P77/AN23/INT7 P77/AN23/INT7 P76/AN22/INT6 P76/AN22/INT6 RST MD0 MD1 MD2 (TOP VIEW) P75/AN21/INT5 P75/AN21/INT5 P74/AN20/INT4 P74/AN20/INT4 P73/AN19/INT3 P73/AN19/INT3 P72/AN18/INT2 P72/AN18/INT2 P71/AN17/INT1 P71/AN17/INT1 P70/AN16/INT0 P70/AN16/INT0 Vss P67/AN7/PPGE P67/AN7/PPGE(F) P66/AN6/PPGC P66/AN6/PPGC(D) P65/AN5/PPGA P65/AN5/PPGA(B) P64/AN4/PPG8 P64/AN4/PPG8(9) P63/AN3/PPG6 P63/AN3/PPG6(7) P62/AN2/PPG4 P62/AN2/PPG4(5) P61/AN1/PPG2 P61/AN1/PPG2(3) P60/AN0/PPG0 P60/AN0/PPG0(1) AVss AVRL AVRH AVcc P57/AN15/DA01 P57/AN15/DA01 P35/HAK/OUT5 P35/HAK/OUT5 P36/RDY/OUT6 P36/RDY/OUT6 P37/CLK/OUT7 P37/CLK/OUT7 P40/X0A P40/X0A* P41/X1A P41/X1A* Vcc Vss C P42/IN6/RX1/INT9R P42/IN6/RX1/INT9R P43/IN7/TX1 P43/IN7/TX1 P44/SDA0/FRCK0 P44/SDA0/FRCK0 P45/SCL0/FRCK1 P45/SCL0/FRCK1 P46/SDA1 P46/SDA1 P47/SCL1 P47/SCL1 P50/AN8/SIN2 P50/AN8/SIN2 P51/AN9/SOT2 P51/AN9/SOT2 P52/AN10/SCK2 P52/AN10/SCK2 P53/AN11/TIN3 P53/AN11/TIN3 P54/AN12/TOT3 P54/AN12/TOT3 P55/AN13 P55/AN13 P56/AN14/DA00 P56/AN14/DA00 P31/RD/IN5 P31/RD/IN5 P32/WRL/WR/RX2/INT10R P32/WRL/WR/RX2/INT10R P33/WRH/TX2 P33/WRH/TX2 P34/HRQ/OUT4 P34/HRQ/OUT4 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 81 82 49 83 48 84 47 85 46 86 45 87 44 88 43 89 42 90 41 QFP - 100 91 40 92 39 93 38 94 37 95 36 96 35 97 34 98 33 99 32 100 31 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 P24/A20/IN0 P24/A20/IN0 P25/A21/IN1 P25/A21/IN1 P26/A22/IN2 P26/A22/IN2 P27/A23/IN3 P27/A23/IN3 P30/ALE/IN4 P30/ALE/IN4 P04/AD04/INT12 P04/AD04/INT12 P05/AD05/INT13 P05/AD05/INT13 P06/AD06/INT14 P06/AD06/INT14 P07/AD07/INT15 P07/AD07/INT15 P10/AD08/TIN1 P10/AD08/TIN1 P11/AD09/TOT1 P11/AD09/TOT1 P12/AD10/SIN3/INT11R P12/AD10/SIN3/INT11R P13/AD11/SOT3 P13/AD11/SOT3 P14/AD12/SCK3 P14/AD12/SCK3 Vcc Vss X1 X0 P15/AD13/SIN4 P15/AD13/SIN4 P16/AD14/SOT4 P16/AD14/SOT4 P17/AD15/SCK4 P17/AD15/SCK4 P20/A16/PPG9 P20/A16/PPG9(8) P21/A17/PPGB P21/A17/PPGB(A) P22/A18/PPGD P22/A18/PPGD(C) P23/A19/PPGF P23/A19/PPGF(E) (FPT-100P-M06 FPT-100P-M06) * : X0A, X1A : MB90V340E-102 MB90V340E-102 P40, P41 : MB90V340E-101 MB90V340E-101 (Continued) 7 MB90340E MB90340E Series (Continued) P35/HAK/OUT5 P35/HAK/OUT5 (FPT-100P-M05 FPT-100P-M05) * : X0A, X1A : MB90V340E-102 MB90V340E-102 P40, P41 : MB90V340E-101 MB90V340E-101 8 MD0 RST P36/RDY/OUT6 P36/RDY/OUT6 P37/CLK/OUT7 P37/CLK/OUT7 P40/X0A P40/X0A* P41/X1A P41/X1A* Vcc Vss C P42/IN6/RX1/INT9R P42/IN6/RX1/INT9R P43/IN7/TX1 P43/IN7/TX1 P44/SDA0/FRCK0 P44/SDA0/FRCK0 P45/SCL0/FRCK1 P45/SCL0/FRCK1 P46/SDA1 P46/SDA1 P47/SCL1 P47/SCL1 P50/AN8/SIN2 P50/AN8/SIN2 P51/AN9/SOT2 P51/AN9/SOT2 P52/AN10/SCK2 P52/AN10/SCK2 P53/AN11/TIN3 P53/AN11/TIN3 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 76 49 77 48 78 47 79 46 80 45 81 44 82 43 83 42 84 41 85 40 86 39 87 38 88 LQFP - 100 37 89 36 90 35 91 34 92 33 93 32 94 31 95 30 96 29 97 98 28 99 27 100 26 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 P26/A22/IN2 P26/A22/IN2 P27/A23/IN3 P27/A23/IN3 P30/ALE/IN4 P30/ALE/IN4 P31/RD/IN5 P31/RD/IN5 P32/WRL/WR/RX2/INT10R P32/WRL/WR/RX2/INT10R P33/WRH/TX2 P33/WRH/TX2 P34/HRQ/OUT4 P34/HRQ/OUT4 P01/AD01/INT9 P01/AD01/INT9 P02/AD02/INT10 P02/AD02/INT10 P03/AD03/INT11 P03/AD03/INT11 P04/AD04/INT12 P04/AD04/INT12 P05/AD05/INT13 P05/AD05/INT13 P06/AD06/INT14 P06/AD06/INT14 P07/AD07/INT15 P07/AD07/INT15 P10/AD08/TIN1 P10/AD08/TIN1 P11/AD09/TOT1 P11/AD09/TOT1 P12/AD10/SIN3/INT11R P12/AD10/SIN3/INT11R P13/AD11/SOT3 P13/AD11/SOT3 P14/AD12/SCK3 P14/AD12/SCK3 Vcc Vss X1 X0 P15/AD13/SIN4 P15/AD13/SIN4 P16/AD14/SOT4 P16/AD14/SOT4 P17/AD15/SCK4 P17/AD15/SCK4 P20/A16/PPG9 P20/A16/PPG9(8) P21/A17/PPGB P21/A17/PPGB(A) P22/A18/PPGD P22/A18/PPGD(C) P23/A19/PPGF P23/A19/PPGF(E) P24/A20/IN0 P24/A20/IN0 P25/A21/IN1 P25/A21/IN1 P81/TOT0/CKOT/INT13R P81/TOT0/CKOT/INT13R P80/TIN0/ADTG/INT12R P80/TIN0/ADTG/INT12R P77/AN23/INT7 P77/AN23/INT7 P76/AN22/INT6 P76/AN22/INT6 P00/AD00/INT8 P00/AD00/INT8 PA1/TX0 PA0/RX0/INT8R P97/OUT3 P97/OUT3 P96/OUT2 P96/OUT2 P95/OUT1 P95/OUT1 P94/OUT0 P94/OUT0 P93/PPG7 P93/PPG7(6) P92/PPG5 P92/PPG5(4) P91/PPG3 P91/PPG3(2) P90/PPG1 P90/PPG1(0) Vss Vcc P87/SCK1 P87/SCK1 P86/SOT1 P86/SOT1 P85/SIN1 P85/SIN1 P84/SCK0/INT15R P84/SCK0/INT15R P83/SOT0/TOT2 P83/SOT0/TOT2 P82/SIN0/TIN2/INT14R P82/SIN0/TIN2/INT14R (TOP VIEW) MD1 MD2 P75/AN21/INT5 P75/AN21/INT5 P74/AN20/INT4 P74/AN20/INT4 P73/AN19/INT3 P73/AN19/INT3 P72/AN18/INT2 P72/AN18/INT2 P71/AN17/INT1 P71/AN17/INT1 P70/AN16/INT0 P70/AN16/INT0 Vss P67/AN7/PPGE P67/AN7/PPGE(F) P66/AN6/PPGC P66/AN6/PPGC(D) P65/AN5/PPGA P65/AN5/PPGA(B) P64/AN4/PPG8 P64/AN4/PPG8(9) P63/AN3/PPG6 P63/AN3/PPG6(7) P62/AN2/PPG4 P62/AN2/PPG4(5) P61/AN1/PPG2 P61/AN1/PPG2(3) P60/AN0/PPG0 P60/AN0/PPG0(1) AVss AVRL AVRH AVcc P57/AN15/DA01 P57/AN15/DA01 P56/AN14/DA00 P56/AN14/DA00 P55/AN13 P55/AN13 P54/AN12/TOT3 P54/AN12/TOT3 MB90340E MB90340E Series · MB90F342E MB90F342E(S) / MB90F343E MB90F343E(S) / MB90F345E MB90F345E(S) / MB90F346E MB90F346E(S) / MB90F347E MB90F347E(S) / MB90F349E MB90F349E(S) / MB90341E MB90341E(S) / MB90342E MB90342E(S) /MB90346E /MB90346E(S) / MB90347E MB90347E(S) / MB90348E MB90348E(S) / MB90349E MB90349E(S) P04/AD04/INT12 P04/AD04/INT12 P05/AD05/INT13 P05/AD05/INT13 P06/AD06/INT14 P06/AD06/INT14 P07/AD07/INT15 P07/AD07/INT15 P10/AD08/TIN1 P10/AD08/TIN1 P11/AD09/TOT1 P11/AD09/TOT1 P12/AD10/SIN3/INT11R P12/AD10/SIN3/INT11R P13/AD11/SOT3 P13/AD11/SOT3 P14/AD12/SCK3 P14/AD12/SCK3 Vcc Vss X1 X0 P15/AD13 P15/AD13 P16/AD14 P16/AD14 P17/AD15 P17/AD15 P20/A16/PPG9 P20/A16/PPG9(8) P21/A17/PPGB P21/A17/PPGB(A) P22/A18/PPGD P22/A18/PPGD(C) P23/A19/PPGF P23/A19/PPGF(E) MD2 MD0 MD1 RST P03/AD03/INT11 P03/AD03/INT11 P02/AD02/INT10 P02/AD02/INT10 P01/AD01/INT9 P01/AD01/INT9 P00/AD00/INT8 P00/AD00/INT8 PA1/TX0 PA0/RX0/INT8R P97/OUT3 P97/OUT3 P96/OUT2 P96/OUT2 P95/OUT1 P95/OUT1 P94/OUT0 P94/OUT0 P93/PPG7 P93/PPG7(6) P92/PPG5 P92/PPG5(4) P91/PPG3 P91/PPG3(2) P90/PPG1 P90/PPG1(0) Vss Vcc P87/SCK1 P87/SCK1 P86/SOT1 P86/SOT1 P85/SIN1 P85/SIN1 P84/SCK0/INT15R P84/SCK0/INT15R P83/SOT0/TOT2 P83/SOT0/TOT2 P82/SIN0/TIN2/INT14R P82/SIN0/TIN2/INT14R P81/TOT0/CKOT/INT13R P81/TOT0/CKOT/INT13R P80/TIN0/ADTG/INT12R P80/TIN0/ADTG/INT12R P77/INT7 P77/INT7 P76/INT6 P76/INT6 (TOP VIEW) 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 81 49 82 48 83 47 84 46 85 45 86 44 87 43 88 QFP - 100 42 89 41 90 40 91 39 92 38 93 37 94 36 95 35 96 34 97 33 98 32 99 31 100 P75/INT5 P75/INT5 P74/INT4 P74/INT4 P73/INT3 P73/INT3 P72/INT2 P72/INT2 P71/INT1 P71/INT1 P70/INT0 P70/INT0 Vss P67/AN7/PPGE P67/AN7/PPGE(F) P66/AN6/PPGC P66/AN6/PPGC(D) P65/AN5/PPGA P65/AN5/PPGA(B) P64/AN4/PPG8 P64/AN4/PPG8(9) P63/AN3/PPG6 P63/AN3/PPG6(7) P62/AN2/PPG4 P62/AN2/PPG4(5) P61/AN1/PPG2 P61/AN1/PPG2(3) P60/AN0/PPG0 P60/AN0/PPG0(1) AVss AVRL AVRH AVcc P57/AN15 P57/AN15 P36/RDY/OUT6 P36/RDY/OUT6 P37/CLK/OUT7 P37/CLK/OUT7 P40/X0A P40/X0A * P41/X1A P41/X1A * Vcc Vss C P42/IN6/RX1/INT9R P42/IN6/RX1/INT9R P43/IN7/TX1 P43/IN7/TX1 P44/FRCK0 P44/FRCK0 P45/FRCK1 P45/FRCK1 P46 P47 P50/AN8/SIN2 P50/AN8/SIN2 P51/AN9/SOT2 P51/AN9/SOT2 P52/AN10/SCK2 P52/AN10/SCK2 P53/AN11/TIN3 P53/AN11/TIN3 P54/AN12/TOT3 P54/AN12/TOT3 P55/AN13 P55/AN13 P56/AN14 P56/AN14 P34/HRQ/OUT4 P34/HRQ/OUT4 P35/HAK/OUT5 P35/HAK/OUT5 P32/WRLX/WRX/INT10R P32/WRLX/WRX/INT10R P33/WRH P33/WRH P24/A20/IN0 P24/A20/IN0 P25/A21/IN1 P25/A21/IN1 P26/A22/IN2 P26/A22/IN2 P27/A23/IN3 P27/A23/IN3 P30/ALE/IN4 P30/ALE/IN4 P31/RD/IN5 P31/RD/IN5 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 (FPT-100P-M06 FPT-100P-M06) * : X0A, X1A : devices without an S suffix in the part number P40, P41 : devices with an S suffix in the part number (Continued) 9 MB90340E MB90340E Series (Continued) (FPT-100P-M05 FPT-100P-M05) * : X0A, X1A : devices without an S suffix in the part number P40, P41 : devices with an S suffix in the part number 10 MD0 RST P36/RDY/OUT6 P36/RDY/OUT6 P37/CLK/OUT7 P37/CLK/OUT7 P40/X0A P40/X0A* P41/X1A P41/X1A* Vcc Vss C P42/IN6/RX1/INT9R P42/IN6/RX1/INT9R P43/IN7/TX1 P43/IN7/TX1 P44/FRCK0 P44/FRCK0 P45/FRCK1 P45/FRCK1 P46 P47 P50/AN8/SIN2 P50/AN8/SIN2 P51/AN9/SOT2 P51/AN9/SOT2 P52/AN10/SCK2 P52/AN10/SCK2 P53/AN11/TIN3 P53/AN11/TIN3 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 76 50 49 77 48 78 47 79 80 46 81 45 82 44 83 43 84 42 85 41 86 40 87 39 LQFP - 100 88 38 89 37 90 36 91 35 92 34 93 33 94 32 95 31 96 30 97 29 98 28 99 27 100 26 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 P26/A22/IN2 P26/A22/IN2 P27/A23/IN3 P27/A23/IN3 P30/ALE/IN4 P30/ALE/IN4 P31/RD/IN5 P31/RD/IN5 P32/WRL/WR/INT10R P32/WRL/WR/INT10R P33/WRH P33/WRH P34/HRQ/OUT4 P34/HRQ/OUT4 P35/HAK/OUT5 P35/HAK/OUT5 P01/AD01/INT9 P01/AD01/INT9 P02/AD02/INT10 P02/AD02/INT10 P03/AD03/INT11 P03/AD03/INT11 P04/AD04/INT12 P04/AD04/INT12 P05/AD05/INT13 P05/AD05/INT13 P06/AD06/INT14 P06/AD06/INT14 P07/AD07/INT15 P07/AD07/INT15 P10/AD08/TIN1 P10/AD08/TIN1 P11/AD09/TOT1 P11/AD09/TOT1 P12/AD10/SIN3/INT11R P12/AD10/SIN3/INT11R P13/AD11/SOT3 P13/AD11/SOT3 P14/AD12/SCK3 P14/AD12/SCK3 Vcc Vss X1 X0 P15/AD13 P15/AD13 P16/AD14 P16/AD14 P17/AD15 P17/AD15 P20/A16/PPG9 P20/A16/PPG9(8) P21/A17/PPGB P21/A17/PPGB(A) P22/A18/PPGD P22/A18/PPGD(C) P23/A19/PPGF P23/A19/PPGF(E) P24/A20/IN0 P24/A20/IN0 P25/A21/IN1 P25/A21/IN1 P81/TOT0/CKOT/INT13R P81/TOT0/CKOT/INT13R P80/TIN0/ADTG/INT12R P80/TIN0/ADTG/INT12R P77/INT7 P77/INT7 P76/INT6 P76/INT6 P00/AD00/INT8 P00/AD00/INT8 PA1/TX0 PA0/RX0/INT8R P97/OUT3 P97/OUT3 P96/OUT2 P96/OUT2 P95/OUT1 P95/OUT1 P94/OUT0 P94/OUT0 P93/PPG7 P93/PPG7(6) P92/PPG5 P92/PPG5(4) P91/PPG3 P91/PPG3(2) P90/PPG1 P90/PPG1(0) Vss Vcc P87/SCK1 P87/SCK1 P86/SOT1 P86/SOT1 P85/SIN1 P85/SIN1 P84/SCK0/INT15R P84/SCK0/INT15R P83/SOT0/TOT2 P83/SOT0/TOT2 P82/SIN0/TIN2/INT14R P82/SIN0/TIN2/INT14R (TOP VIEW) MD1 MD2 P75/INT5 P75/INT5 P74/INT4 P74/INT4 P73/INT3 P73/INT3 P72/INT2 P72/INT2 P71/INT1 P71/INT1 P70/INT0 P70/INT0 Vss P67/AN7/PPGE P67/AN7/PPGE(F) P66/AN6/PPGC P66/AN6/PPGC(D) P65/AN5/PPGA P65/AN5/PPGA(B) P64/AN4/PPG8 P64/AN4/PPG8(9) P63/AN3/PPG6 P63/AN3/PPG6(7) P62/AN2/PPG4 P62/AN2/PPG4(5) P61/AN1/PPG2 P61/AN1/PPG2(3) P60/AN0/PPG0 P60/AN0/PPG0(1) AVss AVRL AVRH AVcc P57/AN15 P57/AN15 P56/AN14 P56/AN14 P55/AN13 P55/AN13 P54/AN12/TOT3 P54/AN12/TOT3 MB90340E MB90340E Series · MB90F342CE MB90F342CE(S) / MB90F343CE MB90F343CE(S) / MB90F345CE MB90F345CE(S) / MB90F346CE MB90F346CE(S) / MB90F347CE MB90F347CE(S) / MB90F349CE MB90F349CE(S) / MB90341CE MB90341CE(S) / MB90342CE MB90342CE(S) /MB90346CE /MB90346CE(S) / MB90347CE MB90347CE(S) / MB90348CE MB90348CE(S) / MB90349CE MB90349CE(S) RST MD2 P75/AN21/INT5 P75/AN21/INT5 P74/AN20/INT4 P74/AN20/INT4 P73/AN19/INT3 P73/AN19/INT3 P72/AN18/INT2 P72/AN18/INT2 P71/AN17/INT1 P71/AN17/INT1 P70/AN16/INT0 P70/AN16/INT0 Vss P67/AN7/PPGE P67/AN7/PPGE(F) P66/AN6/PPGC P66/AN6/PPGC(D) P65/AN5/PPGA P65/AN5/PPGA(B) P64/AN4/PPG8 P64/AN4/PPG8(9) P63/AN3/PPG6 P63/AN3/PPG6(7) P62/AN2/PPG4 P62/AN2/PPG4(5) P61/AN1/PPG2 P61/AN1/PPG2(3) P60/AN0/PPG0 P60/AN0/PPG0(1) AVss AVRL AVRH AVcc P57/AN15 P57/AN15 P35/HAK/OUT5 P35/HAK/OUT5 P36/RDY/OUT6 P36/RDY/OUT6 P37/CLK/OUT7 P37/CLK/OUT7 P40/X0A P40/X0A* P41/X1A P41/X1A* Vcc Vss C P42/IN6/RX1/INT9R P42/IN6/RX1/INT9R P43/IN7/TX1 P43/IN7/TX1 P44/SDA0/FRCK0 P44/SDA0/FRCK0 P45/SCL0/FRCK1 P45/SCL0/FRCK1 P46/SDA1 P46/SDA1 P47/SCL1 P47/SCL1 P50/AN8/SIN2 P50/AN8/SIN2 P51/AN9/SOT2 P51/AN9/SOT2 P52/AN10/SCK2 P52/AN10/SCK2 P53/AN11/TIN3 P53/AN11/TIN3 P54/AN12/TOT3 P54/AN12/TOT3 P55/AN13 P55/AN13 P56/AN14 P56/AN14 P33/WRH P33/WRH P34/HRQ/OUT4 P34/HRQ/OUT4 P31/RD/IN5 P31/RD/IN5 P32/WRL/WR/INT10R P32/WRL/WR/INT10R 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 81 82 49 83 48 84 47 85 46 86 45 87 44 88 43 89 42 QFP - 100 90 41 91 40 92 39 93 38 94 37 95 36 96 35 97 34 98 33 99 32 100 31 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 P24/A20/IN0 P24/A20/IN0 P25/A21/IN1 P25/A21/IN1 P26/A22/IN2 P26/A22/IN2 P27/A23/IN3 P27/A23/IN3 P30/ALE/IN4 P30/ALE/IN4 P04/AD04/INT12 P04/AD04/INT12 P05/AD05/INT13 P05/AD05/INT13 P06/AD06/INT14 P06/AD06/INT14 P07/AD07/INT15 P07/AD07/INT15 P10/AD08/TIN1 P10/AD08/TIN1 P11/AD09/TOT1 P11/AD09/TOT1 P12/AD10/SIN3/INT11R P12/AD10/SIN3/INT11R P13/AD11/SOT3 P13/AD11/SOT3 P14/AD12/SCK3 P14/AD12/SCK3 Vcc Vss X1 X0 P15/AD13 P15/AD13 P16/AD14 P16/AD14 P17/AD15 P17/AD15 P20/A16/PPG9 P20/A16/PPG9(8) P21/A17/PPGB P21/A17/PPGB(A) P22/A18/PPGD P22/A18/PPGD(C) P23/A19/PPGF P23/A19/PPGF(E) MD0 MD1 P03/AD03/INT11 P03/AD03/INT11 P02/AD02/INT10 P02/AD02/INT10 P01/AD01/INT9 P01/AD01/INT9 P00/AD00/INT8 P00/AD00/INT8 PA1/TX0 PA0/RX0/INT8R P97/OUT3 P97/OUT3 P96/OUT2 P96/OUT2 P95/OUT1 P95/OUT1 P94/OUT0 P94/OUT0 P93/PPG7 P93/PPG7(6) P92/PPG5 P92/PPG5(4) P91/PPG3 P91/PPG3(2) P90/PPG1 P90/PPG1(0) Vss Vcc P87/SCK1 P87/SCK1 P86/SOT1 P86/SOT1 P85/SIN1 P85/SIN1 P84/SCK0/INT15R P84/SCK0/INT15R P83/SOT0/TOT2 P83/SOT0/TOT2 P82/SIN0/TIN2/INT14R P82/SIN0/TIN2/INT14R P81/TOT0/CKOT/INT13R P81/TOT0/CKOT/INT13R P80/TIN0/ADTG/INT12R P80/TIN0/ADTG/INT12R P77/AN23/INT7 P77/AN23/INT7 P76/AN22/INT6 P76/AN22/INT6 (TOP VIEW) (FPT-100P-M06 FPT-100P-M06) * : X0A, X1A : devices without an S suffix in the part number P40, P41 : devices with an S suffix in the part number (Continued) 11 MB90340E MB90340E Series (Continued) (FPT-100P-M05 FPT-100P-M05) * : X0A, X1A : devices without an S suffix in the part number P40, P41 : devices with an S suffix in the part number 12 RST MD0 P35/HAK/OUT5 P35/HAK/OUT5 P36/RDY/OUT6 P36/RDY/OUT6 P37/CLK/OUT7 P37/CLK/OUT7 P40/X0A P40/X0A* P41/X1A P41/X1A* Vcc Vss C P42/IN6/RX1/INT9R P42/IN6/RX1/INT9R P43/IN7/TX1 P43/IN7/TX1 P44/SDA0/FRCK0 P44/SDA0/FRCK0 P45/SCL0/FRCK1 P45/SCL0/FRCK1 P46/SDA1 P46/SDA1 P47/SCL1 P47/SCL1 P50/AN8/SIN2 P50/AN8/SIN2 P51/AN9/SOT2 P51/AN9/SOT2 P52/AN10/SCK2 P52/AN10/SCK2 P53/AN11/TIN3 P53/AN11/TIN3 P33/WRH P33/WRH P34/HRQ/OUT4 P34/HRQ/OUT4 P31/RD/IN5 P31/RD/IN5 P32/WRL/WR/INT10R P32/WRL/WR/INT10R 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 76 50 77 49 78 48 47 79 46 80 45 81 44 82 43 83 42 84 41 85 40 86 39 87 LQFP - 100 38 88 37 89 36 90 35 91 34 92 33 93 32 94 31 95 30 96 29 97 98 28 99 27 100 26 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 P26/A22/IN2 P26/A22/IN2 P27/A23/IN3 P27/A23/IN3 P30/ALE/IN4 P30/ALE/IN4 P01/AD01/INT9 P01/AD01/INT9 P02/AD02/INT10 P02/AD02/INT10 P03/AD03/INT11 P03/AD03/INT11 P04/AD04/INT12 P04/AD04/INT12 P05/AD05/INT13 P05/AD05/INT13 P06/AD06/INT14 P06/AD06/INT14 P07/AD07/INT15 P07/AD07/INT15 P10/AD08/TIN1 P10/AD08/TIN1 P11/AD09/TOT1 P11/AD09/TOT1 P12/AD10/SIN3/INT11R P12/AD10/SIN3/INT11R P13/AD11/SOT3 P13/AD11/SOT3 P14/AD12/SCK3 P14/AD12/SCK3 Vcc Vss X1 X0 P15/AD13 P15/AD13 P16/AD14 P16/AD14 P17/AD15 P17/AD15 P20/A16/PPG9 P20/A16/PPG9(8) P21/A17/PPGB P21/A17/PPGB(A) P22/A18/PPGD P22/A18/PPGD(C) P23/A19/PPGF P23/A19/PPGF(E) P24/A20/IN0 P24/A20/IN0 P25/A21/IN1 P25/A21/IN1 P81/TOT0/CKOT/INT13R P81/TOT0/CKOT/INT13R P80/TIN0/ADTG/INT12R P80/TIN0/ADTG/INT12R P77/AN23/INT7 P77/AN23/INT7 P76/AN22/INT6 P76/AN22/INT6 P00/AD00/INT8 P00/AD00/INT8 PA1/TX0 PA0/RX0/INT8R P97/OUT3 P97/OUT3 P96/OUT2 P96/OUT2 P95/OUT1 P95/OUT1 P94/OUT0 P94/OUT0 P93/PPG7 P93/PPG7(6) P92/PPG5 P92/PPG5(4) P91/PPG3 P91/PPG3(2) P90/PPG1 P90/PPG1(0) Vss Vcc P87/SCK1 P87/SCK1 P86/SOT1 P86/SOT1 P85/SIN1 P85/SIN1 P84/SCK0/INT15R P84/SCK0/INT15R P83/SOT0/TOT2 P83/SOT0/TOT2 P82/SIN0/TIN2/INT14R P82/SIN0/TIN2/INT14R (TOP VIEW) MD1 MD2 P75/AN21/INT5 P75/AN21/INT5 P74/AN20/INT4 P74/AN20/INT4 P73/AN19/INT3 P73/AN19/INT3 P72/AN18/INT2 P72/AN18/INT2 P71/AN17/INT1 P71/AN17/INT1 P70/AN16/INT0 P70/AN16/INT0 Vss P67/AN7/PPGE P67/AN7/PPGE(F) P66/AN6/PPGC P66/AN6/PPGC(D) P65/AN5/PPGA P65/AN5/PPGA(B) P64/AN4/PPG8 P64/AN4/PPG8(9) P63/AN3/PPG6 P63/AN3/PPG6(7) P62/AN2/PPG4 P62/AN2/PPG4(5) P61/AN1/PPG2 P61/AN1/PPG2(3) P60/AN0/PPG0 P60/AN0/PPG0(1) AVss AVRL AVRH AVcc P57/AN15 P57/AN15 P56/AN14 P56/AN14 P55/AN13 P55/AN13 P54/AN12/TOT3 P54/AN12/TOT3 MB90340E MB90340E Series PIN DESCRIPTION Pin No. QFP100 QFP100*1 LQFP100 LQFP100*2 Pin name I/O Circuit type*3 General purpose I/O pins. The register can be set to select whether to use a pull-up resistor.In external bus mode, the pin is enabled as a general-purpose I/O port when the corresponding bit in the external address output control register (HACR) is 1. P24 to P27 1 to 4 99 to 2 Function G A20 to A23 Output pins of the external address bus. When the corresponding bit in the external address output control register (HACR) is 0, the pins are enabled as high address output pins (A20 to A23). IN0 to IN3 Trigger input pins for input captures. General purpose I/O pin.The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. P30 5 3 G ALE IN4 Trigger input pin for input capture. P31 6 Address latch enable output pin. This function is enabled when the external bus is enabled. General purpose I/O pin.The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. 4 G RD IN5 Trigger input pin for input capture. P32 7 External read strobe output pin. This function is enabled when the external bus is enabled. General purpose I/O pin. The register can be set to select whether to use a pull-up resistor. This function is enabled either in singlechip mode or when the WR/WRL pin output is disabled. 5 G WR / WRL INT10R INT10R External interrupt request input pin. General purpose I/O pin. The register can be set to select whether to use a pull-up resistor.This function is enabled either in singlechip mode or when the WRH pin output is disabled. P33 8 6 G WRH Write strobe output pin for the external 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 while WR is used to write-strobe 8 bits of the data bus in 8-bit access. Write strobe output pin for the upper 8 bits of the external 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. (Continued) 13 MB90340E MB90340E Series Pin No. QFP100 QFP100*1 LQFP100 LQFP100*2 Pin name I/O Circuit type*3 General purpose I/O pin. The register can be set to select whether to use a pull-up resistor. This function is enabled either in single-chip mode or when the hold function is disabled. P34 9 7 Function 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. General purpose I/O pin. The register can be set to select whether to use a pull-up resistor. This function is enabled either in single-chip mode or when the hold function is disabled. P35 10 8 G HAK OUT5 Waveform output pin for output compare. P36 11 9 Hold acknowledge output pin. This function is enabled when both the external bus and the hold function are enabled. G General purpose I/O pin. The register can be set to select whether to use a pull-up resistor. This function is enabled either in single-chip mode or when the external ready function is disabled. RDY External 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. General purpose I/O pin. The register can be set to select whether to use a pull-up resistor. This function is enabled either in single-chip mode or when the clock output is disabled. P37 12 10 G CLK OUT7 Clock output pin. This function is enabled when both the external bus and clock output are enabled. Waveform output pin for output compare OCU7 P40, P41 General purpose I/O pins. (devices with an S suffix in the part number and or MB90V340E-101 MB90V340E-101) X0A , X1A 13, 14 F B Oscillation pins for sub clock (devices without an S suffix in the part number and or MB90V340E-102 MB90V340E-102) 11, 12 15 13 VCC Power (3.5 V to 5.5 V) input pin 16 14 VSS GND pin 17 15 C K This is the power supply stabilization capacitor This pin should be connected to a ceramic capacitor with a capacitance greater than or equal to 0.1 µF. P42 IN6 18 16 General purpose I/O pin. Trigger input pin for input capture. RX1 INT9R F RX input pin for CAN1 Interface (MB90F342E/F343E/F345E/341E/342E MB90F342E/F343E/F345E/341E/342E only) External interrupt request input pin (Continued) 14 MB90340E MB90340E Series Pin No. QFP100 QFP100*1 LQFP100 LQFP100*2 Pin name I/O Circuit type*3 P43 19 17 IN7 Function General purpose I/O pin. F Trigger input pin for input capture. TX1 P44 20 18 TX Output pin for CAN1 (MB90F342E/F343E/F345E/341E/342E MB90F342E/F343E/F345E/341E/342E only) General purpose I/O pin. SDA0 H FRCK0 Input pin for the 16-bit I/O Timer 0 P45 21 19 SCL0 General purpose I/O pin. H FRCK1 20 SDA1 General purpose I/O pin. H P47 23 21 SCL1 22 AN8 Serial data I/O pin for I2C (devices with a C suffix in the part number) General purpose I/O pin. H P50 24 Serial clock I/O pin for I2C (devices with a C suffix in the part number) Input pin for the 16-bit I/O Timer P46 22 Serial data I/O pin for I2C (devices with a C suffix in the part number) Serial clock I/O pin for I2C (devices with a C suffix in the part number) General purpose I/O pin. O Analog input pin for the A/D converter SIN2 P51 25 23 Serial data input pin for UART2 General purpose I/O pin. AN9 I SOT2 Serial data output pin for UART2 P52 26 24 AN10 Analog input pin for the A/D converter General purpose I/O pin. I Analog input pin for the A/D converter SCK2 P53 27 25 Clock I/O pin for UART2 General purpose I/O pin. AN11 I Analog input pin for the A/D converter TIN3 P54 28 26 Event input pin for the reload timer General purpose I/O pin. AN12 I TOT3 29 27 30, 31 28, 29 32 30 P55 AN13 P56, P57 AN14, AN15 AVCC Analog input pin for the A/D converter Output pin for the reload timer I J K General purpose I/O pin. Analog input pin for the A/D converter General purpose I/O pins. Analog input pins for the A/D converter Analog power input pin for the A/D Converter (Continued) 15 MB90340E MB90340E Series Pin No. QFP100 QFP100*1 LQFP100 LQFP100*2 Pin name I/O Circuit type*3 Function 33 31 AVRH L Reference voltage input pin 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. 34 32 AVRL K Lower reference voltage input pin for the A/D Converter 35 33 AVSS K Analog GND pin for the A/D Converter P60 to P67 36 to 43 34 to 41 AN0 to AN7 General purpose I/O pins. I PPG0, 2, 4, 6, 8, A, C, E 44 42 VSS Output pins for PPGs P70 to P75 45 to 50 43 to 48 AN16 to AN21 Analog input pins for the A/D converter GND pin General purpose I/O pins. I INT0 to INT5 Analog input pins for the A/D converter (devices with a C suffix in the part number) External interrupt request input pins 51 49 MD2 D Input pin for specifying the operating mode. 52, 53 50, 51 MD1, MD0 C Input pins for specifying the operating mode. 54 52 RST E Reset input P76, P77 55, 56 53, 54 AN22, AN23 General purpose I/O pins. I INT6, INT7 External interrupt request input pins P80 57 55 TIN0 ADTG General purpose I/O pin. F INT12R INT12R 56 TOT0 CKOT F SIN0 TIN2 M SOT0 TOT2 Serial data input pin for UART0 Event input pin for the reload timer External interrupt request input pin P83 58 Output pin for the clock monitor General purpose I/O pin. INT14R INT14R 60 Output pin for the reload timer External interrupt request input pin P82 57 Trigger input pin for the A/D converter General purpose I/O pin. INT13R INT13R 59 Event input pin for the reload timer External interrupt request input pin P81 58 Analog input pins for the A/D converter (devices with a C suffix in the part number) General purpose I/O pin. F Serial data output pin for UART0 Output pin for the reload timer (Continued) 16 MB90340E MB90340E Series Pin No. QFP100 QFP100*1 LQFP100 LQFP100*2 Pin name I/O Circuit type*3 P84 61 59 SCK0 General purpose I/O pin. F INT15R INT15R P85 Function Clock I/O pin for UART0 External interrupt request input pin 60 63 61 64 62 65 63 VCC Power (3.5 V to 5.5 V) input pin 66 64 VSS GND pin 67 to 70 65 to 68 SIN1 P86 SOT1 P87 SCK1 P90 to P93 PPG1, 3, 5, 7 M General purpose I/O pin. 62 F F F P94 to P97 71 to 74 69 to 72 OUT0 to OUT3 73 RX0 F 74 PA1 TX0 F 75 to 82 General purpose I/O pin. Clock I/O pin for UART1 General purpose I/O pin Output pins for PPGs Waveform output pins for output compares. This function is enabled when the OCU enables waveform output. RX input pin for CAN0 Interface External interrupt request input pin F General purpose I/O pin. TX Output pin for CAN0 General purpose I/O pins. 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 77 to 84 Serial data output pin for UART1 General purpose I/O pin. INT8R 76 General purpose I/O pin. General purpose I/O pin PA0 75 Serial data input pin for UART1 G AD00 to AD07 I/O pins for 8 lower bits of the external address/data bus. This function is enabled when the external bus is enabled. INT8 to INT15 INT15 External interrupt request input pins. General purpose I/O pin. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. P10 85 83 G AD08 I/O pin for the external address/data bus. This function is enabled when the external bus is enabled. TIN1 Event input pin for the reload timer (Continued) 17 MB90340E MB90340E Series Pin No. QFP100 QFP100*1 LQFP100 LQFP100*2 Pin name I/O Circuit type*3 General purpose I/O pin. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. P11 86 84 Function G AD09 I/O pin for the external address/data bus. This function is enabled when the external bus is enabled. TOT1 Output pin for the reload timer General purpose I/O pin. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. P12 87 85 AD10 N SIN3 Serial data input pin for UART3 INT11R INT11R External interrupt request input pin General purpose I/O pin. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. P13 88 86 I/O pin for the external address/data bus. This function is enabled when the external bus is enabled. G AD11 I/O pin for the external address/data bus. This function is enabled when the external bus is enabled. SOT3 Serial data output pin for UART3 General purpose I/O pin. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. P14 89 87 G AD12 I/O pin for the external address/data bus. This function is enabled when the external bus is enabled. SCK3 Clock I/O pin for UART3 90 88 VCC Power (3.5 V to 5.5 V) input pin 91 89 VSS GND pin 92 90 X1 93 91 X0 A P15 94 92 G Main clock output pin Main clock input pin General purpose I/O pin. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. AD13 P16 95 I/O pin for the external address/data bus. This function is enabled when the external bus is enabled. General purpose I/O pin. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. 93 G AD14 I/O pin for the external address/data bus. This function is enabled when the external bus is enabled. (Continued) 18 MB90340E MB90340E Series (Continued) Pin No. QFP100 QFP100*1 LQFP100 LQFP100*2 Pin name Circuit type*3 P17 96 94 G General purpose I/O pins. The register can be set to select whether to use a pull-up resistor.In external bus mode, the pin is enabled as a general-purpose I/O port when the corresponding bit in the external address output control register (HACR) is 1. P20 to P23 95 to 98 G A16 to A19 PPG9,PPGB, PPGD,PPGF General purpose I/O pin. The register can be set to select whether to use a pull-up resistor. This function is enabled in single-chip mode. I/O pin for the external address/data bus. This function is enabled when the external bus is enabled. AD15 97 to 100 Function Output pins of the external address 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). Output pins for PPGs *1 : FPT-100P-M06 FPT-100P-M06 *2 : FPT-100P-M05 FPT-100P-M05 *3 : For I/O circuit type, refer to " I/O CIRCUIT TYPE". 19 MB90340E MB90340E 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 CMOS hysteresis inputs MASK ROM and evaluation products: · CMOS hysteresis input pin Flash memory products: · CMOS input pin CMOS hysteresis inputs MASK ROM and evaluation products: · CMOS hysteresis input pin · Pull-down resistor value: approx. 50 k Flash memory products: · CMOS input pin · No pull-down R C R D Pull-down Resistor CMOS hysteresis input pin · Pull-up resistor value: approx. 50 k E Pull-up Resistor R CMOS hysteresis inputs (Continued) 20 MB90340E MB90340E Series Type Circuit Remarks P-ch N-ch F Pout Nout R · CMOS level output (IOL = 4 mA, IOH = -4 mA) · CMOS hysteresis input (with function to disconnect input during standby) · Automotive input (with function to disconnect input during standby) CMOS hysteresis input Automotive input Standby control for input shutdown Pull-up control P-ch P-ch N-ch G Pout Nout R CMOS hysteresis input · CMOS level output (IOL = 4 mA, IOH = -4 mA) · CMOS hysteresis input (with function to disconnect input during standby) · Automotive input (with function to disconnect input during standby) · TTL input (with function to disconnect input during standby) · Programmable pull-up resistor: 50 k approx. Automotive input TTL input Standby control for input shutdown P-ch N-ch H Pout Nout · CMOS level output (IOL = 3 mA, IOH = -3 mA) · CMOS hysteresis input (with function to disconnect input during standby) · Automotive input (with function to disconnect input during standby) R CMOS hysteresis input Automotive input Standby control for input shutdown (Continued) 21 MB90340E MB90340E Series Type Circuit Remarks P-ch Pout N-ch · CMOS level output (IOL = 4 mA, IOH = -4 mA) · CMOS hysteresis input (with function to disconnect input during standby) · Automotive input (with function to disconnect input during standby) · A/D converter analog input Nout R I CMOS hysteresis input Automotive input Standby control for input shutdown Analog input P-ch Pout N-ch Nout R CMOS hysteresis input J · CMOS level output (IOL = 4 mA, IOH = -4 mA) · D/A analog output · CMOS hysteresis input (with function to disconnect input during standby) · Automotive input (with function to disconnect input during standby) · A/D converter analog input Automotive input Standby control for input shutdown Analog input Analog output · Power supply input protection circuit P-ch K N-ch P-ch L ANE AVR N-ch 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 MB90340E MB90340E Series (Continued) Type Circuit Remarks P-ch N-ch M Pout Nout R · CMOS level output (IOL = 4 mA, IOH = -4 mA) · CMOS input (with function to disconnect input during standby) · Automotive input (with function to disconnect input during standby) CMOS input Automotive input Standby control for input shutdown Pull-up control P-ch P-ch N-ch N Pout Nout R CMOS input · CMOS level output (IOL = 4 mA, IOH = -4 mA) · CMOS input (with function to disconnect input during standby) · Automotive input (with function to disconnect input during standby) · TTL input (with function to disconnect input during standby) Programmable pull-up resistor: 50 k approx Automotive input 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 input (with function to disconnect input during standby) · Automotive input (with function to disconnect input during standby) · A/D converter analog input CMOS input Automotive input Standby control for input shutdown Analog input 23 MB90340E MB90340E Series HANDLING DEVICES 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 pins. · 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. Handling unused pins Leaving unused input pins open may result in misbehavior or latch-up and possible permanent damage to 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. 3. Power supply pins (VCC/VSS) · If there are multiple VCC and VSS pins, that are designed to be set to the same potential are connected the inside of the device to prevent malfunctions such 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 MB90340E MB90340E Series Vcc Vss Vss Vcc 4. Mode Pins (MD0 to MD2) Connect the mode pins directly to VCC or VSS pins. To prevent the device unintentionally entering test mode due to noise, lay out the printed circuit board so as to minimize the distance from the mode pins to VCC or VSS pins and to provide a low-impedance connection. 24 MB90340E MB90340E Series 5. Sequence for Turning On the Power Supply to the 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 AN23) 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 does not exceed AVRH or AVCC (turning on/off the analog and digital power supplies simultaneously is acceptable). 6. Connection of Unused A/D Converter Pins when the A/D Converter is Used Connect unused pins of A/D converter to AVCC = VCC, AVSS = AVRH = AVRL = VSS. 7. Crystal Oscillator Circuit The X0, X1 pins and X0A, X1A pins may be possible causes of abnormal operation. Make sure to provide bypass capacitors via the shortest distance from X0, X1 pins and X0A, X1A pins, crystal oscillator (or ceramic oscillator) and ground lines, and make sure, to the utmost effort, that the oscillation circuit lines do not cross the lines of other circuits. It is highly recommended to provide a printed circuit board art work surrounding X0, X1 pins and X0A, X1A pins with a ground area for stabilizing the operation. For each of the mass-production products, request an oscillator evaluation from the manufacturer of the oscillator you are using. 8. Pull-up/down resistors The MB90340E MB90340E Series does not support internal pull-up/down resistors (except for the pull-up resistors built into ports 0 to 3). Use external components where needed. 9. Using external clock To use an external clock, drive the X0 pin and leave the X1 pin open. MB90340E MB90340E Series X0 Open X1 10. Precautions 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. 11. Notes on operation in PLL clock mode If PLL clock mode is selected, the microcontroller attempt to be working with the self-oscillating circuit even when there is no external oscillator or the external clock input is stopped. Performance of this operation, however, cannot be guaranteed. 12. Notes on Power-On To prevent the internal regulator circuit from malfunctioning, set the voltage rise time during power-on to 50 µs or more (0.2 V to 2.7 V) 13. Stabilization of power 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. Stabilize the power supply voltage as follows as a standard level of stabilization. 25 MB90340E MB90340E Series · VCC ripple variations (peak-to-peak value) at commercial frequencies (50 Hz/60 Hz) fall below 10% of the standard VCC supply voltage · The coefficient of fluctuation does not exceed 0.1 V/ms at instantaneous power switching. 14. 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. 15. Port 0 to Port 3 Output During Power-on (External-bus Mode) As shown below, when the power is turned on in External-Bus mode, there is a possibility that output signal of Port 0 to Port 3 might be unstable irrespective of the reset input. 1/2VCC VCC Port0 to Port3 Port0 to Port3 outputs might be unstable Port0 to Port3 outputs = Hi-Z 16. Notes on Using the CAN Function To use the CAN function, please set the DIRECT bit of the CAN Direct Mode Register (CDMR) to 1. If the DIRECT bit is set to '0' (initial value), wait states will be performed when accessing CAN registers. Note : Please refer to the Hardware Manual of the MB90340E MB90340E series for detail of CAN Direct Mode Register. 17. Flash Security Function (except for MB90F346E MB90F346E) A security bit is located in the area of the flash memory. If protection code 01H is written in the security bit, 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. Refer to following table for the address of the security bit. Flash memory size MB90F347E MB90F347E Embedded 1 Mbit Flash Memory FE0001H FE0001H MB90F342E MB90F342E MB90F349E MB90F349E Embedded 2 Mbits Flash Memory FC0001H FC0001H MB90F343E MB90F343E Embedded 3 Mbits Flash Memory F90001H F90001H MB90F345E MB90F345E 26 Address of the security bit Embedded 4 Mbits Flash Memory F80001H F80001H MB90340E MB90340E Series BLOCK DIAGRAMS MB90V340E-101/102 MB90V340E-101/102 X0,X1 X0A,X1A* RST Clock Controller 16LX CPU IO Timer 0 FRCK0 Input Capture 8 channels IN7 to IN0 Output Compare 8 channels RAM 30 Kbytes OUT7 to OUT0 Prescaler 5 channels AVCC AVSS AN23 to AN0 AVRH AVRL ADTG DA01, DA00 UART 5 channels CAN Controller 3 channels RX2 to RX0 TX2 to TX0 16-bit Reload Timer 4 channels TIN3 to TIN0 TOT3 to TOT0 8/10-bit A/D converter 24 channels 10-bit D/A converter 2 channels FRCK1 AD15 to AD00 F2MC-16 F2MC-16 Bus SOT4 to SOT0 SCK4 to SCK0 SIN4 to SIN0 IO Timer 1 A23 to A16 ALE RD External Bus Interface WR/WRL WRH HRQ PPGF to PPG0 SDA1, SDA0 SCL1, SCL0 HAK 8/16-bit PPG 16 channels I2C Interface 2 channels DMAC RDY CLK External Interrupt 16 channels Clock Monitor INT15 INT15 to INT8 (INT15R INT15R to INT8R) INT7 to INT0 CKOT * : Only for MB90V340E-102 MB90V340E-102 27 MB90340E MB90340E Series MB90F342E MB90F342E(S), MB90F342CE MB90F342CE(S), MB90F343E MB90F343E(S), MB90F343CE MB90F343CE(S), MB90F345E MB90F345E(S), MB90F345CE MB90F345CE(S), , MB90F346E MB90F346E(S), MB90F346CE MB90F346CE(S), MB90F347E MB90F347E(S), MB90F347CE MB90F347CE(S), MB90F349E MB90F349E(S), MB90F349CE MB90F349CE(S), MB90341E MB90341E(S), MB90341CE MB90341CE(S), MB90342E MB90342E(S), MB90342CE MB90342CE(S), MB90346E MB90346E(S), MB90346CE MB90346CE(S), MB90347E MB90347E(S), MB90347CE MB90347CE(S), MB90348E MB90348E(S), MB90348CE MB90348CE(S), MB90349E MB90349E(S), MB90349CE MB90349CE(S) X0,X1 X0A,X1A*1 RST Clock Controller 16LX CPU RAM 2 K/6 K/16 K/ 20 Kbytes IO Timer 0 Input Capture 8 channels Prescaler 4 channels AVCC AVSS AN15 to AN0 AN23 to AN16*2 AVRH AVRL ADTG PPGF to PPG0 OUT7 to OUT0 IO Timer 1 FRCK1 CAN Controller 1/2 channels*3 UART 4 channels RX0, RX1*3 TX0, TX1*3 16-bit Reload Timer 4 channels 8/10-bit A/D converter 16/24 channels TIN3 to TIN0 TOT3 to TOT0 AD15 to AD00 F2MC-16 F2MC-16 Bus SOT3 to SOT0 SCK3 to SCK0 SIN3 to SIN0 IN7 to IN0 Output Compare 8 channels ROM/Flash 64 K/128 K/128 K 256 K/384 K/384 K/ 512 Kbytes FRCK0 A23 to A16 ALE RD External Bus Interface WR/WRL WRH 8/16-bit PPG 16 channels HRQ HAK RDY SDA1, SDA0*2 SCL1, SCL0*2 I2C Interface 2 channels CLK External Interrupt 16 channels INT15 INT15 to INT8 (INT15R INT15R to INT8R) INT7 to INT0 DMAC Clock Monitor *1 : Only for devices with an S suffix in the part number *2 : Only for devices with a C suffix in the part number *3 : Only the MB90341E MB90341E(S)/ 341CE 341CE(S)/ 342E(S)/ 342CE 342CE(S)/ F342E F342E(S)/F342CE /F342CE(S)/F343E /F343E(S)/F343CE /F343CE(S)/ F345E F345E(S)/F345CE /F345CE(S) are equipped with 2 CAN channels 28 CKOT MB90340E MB90340E Series MEMORY MAP MB90V340E-101/102 MB90V340E-101/102 000000H 000000H 0000EFH 0000EFH 000100H 000100H Peripheral External access area MB90F345E MB90F345E(S)/F345CE /F345CE(S) 000000H 000000H 0000EFH 0000EFH 000100H 000100H Peripheral External access area MB90F343E MB90F343E(S)/F343CE /F343CE(S) 000000H 000000H 0000EFH 0000EFH 000100H 000100H Peripheral External access area RAM 20 Kbytes RAM 20 Kbytes RAM 30 Kbytes 0050FFH 0050FFH 0078FFH 0078FFH 007900H 007900H 007900H 007900H Peripheral 007FFFH 007FFFH 008000H 008000H 00FFFFH 00FFFFH ROM (image of FF bank) External access area F80000H F80000H F8FFFFH F90000H F90000H ROM (F8 bank) ROM (F9 bank) F9FFFFH FA0000H FA0000H 007FFFH 007FFFH 008000H 008000H 00FFFFH 00FFFFH ROM (image of FF bank) External access area F8FFFFH F90000H F90000H F9FFFFH ROM (F9 bank) ROM (FA bank) FAFFFFH FB0000H FB0000H ROM (FB bank) ROM (FB bank) FBFFFFH FC0000H FC0000H ROM (FC bank) FCFFFFH FD0000H FD0000H ROM (FD bank) FDFFFFH FE0000H FE0000H F9FFFFH FA0000H FA0000H FAFFFFH FB0000H FB0000H FCFFFFH FD0000H FD0000H ROM (FA bank) ROM (FB bank) ROM (FD bank) ROM (FE bank) ROM (FE bank) FFFFFFH ROM (F9 bank) FDFFFFH FE0000H FE0000H FEFFFFH FF0000H FF0000H ROM (FF bank) F8FFFFH F90000H F90000H ROM (FC bank) ROM (FD bank) ROM (FE bank) ROM (image of FF bank) 00FFFFH 00FFFFH F80000H F80000H External access area FBFFFFH FC0000H FC0000H FDFFFFH FE0000H FE0000H FEFFFFH FF0000H FF0000H Peripheral 007FFFH 007FFFH 008000H 008000H ROM (F8 bank) FA0000H FA0000H FBFFFFH FC0000H FC0000H FFFFFFH 007900H 007900H Peripheral F80000H F80000H ROM (FA bank) FAFFFFH FB0000H FB0000H FCFFFFH FD0000H FD0000H 0050FFH 0050FFH FEFFFFH FF0000H FF0000H ROM (FF bank) ROM (FF bank) FFFFFFH : Not accessible 29 MB90340E MB90340E Series MB90349E MB90349E(S)/349CE /349CE(S) MB90342E MB90342E(S)/342CE /342CE(S) MB90F349E MB90F349E(S)/F349CE /F349CE(S) MB90F342E MB90F342E(S)/F342CE /F342CE(S) 000000H 000000H 0000EFH 0000EFH Peripheral MB90348E MB90348E(S)/348CE /348CE(S) MB90341E MB90341E(S)/341CE /341CE(S) 000000H 000000H 0000EFH 0000EFH External access area 000100H 000100H Peripheral MB90347E MB90347E(S)/347CE /347CE(S) MB90F347E MB90F347E(S)/F347CE /F347CE(S) 000000H 000000H 0000EFH 0000EFH External access area Peripheral 000000H 000000H 0000EFH 0000EFH External access area 000100H 000100H 000100H 000100H MB90346E MB90346E(S)/346CE /346CE(S) MB90F346E MB90F346E(S)/F346CE /F346CE(S) RAM 6 Kbytes Peripheral External access area 000100H 000100H 0008FFH 0008FFH RAM 2 Kbytes 0018FFH 0018FFH RAM 16 Kbytes 003FFFH 003FFFH 003FFFH 003FFFH 007900H 007900H 007FFFH 007FFFH 008000H 008000H 00FFFFH 00FFFFH RAM 16 Kbytes ROM (image of FF bank) 007FFFH 007FFFH 008000H 008000H 00FFFFH 00FFFFH External access area 007900H 007900H 007900H 007900H 007900H 007900H Peripheral Peripheral ROM (image of FF bank) 007FFFH 007FFFH 008000H 008000H 00FFFFH 00FFFFH Peripheral ROM (image of FF bank) 007FFFH 007FFFH 008000H 008000H 00FFFFH 00FFFFH External access area External access area Peripheral ROM (image of FF bank) External access area FC0000H FC0000H FCFFFFH FD0000H FD0000H FDFFFFH FE0000H FE0000H FEFFFFH FF0000H FF0000H ROM (FC bank) ROM (FD bank) ROM (FE bank) FEFFFFH FF0000H FF0000H FEFFFFH FF0000H FF0000H ROM (FF bank) ROM (FF bank) FFFFFFH FFFFFFH FE0000H FE0000H FE0000H FE0000H FE0000H FE0000H ROM (FE bank) ROM (FE bank) FEFFFFH FF0000H FF0000H ROM (FF bank) FFFFFFH ROM (FF bank) FFFFFFH : Not accessible Note: An image of the data in the FF bank of ROM is visible in the upper part of bank 00, which makes it possible for the C compiler to use the small memory model. The lower 16 bits of addresses in the FF bank are the same as the lower 16 bits of addresses in the 00 bank so that tables stored in the ROM can be accessed without using the far specifier in the pointer declaration. For example, when the address 00C000H 00C000H is accessed, the data at FFC000H FFC000H in ROM is actually accessed. The ROM area in bank FF exceeds 32 Kbytes, and its entire image cannot be shown in bank 00. As a result, the image between FF8000H FF8000H and FFFFFFH is visible in bank 00, while the image between FF0000H FF0000H and FF7FFFH is visible only in bank FF. 30 MB90340E MB90340E Series I/O MAP Address Register Abbreviation Access Resource name Initial value 000000H 000000H Port 0 Data Register PDR0 R/W Port 0 XXXXXXXXB 000001H 000001H Port 1 Data Register PDR1 R/W Port 1 XXXXXXXXB 000002H 000002H Port 2 Data Register PDR2 R/W Port 2 XXXXXXXXB 000003H 000003H Port 3 Data Register PDR3 R/W Port 3 XXXXXXXXB 000004H 000004H Port 4 Data Register PDR4 R/W Port 4 XXXXXXXXB 000005H 000005H Port 5 Data Register PDR5 R/W Port 5 XXXXXXXXB 000006H 000006H Port 6 Data Register PDR6 R/W Port 6 XXXXXXXXB 000007H 000007H Port 7 Data Register PDR7 R/W Port 7 XXXXXXXXB 000008H 000008H Port 8 Data Register PDR8 R/W Port 8 XXXXXXXXB 000009H 000009H Port 9 Data Register PDR9 R/W Port 9 XXXXXXXXB 00000AH 00000AH Port A Data Register PDRA R/W Port A XXXXXXXXB 00000BH 00000BH Port 5 Analog Input Enable Register ADER5 R/W Port 5, A/D 11111111B 11111111B 00000CH 00000CH Port 6 Analog Input Enable Register ADER6 R/W Port 6, A/D 11111111B 11111111B 00000DH 00000DH Port 7 Analog Input Enable Register ADER7 R/W Port 7, A/D 11111111B 11111111B 00000EH 00000EH Input Level Select Register 0 ILSR0 R/W Ports XXXXXXXXB 00000FH 00000FH Input Level Select Register 1 ILSR1 R/W Ports XXXX0XXXB 000010H 000010H Port 0 Direction Register DDR0 R/W Port 0 00000000B 00000000B 000011H 000011H Port 1 Direction Register DDR1 R/W Port 1 00000000B 00000000B 000012H 000012H Port 2 Direction Register DDR2 R/W Port 2 00000000B 00000000B 000013H 000013H Port 3 Direction Register DDR3 R/W Port 3 00000000B 00000000B 000014H 000014H Port 4 Direction Register DDR4 R/W Port 4 00000000B 00000000B 000015H 000015H Port 5 Direction Register DDR5 R/W Port 5 00000000B 00000000B 000016H 000016H Port 6 Direction Register DDR6 R/W Port 6 00000000B 00000000B 000017H 000017H Port 7 Direction Register DDR7 R/W Port 7 00000000B 00000000B 000018H 000018H Port 8 Direction Register DDR8 R/W Port 8 00000000B 00000000B 000019H 000019H Port 9 Direction Register DDR9 R/W Port 9 00000000B 00000000B 00001AH 00001AH Port A Direction Register DDRA R/W Port A 00000100B 00000100B 00001BH 00001BH Reserved 00001CH 00001CH Port 0 Pull-up Control Register PUCR0 R/W Port 0 00000000B 00000000B 00001DH 00001DH Port 1 Pull-up Control Register PUCR1 R/W Port 1 00000000B 00000000B 00001EH 00001EH Port 2 Pull-up Control Register PUCR2 R/W Port 2 00000000B 00000000B 00001FH 00001FH Port 3 Pull-up Control Register PUCR3 W, R/W Port 3 00000000B 00000000B (Continued) 31 MB90340E MB90340E Series Address Register Abbreviation Access Resource name Initial value 000020H 000020H Serial Mode Register 0 SMR0 W,R/W 00000000B 00000000B 000021H 000021H Serial Control Register 0 SCR0 W,R/W 00000000B 00000000B RDR0/TDR0 R/W 00000000B 00000000B SSR0 R,R/W 000022H 000022H Reception/Transmission Data Register 0 000023H 000023H Serial Status Register 0 ECCR0 R,W, R/W 000025H 000025H Extended Status/Control Register 0 ESCR0 R/W 00000100B 00000100B 000026H 000026H Baud Rate Generator Register 00 BGR00 BGR00 R/W 00000000B 00000000B 000027H 000027H Baud Rate Generator Register 01 BGR01 BGR01 R/W 00000000B 00000000B 000028H 000028H Serial Mode Register 1 SMR1 W,R/W 00000000B 00000000B 000029H 000029H Serial Control Register 1 SCR1 W,R/W 00000000B 00000000B RDR1/TDR1 R/W 00000000B 00000000B SSR1 R,R/W 000024H 000024H Extended Communication Control Register 0 00001000B 00001000B UART0 00002AH 00002AH Reception/Transmission Data Register 1 00002BH 00002BH Serial Status Register 1 00001000B 00001000B UART1 ECCR1 R,W, R/W 00002DH 00002DH Extended Status/Control Register 1 ESCR1 R/W 00000100B 00000100B 00002EH 00002EH Baud Rate Generator Register 10 BGR10 BGR10 R/W 00000000B 00000000B 00002FH 00002FH Baud Rate Generator Register 11 BGR11 BGR11 R/W 00000000B 00000000B 000030H 000030H PPG 0 Operation Mode Control Register PPGC0 W,R/W 0X000XX1B 0X000XX1B 000031H 000031H PPG 1 Operation Mode Control Register PPGC1 W,R/W 000032H 000032H PPG 0/PPG 1 Count Clock Select Register PPG01 PPG01 R/W 000000X0B 000000X0B 0X000XX1B 0X000XX1B 00002CH 00002CH Extended Communication Control Register 1 000000XXB 000000XXB 000033H 000033H 16-bit PPG 0/1 000000XXB 000000XXB 0X000001B 0X000001B Reserved 000034H 000034H PPG 2 Operation Mode Control Register PPGC2 W,R/W 000035H 000035H PPG 3 Operation Mode Control Register PPGC3 W,R/W 000036H 000036H PPG 2/PPG 3 Count Clock Select Register PPG23 PPG23 R/W 000000X0B 000000X0B 0X000XX1B 0X000XX1B 000037H 000037H 16-bit PPG 2/3 Reserved 000038H 000038H PPG 4 Operation Mode Control Register PPGC4 W,R/W 000039H 000039H PPG 5 Operation Mode Control Register PPGC5 W,R/W 00003AH 00003AH PPG 4/PPG 5 Clock Select Register PPG45 PPG45 R/W PACSR1 R/W 00003CH 00003CH PPG 6 Operation Mode Control Register PPGC6 W,R/W 00003DH 00003DH PPG 7 Operation Mode Control Register PPGC7 W,R/W 00003EH 00003EH PPG 6/PPG 7 Count Clock Control Register PPG67 PPG67 R/W 00003BH 00003BH Address Detect Control Register 1 00003FH 00003FH 0X000001B 0X000001B 16-bit PPG 4/5 0X000001B 0X000001B 000000X0B 000000X0B Address Match Detection 1 00000000B 00000000B 0X000XX1B 0X000XX1B 16-bit PPG 6/7 0X000001B 0X000001B 000000X0B 000000X0B Reserved (Continued) 32 MB90340E MB90340E Series Address Register Abbreviation Access Resource name Initial value 000040H 000040H PPG 8 Operation Mode Control Register PPGC8 W,R/W 000041H 000041H PPG 9 Operation Mode Control Register PPGC9 W,R/W PPG89 PPG89 R/W 000000X0B 000000X0B 0X000XX1B 0X000XX1B 000042H 000042H PPG 8/PPG 9 Count Clock Control Register 000043H 000043H 0X000XX1B 0X000XX1B 16-bit PPG 8/9 0X000001B 0X000001B Reserved 000044H 000044H PPG A Operation Mode Control Register PPGCA W,R/W 000045H 000045H PPG B Operation Mode Control Register PPGCB W,R/W PPGAB R/W 000000X0B 000000X0B 0X000XX1B 0X000XX1B 000046H 000046H PPG A/PPG B Count Clock Select Register 000047H 000047H 16-bit PPG A/B 0X000001B 0X000001B Reserved 000048H 000048H PPG C Operation Mode Control Register PPGCC W,R/W 000049H 000049H PPG D Operation Mode Control Register PPGCD W,R/W PPGCD R/W 000000X0B 000000X0B 0X000XX1B 0X000XX1B 00004AH 00004AH PPG C/PPG D Count Clock Select Register 00004BH 00004BH 16-bit PPG C/D Reserved 00004CH 00004CH PPG E Operation Mode Control Register PPGCE W,R/W 00004DH 00004DH PPG F Operation Mode Control Register PPGCF W,R/W PPGEF R/W 00004EH 00004EH 0X000001B 0X000001B PPG E/PPG F Count Clock Select Register 00004FH 00004FH ICS01 ICS01 R/W 000051H 000051H Input Capture Edge 0/1 ICE01 ICE01 R/W, R 000052H 000052H Input Capture Control Status 2/3 ICS23 ICS23 R/W 000053H 000053H Input Capture Edge 2/3 ICE23 ICE23 R 000054H 000054H Input Capture Control Status 4/5 ICS45 ICS45 R/W 000055H 000055H Input Capture Edge 4/5 ICE45 ICE45 R 000056H 000056H Input Capture Control Status 6/7 ICS67 ICS67 R/W 000057H 000057H Input Capture Edge 6/7 ICE67 ICE67 R/W, R 000058H 000058H Output Compare Control Status 0 OCS0 R/W 000059H 000059H Output Compare Control Status 1 OCS1 R/W 00005AH 00005AH Output Compare Control Status 2 OCS2 R/W 00005BH 00005BH Output Compare Control Status 3 OCS3 R/W 00005CH 00005CH Output Compare Control Status 4 OCS4 R/W 00005DH 00005DH Output Compare Control Status 5 OCS5 R/W 00005EH 00005EH Output Compare Control Status 6 OCS6 R/W 00005FH 00005FH Output Compare Control Status 7 OCS7 R/W 0X000001B 0X000001B 000000X0B 000000X0B Reserved 000050H 000050H Input Capture Control Status 0/1 16-bit PPG E/F Input Capture 0/1 Input Capture 2/3 Input Capture 4/5 Input Capture 6/7 Output Compare 0/1 Output Compare 2/3 Output Compare 4/5 Output Compare 6/7 00000000B 00000000B XXX0X0XXB 00000000B 00000000B XXXXXXXXB 00000000B 00000000B XXXXXXXXB 00000000B 00000000B XXX000XXB XXX000XXB 0000XX00B 0000XX00B 0XX00000B 0XX00000B 0000XX00B 0000XX00B 0XX00000B 0XX00000B 0000XX00B 0000XX00B 0XX00000B 0XX00000B 0000XX00B 0000XX00B 0XX00000B 0XX00000B (Continued) 33 MB90340E MB90340E Series Address Register Abbreviation Access Resource name Initial value 000060H 000060H Timer Control Status 0 TMCSR0 R/W 00000000B 00000000B 000061H 000061H Timer Control Status 0 TMCSR0 R/W 16-bit Reload Timer 0 000062H 000062H Timer Control Status 1 TMCSR1 R/W 000063H 000063H Timer Control Status 1 TMCSR1 R/W 000064H 000064H Timer Control Status 2 TMCSR2 R/W 000065H 000065H Timer Control Status 2 TMCSR2 R/W 000066H 000066H Timer Control Status 3 TMCSR3 R/W 000067H 000067H Timer Control Status 3 TMCSR3 R/W 000068H 000068H A/D Control Status 0 ADCS0 R/W 000XXXX0B 000XXXX0B 000069H 000069H A/D Control Status 1 ADCS1 R/W 0000000XB 0000000XB 00006AH 00006AH A/D Data 0 ADCR0 R 00006BH 00006BH A/D Data 1 ADCR1 R 00006CH 00006CH ADC Setting 0 ADSR0 R/W 00000000B 00000000B 00006DH 00006DH ADC Setting 1 ADSR1 R/W 00000000B 00000000B 00006EH 00006EH 16-bit Reload Timer 1 16-bit Reload Timer 2 16-bit Reload Timer 3 A/D Converter XXXX0000B XXXX0000B 00000000B 00000000B XXXX0000B XXXX0000B 00000000B 00000000B XXXX0000B XXXX0000B 00000000B 00000000B XXXX0000B XXXX0000B 00000000B 00000000B XXXXXX00B XXXXXX00B Reserved 00006FH 00006FH ROM Mirror Function Select ROMM W ROM Mirror 000070H 000070H to 00008FH 00008FH Reserved for CAN Controller 0/1. Refer to " CAN CONTROLLERS" 000090H 000090H to 00009AH 00009AH XXXXXXX1B Reserved 00009BH 00009BH DMA Descriptor Channel Specified Register DCSR R/W 00009CH 00009CH DMA Status L Register DSRL R/W 00009DH 00009DH DMA Status H Register DSRH R/W PACSR0 R/W DIRR R/W 0000A0H 0000A0H Low-power Mode Control Register LPMCR W,R/W Low Power Control Circuit 00011000B 00011000B 0000A1H 0000A1H Clock Selection Register CKSCR R,R/W Low Power Control Circuit 11111100B 11111100B R/W DMA 00000000B 00000000B 00009EH 00009EH Address Detect Control Register 0 00009FH 00009FH Delayed Interrupt Trigger/Release Register 0000A2H 0000A2H, 0000A3H 0000A3H 0000A4H 0000A4H DMA Stop Status Register 00000000B 00000000B DMA 00000000B 00000000B 00000000B 00000000B Address Match Detection 0 00000000B 00000000B Delayed Interrupt XXXXXXX0B Reserved DSSR (Continued) 34 MB90340E MB90340E Series Address Register Abbreviation Access Resource name Initial value 0000A5H 0000A5H Automatic Ready Function Select Register ARSR W 0000A6H 0000A6H External Address Output Control Register HACR W 0000A7H 0000A7H Bus Control Signal Selection Register ECSR W 0000A8H 0000A8H Watchdog Control Register WDTC R,W Watchdog Timer XXXXX111B XXXXX111B 0000A9H 0000A9H Time Base Timer Control Register TBTC W,R/W Time Base Timer 1XX00100B 1XX00100B 0000AAH 0000AAH Watch Timer Control Register WTC R,R/W Watch Timer 1X001000B 1X001000B 0000ABH 0000ABH Reserved 0000ACH 0000ACH DMA Enable L Register DERL R/W 0000ADH 0000ADH DMA Enable H Register DERH R/W FMCS R,R/W 0000AEH 0000AEH Flash Control Status Register (Flash memory devices only. Otherwise reserved) 0011XX00B 0011XX00B External Memory Access 00000000B 00000000B 0000000XB 0000000XB DMA Flash Memory 00000000B 00000000B 00000000B 00000000B 000X0000B 000X0000B 0000AFH 0000AFH Reserved 0000B0H 0000B0H Interrupt Control Register 00 ICR00 ICR00 W,R/W 00000111B 00000111B 0000B1H 0000B1H Interrupt Control Register 01 ICR01 ICR01 W,R/W 00000111B 00000111B 0000B2H 0000B2H Interrupt Control Register 02 ICR02 ICR02 W,R/W 00000111B 00000111B 0000B3H 0000B3H Interrupt Control Register 03 ICR03 ICR03 W,R/W 00000111B 00000111B 0000B4H 0000B4H Interrupt Control Register 04 ICR04 ICR04 W,R/W 00000111B 00000111B 0000B5H 0000B5H Interrupt Control Register 05 ICR05 ICR05 W,R/W 00000111B 00000111B 0000B6H 0000B6H Interrupt Control Register 06 ICR06 ICR06 W,R/W 00000111B 00000111B 0000B7H 0000B7H Interrupt Control Register 07 ICR07 ICR07 W,R/W 0000B8H 0000B8H Interrupt Control Register 08 ICR08 ICR08 W,R/W 0000B9H 0000B9H Interrupt Control Register 09 ICR09 ICR09 W,R/W 00000111B 00000111B 0000BAH 0000BAH Interrupt Control Register 10 ICR10 ICR10 W,R/W 00000111B 00000111B 0000BBH 0000BBH Interrupt Control Register 11 ICR11 ICR11 W,R/W 00000111B 00000111B 0000BCH 0000BCH Interrupt Control Register 12 ICR12 ICR12 W,R/W 00000111B 00000111B 0000BDH 0000BDH Interrupt Control Register 13 ICR13 ICR13 W,R/W 00000111B 00000111B 0000BEH 0000BEH Interrupt Control Register 14 ICR14 ICR14 W,R/W 00000111B 00000111B 0000BFH 0000BFH Interrupt Control Register 15 ICR15 ICR15 W,R/W 00000111B 00000111B 0000C0H 0000C0H D/A Converter Data 0 DAT0 R/W XXXXXXXXB 0000C1H 0000C1H D/A Converter Data 1 DAT1 R/W 0000C2H 0000C2H D/A Control 0 DACR0 R/W 0000C3H 0000C3H D/A Control 1 DACR1 R/W Interrupt Control D/A Converter 00000111B 00000111B 00000111B 00000111B XXXXXXXXB XXXXXXX0B XXXXXXX0B (Continued) 35 MB90340E MB90340E Series Address Register Abbreviation Access Resource name Initial value 0000C4H 0000C4H, 0000C5H 0000C5H Reserved 0000C6H 0000C6H External Interrupt Enable 0 ENIR0 R/W 0000C7H 0000C7H External Interrupt Source 0 EIRR0 R/W 0000C8H 0000C8H External Interrupt Level Setting 0 ELVR0 R/W 0000C9H 0000C9H External Interrupt Level Setting 0 ELVR0 R/W 00000000B 00000000B 0000CAH 0000CAH External Interrupt Enable 1 ENIR1 R/W 00000000B 00000000B 0000CBH 0000CBH External Interrupt Source 1 EIRR1 R/W XXXXXXXXB 0000CCH 0000CCH External Interrupt Level Setting 1 ELVR1 R/W 0000CDH 0000CDH External Interrupt Level Setting 1 ELVR1 R/W 00000000B 00000000B 0000CEH 0000CEH External Interrupt Source Select EISSR R/W 00000000B 00000000B 0000CFH 0000CFH PLL/Sub clock Control Register PSCCR W 0000D0H 0000D0H DMA Buffer Address Pointer L Register BAPL R/W XXXXXXXXB 0000D1H 0000D1H DMA Buffer Address Pointer M Register BAPM R/W XXXXXXXXB 0000D2H 0000D2H DMA Buffer Address Pointer H Register BAPH R/W XXXXXXXXB DMACS R/W XXXXXXXXB 0000D3H 0000D3H DMA Control Register 00000000B 00000000B External Interrupt 0 External Interrupt 1 PLL XXXXXXXXB 00000000B 00000000B 00000000B 00000000B XXXX0000B XXXX0000B 0000D4H 0000D4H I/O Register Address Pointer L Register IOAL R/W 0000D5H 0000D5H I/O Register Address Pointer H Register IOAH R/W XXXXXXXXB 0000D6H 0000D6H Data Counter L Register DCTL R/W XXXXXXXXB 0000D7H 0000D7H Data Counter H Register DCTH R/W XXXXXXXXB 0000D8H 0000D8H Serial Mode Register 2 SMR2 W,R/W 00000000B 00000000B 0000D9H 0000D9H Serial Control Register 2 SCR2 W,R/W 00000000B 00000000B RDR2/TDR2 R/W 00000000B 00000000B SSR2 R,R/W ECCR2 R,W, R/W 0000DDH 0000DDH Extended Status Control Register 2 ESCR2 R/W 00000100B 00000100B 0000DEH 0000DEH Baud Rate Generator Register 20 BGR20 BGR20 R/W 00000000B 00000000B 0000DFH 0000DFH Baud Rate Generator Register 21 BGR21 BGR21 R/W 00000000B 00000000B 0000DAH 0000DAH Reception/Transmission Data Register 2 0000DBH 0000DBH Serial Status Register 2 0000DCH 0000DCH Extended Communication Control Register 2 DMA UART2 0000E0H 0000E0H to 0000EFH 0000EFH 00001000B 00001000B 000000XXB 000000XXB Reserved for CAN Controller 2. Refer to " CAN CONTROLLERS" 0000F0H 0000F0H to 0000FFH 0000FFH XXXXXXXXB External (Continued) 36 MB90340E MB90340E Series Address Register Abbreviation Access Resource name Initial value 007900H 007900H Reload Register L0 PRLL0 R/W 007901H 007901H Reload Register H0 PRLH0 R/W 007902H 007902H Reload Register L1 PRLL1 R/W 007903H 007903H Reload Register H1 PRLH1 R/W XXXXXXXXB 007904H 007904H Reload Register L2 PRLL2 R/W XXXXXXXXB 007905H 007905H Reload Register H2 PRLH2 R/W 007906H 007906H Reload Register L3 PRLL3 R/W 007907H 007907H Reload Register H3 PRLH3 R/W XXXXXXXXB 007908H 007908H Reload Register L4 PRLL4 R/W XXXXXXXXB 007909H 007909H Reload Register H4 PRLH4 R/W 00790AH 00790AH Reload Register L5 PRLL5 R/W 00790BH 00790BH Reload Register H5 PRLH5 R/W XXXXXXXXB 00790CH 00790CH Reload Register L6 PRLL6 R/W XXXXXXXXB 00790DH 00790DH Reload Register H6 PRLH6 R/W 00790EH 00790EH Reload Register L7 PRLL7 R/W 00790FH 00790FH Reload Register H7 PRLH7 R/W XXXXXXXXB 007910H 007910H Reload Register L8 PRLL8 R/W XXXXXXXXB 007911H 007911H Reload Register H8 PRLH8 R/W 007912H 007912H Reload Register L9 PRLL9 R/W 007913H 007913H Reload Register H9 PRLH9 R/W XXXXXXXXB 007914H 007914H Reload Register LA PRLLA R/W XXXXXXXXB 007915H 007915H Reload Register HA PRLHA R/W 007916H 007916H Reload Register LB PRLLB R/W 007917H 007917H Reload Register HB PRLHB R/W XXXXXXXXB 007918H 007918H Reload Register LC PRLLC R/W XXXXXXXXB 007919H 007919H Reload Register HC PRLHC R/W 00791AH 00791AH Reload Register LD PRLLD R/W 00791BH 00791BH Reload Register HD PRLHD R/W XXXXXXXXB 00791CH 00791CH Reload Register LE PRLLE R/W XXXXXXXXB 00791DH 00791DH Reload Register HE PRLHE R/W 00791EH 00791EH Reload Register LF PRLLF R/W 00791FH 00791FH Reload Register HF PRLHF R/W XXXXXXXXB 007920H 007920H Input Capture 0 IPCP0 R XXXXXXXXB 007921H 007921H Input Capture 0 IPCP0 R 007922H 007922H Input Capture 1 IPCP1 R 007923H 007923H Input Capture 1 IPCP1 R XXXXXXXXB 16-bit PPG 0/1 16-bit PPG 2/3 16-bit PPG 4/5 16-bit PPG 6/7 16-bit PPG 8/9 16-bit PPG A/B 16-bit PPG C/D 16-bit PPG E/F Input Capture 0/1 XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB (Continued) 37 MB90340E MB90340E Series Address Register Abbreviation Access Resource name Initial value 007924H 007924H Input Capture 2 IPCP2 R 007925H 007925H Input Capture 2 IPCP2 R 007926H 007926H Input Capture 3 IPCP3 R 007927H 007927H Input Capture 3 IPCP3 R XXXXXXXXB 007928H 007928H Input Capture 4 IPCP4 R XXXXXXXXB 007929H 007929H Input Capture 4 IPCP4 R 00792AH 00792AH Input Capture 5 IPCP5 R 00792BH 00792BH Input Capture 5 IPCP5 R XXXXXXXXB 00792CH 00792CH Input Capture 6 IPCP6 R XXXXXXXXB 00792DH 00792DH Input Capture 6 IPCP6 R 00792EH 00792EH Input Capture 7 IPCP7 R 00792FH 00792FH Input Capture 7 IPCP7 R XXXXXXXXB 007930H 007930H Output Compare 0 OCCP0 R/W XXXXXXXXB 007931H 007931H Output Compare 0 OCCP0 R/W 007932H 007932H Output Compare 1 OCCP1 R/W 007933H 007933H Output Compare 1 OCCP1 R/W XXXXXXXXB 007934H 007934H Output Compare 2 OCCP2 R/W XXXXXXXXB 007935H 007935H Output Compare 2 OCCP2 R/W 007936H 007936H Output Compare 3 OCCP3 R/W 007937H 007937H Output Compare 3 OCCP3 R/W XXXXXXXXB 007938H 007938H Output Compare 4 OCCP4 R/W XXXXXXXXB 007939H 007939H Output Compare 4 OCCP4 R/W 00793AH 00793AH Output Compare 5 OCCP5 R/W 00793BH 00793BH Output Compare 5 OCCP5 R/W XXXXXXXXB 00793CH 00793CH Output Compare 6 OCCP6 R/W XXXXXXXXB 00793DH 00793DH Output Compare 6 OCCP6 R/W 00793EH 00793EH Output Compare 7 OCCP7 R/W 00793FH 00793FH Output Compare 7 OCCP7 R/W XXXXXXXXB 007940H 007940H Timer Data 0 TCDT0 R/W 00000000B 00000000B 007941H 007941H Timer Data 0 TCDT0 R/W 007942H 007942H Timer Control Status 0 TCCSL0 R/W 007943H 007943H Timer Control Status 0 TCCSH0 R/W 0XXXXXXXB 007944H 007944H Timer Data 1 TCDT1 R/W 00000000B 00000000B 007945H 007945H Timer Data 1 TCDT1 R/W 007946H 007946H Timer Control Status 1 TCCSL1 R/W 007947H 007947H Timer Control Status 1 TCCSH1 R/W XXXXXXXXB Input Capture 2/3 Input Capture 4/5 Input Capture 6/7 Output Compare 0/1 Output Compare 2/3 Output Compare 4/5 Output Compare 6/7 I/O Timer 0 I/O Timer 1 XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB 00000000B 00000000B 00000000B 00000000B 00000000B 00000000B 00000000B 00000000B 0XXXXXXXB (Continued) 38 MB90340E MB90340E Series Address 007948H 007948H Register Abbreviation Access R/W Resource name Initial value 16-bit Reload Timer 0 XXXXXXXXB 16-bit Reload Timer 1 XXXXXXXXB 16-bit Reload Timer 2 XXXXXXXXB 16-bit Reload Timer 3 XXXXXXXXB Timer 0/Reload 0 TMR0/ TMRLR0 Timer 1/Reload 1 TMR1/ TMRLR1 Timer 2/Reload 2 TMR2/ TMRLR2 Timer 3/Reload 3 TMR3/ TMRLR3 R/W 007950H 007950H Serial Mode Register 3 SMR3 W,R/W 00000000B 00000000B 007951H 007951H Serial Control Register 3 SCR3 W,R/W 00000000B 00000000B RDR3/TDR3 R/W 00000000B 00000000B SSR3 R,R/W Extended Communication Control Register 3 ECCR3 R,W, R/W 007955H 007955H Extended Status Control Register ESCR3 R/W 00000100B 00000100B 007956H 007956H Baud Rate Generator Register 30 BGR30 BGR30 R/W 00000000B 00000000B 007957H 007957H Baud Rate Generator Register 31 BGR31 BGR31 R/W 00000000B 00000000B 007958H 007958H Serial Mode Register 4 SMR4 W,R/W 00000000B 00000000B 007959H 007959H Serial Control Register 4 SCR4 W,R/W 00000000B 00000000B RDR4/TDR4 R/W 00000000B 00000000B SSR4 R,R/W Extended Communication Control Register 4 ECCR4 R,W, R/W 00795DH 00795DH Extended Status Control Register ESCR4 R/W 00000100B 00000100B 00795EH 00795EH Baud Rate Generator Register 40 BGR40 BGR40 R/W 00000000B 00000000B 00795FH 00795FH Baud Rate Generator Register 41 BGR41 BGR41 R/W 00000000B 00000000B 007949H 007949H 00794AH 00794AH 00794BH 00794BH 00794CH 00794CH 00794DH 00794DH 00794EH 00794EH 00794FH 00794FH 007952H 007952H Reception/Transmission Data Register 3 007953H 007953H Serial Status Register 3 007954H 007954H 00795AH 00795AH Reception/Transmission Data Register 4 00795BH 00795BH Serial Status Register 4 00795CH 00795CH 007960H 007960H to 00796BH 00796BH 00796CH 00796CH Clock Output Enable Register 00796DH 00796DH 00796EH 00796EH CAN Direct Mode Register 00796FH 00796FH CAN Switch Register R/W R/W R/W R/W R/W R/W UART3 XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB 00001000B 00001000B 000000XXB 000000XXB UART4 00001000B 00001000B 000000XXB 000000XXB Reserved CLKR R/W Clock Monitor XXXX0000B XXXX0000B CDMR R/W CAN clock sync XXXXXXX0B CANSWR R/W CAN 0/1 XXXXXX00B XXXXXX00B Reserved (Continued) 39 MB90340E MB90340E Series Address Register Abbreviation Access 007970H 007970H I C Bus Status Register 0 IBSR0 R 00000000B 00000000B 007971H 007971H I2C Bus Control Register 0 IBCR0 W,R/W 00000000B 00000000B 007972H 007972H ITBAL0 R/W 00000000B 00000000B ITBAH0 R/W 2 007973H 007973H I2C 10-bit Slave Address Register 0 007974H 007974H I C 10-bit Slave Address Mask 007975H 007975H Register 0 ITMKL0 2 R/W Resource name Initial value 00000000B 00000000B 2 I C Interface 0 11111111B 11111111B ITMKH0 R/W 00111111B 00111111B 2 ISBA0 R/W 00000000B 00000000B 2 ISMK0 R/W 01111111B 01111111B 2 IDAR0 R/W 00000000B 00000000B 007976H 007976H I C 7-bit Slave Address Register 0 007977H 007977H I C 7-bit Slave Address Mask Register 0 007978H 007978H I C Data Register 0 007979H 007979H, 00797AH 00797AH Reserved 00797BH 00797BH I2C Clock Control Register 0 ICCR0 00797CH 00797CH to 00797FH 00797FH R/W I2C Interface 0 00011111B 00011111B Reserved 007980H 007980H I2C Bus Status Register 1 IBSR1 R 00000000B 00000000B 007981H 007981H I C Bus Control Register 1 IBCR1 W,R/W 00000000B 00000000B 007982H 007982H ITBAL1 R/W 00000000B 00000000B ITBAH1 R/W 2 007983H 007983H I2C 10-bit Slave Address Register 1 007984H 007984H I2C 10-bit Slave Address Mask 007985H 007985H Register 1 00000000B 00000000B 2 I C Interface 1 ITMKL1 R/W ITMKH1 R/W 00111111B 00111111B 007986H 007986H I2C 7-bit Slave Address Register 1 ISBA1 R/W 00000000B 00000000B 007987H 007987H I2C 7-bit Slave Address Mask Register 1 ISMK1 R/W 01111111B 01111111B IDAR1 R/W 00000000B 00000000B 2 007988H 007988H I C Data Register 1 007989H 007989H, 00798AH 00798AH 00798BH 00798BH I2C Clock Control Register 1 11111111B 11111111B Reserved ICCR1 R/W 00798CH 00798CH to 0079C1H 0079C1H Clock Modulator Control Register CMCR Clock Modulator 0079C3H 0079C3H to 0079DFH 0079DFH 00011111B 00011111B Reserved 0079C2H 0079C2H I2C Interface 1 Reserved (Continued) 40 MB90340E MB90340E Series (Continued) Address Register Abbreviation Access Resource name PADR0 R/W 0079E0H 0079E0H Detect Address Setting 0 0079E1H 0079E1H Detect Address Setting 0 PADR0 R/W 0079E2H 0079E2H Detect Address Setting 0 PADR0 R/W 0079E3H 0079E3H Detect Address Setting 1 PADR1 R/W Address Match 0079E4H 0079E4H Detect Address Setting 1 PADR1 R/W Detection 0 0079E5H 0079E5H Detect Address Setting 1 PADR1 R/W 0079E6H 0079E6H Detect Address Setting 2 PADR2 R/W 0079E7H 0079E7H Detect Address Setting 2 PADR2 R/W 0079E8H 0079E8H Detect Address Setting 2 PADR2 R/W 0079E9H 0079E9H to Reserved 0079EFH 0079EFH 0079F0H 0079F0H Detect Address Setting 3 PADR3 R/W 0079F1H 0079F1H Detect Address Setting 3 PADR3 R/W 0079F2H 0079F2H Detect Address Setting 3 PADR3 R/W 0079F3H 0079F3H Detect Address Setting 4 PADR4 R/W Address Match 0079F4H 0079F4H Detect Address Setting 4 PADR4 R/W Detection 1 0079F5H 0079F5H Detect Address Setting 4 PADR4 R/W 0079F6H 0079F6H Detect Address Setting 5 PADR5 R/W 0079F7H 0079F7H Detect Address Setting 5 PADR5 R/W 0079F8H 0079F8H Detect Address Setting 5 PADR5 R/W 0079F9H 0079F9H to Reserved 0079FFH 0079FFH 007A00H 007A00H to Reserved for CAN Controller 0. Refer to " CAN CONTROLLERS" 007AFFH 007AFFH 007B00H 007B00H to Reserved for CAN Controller 0. Refer to " CAN CONTROLLERS" 007BFFH 007BFFH 007C00H 007C00H to Reserved for CAN Controller 1. Refer to " CAN CONTROLLERS" 007CFFH 007CFFH 007D00H 007D00H to Reserved for CAN Controller 1. Refer to " CAN CONTROLLERS" 007DFFH 007DFFH 007E00H 007E00H to Reserved for CAN Controller 2. Refer to " CAN CONTROLLERS" 007EFFH 007EFFH 007F00H 007F00H to Reserved for CAN Controller 2. Refer to " CAN CONTROLLERS" 007FFFH 007FFFH Initial value XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB 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 in reading "X". 41 MB90340E MB90340E 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 transmission of data frames by receiving remote frames · 16 transmission/reception 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 CAN2 000070H 000070H 000080H 000080H 0000E0H 0000E0H 000071H 000071H 000081H 000081H 0000E1H 0000E1H 000072H 000072H 000082H 000082H 0000E2H 0000E2H 000073H 000073H 000083H 000083H 0000E3H 0000E3H 000074H 000074H 000084H 000084H 0000E4H 0000E4H 000075H 000075H 000085H 000085H 0000E5H 0000E5H 000076H 000076H 000086H 000086H 0000E6H 0000E6H 000077H 000077H 000087H 000087H 0000E7H 0000E7H 000078H 000078H 000088H 000088H 0000E8H 0000E8H 000079H 000079H 000089H 000089H 0000E9H 0000E9H 00007AH 00007AH 00008AH 00008AH 0000EAH 0000EAH 00007BH 00007BH 00008BH 00008BH 0000EBH 0000EBH 00007CH 00007CH 00008CH 00008CH 0000ECH 0000ECH 00007DH 00007DH 00008DH 00008DH 0000EDH 0000EDH 00007EH 00007EH 00008EH 00008EH 0000EEH 0000EEH 00007FH 00007FH 42 CAN1 00008FH 00008FH 0000EFH 0000EFH Register Abbreviation Access Initial Value Message Buffer Valid Register BVALR R/W 00000000B 00000000B 00000000B 00000000B Transmit Request Register TREQR R/W 00000000B 00000000B 00000000B 00000000B Transmit Cancel Register TCANR W 00000000B 00000000B 00000000B 00000000B Transmission Complete Register TCR R/W 00000000B 00000000B 00000000B 00000000B Receive Complete Register RCR R/W 00000000B 00000000B 00000000B 00000000B Remote Request Receiving Register RRTRR R/W 00000000B 00000000B 00000000B 00000000B Receive Overrun Register ROVRR R/W 00000000B 00000000B 00000000B 00000000B Reception Interrupt Enable Register RIER R/W 00000000B 00000000B 00000000B 00000000B MB90340E MB90340E Series List of Control Registers (2) Address CAN0 CAN1 CAN2 007B00H 007B00H 007D00H 007D00H 007F00H 007F00H 007B01H 007B01H 007D01H 007D01H 007F01H 007F01H 007B02H 007B02H 007D02H 007D02H 007F02H 007F02H 007B03H 007B03H 007D03H 007D03H 007F03H 007F03H 007B04H 007B04H 007D04H 007D04H 007F04H 007F04H 007B05H 007B05H 007D05H 007D05H 007F05H 007F05H 007B06H 007B06H 007D06H 007D06H 007F06H 007F06H 007B07H 007B07H 007D07H 007D07H 007F07H 007F07H 007B08H 007B08H 007D08H 007D08H 007F08H 007F08H 007B09H 007B09H 007D09H 007D09H 007F09H 007F09H 007B0AH 007B0AH 007D0AH 007D0AH 007F0AH 007F0AH 007B0BH 007B0BH 007D0BH 007D0BH 007F0BH 007F0BH 007B0CH 007B0CH 007D0CH 007D0CH 007F0CH 007F0CH 007B0DH 007B0DH 007D0DH 007D0DH 007F0DH 007F0DH 007B0EH 007B0EH 007D0EH 007D0EH 007F0EH 007F0EH 007B0FH 007B0FH 007D0FH 007D0FH 007F0FH 007F0FH 007B10H 007B10H 007D10H 007D10H 007D11H 007D11H 007F11H 007F11H 007B12H 007B12H 007D12H 007D12H 007F12H 007F12H 007B13H 007B13H 007D13H 007D13H 007D14H 007D14H 007D15H 007D15H 007F15H 007F15H 007B16H 007B16H 007D16H 007D16H 007F16H 007F16H 007B17H 007B17H 007D17H 007D17H 007D18H 007D18H 007D19H 007D19H 007F19H 007F19H 007B1AH 007B1AH 007D1AH 007D1AH 007F1AH 007F1AH 007B1BH 007B1BH 007D1BH 007D1BH 007F1BH 007F1BH CSR R/W, W R/W, R 0XXXX0X1B 00XXX000B 00XXX000B Last Event Indicator Register LEIR R/W 000X0000B 000X0000B XXXXXXXXB Receive And Transmit Error Counter RTEC R 00000000B 00000000B 00000000B 00000000B Bit Timing Register BTR R/W 11111111B 11111111B X1111111B X1111111B IDE Register IDER R/W XXXXXXXXB XXXXXXXXB Transmit RTR Register TRTRR R/W 00000000B 00000000B 00000000B 00000000B Remote Frame Receive Waiting Register RFWTR R/W XXXXXXXXB XXXXXXXXB Transmit Interrupt Enable Register TIER R/W 00000000B 00000000B 00000000B 00000000B 007F18H 007F18H 007B19H 007B19H Control Status Register 007F17H 007F17H 007B18H 007B18H Initial Value 007F14H 007F14H 007B15H 007B15H Access 007F13H 007F13H 007B14H 007B14H Abbreviation 007F10H 007F10H 007B11H 007B11H Register Acceptance Mask Select Register Acceptance Mask Register 0 Acceptance Mask Register 1 XXXXXXXXB XXXXXXXXB AMSR R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB AMR0 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB AMR1 R/W XXXXXXXXB XXXXXXXXB 43 MB90340E MB90340E Series List of Message Buffers (ID Registers) (1) Address CAN0 CAN2 007A00H 007A00H to 007A1FH 007A1FH 007C00H 007C00H to 007C1FH 007C1FH 007E00H 007E00H to 007E1FH 007E1FH 007A20H 007A20H 007C20H 007C20H 007C21H 007C21H 007E21H 007E21H 007A22H 007A22H 007C22H 007C22H 007E22H 007E22H 007A23H 007A23H 007C23H 007C23H 007C24H 007C24H 007C25H 007C25H 007E25H 007E25H 007A26H 007A26H 007C26H 007C26H 007E26H 007E26H 007A27H 007A27H 007C27H 007C27H 007C28H 007C28H 007C29H 007C29H 007E29H 007E29H 007A2AH 007A2AH 007C2AH 007C2AH 007E2AH 007E2AH 007A2BH 007A2BH 007C2BH 007C2BH 007C2CH 007C2CH 007C2DH 007C2DH 007E2DH 007E2DH 007A2EH 007A2EH 007C2EH 007C2EH 007E2EH 007E2EH 007A2FH 007A2FH 007C2FH 007C2FH 007C30H 007C30H 007E30H 007E30H 007A31H 007A31H 007C31H 007C31H 007E31H 007E31H 007A32H 007A32H 007C32H 007C32H 007E32H 007E32H 007A33H 007A33H 007C33H 007C33H 007E33H 007E33H 007A34H 007A34H 007C34H 007C34H 007E34H 007E34H 007A35H 007A35H 007C35H 007C35H 007E35H 007E35H 007A36H 007A36H 007C36H 007C36H 007E36H 007E36H 007A37H 007A37H 007C37H 007C37H 007E37H 007E37H 007A38H 007A38H 007C38H 007C38H 007E38H 007E38H 007A39H 007A39H 007C39H 007C39H 007E39H 007E39H 007A3AH 007A3AH 007C3AH 007C3AH 007E3AH 007E3AH 007A3BH 007A3BH 007C3BH 007C3BH 007E3BH 007E3BH 007A3CH 007A3CH 007C3CH 007C3CH 007E3CH 007E3CH 007A3DH 007A3DH 007C3DH 007C3DH 007E3DH 007E3DH 007A3EH 007A3EH 007C3EH 007C3EH 007E3EH 007E3EH 007A3FH 007A3FH 007C3FH 007C3FH 007E3FH 007E3FH XXXXXXXXB to XXXXXXXXB 007E2FH 007E2FH 007A30H 007A30H R/W 007E2CH 007E2CH 007A2DH 007A2DH 007E2BH 007E2BH 007A2CH 007A2CH GeneralPurpose Ram 007E28H 007E28H 007A29H 007A29H Initial Value 007E27H 007E27H 007A28H 007A28H Access 007E24H 007E24H 007A25H 007A25H Abbreviation 007E23H 007E23H 007A24H 007A24H Register 007E20H 007E20H 007A21H 007A21H 44 CAN1 XXXXXXXXB XXXXXXXXB Id Register 0 IDR0 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB Id Register 1 IDR1 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB Id Register 2 IDR2 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB Id Register 3 IDR3 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB Id Register 4 IDR4 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB Id Register 5 IDR5 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB Id Register 6 IDR6 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB Id Register 7 IDR7 R/W XXXXXXXXB XXXXXXXXB MB90340E MB90340E Series List of Message Buffers (ID Registers) (2) Address CAN0 CAN1 CAN2 007A40H 007A40H 007C40H 007C40H 007C41H 007C41H 007E41H 007E41H 007A42H 007A42H 007C42H 007C42H 007E42H 007E42H 007A43H 007A43H 007C43H 007C43H 007C44H 007C44H 007E44H 007E44H 007A45H 007A45H 007C45H 007C45H 007E45H 007E45H 007A46H 007A46H 007C46H 007C46H 007E46H 007E46H 007A47H 007A47H 007C47H 007C47H 007E47H 007E47H 007A48H 007A48H 007C48H 007C48H 007E48H 007E48H 007A49H 007A49H 007C49H 007C49H 007E49H 007E49H 007A4AH 007A4AH 007C4AH 007C4AH 007E4AH 007E4AH 007A4BH 007A4BH 007C4BH 007C4BH 007E4BH 007E4BH 007A4CH 007A4CH 007C4CH 007C4CH 007E4CH 007E4CH 007A4DH 007A4DH 007C4DH 007C4DH 007E4DH 007E4DH 007A4EH 007A4EH 007C4EH 007C4EH 007E4EH 007E4EH 007A4FH 007A4FH 007C4FH 007C4FH 007E4FH 007E4FH 007A50H 007A50H 007C50H 007C50H 007E50H 007E50H 007A51H 007A51H 007C51H 007C51H 007E51H 007E51H 007A52H 007A52H 007C52H 007C52H 007E52H 007E52H 007A53H 007A53H 007C53H 007C53H 007E53H 007E53H 007A54H 007A54H 007C54H 007C54H 007E54H 007E54H 007A55H 007A55H 007C55H 007C55H 007E55H 007E55H 007A56H 007A56H 007C56H 007C56H 007E56H 007E56H 007A57H 007A57H 007C57H 007C57H 007E57H 007E57H 007A58H 007A58H 007C58H 007C58H 007E58H 007E58H 007A59H 007A59H 007C59H 007C59H 007E59H 007E59H 007A5AH 007A5AH 007C5AH 007C5AH 007E5AH 007E5AH 007A5BH 007A5BH 007C5BH 007C5BH 007E5BH 007E5BH 007A5CH 007A5CH 007C5CH 007C5CH 007E5CH 007E5CH 007A5DH 007A5DH 007C5DH 007C5DH 007E5DH 007E5DH 007A5EH 007A5EH 007C5EH 007C5EH 007E5EH 007E5EH 007A5FH 007A5FH 007C5FH 007C5FH 007E5FH 007E5FH Access 007E43H 007E43H 007A44H 007A44H Abbreviation 007E40H 007E40H 007A41H 007A41H Register Initial Value XXXXXXXXB XXXXXXXXB Id Register 8 IDR8 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB Id Register 9 IDR9 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB Id Register 10 IDR10 IDR10 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB Id Register 11 IDR11 IDR11 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB Id Register 12 IDR12 IDR12 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB Id Register 13 IDR13 IDR13 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB Id Register 14 IDR14 IDR14 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB Id Register 15 IDR15 IDR15 R/W XXXXXXXXB XXXXXXXXB 45 MB90340E MB90340E Series List of Message Buffers (DLC Registers and Data Registers) (1) Address CAN0 CAN2 007A60H 007A60H 007C60H 007C60H 007E60H 007E60H 007A61H 007A61H 007C61H 007C61H 007E61H 007E61H 007A62H 007A62H 007C62H 007C62H 007E62H 007E62H 007A63H 007A63H 007C63H 007C63H 007E63H 007E63H 007A64H 007A64H 007C64H 007C64H 007E64H 007E64H 007A65H 007A65H 007C65H 007C65H 007E65H 007E65H 007A66H 007A66H 007C66H 007C66H 007E66H 007E66H 007A67H 007A67H 007C67H 007C67H 007E67H 007E67H 007A68H 007A68H 007C68H 007C68H 007E68H 007E68H 007A69H 007A69H 007C69H 007C69H 007E69H 007E69H 007A6AH 007A6AH 007C6AH 007C6AH 007E6AH 007E6AH 007A6BH 007A6BH 007C6BH 007C6BH 007E6BH 007E6BH 007A6CH 007A6CH 007C6CH 007C6CH 007E6CH 007E6CH 007A6DH 007A6DH 007C6DH 007C6DH 007E6DH 007E6DH 007A6EH 007A6EH 007C6EH 007C6EH 007E6EH 007E6EH 007A6FH 007A6FH 007C6FH 007C6FH 007E6FH 007E6FH 007A70H 007A70H 007C70H 007C70H 007E70H 007E70H 007A71H 007A71H 007C71H 007C71H 007E71H 007E71H 007A72H 007A72H 007C72H 007C72H 007E72H 007E72H 007A73H 007A73H 007C73H 007C73H 007E73H 007E73H 007A74H 007A74H 007C74H 007C74H 007E74H 007E74H 007A75H 007A75H 007C75H 007C75H 007E75H 007E75H 007A76H 007A76H 007C76H 007C76H 007E76H 007E76H 007A77H 007A77H 007C77H 007C77H 007E77H 007E77H 007A78H 007A78H 007C78H 007C78H 007E78H 007E78H 007A79H 007A79H 007C79H 007C79H 007E79H 007E79H 007A7AH 007A7AH 007C7AH 007C7AH 007E7AH 007E7AH 007A7BH 007A7BH 007C7BH 007C7BH 007E7BH 007E7BH 007A7CH 007A7CH 007C7CH 007C7CH 007E7CH 007E7CH 007A7DH 007A7DH 007C7DH 007C7DH 007E7DH 007E7DH 007A7EH 007A7EH 007C7EH 007C7EH 007E7EH 007E7EH 007A7FH 007A7FH 46 CAN1 007C7FH 007C7FH 007E7FH 007E7FH 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 DLCR10 R/W XXXXXXXXB DLC Register 11 DLCR11 DLCR11 R/W XXXXXXXXB DLC Register 12 DLCR12 DLCR12 R/W XXXXXXXXB DLC Register 13 DLCR13 DLCR13 R/W XXXXXXXXB DLC Register 14 DLCR14 DLCR14 R/W XXXXXXXXB DLC Register 15 DLCR15 DLCR15 R/W XXXXXXXXB MB90340E MB90340E Series List of Message Buffers (DLC Registers and Data Registers) (2) Address Register Abbreviation Access Initial Value 007E80H 007E80H to 007E87H 007E87H Data Register 0 (8 bytes) DTR0 R/W XXXXXXXXB to XXXXXXXXB 007C88H 007C88H to 007C8FH 007C8FH 007E88H 007E88H to 007E8FH 007E8FH Data Register 1 (8 bytes) DTR1 R/W XXXXXXXXB to XXXXXXXXB 007A90H 007A90H to 007A97H 007A97H 007C90H 007C90H to 007C97H 007C97H 007E90H 007E90H to 007E97H 007E97H Data Register 2 (8 bytes) DTR2 R/W XXXXXXXXB to XXXXXXXXB 007A98H 007A98H to 007A9FH 007A9FH 007C98H 007C98H to 007C9FH 007C9FH 007E98H 007E98H to 007E9FH 007E9FH Data Register 3 (8 bytes) DTR3 R/W XXXXXXXXB to XXXXXXXXB 007AA0H 007AA0H to 007AA7H 007AA7H 007CA0H 007CA0H to 007CA7H 007CA7H 007EA0H 007EA0H to 007EA7H 007EA7H Data Register 4 (8 bytes) DTR4 R/W XXXXXXXXB to XXXXXXXXB 007AA8H 007AA8H to 007AAFH 007AAFH 007CA8H 007CA8H to 007CAFH 007CAFH 007EA8H 007EA8H to 007EAFH 007EAFH Data Register 5 (8 bytes) DTR5 R/W XXXXXXXXB to XXXXXXXXB 007AB0H 007AB0H to 007AB7H 007AB7H 007CB0H 007CB0H to 007CB7H 007CB7H 007EB0H 007EB0H to 007EB7H 007EB7H Data Register 6 (8 bytes) DTR6 R/W XXXXXXXXB to XXXXXXXXB 007AB8H 007AB8H to 007ABFH 007ABFH 007CB8H 007CB8H to 007CBFH 007CBFH 007EB8H 007EB8H to 007EBFH 007EBFH Data Register 7 (8 bytes) DTR7 R/W XXXXXXXXB to XXXXXXXXB 007AC0H 007AC0H to 007AC7H 007AC7H 007CC0H 007CC0H to 007CC7H 007CC7H 007EC0H 007EC0H to 007EC7H 007EC7H Data Register 8 (8 bytes) DTR8 R/W XXXXXXXXB to XXXXXXXXB 007AC8H 007AC8H to 007ACFH 007ACFH 007CC8H 007CC8H to 007CCFH 007CCFH 007EC8H 007EC8H to 007ECFH 007ECFH Data Register 9 (8 bytes) DTR9 R/W XXXXXXXXB to XXXXXXXXB 007AD0H 007AD0H to 007AD7H 007AD7H 007CD0H 007CD0H to 007CD7H 007CD7H 007ED0H 007ED0H to 007ED7H 007ED7H Data Register 10 (8 bytes) DTR10 DTR10 R/W XXXXXXXXB to XXXXXXXXB 007AD8H 007AD8H to 007ADFH 007ADFH 007CD8H 007CD8H to 007CDFH 007CDFH 007ED8H 007ED8H to 007EDFH 007EDFH Data Register 11 (8 bytes) DTR11 DTR11 R/W XXXXXXXXB to XXXXXXXXB 007AE0H 007AE0H to 007AE7H 007AE7H 007CE0H 007CE0H to 007CE7H 007CE7H 007EE0H 007EE0H to 007EE7H 007EE7H Data Register 12 (8 bytes) DTR12 DTR12 R/W XXXXXXXXB to XXXXXXXXB 007AE8H 007AE8H to 007AEFH 007AEFH 007CE8H 007CE8H to 007CEFH 007CEFH 007EE8H 007EE8H to 007EEFH 007EEFH Data Register 13 (8 bytes) DTR13 DTR13 R/W XXXXXXXXB to XXXXXXXXB CAN0 CAN1 CAN2 007A80H 007A80H to 007A87H 007A87H 007C80H 007C80H to 007C87H 007C87H 007A88H 007A88H to 007A8FH 007A8FH 47 MB90340E MB90340E Series List of Message Buffers (DLC Registers and Data Registers) (3) Address Register Abbreviation Access Initial Value 007EF0H 007EF0H to 007EF7H 007EF7H Data Register 14 (8 bytes) DTR14 DTR14 R/W XXXXXXXXB to XXXXXXXXB 007EF8H 007EF8H to 007EFFH 007EFFH Data Register 15 (8 bytes) DTR15 DTR15 R/W XXXXXXXXB to XXXXXXXXB CAN0 CAN2 007AF0H 007AF0H to 007AF7H 007AF7H 007CF0H 007CF0H to 007CF7H 007CF7H 007AF8H 007AF8H to 007AFFH 007AFFH 48 CAN1 007CF8H 007CF8H to 007CFFH 007CFFH MB90340E MB90340E Series INTERRUPT FACTORS, INTERRUPT VECTORS, INTERRUPT CONTROL REGISTER Interrupt control register EI2OS Support DMA channel number Number Address Number Address Reset N #08 FFFFDCH INT9 instruction N #09 FFFFD8H Exception N #10 FFFFD4H CAN 0 RX N #11 FFFFD0H CAN 0 TX/NS N #12 FFFFCCH ICR00 ICR00 0000B0H 0000B0H CAN 1 RX / Input Capture 6 Y1 #13 FFFFC8H CAN 1 TX/NS / Input Capture 7 Y1 #14 FFFFC4H ICR01 ICR01 0000B1H 0000B1H CAN 2 RX / I2C0 N #15 FFFFC0H CAN 2 TX/NS N #16 FFFFBCH ICR02 ICR02 0000B2H 0000B2H 16-bit Reload Timer 0 Y1 0 #17 FFFFB8H 16-bit Reload Timer 1 Y1 1 #18 FFFFB4H ICR03 ICR03 0000B3H 0000B3H 16-bit Reload Timer 2 Y1 2 #19 FFFFB0H 16-bit Reload Timer 3 Y1 #20 FFFFACH ICR04 ICR04 0000B4H 0000B4H PPG 0/1/4/5 N #21 FFFFA8H PPG 2/3/6/7 N #22 FFFFA4H ICR05 ICR05 0000B5H 0000B5H PPG 8/9/C/D N #23 FFFFA0H PPG A/B/E/F N #24 FFFF9CH ICR06 ICR06 0000B6H 0000B6H Time Base Timer N #25 FFFF98H FFFF98H External Interrupt 0 to 3, 8 to 11 Y1 3 #26 FFFF94H FFFF94H ICR07 ICR07 0000B7H 0000B7H Watch Timer N #27 FFFF90H FFFF90H External Interrupt 4 to 7, 12 to 15 Y1 4 #28 FFFF8CH ICR08 ICR08 0000B8H 0000B8H A/D Converter Y1 5 #29 FFFF88H FFFF88H I/O Timer 0 / I/O Timer 1 N #30 FFFF84H FFFF84H ICR09 ICR09 0000B9H 0000B9H Input Capture 4/5 / I2C1 Y1 6 #31 FFFF80H FFFF80H Output Compare 0/1/4/5 Y1 7 #32 FFFF7CH ICR10 ICR10 0000BAH 0000BAH Input Capture 0 to 3 Y1 8 #33 FFFF78H FFFF78H Output Compare 2/3/6/7 Y1 9 #34 FFFF74H FFFF74H ICR11 ICR11 0000BBH 0000BBH UART 0 RX Y2 10 #35 FFFF70H FFFF70H UART 0 TX Y1 11 #36 FFFF6CH ICR12 ICR12 0000BCH 0000BCH UART 1 RX / UART 3 RX Y2 12 #37 FFFF68H FFFF68H UART 1 TX / UART 3 TX Y1 13 #38 FFFF64H FFFF64H ICR13 ICR13 0000BDH 0000BDH Interrupt cause Interrupt vector (Continued) 49 MB90340E MB90340E Series (Continued) EI2OS Support DMA channel number Number Address UART 2 RX / UART 4 RX Y2 14 #39 FFFF60H FFFF60H UART 2 TX / UART 4 TX Y1 15 #40 FFFF5CH Flash Memory N #41 FFFF58H FFFF58H Delayed Interrupt N #42 FFFF54H FFFF54H Interrupt cause Interrupt vector Interrupt control register Number Address ICR14 ICR14 0000BEH 0000BEH ICR15 ICR15 0000BFH 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 Extended Intelligent I/O Service at a time. · When either of the two peripheral resources sharing the ICR register specifies Extended Intelligent I/O Service, the other one cannot use interrupts. 50 MB90340E MB90340E 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, AVRL VSS - 0.3 VSS + 6.0 V AVCC AVRH, AVCC AVRL, AVRH AVRL Input voltage*1 VI VSS - 0.3 VSS + 6.0 V *3 Output voltage*1 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 Power consumption PD 340 mW MB90F347E MB90F347E Operating temperature TA -40 +105 °C TSTG -55 +150 °C Power supply voltage*1 Maximum Clamp Current Total Maximum Clamp Current "L" level maximum output current "H" level maximum output current Storage temperature *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 P27, P30 to P37, P40 to P47, P50 to P57, P60 to P67, P70 to P77, P80 to P87, P90 to P97, PA0, PA1 *5: · Applicable to pins: P00 to P07, P10 to P17, P20 to P27, P30 to P37, P40 to P47, P50 to P57 (Evaluation device : P50 to P55) , P60 to P67, P70 to P77, P80 to P87, P90 to P97, PA0 to PA1 · Use within recommended operating conditions. · Use with DC voltage (current) · The +B signal should always be applied by using 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 the rated value, 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. (Continued) 51 MB90340E MB90340E Series (Continued) · 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. · 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. 52 MB90340E MB90340E Series 2. Recommended Operating Conditions (VSS = AVSS = 0 V) Parameter Symbol Value Unit Remarks Max 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 VCC, AVCC Typ 4.0 Power supply voltage Min 5.5 V Maintains RAM data in stop mode Use a ceramic capacitor or capacitor of better AC characteristics. Capacitor at the VCC should be greater than this capacitor. Smoothing capacitor CS 0.1 1.0 µF Operating temperature TA -40 +105 °C 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. 53 MB90340E MB90340E Series 3. DC Characteristics (TA = -40 °C to +105 °C, VCC = 5.0 V ± 10%, fCP 24 MHz, VSS = AVSS = 0 V) Parameter Symbol Pin Condition Value Min Typ Max Unit Remarks VIHS 0.8 VCC VCC + 0.3 V VIHA 0.8 VCC VCC + 0.3 V Port inputs if Automotive input levels are selected VIHT 2.0 VCC + 0.3 V Port inputs if TTL input levels are selected VIHS 0.7 VCC VCC + 0.3 V P12, P50, P82, P85 inputs if CMOS input levels are selected VIHI 0.7 VCC VCC + 0.3 V P44, P45, P46, P47 inputs if CMOS hysteresis input levels are selected VIHR 0.8 VCC