FUJITSU SEMICONDUCTOR DATA SHEET DS07-13747-2E 16-bit Microcontroller CMOS F2MC-16LX MB90340E Series MB90341E(S)/341CE(S)/342E(S)/342CE(S)/F342E(S)/F342CE(S)/F343E(S)/F343CE(S)/F345E(S)/ MB90F345CE(S)/346E(S)/346CE(S)/F346E(S)/F346CE(S)/347E(S)/347CE(S)/F347E(S)/F347CE(S)/ MB90348E(S)/348CE(S)/349E(S)/349CE(S)/F349E(S)/F349CE(S)/V340E-101/V340E-102 DESCRIPTION The MB90340E series with up to 2 FULL-CAN* interfaces 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. The power to the MCU core (3 V) 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 : http://www.fujitsu.com/global/services/microelectronics/product/micom/support/index.html "Check Sheet" lists the minimal requirement items to be checked to prevent problems beforehand in system development. Copyright(c)2006-2007 FUJITSU LIMITED All rights reserved 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* : up to 2 channels (only for devices with a C suffix in the part number) - Up to 400 kbps 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 (only for devices without a C suffix in the part number) * 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 x 16 channels, or 16-bit x 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 (Continued) 2 MB90340E Series (Continued) * Full-CAN controller * 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 * Clock modulation circuit * Technology * CMOS technology * : 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. 3 MB90340E Series PRODUCT LINEUP Part Number MB90V340E-101, MB90V340E-102 Parameter Type Evaluation products ROM RAM Emulator-specific power supply*1 Technology Operating voltage range Temperature range Package UART I2C (400 kbps) Flash memory products MASK ROM products 2 CPU System clock MB90341E(S), MB90341CE(S), MB90342E(S), MB90342CE(S), MB90346E(S), MB90346CE(S), MB90347E(S), MB90347CE(S), MB90348E(S), MB90348CE(S), MB90349E(S), MB90349CE(S) MB90F342E(S), MB90F342CE(S), MB90F343E(S), MB90F343CE(S), MB90F345E(S), MB90F345CE(S), MB90F346E(S), MB90F346CE(S), MB90F347E(S), MB90F347CE(S), MB90F349E(S), MB90F349CE(S) F MC-16LX CPU On-chip PLL clock multiplier (x1, x2, x3, x4, x6, 1/2 when PLL stops) Minimum instruction execution time : 42 ns (4 MHz osc. PLL x 6) 256 Kbytes : 512 Kbytes : External 30 Kbytes Yes MB90F345E(S), MB90F345CE(S) 384 Kbytes : MB90F343E(S), MB90F343CE(S) 256 Kbytes : MB90F342E(S), MB90F342CE(S), MB90F349E(S), MB90F349CE(S) 128 Kbytes : MB90F347E(S), MB90F347CE(S) 64 Kbytes : MB90F346E(S), MB90F346CE(S) MB90342E(S), MB90342CE(S), MB90349E(S), MB90349CE(S) 128 Kbytes : MB90341E(S), MB90341CE(S), MB90347E(S), MB90347CE(S), MB90348E(S), MB90348CE(S) 64 Kbytes : MB90346E(S), MB90346CE(S) 20 Kbytes : MB90F343E(S), MB90F343CE(S), MB90F345E(S), MB90F345CE(S) 16 Kbytes : MB90F342E(S), MB90F342CE(S), MB90F349E(S), MB90F349CE(S) 6 Kbytes : MB90F347E(S), MB90F347CE(S) 2 Kbytes : MB90F346E(S), MB90F346CE(S) 16 Kbytes : MB90341E(S), MB90341CE(S), MB90342E(S), MB90342CE(S), MB90348E(S), MB90348CE(S), MB90349E(S), MB90349CE(S) 6 Kbytes : MB90347E(S), MB90347CE(S) 2 Kbytes : MB90346E(S), 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 -40 C to +105 C PGA-299 QFP-100, LQFP-100 5 channels 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 : 2 channels Devices without a C suffix in the part number : (Continued) 4 MB90340E Series Part Number MB90V340E-101, MB90V340E-102 Parameter 24 input channels A/D Converter MB90F342E(S), MB90F342CE(S), MB90F343E(S), MB90F343CE(S), MB90F345E(S), MB90F345CE(S), MB90F346E(S), MB90F346CE(S), MB90F347E(S), MB90F347CE(S), MB90F349E(S), MB90F349CE(S) MB90341E(S), MB90341CE(S), MB90342E(S), MB90342CE(S), MB90346E(S), MB90346CE(S), MB90347E(S), MB90347CE(S), MB90348E(S), MB90348CE(S), MB90349E(S), MB90349CE(S) 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(S), MB90F342CE(S), MB90F343E(S), MB90F343CE(S), MB90F345E(S), MB90F345CE(S) 1 channel : MB90F346E(S), MB90F346CE(S), MB90F347E(S), MB90F347CE(S), MB90F349E(S), MB90F349CE(S) 2 channels : MB90341E(S), MB90341CE(S), MB90342E(S), MB90342CE(S) 1 channel : MB90346E(S), MB90346CE(S), MB90347E(S), MB90347CE(S), MB90348E(S), MB90348CE(S), MB90349E(S), 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 Series (Continued) Part Number MB90V340E-101, MB90V340E-102 Parameter External Interrupt (16 channels) D/A Converter Flash Memory MB90341E(S), MB90341CE(S), MB90342E(S), MB90342CE(S), MB90346E(S), MB90346CE(S), MB90347E(S), MB90347CE(S), MB90348E(S), MB90348CE(S), MB90349E(S), MB90349CE(S) 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 Only for (maximum 100 kHz) MB90V340E-102 I/O Ports MB90F342E(S), MB90F342CE(S), MB90F343E(S), MB90F343CE(S), MB90F345E(S), MB90F345CE(S), MB90F346E(S), MB90F346CE(S), MB90F347E(S), MB90F347CE(S), MB90F349E(S), MB90F349CE(S) 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 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) Supports automatic programming, Embedded AlgorithmTM*2 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(S) and MB90F346CE (S) ) *1 : It is setting of Jumper switch (TOOL VCC) when Emulator (MB2147-01) is used. Please refer to the Emulator hardware manual for details. *2 : Embedded Algorithm is a trade mark of Advanced Micro Devices Inc. 6 MB90340E Series PIN ASSIGNMENTS * MB90341E(S), MB90342E(S), MB90F342E(S), MB90F343E(S), MB90F345E(S), MB90346E(S), MB90F346E(S), MB90347E(S), MB90F347E(S), MB90348E(S), MB90349E(S), MB90F349E(S) P04/AD04/INT12 P05/AD05/INT13 P06/AD06/INT14 P07/AD07/INT15 P10/AD08/TIN1 P11/AD09/TOT1 P12/AD10/SIN3/INT11R P13/AD11/SOT3 P14/AD12/SCK3 Vcc Vss X1 X0 P15/AD13 P16/AD14 P17/AD15 P20/A16/PPG9(8) P21/A17/PPGB(A) P22/A18/PPGD(C) P23/A19/PPGF(E) MD0 MD1 MD2 RST P03/AD03/INT11 P02/AD02/INT10 P01/AD01/INT9 P00/AD00/INT8 PA1/TX0 PA0/RX0/INT8R P97/OUT3 P96/OUT2 P95/OUT1 P94/OUT0 P93/PPG7(6) P92/PPG5(4) P91/PPG3(2) P90/PPG1(0) Vss Vcc P87/SCK1 P86/SOT1 P85/SIN1 P84/SCK0/INT15R P83/SOT0/TOT2 P82/SIN0/TIN2/INT14R P81/TOT0/CKOT/INT13R P80/TIN0/ADTG/INT12R P77/INT7 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 84 47 85 46 86 45 44 87 88 43 QFP - 100 89 42 90 41 91 40 39 92 93 38 94 37 95 36 96 35 34 97 98 33 32 99 100 31 P75/INT5 P74/INT4 P73/INT3 P72/INT2 P71/INT1 P70/INT0 Vss P67/AN7/PPGE(F) P66/AN6/PPGC(D) P65/AN5/PPGA(B) P64/AN4/PPG8(9) P63/AN3/PPG6(7) P62/AN2/PPG4(5) P61/AN1/PPG2(3) P60/AN0/PPG0(1) AVss AVRL AVRH AVcc P57/AN15 P36/RDY/OUT6 P37/CLK/OUT7 P40/X0A * P41/X1A * Vcc Vss C P42/IN6/RX1/INT9R P43/IN7/TX1 P44/FRCK0 P45/FRCK1 P46 P47 P50/AN8/SIN2 P51/AN9/SOT2 P52/AN10/SCK2 P53/AN11/TIN3 P54/AN12/TOT3 P55/AN13 P56/AN14 P34/HRQ/OUT4 P35/HAK/OUT5 P24/A20/IN0 P25/A21/IN1 P26/A22/IN2 P27/A23/IN3 P30/ALE/IN4 P31/RD/IN5 P32/WRLX/WRX/INT10R P33/WRH 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) * : X0A, X1A : devices without an S suffix in the part number P40, P41 : devices with an S suffix in the part number (Continued) 7 MB90340E Series (Continued) (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 8 MD0 RST P36/RDY/OUT6 P37/CLK/OUT7 P40/X0A* P41/X1A* Vcc Vss C P42/IN6/RX1/INT9R P43/IN7/TX1 P44/FRCK0 P45/FRCK1 P46 P47 P50/AN8/SIN2 P51/AN9/SOT2 P52/AN10/SCK2 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 P27/A23/IN3 P30/ALE/IN4 P31/RD/IN5 P32/WRL/WR/INT10R P33/WRH P34/HRQ/OUT4 P35/HAK/OUT5 P01/AD01/INT9 P02/AD02/INT10 P03/AD03/INT11 P04/AD04/INT12 P05/AD05/INT13 P06/AD06/INT14 P07/AD07/INT15 P10/AD08/TIN1 P11/AD09/TOT1 P12/AD10/SIN3/INT11R P13/AD11/SOT3 P14/AD12/SCK3 Vcc Vss X1 X0 P15/AD13 P16/AD14 P17/AD15 P20/A16/PPG9(8) P21/A17/PPGB(A) P22/A18/PPGD(C) P23/A19/PPGF(E) P24/A20/IN0 P25/A21/IN1 P81/TOT0/CKOT/INT13R P80/TIN0/ADTG/INT12R P77/INT7 P76/INT6 P00/AD00/INT8 PA1/TX0 PA0/RX0/INT8R P97/OUT3 P96/OUT2 P95/OUT1 P94/OUT0 P93/PPG7(6) P92/PPG5(4) P91/PPG3(2) P90/PPG1(0) Vss Vcc P87/SCK1 P86/SOT1 P85/SIN1 P84/SCK0/INT15R P83/SOT0/TOT2 P82/SIN0/TIN2/INT14R (TOP VIEW) MD1 MD2 P75/INT5 P74/INT4 P73/INT3 P72/INT2 P71/INT1 P70/INT0 Vss P67/AN7/PPGE(F) P66/AN6/PPGC(D) P65/AN5/PPGA(B) P64/AN4/PPG8(9) P63/AN3/PPG6(7) P62/AN2/PPG4(5) P61/AN1/PPG2(3) P60/AN0/PPG0(1) AVss AVRL AVRH AVcc P57/AN15 P56/AN14 P55/AN13 P54/AN12/TOT3 MB90340E Series * MB90341CE(S), MB90342CE(S), MB90F342CE(S), MB90F343CE(S), MB90F345CE(S), MB90346CE(S), MB90F346CE(S), MB90347CE(S), MB90F347CE(S), MB90348CE(S), MB90349CE(S), MB90F349CE(S) RST MD2 P75/AN21/INT5 P74/AN20/INT4 P73/AN19/INT3 P72/AN18/INT2 P71/AN17/INT1 P70/AN16/INT0 Vss P67/AN7/PPGE(F) P66/AN6/PPGC(D) P65/AN5/PPGA(B) P64/AN4/PPG8(9) P63/AN3/PPG6(7) P62/AN2/PPG4(5) P61/AN1/PPG2(3) P60/AN0/PPG0(1) AVss AVRL AVRH AVcc P57/AN15 P35/HAK/OUT5 P36/RDY/OUT6 P37/CLK/OUT7 P40/X0A* P41/X1A* Vcc Vss C P42/IN6/RX1/INT9R P43/IN7/TX1 P44/SDA0/FRCK0 P45/SCL0/FRCK1 P46/SDA1 P47/SCL1 P50/AN8/SIN2 P51/AN9/SOT2 P52/AN10/SCK2 P53/AN11/TIN3 P54/AN12/TOT3 P55/AN13 P56/AN14 P33/WRH P34/HRQ/OUT4 P31/RD/IN5 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 81 50 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 P25/A21/IN1 P26/A22/IN2 P27/A23/IN3 P30/ALE/IN4 P04/AD04/INT12 P05/AD05/INT13 P06/AD06/INT14 P07/AD07/INT15 P10/AD08/TIN1 P11/AD09/TOT1 P12/AD10/SIN3/INT11R P13/AD11/SOT3 P14/AD12/SCK3 Vcc Vss X1 X0 P15/AD13 P16/AD14 P17/AD15 P20/A16/PPG9(8) P21/A17/PPGB(A) P22/A18/PPGD(C) P23/A19/PPGF(E) MD0 MD1 P03/AD03/INT11 P02/AD02/INT10 P01/AD01/INT9 P00/AD00/INT8 PA1/TX0 PA0/RX0/INT8R P97/OUT3 P96/OUT2 P95/OUT1 P94/OUT0 P93/PPG7(6) P92/PPG5(4) P91/PPG3(2) P90/PPG1(0) Vss Vcc P87/SCK1 P86/SOT1 P85/SIN1 P84/SCK0/INT15R P83/SOT0/TOT2 P82/SIN0/TIN2/INT14R P81/TOT0/CKOT/INT13R P80/TIN0/ADTG/INT12R P77/AN23/INT7 P76/AN22/INT6 (TOP VIEW) (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 Series (Continued) (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 RST MD0 P35/HAK/OUT5 P36/RDY/OUT6 P37/CLK/OUT7 P40/X0A* P41/X1A* Vcc Vss C P42/IN6/RX1/INT9R P43/IN7/TX1 P44/SDA0/FRCK0 P45/SCL0/FRCK1 P46/SDA1 P47/SCL1 P50/AN8/SIN2 P51/AN9/SOT2 P52/AN10/SCK2 P53/AN11/TIN3 P33/WRH P34/HRQ/OUT4 P31/RD/IN5 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 P27/A23/IN3 P30/ALE/IN4 P01/AD01/INT9 P02/AD02/INT10 P03/AD03/INT11 P04/AD04/INT12 P05/AD05/INT13 P06/AD06/INT14 P07/AD07/INT15 P10/AD08/TIN1 P11/AD09/TOT1 P12/AD10/SIN3/INT11R P13/AD11/SOT3 P14/AD12/SCK3 Vcc Vss X1 X0 P15/AD13 P16/AD14 P17/AD15 P20/A16/PPG9(8) P21/A17/PPGB(A) P22/A18/PPGD(C) P23/A19/PPGF(E) P24/A20/IN0 P25/A21/IN1 P81/TOT0/CKOT/INT13R P80/TIN0/ADTG/INT12R P77/AN23/INT7 P76/AN22/INT6 P00/AD00/INT8 PA1/TX0 PA0/RX0/INT8R P97/OUT3 P96/OUT2 P95/OUT1 P94/OUT0 P93/PPG7(6) P92/PPG5(4) P91/PPG3(2) P90/PPG1(0) Vss Vcc P87/SCK1 P86/SOT1 P85/SIN1 P84/SCK0/INT15R P83/SOT0/TOT2 P82/SIN0/TIN2/INT14R (TOP VIEW) MD1 MD2 P75/AN21/INT5 P74/AN20/INT4 P73/AN19/INT3 P72/AN18/INT2 P71/AN17/INT1 P70/AN16/INT0 Vss P67/AN7/PPGE(F) P66/AN6/PPGC(D) P65/AN5/PPGA(B) P64/AN4/PPG8(9) P63/AN3/PPG6(7) P62/AN2/PPG4(5) P61/AN1/PPG2(3) P60/AN0/PPG0(1) AVss AVRL AVRH AVcc P57/AN15 P56/AN14 P55/AN13 P54/AN12/TOT3 MB90340E Series PIN DESCRIPTION Pin No. QFP100*1 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 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 6 7 3 G ALE Address latch enable output pin. This function is enabled when the external bus is enabled. IN4 Trigger input pin for input capture. P31 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 External read strobe output pin. This function is enabled when the external bus is enabled. IN5 Trigger input pin for input capture. P32 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 6 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. 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. External interrupt request input pin. P33 8 Function 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) 11 MB90340E Series Pin No. QFP100*1 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 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 9 G 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. 10 G CLK OUT7 13, 14 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 P37 12 Hold acknowledge output pin. This function is enabled when both the external bus and the hold function are enabled. Waveform output pin for output compare. P36 11 Function 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 F General purpose I/O pins. (devices with an S suffix in the part number and or MB90V340E-101) X0A , X1A B Oscillation pins for sub clock (devices without an S suffix in the part number and or 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. 18 16 P42 General purpose I/O pin. IN6 Trigger input pin for input capture. RX1 INT9R F RX input pin for CAN1 Interface (MB90341E/342E/F342E/F343E/F345E only) External interrupt request input pin (Continued) 12 MB90340E Series Pin No. QFP100*1 LQFP100*2 Pin name I/O Circuit type*3 P43 19 20 17 18 IN7 General purpose I/O pin. F TX Output pin for CAN1 (MB90341E/342E/F342E/F343E/F345E only) P44 General purpose I/O pin. SDA0 H SCL0 General purpose I/O pin. H FRCK1 20 SDA1 General purpose I/O pin. H P47 23 21 SCL1 25 22 23 AN8 H O 27 28 25 26 Serial data input pin for UART2 P51 General purpose I/O pin. AN9 I AN10 27 30, 31 28, 29 32 30 Analog input pin for the A/D converter Serial data output pin for UART2 General purpose I/O pin. I Analog input pin for the A/D converter SCK2 Clock I/O pin for UART2 P53 General purpose I/O pin. AN11 I Analog input pin for the A/D converter TIN3 Event input pin for the reload timer P54 General purpose I/O pin. AN12 I TOT3 29 Analog input pin for the A/D converter SIN2 P52 24 Serial clock I/O pin for I2C (devices with a C suffix in the part number) General purpose I/O pin. SOT2 26 Serial data I/O pin for I2C (devices with a C suffix in the part number) General purpose I/O pin. 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) Input pin for the 16-bit I/O Timer 0 P45 19 Trigger input pin for input capture. TX1 FRCK0 21 Function 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) 13 MB90340E Series Pin No. QFP100*1 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 pin 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 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 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 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) 14 MB90340E Series Pin No. QFP100*1 LQFP100*2 Pin name I/O Circuit type*3 P84 61 59 SCK0 General purpose I/O pin. F 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 F Clock I/O pin for UART1 General purpose I/O pins 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 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. 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 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 General purpose I/O pin. External interrupt request input pin 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 pins PA0 75 Serial data input pin for UART1 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) 15 MB90340E Series Pin No. QFP100*1 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 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 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 86 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 I/O pin for the external address/data bus. This function is enabled when the external bus is enabled. Serial data input pin for UART3 INT11R 88 Function 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 95 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 I/O pin for the external address/data bus. This function is enabled when the external bus is enabled. P16 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) 16 MB90340E Series (Continued) Pin No. QFP100*1 LQFP100*2 Pin name I/O 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 *2 : FPT-100P-M05 *3 : For I/O circuit type, refer to " I/O CIRCUIT TYPE". 17 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) 18 MB90340E Series Type Circuit F Remarks P-ch Pout N-ch 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 H P-ch Pout N-ch 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) 19 MB90340E Series Type Circuit Remarks P-ch Pout N-ch Nout * 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 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) 20 MB90340E Series (Continued) Type Circuit M Remarks P-ch Pout N-ch 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 21 MB90340E Series HANDLING DEVICES 1. Preventing latch-up CMOS IC 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 terminals open may lead to permanent damage due to malfunction and latch-up; pull up or pull down the terminals through the resistors of 2 k or more. 3. Power supply pins (VCC/VSS) * If there are multiple VCC and VSS pins, from the point of view of device design, pins to be of the same potential are connected inside of the device to prevent malfunction 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 possibly low impedance. * As a measure against power supply noise, it is recommended to 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 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. 22 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 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 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) 23 MB90340E Series 13. Stabilization of power supply voltage A sudden change in the supply voltage may cause the device to malfunction even within the VCC supply voltage operating range. Therefore, the VCC supply voltage should be stabilized. For reference, the supply voltage should be controlled so that VCC ripple variations (peak- to-peak values) at commercial frequencies (50 MHz/60 MHz) fall below 10% of the standard VCC supply voltage and the coefficient of fluctuation does not exceed 0.1 V/ms at instantaneous power switching. 14. 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 15. 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. 16. Flash Security Function (except for 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. 24 Flash memory size Address of the security bit MB90F347E Embedded 1 Mbit Flash Memory FE0001H MB90F342E MB90F349E Embedded 2 Mbits Flash Memory FC0001H MB90F343E Embedded 3 Mbits Flash Memory F90001H MB90F345E Embedded 4 Mbits Flash Memory F80001H MB90340E Series BLOCK DIAGRAMS MB90341E(S), MB90341CE(S), MB90342E(S), MB90342CE(S), MB90F342E(S), MB90F342CE(S), MB90F343E(S), MB90F343CE(S), MB90F345E(S), MB90F345CE(S), MB90346E(S), MB90346CE(S), MB90F346E(S), MB90F346CE(S), MB90347E(S), MB90347CE(S), MB90F347E(S), MB90F347CE(S), MB90348E(S), MB90348CE(S), MB90349E(S), MB90349CE(S), MB90F349E(S), MB90F349CE(S) X0,X1 X0A,X1A*1 RST Clock Controller 16LX CPU RAM 2 K/6 K/16 K/ 20 Kbytes ROM/Flash 64 K/128 K 256 K/384 K/ 512 Kbytes Prescaler 4 channels SOT3 to SOT0 SCK3 to SCK0 SIN3 to SIN0 AN23 to AN16* AVRH AVRL ADTG PPGF to PPG0 Input Capture 8 channels IN7 to IN0 Output Compare 8 channels OUT7 to OUT0 FRCK1 CAN Controller 1/2 channels*3 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 Bus 2 FRCK0 IO Timer 1 UART 4 channels AVCC AVSS AN15 to AN0 IO Timer 0 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 Clock Monitor INT15 to INT8 (INT15R to INT8R) *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(S)/ 341CE(S)/ 342E(S)/ 342CE(S)/ F342E(S)/F342CE(S)/F343E(S)/F343CE(S)/ F345E(S)/F345CE(S) are equipped with 2 CAN channels INT7 to INT0 CKOT 25 MB90340E Series MEMORY MAP MB90V340E-101/102 000000H 0000EFH 000100H Peripheral External access area MB90F345E(S)/F345CE(S) 000000H 0000EFH 000100H Peripheral External access area MB90F343E(S)/F343CE(S) 000000H 0000EFH 000100H RAM 20 Kbytes Peripheral External access area RAM 20 Kbytes RAM 30 Kbytes 0050FFH 0078FFH 007900H 007900H Peripheral 007FFFH 008000H 00FFFFH ROM (image of FF bank) External access area F80000H F8FFFFH F90000H ROM (F8 bank) ROM (F9 bank) F9FFFFH FA0000H 007FFFH 008000H 00FFFFH External access area F8FFFFH F90000H F9FFFFH ROM (F9 bank) FAFFFFH FB0000H ROM (FB bank) FBFFFFH FC0000H ROM (FC bank) FCFFFFH FD0000H FA0000H FAFFFFH FB0000H FFFFFFH ROM (F9 bank) ROM (FA bank) ROM (FB bank) FCFFFFH FD0000H ROM (FD bank) FDFFFFH FE0000H FEFFFFH FF0000H : Not accessible F9FFFFH ROM (FE bank) ROM (FE bank) ROM (FF bank) F8FFFFH F90000H ROM (FC bank) FDFFFFH FE0000H FEFFFFH FF0000H ROM (image of FF bank) 00FFFFH F80000H External access area FBFFFFH FC0000H ROM (FD bank) ROM (FD bank) FDFFFFH FE0000H Peripheral 007FFFH 008000H ROM (F8 bank) ROM (FA bank) ROM (FB bank) 26 ROM (image of FF bank) FA0000H FBFFFFH FC0000H FFFFFFH 007900H Peripheral F80000H ROM (FA bank) FAFFFFH FB0000H FCFFFFH FD0000H 0050FFH ROM (FE bank) FEFFFFH FF0000H ROM (FF bank) ROM (FF bank) FFFFFFH MB90340E Series MB90342E(S)/342CE(S) MB90F342E(S)/F342CE(S) MB90349E(S)/349CE(S) MB90F349E(S)/F349CE(S) 000000H 0000EFH Peripheral MB90341E(S)/341CE(S) MB90348E(S)/348CE(S) 000000H 0000EFH External access area 000100H Peripheral MB90347E(S)/347CE(S) MB90F347E(S)/F347CE(S) 000000H 0000EFH External access area Peripheral 000000H 0000EFH External access area 000100H 000100H MB90346E(S)/346CE(S) MB90F346E(S)/F346CE(S) RAM 6 Kbytes Peripheral External access area 000100H 0008FFH RAM 2 Kbytes 0018FFH RAM 16 Kbytes 003FFFH 003FFFH 007900H 007FFFH 008000H 00FFFFH RAM 16 Kbytes ROM (image of FF bank) 007FFFH 008000H 00FFFFH External access area 007900H 007900H 007900H Peripheral Peripheral ROM (image of FF bank) 007FFFH 008000H 00FFFFH Peripheral ROM (image of FF bank) 007FFFH 008000H 00FFFFH External access area External access area Peripheral ROM (image of FF bank) External access area FC0000H FCFFFFH FD0000H FDFFFFH FE0000H FEFFFFH FF0000H ROM (FC bank) ROM (FD bank) ROM (FE bank) FEFFFFH FF0000H ROM (FF bank) FFFFFFH FEFFFFH FF0000H ROM (FF bank) FFFFFFH FE0000H FE0000H FE0000H ROM (FE bank) ROM (FE bank) FEFFFFH 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 is accessed, the data at 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 and FFFFFFH is visible in bank 00, while the image between FF0000H and FF7FFFH is visible only in bank FF. 27 MB90340E Series I/O MAP Address Register Abbreviation Access Resource name Initial value 000000H Port 0 Data Register PDR0 R/W Port 0 XXXXXXXXB 000001H Port 1 Data Register PDR1 R/W Port 1 XXXXXXXXB 000002H Port 2 Data Register PDR2 R/W Port 2 XXXXXXXXB 000003H Port 3 Data Register PDR3 R/W Port 3 XXXXXXXXB 000004H Port 4 Data Register PDR4 R/W Port 4 XXXXXXXXB 000005H Port 5 Data Register PDR5 R/W Port 5 XXXXXXXXB 000006H Port 6 Data Register PDR6 R/W Port 6 XXXXXXXXB 000007H Port 7 Data Register PDR7 R/W Port 7 XXXXXXXXB 000008H Port 8 Data Register PDR8 R/W Port 8 XXXXXXXXB 000009H Port 9 Data Register PDR9 R/W Port 9 XXXXXXXXB 00000AH Port A Data Register PDRA R/W Port A XXXXXXXXB 00000BH Port 5 Analog Input Enable Register ADER5 R/W Port 5, A/D 11111111B 00000CH Port 6 Analog Input Enable Register ADER6 R/W Port 6, A/D 11111111B 00000DH Port 7 Analog Input Enable Register ADER7 R/W Port 7, A/D 11111111B 00000EH Input Level Select Register 0 ILSR0 R/W Ports XXXXXXXXB 00000FH Input Level Select Register 1 ILSR1 R/W Ports XXXX0XXXB 000010H Port 0 Direction Register DDR0 R/W Port 0 00000000B 000011H Port 1 Direction Register DDR1 R/W Port 1 00000000B 000012H Port 2 Direction Register DDR2 R/W Port 2 00000000B 000013H Port 3 Direction Register DDR3 R/W Port 3 00000000B 000014H Port 4 Direction Register DDR4 R/W Port 4 00000000B 000015H Port 5 Direction Register DDR5 R/W Port 5 00000000B 000016H Port 6 Direction Register DDR6 R/W Port 6 00000000B 000017H Port 7 Direction Register DDR7 R/W Port 7 00000000B 000018H Port 8 Direction Register DDR8 R/W Port 8 00000000B 000019H Port 9 Direction Register DDR9 R/W Port 9 00000000B 00001AH Port A Direction Register DDRA R/W Port A 00000100B 00001BH Reserved 00001CH Port 0 Pull-up Control Register PUCR0 R/W Port 0 00000000B 00001DH Port 1 Pull-up Control Register PUCR1 R/W Port 1 00000000B 00001EH Port 2 Pull-up Control Register PUCR2 R/W Port 2 00000000B 00001FH Port 3 Pull-up Control Register PUCR3 W, R/W Port 3 00000000B (Continued) 28 MB90340E Series Address Register Abbreviation Access Resource name Initial value 000020H Serial Mode Register 0 SMR0 W,R/W 00000000B 000021H Serial Control Register 0 SCR0 W,R/W 00000000B RDR0/TDR0 R/W 00000000B SSR0 R,R/W 000022H Reception/Transmission Data Register 0 000023H Serial Status Register 0 00001000B UART0 ECCR0 R,W, R/W 000025H Extended Status/Control Register 0 ESCR0 R/W 00000100B 000026H Baud Rate Generator Register 00 BGR00 R/W 00000000B 000027H Baud Rate Generator Register 01 BGR01 R/W 00000000B 000028H Serial Mode Register 1 SMR1 W,R/W 00000000B 000029H Serial Control Register 1 SCR1 W,R/W 00000000B RDR1/TDR1 R/W 00000000B SSR1 R,R/W 000024H Extended Communication Control Register 0 00002AH Reception/Transmission Data Register 1 00002BH Serial Status Register 1 000000XXB 00001000B UART1 ECCR1 R,W, R/W 00002DH Extended Status/Control Register 1 ESCR1 R/W 00000100B 00002EH Baud Rate Generator Register 10 BGR10 R/W 00000000B 00002FH Baud Rate Generator Register 11 BGR11 R/W 00000000B 000030H PPG 0 Operation Mode Control Register PPGC0 W,R/W 0X000XX1B 000031H PPG 1 Operation Mode Control Register PPGC1 W,R/W 000032H PPG 0/PPG 1 Count Clock Select Register PPG01 R/W 000000X0B 0X000XX1B 00002CH Extended Communication Control Register 1 000033H 16-bit PPG 0/1 000000XXB 0X000001B Reserved 000034H PPG 2 Operation Mode Control Register PPGC2 W,R/W 000035H PPG 3 Operation Mode Control Register PPGC3 W,R/W 000036H PPG 2/PPG 3 Count Clock Select Register PPG23 R/W 000000X0B 0X000XX1B 000037H PPGC4 W,R/W 000039H PPG 5 Operation Mode Control Register PPGC5 W,R/W 00003AH PPG 4/PPG 5 Clock Select Register PPG45 R/W PACSR1 R/W 00003CH PPG 6 Operation Mode Control Register PPGC6 W,R/W 00003DH PPG 7 Operation Mode Control Register PPGC7 W,R/W 00003EH PPG 6/PPG 7 Count Clock Control Register PPG67 R/W 00003FH 0X000001B Reserved 000038H PPG 4 Operation Mode Control Register 00003BH Address Detect Control Register 1 16-bit PPG 2/3 16-bit PPG 4/5 0X000001B 000000X0B Address Match Detection 1 00000000B 0X000XX1B 16-bit PPG 6/7 0X000001B 000000X0B Reserved (Continued) 29 MB90340E Series Address Register Abbreviation Access Resource name Initial value 000040H PPG 8 Operation Mode Control Register PPGC8 W,R/W 000041H PPG 9 Operation Mode Control Register PPGC9 W,R/W PPG89 R/W 000000X0B 0X000XX1B 000042H PPG 8/PPG 9 Count Clock Control Register 000043H 0X000XX1B 16-bit PPG 8/9 0X000001B Reserved 000044H PPG A Operation Mode Control Register PPGCA W,R/W 000045H PPG B Operation Mode Control Register PPGCB W,R/W PPGAB R/W 000000X0B 0X000XX1B 000046H PPG A/PPG B Count Clock Select Register 000047H 16-bit PPG A/B 0X000001B Reserved 000048H PPG C Operation Mode Control Register PPGCC W,R/W 000049H PPG D Operation Mode Control Register PPGCD W,R/W PPGCD R/W 000000X0B 0X000XX1B 00004AH PPG C/PPG D Count Clock Select Register 00004BH 0X000001B Reserved 00004CH PPG E Operation Mode Control Register PPGCE W,R/W 00004DH PPG F Operation Mode Control Register PPGCF W,R/W PPGEF R/W 00004EH 16-bit PPG C/D PPG E/PPG F Count Clock Select Register 00004FH Reserved 000050H Input Capture Control Status 0/1 ICS01 R/W 000051H Input Capture Edge 0/1 ICE01 R/W, R 000052H Input Capture Control Status 2/3 ICS23 R/W 000053H Input Capture Edge 2/3 ICE23 R 000054H Input Capture Control Status 4/5 ICS45 R/W 000055H Input Capture Edge 4/5 ICE45 R 000056H Input Capture Control Status 6/7 ICS67 R/W 000057H Input Capture Edge 6/7 ICE67 R/W, R 000058H Output Compare Control Status 0 OCS0 R/W 000059H Output Compare Control Status 1 OCS1 R/W 00005AH Output Compare Control Status 2 OCS2 R/W 00005BH Output Compare Control Status 3 OCS3 R/W 00005CH Output Compare Control Status 4 OCS4 R/W 00005DH Output Compare Control Status 5 OCS5 R/W 00005EH Output Compare Control Status 6 OCS6 R/W 00005FH Output Compare Control Status 7 OCS7 R/W 16-bit PPG E/F 0X000001B 000000X0B 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 XXX0X0XXB 00000000B XXXXXXXXB 00000000B XXXXXXXXB 00000000B XXX000XXB 0000XX00B 0XX00000B 0000XX00B 0XX00000B 0000XX00B 0XX00000B 0000XX00B 0XX00000B (Continued) 30 MB90340E Series Address Register Abbreviation Access Resource name Initial value 000060H Timer Control Status 0 TMCSR0 R/W 00000000B 000061H Timer Control Status 0 TMCSR0 R/W 16-bit Reload Timer 0 000062H Timer Control Status 1 TMCSR1 R/W 000063H Timer Control Status 1 TMCSR1 R/W 000064H Timer Control Status 2 TMCSR2 R/W 000065H Timer Control Status 2 TMCSR2 R/W 000066H Timer Control Status 3 TMCSR3 R/W 000067H Timer Control Status 3 TMCSR3 R/W 000068H A/D Control Status 0 ADCS0 R/W 000XXXX0B 000069H A/D Control Status 1 ADCS1 R/W 0000000XB 00006AH A/D Data 0 ADCR0 R 00006BH A/D Data 1 ADCR1 R 00006CH ADC Setting 0 ADSR0 R/W 00000000B 00006DH ADC Setting 1 ADSR1 R/W 00000000B 00006EH 16-bit Reload Timer 1 16-bit Reload Timer 2 16-bit Reload Timer 3 A/D Converter XXXX0000B 00000000B XXXX0000B 00000000B XXXX0000B 00000000B XXXX0000B 00000000B XXXXXX00B Reserved 00006FH ROM Mirror Function Select ROMM W ROM Mirror 000070H to 00008FH Reserved for CAN Controller 0/1. Refer to " CAN CONTROLLERS" 000090H to 00009AH Reserved DMA Descriptor Channel Specified Register XXXXXXX1B DCSR R/W 00009CH DMA Status L Register DSRL R/W 00009DH DMA Status H Register DSRH R/W PACSR0 R/W DIRR R/W 0000A0H Low-power Mode Control Register LPMCR W,R/W Low Power Control Circuit 00011000B 0000A1H Clock Selection Register CKSCR R,R/W Low Power Control Circuit 11111100B R/W DMA 00000000B 00009BH 00009EH Address Detect Control Register 0 00009FH Delayed Interrupt Trigger/Release Register 0000A2H, 0000A3H 0000A4H DMA Stop Status Register 00000000B DMA 00000000B 00000000B Address Match Detection 0 00000000B Delayed Interrupt XXXXXXX0B Reserved DSSR (Continued) 31 MB90340E Series Address Register Abbreviation Access Resource name Initial value 0000A5H Automatic Ready Function Select Register ARSR W 0000A6H External Address Output Control Register HACR W 0000A7H Bus Control Signal Selection Register ECSR W 0000A8H Watchdog Control Register WDTC R,W Watchdog Timer XXXXX111B 0000A9H Time Base Timer Control Register TBTC W,R/W Time Base Timer 1XX00100B 0000AAH Watch Timer Control Register WTC R,R/W Watch Timer 1X001000B 0000ABH Reserved 0000ACH DMA Enable L Register DERL R/W 0000ADH DMA Enable H Register DERH R/W FMCS R,R/W 0000AEH Flash Control Status Register (Flash memory devices only. Otherwise reserved) 0011XX00B External Memory Access 00000000B 0000000XB DMA Flash Memory 00000000B 00000000B 000X0000B 0000AFH Reserved 0000B0H Interrupt Control Register 00 ICR00 W,R/W 00000111B 0000B1H Interrupt Control Register 01 ICR01 W,R/W 00000111B 0000B2H Interrupt Control Register 02 ICR02 W,R/W 00000111B 0000B3H Interrupt Control Register 03 ICR03 W,R/W 00000111B 0000B4H Interrupt Control Register 04 ICR04 W,R/W 00000111B 0000B5H Interrupt Control Register 05 ICR05 W,R/W 00000111B 0000B6H Interrupt Control Register 06 ICR06 W,R/W 00000111B 0000B7H Interrupt Control Register 07 ICR07 W,R/W 0000B8H Interrupt Control Register 08 ICR08 W,R/W 0000B9H Interrupt Control Register 09 ICR09 W,R/W 00000111B 0000BAH Interrupt Control Register 10 ICR10 W,R/W 00000111B 0000BBH Interrupt Control Register 11 ICR11 W,R/W 00000111B 0000BCH Interrupt Control Register 12 ICR12 W,R/W 00000111B 0000BDH Interrupt Control Register 13 ICR13 W,R/W 00000111B 0000BEH Interrupt Control Register 14 ICR14 W,R/W 00000111B 0000BFH Interrupt Control Register 15 ICR15 W,R/W 00000111B 0000C0H D/A Converter Data 0 DAT0 R/W XXXXXXXXB 0000C1H D/A Converter Data 1 DAT1 R/W 0000C2H D/A Control 0 DACR0 R/W 0000C3H D/A Control 1 DACR1 R/W Interrupt Control D/A Converter 00000111B 00000111B XXXXXXXXB XXXXXXX0B XXXXXXX0B (Continued) 32 MB90340E Series Address Register Abbreviation Access Resource name Initial value 0000C4H, 0000C5H Reserved 0000C6H External Interrupt Enable 0 ENIR0 R/W 0000C7H External Interrupt Source 0 EIRR0 R/W 0000C8H External Interrupt Level Setting 0 ELVR0 R/W 0000C9H External Interrupt Level Setting 0 ELVR0 R/W 00000000B 0000CAH External Interrupt Enable 1 ENIR1 R/W 00000000B 0000CBH External Interrupt Source 1 EIRR1 R/W XXXXXXXXB 0000CCH External Interrupt Level Setting 1 ELVR1 R/W 0000CDH External Interrupt Level Setting 1 ELVR1 R/W 00000000B 0000CEH External Interrupt Source Select EISSR R/W 00000000B 0000CFH PLL/Sub clock Control Register PSCCR W 0000D0H DMA Buffer Address Pointer L Register BAPL R/W XXXXXXXXB 0000D1H DMA Buffer Address Pointer M Register BAPM R/W XXXXXXXXB 0000D2H DMA Buffer Address Pointer H Register BAPH R/W XXXXXXXXB DMACS R/W XXXXXXXXB 0000D3H DMA Control Register 00000000B External Interrupt 0 External Interrupt 1 PLL XXXXXXXXB 00000000B 00000000B XXXX0000B 0000D4H I/O Register Address Pointer L Register IOAL R/W 0000D5H I/O Register Address Pointer H Register IOAH R/W XXXXXXXXB 0000D6H Data Counter L Register DCTL R/W XXXXXXXXB 0000D7H Data Counter H Register DCTH R/W XXXXXXXXB 0000D8H Serial Mode Register 2 SMR2 W,R/W 00000000B 0000D9H Serial Control Register 2 SCR2 W,R/W 00000000B RDR2/TDR2 R/W 00000000B SSR2 R,R/W ECCR2 R,W, R/W 0000DDH Extended Status Control Register 2 ESCR2 R/W 00000100B 0000DEH Baud Rate Generator Register 20 BGR20 R/W 00000000B 0000DFH Baud Rate Generator Register 21 BGR21 R/W 00000000B 0000DAH Reception/Transmission Data Register 2 0000DBH Serial Status Register 2 0000DCH Extended Communication Control Register 2 DMA UART2 0000E0H to 0000EFH Reserved for CAN Controller 2. Refer to " CAN CONTROLLERS" 0000F0H to 0000FFH External XXXXXXXXB 00001000B 000000XXB (Continued) 33 MB90340E Series Address Register Abbreviation Access Resource name Initial value 007900H Reload Register L0 PRLL0 R/W XXXXXXXXB 007901H Reload Register H0 PRLH0 R/W 007902H Reload Register L1 PRLL1 R/W 007903H Reload Register H1 PRLH1 R/W XXXXXXXXB 007904H Reload Register L2 PRLL2 R/W XXXXXXXXB 007905H Reload Register H2 PRLH2 R/W 007906H Reload Register L3 PRLL3 R/W 007907H Reload Register H3 PRLH3 R/W XXXXXXXXB 007908H Reload Register L4 PRLL4 R/W XXXXXXXXB 007909H Reload Register H4 PRLH4 R/W 00790AH Reload Register L5 PRLL5 R/W 00790BH Reload Register H5 PRLH5 R/W XXXXXXXXB 00790CH Reload Register L6 PRLL6 R/W XXXXXXXXB 00790DH Reload Register H6 PRLH6 R/W 00790EH Reload Register L7 PRLL7 R/W 00790FH Reload Register H7 PRLH7 R/W XXXXXXXXB 007910H Reload Register L8 PRLL8 R/W XXXXXXXXB 007911H Reload Register H8 PRLH8 R/W 007912H Reload Register L9 PRLL9 R/W 007913H Reload Register H9 PRLH9 R/W XXXXXXXXB 007914H Reload Register LA PRLLA R/W XXXXXXXXB 007915H Reload Register HA PRLHA R/W 007916H Reload Register LB PRLLB R/W 007917H Reload Register HB PRLHB R/W XXXXXXXXB 007918H Reload Register LC PRLLC R/W XXXXXXXXB 007919H Reload Register HC PRLHC R/W 00791AH Reload Register LD PRLLD R/W 00791BH Reload Register HD PRLHD R/W XXXXXXXXB 00791CH Reload Register LE PRLLE R/W XXXXXXXXB 00791DH Reload Register HE PRLHE R/W 00791EH Reload Register LF PRLLF R/W 00791FH Reload Register HF PRLHF R/W XXXXXXXXB 007920H Input Capture 0 IPCP0 R XXXXXXXXB 007921H Input Capture 0 IPCP0 R 007922H Input Capture 1 IPCP1 R 007923H Input Capture 1 IPCP1 R 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) 34 MB90340E Series Address Register Abbreviation Access Resource name Initial value 007924H Input Capture 2 IPCP2 R 007925H Input Capture 2 IPCP2 R 007926H Input Capture 3 IPCP3 R 007927H Input Capture 3 IPCP3 R XXXXXXXXB 007928H Input Capture 4 IPCP4 R XXXXXXXXB 007929H Input Capture 4 IPCP4 R 00792AH Input Capture 5 IPCP5 R 00792BH Input Capture 5 IPCP5 R XXXXXXXXB 00792CH Input Capture 6 IPCP6 R XXXXXXXXB 00792DH Input Capture 6 IPCP6 R 00792EH Input Capture 7 IPCP7 R 00792FH Input Capture 7 IPCP7 R XXXXXXXXB 007930H Output Compare 0 OCCP0 R/W XXXXXXXXB 007931H Output Compare 0 OCCP0 R/W 007932H Output Compare 1 OCCP1 R/W 007933H Output Compare 1 OCCP1 R/W XXXXXXXXB 007934H Output Compare 2 OCCP2 R/W XXXXXXXXB 007935H Output Compare 2 OCCP2 R/W 007936H Output Compare 3 OCCP3 R/W 007937H Output Compare 3 OCCP3 R/W XXXXXXXXB 007938H Output Compare 4 OCCP4 R/W XXXXXXXXB 007939H Output Compare 4 OCCP4 R/W 00793AH Output Compare 5 OCCP5 R/W 00793BH Output Compare 5 OCCP5 R/W XXXXXXXXB 00793CH Output Compare 6 OCCP6 R/W XXXXXXXXB 00793DH Output Compare 6 OCCP6 R/W 00793EH Output Compare 7 OCCP7 R/W 00793FH Output Compare 7 OCCP7 R/W XXXXXXXXB 007940H Timer Data 0 TCDT0 R/W 00000000B 007941H Timer Data 0 TCDT0 R/W 007942H Timer Control Status 0 TCCSL0 R/W 007943H Timer Control Status 0 TCCSH0 R/W 0XXXXXXXB 007944H Timer Data 1 TCDT1 R/W 00000000B 007945H Timer Data 1 TCDT1 R/W 007946H Timer Control Status 1 TCCSL1 R/W 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 0XXXXXXXB (Continued) 35 MB90340E Series Address 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 Serial Mode Register 3 SMR3 W,R/W 00000000B 007951H Serial Control Register 3 SCR3 W,R/W 00000000B RDR3/TDR3 R/W 00000000B SSR3 R,R/W Extended Communication Control Register 3 ECCR3 R,W, R/W 007955H Extended Status Control Register ESCR3 R/W 00000100B 007956H Baud Rate Generator Register 30 BGR30 R/W 00000000B 007957H Baud Rate Generator Register 31 BGR31 R/W 00000000B 007958H Serial Mode Register 4 SMR4 W,R/W 00000000B 007959H Serial Control Register 4 SCR4 W,R/W 00000000B RDR4/TDR4 R/W 00000000B SSR4 R,R/W Extended Communication Control Register 4 ECCR4 R,W, R/W 00795DH Extended Status Control Register ESCR4 R/W 00000100B 00795EH Baud Rate Generator Register 40 BGR40 R/W 00000000B 00795FH Baud Rate Generator Register 41 BGR41 R/W 00000000B 007949H 00794AH 00794BH 00794CH 00794DH 00794EH 00794FH 007952H Reception/Transmission Data Register 3 007953H Serial Status Register 3 007954H 00795AH Reception/Transmission Data Register 4 00795BH Serial Status Register 4 00795CH 007960H to 00796BH 00796CH Clock Output Enable Register 00796DH 00796EH CAN Direct Mode Register 00796FH CAN Switch Register R/W R/W R/W R/W R/W R/W UART3 XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB 00001000B 000000XXB UART4 00001000B 000000XXB Reserved CLKR R/W Clock Monitor XXXX0000B CDMR R/W CAN Clock sync XXXXXXX0B CANSWR R/W CAN 0/1 XXXXXX00B Reserved (Continued) 36 MB90340E Series Address Register Abbreviation Access 007970H I C Bus Status Register 0 IBSR0 R 00000000B 007971H I2C Bus Control Register 0 IBCR0 W,R/W 00000000B 007972H ITBAL0 R/W 00000000B ITBAH0 R/W 2 007973H I2C 10-bit Slave Address Register 0 007974H I C 10-bit Slave Address Mask 007975H Register 0 2 ITMKL0 R/W Resource name Initial value 00000000B 2 I C Interface 0 11111111B ITMKH0 R/W 00111111B 2 ISBA0 R/W 00000000B 2 ISMK0 R/W 01111111B 2 IDAR0 R/W 00000000B 007976H I C 7-bit Slave Address Register 0 007977H I C 7-bit Slave Address Mask Register 0 007978H I C Data Register 0 007979H, 00797AH Reserved 00797BH I2C Clock Control Register 0 00797CH to 00797FH ICCR0 R/W I2C Interface 0 00011111B Reserved 007980H I2C Bus Status Register 1 IBSR1 R 00000000B 007981H I C Bus Control Register 1 IBCR1 W,R/W 00000000B 007982H ITBAL1 R/W 00000000B ITBAH1 R/W 2 007983H I2C 10-bit Slave Address Register 1 007984H I2C 10-bit Slave Address Mask 007985H Register 1 00000000B 2 I C Interface 1 ITMKL1 R/W ITMKH1 R/W 00111111B 007986H I2C 7-bit Slave Address Register 1 ISBA1 R/W 00000000B 007987H I2C 7-bit Slave Address Mask Register 1 ISMK1 R/W 01111111B IDAR1 R/W 00000000B 2 007988H I C Data Register 1 007989H, 00798AH 00798BH I2C Clock Control Register 1 00798CH to 0079C1H 0079C2H Clock Modulator Control Register 0079C3H to 0079DFH 11111111B Reserved ICCR1 R/W I2C Interface 1 00011111B R, R/W Clock Modulator 0001X000B Reserved CMCR Reserved (Continued) 37 MB90340E Series (Continued) Address Register Abbreviation Access Resource name 0079E0H Detect Address Setting 0 PADR0 R/W 0079E1H Detect Address Setting 0 PADR0 R/W 0079E2H Detect Address Setting 0 PADR0 R/W 0079E3H Detect Address Setting 1 PADR1 R/W Address Match 0079E4H Detect Address Setting 1 PADR1 R/W Detection 0 0079E5H Detect Address Setting 1 PADR1 R/W 0079E6H Detect Address Setting 2 PADR2 R/W 0079E7H Detect Address Setting 2 PADR2 R/W 0079E8H Detect Address Setting 2 PADR2 R/W 0079E9H to Reserved 0079EFH PADR3 R/W 0079F0H Detect Address Setting 3 0079F1H Detect Address Setting 3 PADR3 R/W 0079F2H Detect Address Setting 3 PADR3 R/W 0079F3H Detect Address Setting 4 PADR4 R/W Address Match 0079F4H Detect Address Setting 4 PADR4 R/W Detection 1 0079F5H Detect Address Setting 4 PADR4 R/W 0079F6H Detect Address Setting 5 PADR5 R/W 0079F7H Detect Address Setting 5 PADR5 R/W 0079F8H Detect Address Setting 5 PADR5 R/W 0079F9H to Reserved 0079FFH 007A00H to Reserved for CAN Controller 0. Refer to " CAN CONTROLLERS" 007AFFH 007B00H to Reserved for CAN Controller 0. Refer to " CAN CONTROLLERS" 007BFFH 007C00H to Reserved for CAN Controller 1. Refer to " CAN CONTROLLERS" 007CFFH 007D00H to Reserved for CAN Controller 1. Refer to " CAN CONTROLLERS" 007DFFH 007E00H to Reserved 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". 38 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 CAN1 000070H 000080H 000071H 000081H 000072H 000082H 000073H 000083H 000074H 000084H 000075H 000085H 000076H 000086H 000077H 000087H 000078H 000088H 000079H 000089H 00007AH 00008AH 00007BH 00008BH 00007CH 00008CH 00007DH 00008DH 00007EH 00008EH 00007FH 00008FH Register Abbreviation Access Initial Value Message Buffer Valid Register BVALR R/W 00000000B 00000000B Transmit Request Register TREQR R/W 00000000B 00000000B Transmit Cancel Register TCANR W 00000000B 00000000B Transmission Complete Register TCR R/W 00000000B 00000000B Receive Complete Register RCR R/W 00000000B 00000000B Remote Request Receiving Register RRTRR R/W 00000000B 00000000B Receive Overrun Register ROVRR R/W 00000000B 00000000B Reception Interrupt Enable Register RIER R/W 00000000B 00000000B 39 MB90340E Series List of Control Registers (2) Address 40 CAN0 CAN1 007B00H 007D00H 007B01H 007D01H 007B02H 007D02H 007B03H 007D03H 007B04H 007D04H 007B05H 007D05H 007B06H 007D06H 007B07H 007D07H 007B08H 007D08H 007B09H 007D09H 007B0AH 007D0AH 007B0BH 007D0BH 007B0CH 007D0CH 007B0DH 007D0DH 007B0EH 007D0EH 007B0FH 007D0FH 007B10H 007D10H 007B11H 007D11H 007B12H 007D12H 007B13H 007D13H 007B14H 007D14H 007B15H 007D15H 007B16H 007D16H 007B17H 007D17H 007B18H 007D18H 007B19H 007D19H 007B1AH 007D1AH 007B1BH 007D1BH Register Abbreviation Access Initial Value Control Status Register CSR R/W, W R/W, R 0XXXX0X1B 00XXX000B Last Event Indicator Register LEIR R/W 000X0000B XXXXXXXXB Receive And Transmit Error Counter RTEC R 00000000B 00000000B Bit Timing Register BTR R/W 11111111B X1111111B IDE Register IDER R/W XXXXXXXXB XXXXXXXXB Transmit RTR Register TRTRR R/W 00000000B 00000000B Remote Frame Receive Waiting Register RFWTR R/W XXXXXXXXB XXXXXXXXB Transmit Interrupt Enable Register TIER R/W 00000000B 00000000B 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 MB90340E Series List of Message Buffers (ID Registers) (1) Address CAN0 CAN1 007A00H to 007A1FH 007C00H to 007C1FH 007A20H 007C20H 007A21H 007C21H 007A22H 007C22H 007A23H 007C23H 007A24H 007C24H 007A25H 007C25H 007A26H 007C26H 007A27H 007C27H 007A28H 007C28H 007A29H 007C29H 007A2AH 007C2AH 007A2BH 007C2BH 007A2CH 007C2CH 007A2DH 007C2DH 007A2EH 007C2EH 007A2FH 007C2FH 007A30H 007C30H 007A31H 007C31H 007A32H 007C32H 007A33H 007C33H 007A34H 007C34H 007A35H 007C35H 007A36H 007C36H 007A37H 007C37H 007A38H 007C38H 007A39H 007C39H 007A3AH 007C3AH 007A3BH 007C3BH 007A3CH 007C3CH 007A3DH 007C3DH 007A3EH 007C3EH 007A3FH 007C3FH Register Abbreviation Access Initial Value GeneralPurpose RAM R/W XXXXXXXXB to XXXXXXXXB 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 41 MB90340E Series List of Message Buffers (ID Registers) (2) Address 42 CAN0 CAN1 007A40H 007C40H 007A41H 007C41H 007A42H 007C42H 007A43H 007C43H 007A44H 007C44H 007A45H 007C45H 007A46H 007C46H 007A47H 007C47H 007A48H 007C48H 007A49H 007C49H 007A4AH 007C4AH 007A4BH 007C4BH 007A4CH 007C4CH 007A4DH 007C4DH 007A4EH 007C4EH 007A4FH 007C4FH 007A50H 007C50H 007A51H 007C51H 007A52H 007C52H 007A53H 007C53H 007A54H 007C54H 007A55H 007C55H 007A56H 007C56H 007A57H 007C57H 007A58H 007C58H 007A59H 007C59H 007A5AH 007C5AH 007A5BH 007C5BH 007A5CH 007C5CH 007A5DH 007C5DH 007A5EH 007C5EH 007A5FH 007C5FH Register Abbreviation Access 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 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB ID Register 11 IDR11 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB ID Register 12 IDR12 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB ID Register 13 IDR13 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB ID Register 14 IDR14 R/W XXXXXXXXB XXXXXXXXB XXXXXXXXB XXXXXXXXB ID Register 15 IDR15 R/W XXXXXXXXB XXXXXXXXB MB90340E Series List of Message Buffers (DLC Registers and Data Registers) (1) Address CAN0 CAN1 007A60H 007C60H 007A61H 007C61H 007A62H 007C62H 007A63H 007C63H 007A64H 007C64H 007A65H 007C65H 007A66H 007C66H 007A67H 007C67H 007A68H 007C68H 007A69H 007C69H 007A6AH 007C6AH 007A6BH 007C6BH 007A6CH 007C6CH 007A6DH 007C6DH 007A6EH 007C6EH 007A6FH 007C6FH 007A70H 007C70H 007A71H 007C71H 007A72H 007C72H 007A73H 007C73H 007A74H 007C74H 007A75H 007C75H 007A76H 007C76H 007A77H 007C77H 007A78H 007C78H 007A79H 007C79H 007A7AH 007C7AH 007A7BH 007C7BH 007A7CH 007C7CH 007A7DH 007C7DH 007A7EH 007C7EH 007A7FH 007C7FH Register Abbreviation Access Initial Value DLC Register 0 DLCR0 R/W XXXXXXXXB DLC Register 1 DLCR1 R/W XXXXXXXXB DLC Register 2 DLCR2 R/W XXXXXXXXB DLC Register 3 DLCR3 R/W XXXXXXXXB DLC Register 4 DLCR4 R/W XXXXXXXXB DLC Register 5 DLCR5 R/W XXXXXXXXB DLC Register 6 DLCR6 R/W XXXXXXXXB DLC Register 7 DLCR7 R/W XXXXXXXXB DLC Register 8 DLCR8 R/W XXXXXXXXB DLC Register 9 DLCR9 R/W XXXXXXXXB DLC Register 10 DLCR10 R/W XXXXXXXXB DLC Register 11 DLCR11 R/W XXXXXXXXB DLC Register 12 DLCR12 R/W XXXXXXXXB DLC Register 13 DLCR13 R/W XXXXXXXXB DLC Register 14 DLCR14 R/W XXXXXXXXB DLC Register 15 DLCR15 R/W XXXXXXXXB 43 MB90340E Series List of Message Buffers (DLC Registers and Data Registers) (2) Address 44 Register Abbreviation Access Initial Value 007C80H to 007C87H Data Register 0 (8 bytes) DTR0 R/W XXXXXXXXB to XXXXXXXXB 007A88H to 007A8FH 007C88H to 007C8FH Data Register 1 (8 bytes) DTR1 R/W XXXXXXXXB to XXXXXXXXB 007A90H to 007A97H 007C90H to 007C97H Data Register 2 (8 bytes) DTR2 R/W XXXXXXXXB to XXXXXXXXB 007A98H to 007A9FH 007C98H to 007C9FH Data Register 3 (8 bytes) DTR3 R/W XXXXXXXXB to XXXXXXXXB 007AA0H to 007AA7H 007CA0H to 007CA7H Data Register 4 (8 bytes) DTR4 R/W XXXXXXXXB to XXXXXXXXB 007AA8H to 007AAFH 007CA8H to 007CAFH Data Register 5 (8 bytes) DTR5 R/W XXXXXXXXB to XXXXXXXXB 007AB0H to 007AB7H 007CB0H to 007CB7H Data Register 6 (8 bytes) DTR6 R/W XXXXXXXXB to XXXXXXXXB 007AB8H to 007ABFH 007CB8H to 007CBFH Data Register 7 (8 bytes) DTR7 R/W XXXXXXXXB to XXXXXXXXB 007AC0H to 007AC7H 007CC0H to 007CC7H Data Register 8 (8 bytes) DTR8 R/W XXXXXXXXB to XXXXXXXXB 007AC8H to 007ACFH 007CC8H to 007CCFH Data Register 9 (8 bytes) DTR9 R/W XXXXXXXXB to XXXXXXXXB 007AD0H to 007AD7H 007CD0H to 007CD7H Data Register 10 (8 bytes) DTR10 R/W XXXXXXXXB to XXXXXXXXB 007AD8H to 007ADFH 007CD8H to 007CDFH Data Register 11 (8 bytes) DTR11 R/W XXXXXXXXB to XXXXXXXXB 007AE0H to 007AE7H 007CE0H to 007CE7H Data Register 12 (8 bytes) DTR12 R/W XXXXXXXXB to XXXXXXXXB 007AE8H to 007AEFH 007CE8H to 007CEFH Data Register 13 (8 bytes) DTR13 R/W XXXXXXXXB to XXXXXXXXB CAN0 CAN1 007A80H to 007A87H MB90340E Series List of Message Buffers (DLC Registers and Data Registers) (3) Address Register Abbreviation Access Initial Value 007CF0H to 007CF7H Data Register 14 (8 bytes) DTR14 R/W XXXXXXXXB to XXXXXXXXB 007CF8H to 007CFFH Data Register 15 (8 bytes) DTR15 R/W XXXXXXXXB to XXXXXXXXB CAN0 CAN1 007AF0H to 007AF7H 007AF8H to 007AFFH 45 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 0000B0H CAN 1 RX / Input Capture 6 Y1 #13 FFFFC8H CAN 1 TX/NS / Input Capture 7 Y1 #14 FFFFC4H ICR01 0000B1H CAN 2 RX / I2C0 N #15 FFFFC0H CAN 2 TX/NS N #16 FFFFBCH ICR02 0000B2H 16-bit Reload Timer 0 Y1 0 #17 FFFFB8H 16-bit Reload Timer 1 Y1 1 #18 FFFFB4H ICR03 0000B3H 16-bit Reload Timer 2 Y1 2 #19 FFFFB0H 16-bit Reload Timer 3 Y1 #20 FFFFACH ICR04 0000B4H PPG 0/1/4/5 N #21 FFFFA8H PPG 2/3/6/7 N #22 FFFFA4H ICR05 0000B5H PPG 8/9/C/D N #23 FFFFA0H PPG A/B/E/F N #24 FFFF9CH ICR06 0000B6H Time Base Timer N #25 FFFF98H External Interrupt 0 to 3, 8 to 11 Y1 3 #26 FFFF94H ICR07 0000B7H Watch Timer N #27 FFFF90H External Interrupt 4 to 7, 12 to 15 Y1 4 #28 FFFF8CH ICR08 0000B8H A/D Converter Y1 5 #29 FFFF88H I/O Timer 0 / I/O Timer 1 N #30 FFFF84H ICR09 0000B9H Input Capture 4/5 / I2C1 Y1 6 #31 FFFF80H Output Compare 0/1/4/5 Y1 7 #32 FFFF7CH ICR10 0000BAH Input Capture 0 to 3 Y1 8 #33 FFFF78H Output Compare 2/3/6/7 Y1 9 #34 FFFF74H ICR11 0000BBH UART 0 RX Y2 10 #35 FFFF70H UART 0 TX Y1 11 #36 FFFF6CH ICR12 0000BCH UART 1 RX / UART 3 RX Y2 12 #37 FFFF68H UART 1 TX / UART 3 TX Y1 13 #38 FFFF64H ICR13 0000BDH Interrupt cause Interrupt vector (Continued) 46 MB90340E Series (Continued) EI2OS Support DMA channel number Number Address UART 2 RX / UART 4 RX Y2 14 #39 FFFF60H UART 2 TX / UART 4 TX Y1 15 #40 FFFF5CH Flash Memory N #41 FFFF58H Delayed Interrupt N #42 FFFF54H Interrupt cause Interrupt vector Interrupt control register Number Address ICR14 0000BEH ICR15 0000BFH Y1 : Usable Y2 : Usable, with EI2OS stop function N : Unusable Notes : * The peripheral resources sharing the ICR register have the same interrupt level. * When two peripheral resources share the ICR register, only one can use 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. 47 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 VI VSS - 0.3 VSS + 6.0 V *3 VO VSS - 0.3 VSS + 6.0 V *3 ICLAMP -4.0 +4.0 mA *5 |ICLAMP| 40 mA *5 IOL 15 mA *4 "L" level average output current IOLAV 4 mA *4 "L" level maximum overall output current IOL 100 mA *4 "L" level average overall output current IOLAV 50 mA *4 IOH -15 mA *4 "H" level average output current IOHAV -4 mA *4 "H" level maximum overall output current IOH -100 mA *4 "H" level average overall output current IOHAV -50 mA *4 Power consumption PD 340 mW MB90F347E Operating temperature TA -40 +105 C TSTG -55 +150 C Power supply voltage*1 Input voltage*1 Output 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) 48 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. 49 MB90340E Series 2. Recommended Operating Conditions (VSS = AVSS = 0 V) Parameter Symbol Power supply voltage VCC, AVCC Value Unit Remarks Min Typ Max 4.0 5.0 5.5 V Under normal operation 3.5 5.0 5.5 V Under normal operation, when not using the A/D converter and not Flash programming. 4.5 5.0 5.5 V When External bus is used. 3.0 5.5 V Maintains RAM data in stop mode 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. 50 MB90340E Series 3. DC Characteristics (TA = -40 C to +105 C, VCC = 5.0 V 10%, fCP 24 MHz, VSS = AVSS = 0 V) Parameter Input H voltage (At VCC = 5 V 10%) Input L voltage (At VCC = 5 V 10%) Symbol Pin Condition Value Min Typ Max Unit Remarks VIHS 0.8 VCC VCC + 0.3 V Port inputs if CMOS hysteresis input levels are selected (except P12, P44, P45, P46, P47, P50, P82, P83) 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 VCC + 0.3 V RST input pin (CMOS hysteresis) VIHM VCC - 0.3 VCC + 0.3 V MD input pin VILS VSS - 0.3 0.2 VCC V Port inputs if CMOS hysteresis input levels are selected (except P12, P44, P45, P46, P47, P50, P82, P83) VILA VSS - 0.3 0.5 VCC V Port inputs if Automotive input levels are selected VILT VSS - 0.3 0.8 V Port inputs if TTL input levels are selected VILS VSS - 0.3 0.3 VCC V P12, P50, P82, P85 inputs if CMOS input levels are selected VILI VSS - 0.3 0.3 VCC V P44, P45, P46, P47 inputs if CMOS hysteresis input levels are selected VILR VSS - 0.3 0.2 VCC V RST input pin (CMOS hysteresis) VILM VSS - 0.3 VSS + 0.3 V MD input pin Output H voltage VOH Normal outputs VCC = 4.5 V, VCC - 0.5 IOH = -4.0 mA V Output H voltage VOHI I2C current VCC = 4.5 V, VCC - 0.5 outputs IOH = -3.0 mA V Output L voltage VOL Normal outputs VCC = 4.5 V, IOL = 4.0 mA 0.4 V Output L voltage VOLI I2C current VCC = 4.5 V, outputs IOL = 3.0 mA 0.4 V (Continued) 51 MB90340E Series (Continued) Parameter Input leak current Pull-up resistance Pull-down resistance (TA = -40 C to +105 C, VCC = 5.0 V 10%, fCP 24 MHz, VSS = AVSS = 0 V) Symbol IIL RUP RDOWN Pin P00 to P07, P10 to P17, P20 to P27, P30 to P37, RST VCC VCC = 5.0 V, Internal frequency : 24 MHz, At normal operation. VCC = 5.0 V, Internal frequency : 24 MHz, At writing Flash memory. VCC = 5.0 V, Internal frequency : 24 MHz, At erasing Flash memory. VCC = 5.0 V, Internal frequency : 24 MHz, In Sleep mode. VCC = 5.0 V, Internal frequency : 2 MHz, In Main Timer mode VCC = 5.0 V, Internal frequency : 24 MHz, In PLL Timer mode, external frequency = 4 MHz VCC = 5.0 V Internal frequency : 8 kHz, In sub operation TA = +25C VCC = 5.0 V Internal frequency : 8 kHz, In sub sleep TA = +25C VCC = 5.0 V Internal frequency : 8 kHz, In watch mode TA = +25C VCC = 5.0 V, In Stop mode, TA = +25C ICTS ICCL ICCLS ICCT ICCH Input capacitance CIN ICCS ICTSPLL6 VCC = 5.5 V, VSS < VI < VCC MD2 ICC Power supply current* Condition Other than C, AVCC, AVSS, AVRH, AVRL, VCC, VSS * : The power supply current is measured with an external clock. 52 Min -1 25 Value Typ Max +1 50 Unit Remarks A 100 k 25 50 100 Except Flash k memory devices 55 70 mA 70 85 75 90 25 35 mA 0.3 0.8 mA 4 7 mA 70 140 A 20 50 A 10 35 A 7 25 A 5 15 pF Flash mA memory devices Flash mA memory devices MB90340E Series 4. AC Characteristics (1) Clock Timing (TA = -40 C to +105 C, VCC = 5.0 V 10%, fCP 24 MHz, VSS = AVSS = 0 V) Parameter Symbol Pin Value Unit Remarks Min Typ Max X0, X1 3 16 MHz When using an oscillation circuit X0, X1 3 24 MHz When using an external clock* X0A, X1A -- 32.768 100 kHz X0, X1 62.5 333 ns When using an oscillation circuit X0, X1 41.67 333 ns When using an external clock tCYLL X0A, X1A 10 30.5 -- s PWH, PWL X0 10 ns PWHL, PWLL X0A 5 15.2 s Duty ratio is about 30% to 70%. Input clock rise and fall time tCR, tCF X0 5 ns When using external clock Internal operating clock frequency (machine clock) fCP 1.5 24 MHz When using main clock fCPL 8.192 50 kHz When using sub clock tCP 41.67 666 ns When using main clock tCPL 20 122.1 s When using sub clock fC Clock frequency fCL tCYL Clock cycle time Input clock pulse width Internal operating clock cycle time (machine clock) * : When selecting the PLL clock, the range of clock frequency is limited. Use this product within the range as mentioned in "Relation between the external clock frequency and machine clock frequency". Clock Timing tCYL 0.8 VCC X0 0.2 VCC PWH PWL tCF tCR tCYLL 0.8 VCC X0A 0.2 VCC PWHL PWLL tCF tCR 53 MB90340E Series Guaranteed PLL operation range Guaranteed operation range Power supply voltage VCC (V) 5.5 Guaranteed A/D Converter operation range 4.0 3.5 Guaranteed PLL operation range 1.5 24 4 Machine clock fCP (MHz) Guaranteed operation range of MB90340E series Guaranteed oscillation frequency range x6 Internal clock fCP (MHz) 24 x4 x3 x2 x1 16 x 1/2 (PLL off) 12 8 4.0 1.5 3 4 8 12 16 24 External clock fC (MHz) * * : When using a crystal oscillator or ceramic oscillator, the maximum oscillation clock frequency is 16 MHz 54 MB90340E Series (2) Reset Standby Input (TA = -40 C to +105 C, VCC = 5.0 V 10%, fCP 24 MHz, VSS = AVSS = 0.0 V) Parameter Reset input time Symbol Pin tRSTL RST Value Unit Remarks Min Max 500 ns Under normal operation Oscillation time of oscillator* + 100 s ns In Stop mode, Sub Clock mode, Sub Sleep mode and Watch mode 100 s In Time Timer mode * : The oscillation time of the oscillator is the time it takes for the amplitude of the oscillations to reach 90%. For crystal oscillators, this time is between several ms and several tens of ms, for ceramic oscillators the time is between several hundred s and several ms, and for an external clock, the time is 0 ms. * Under normal operation: tRSTL RST 0.2 VCC 0.2 VCC * In Stop mode, Sub Clock mode, Sub Sleep mode, Watch mode: tRSTL RST 0.2 VCC X0 0.2 VCC 90% of amplitude Internal operation clock 100 s Oscillation time of oscillator Oscillation stabilization waiting time Instruction execution Internal reset 55 MB90340E Series (3) Power On Reset (TA = -40 C to +105 C, VCC = 5.0 V 10%, fCP 24 MHz, VSS = AVSS = 0.0 V) Parameter Symbol Pin Power on rise time tR VCC tOFF VCC Power off time Value Condition Unit Min Max 0.05 30 ms 1 ms Remarks Due to repetitive operation tR 2.7 V VCC 0.2 V 0.2 V 0.2 V tOFF If you change the power supply voltage too rapidly, a power on reset may occur. We recommend that you startup smoothly by restraining voltages when changing the power supply voltage during operation, as shown in the figure below. Perform while not using the PLL clock. However, if voltage drops are within 1 V/s, you can operate while using the PLL clock. VCC We recommend a rise of 50 mV/ms maximum. 3V Holds RAM data VSS (4) Clock Output Timing (TA = -40 C to +105 C, VCC = 5.0 V 10%, VSS = 0.0 V, fCP 24 MHz) Parameter Symbol Pin Condition Cycle time tCYC CLK CLK CLK tCHCL CLK Value Unit Max 62.5 ns fCP = 16 MHz 41.76 ns fCP = 24 MHz 20 ns fCP = 16 MHz 13 ns fCP = 24 MHz tCYC tCHCL CLK 2.4 V 2.4 V 0.8 V 56 Remarks Min MB90340E Series (5) Bus Timing (Read) Parameter (TA = -40 C to +105 C, VCC = 5.0 V 10%, VSS = 0.0 V, fCP 24 MHz) Value Symbol Pin Condition Unit Min Max ALE pulse width tLHLL ALE tCP/2 - 10 ns Valid address ALE time tAVLL ALE, A23 to A16, AD15 to AD00 tCP/2 - 20 ns ALE Address valid time tLLAX ALE, AD15 to AD00 tCP/2 - 15 ns Valid address RD time tAVRL A23 to A16, AD15 to AD00, RD tCP - 15 ns Valid address Valid data input tAVDV A23 to A16, AD15 to AD00 5 tCP/2 - 60 ns RD pulse width tRLRH RD 3 tCP/2 - 20 ns RD Valid data input tRLDV RD, AD15 to AD00 3 tCP/2 - 50 ns RD Data hold time tRHDX RD, AD15 to AD00 0 ns RD ALE time tRHLH RD, ALE tCP/2 - 15 ns RD Address valid time tRHAX RD, A23 to A16 tCP/2 - 10 ns Valid address CLK time tAVCH A23 to A16, AD15 to AD00, CLK tCP/2 - 16 ns RD CLK time tRLCH RD, CLK tCP/2 - 15 ns ALE RD time tLLRL ALE, RD tCP/2 - 15 ns tRLCH tAVCH 2.4 V CLK 2.4 V tLLAX tAVLL ALE 2.4 V tRHLH 2.4 V 2.4 V 0.8 V tLHLL tAVRL tRLRH 2.4 V RD 0.8 V tLLRL tRHAX A23 to A16 2.4 V 2.4 V 0.8 V 0.8 V tRLDV tRHDX tAVDV AD15 to AD00 2.4 V 0.8 V 2.4 V Address 0.8 V VIH VIL VIH Read data VIL 57 MB90340E Series (6) Bus Timing (Write) (TA = -40 C to +105 C, VCC = 5.0 V 10%, VSS = 0.0 V, fCP 24 MHz) Value Symbol Pin Condition Unit Min Max Parameter Valid address WR time tAVWL A23 to A16, AD15 to AD00, WR tCP-15 ns WR pulse width tWLWH WR 3 tCP/2 - 20 ns Valid data output WR time tDVWH AD15 to AD00, WR 3 tCP/2 - 20 ns WR Data hold time tWHDX AD15 to AD00, WR 15 ns WR Address valid time tWHAX A23 to A16, WR tCP/2 - 10 ns WR ALE time tWHLH WR, ALE tCP/2 - 15 ns WR CLK time tWLCH WR, CLK tCP/2 - 15 ns tWLCH 2.4 V CLK tWHLH 2.4 V ALE tAVWL tWLWH WR (WRL, WRH) 2.4 V 0.8 V tWHAX A23 to A16 2.4 V 2.4 V 0.8 V 0.8 V tDVWH AD15 to AD00 2.4 V 0.8 V 58 2.4 V 2.4 V Address 0.8 V tWHDX Write data 0.8 V MB90340E Series (7) Ready Input Timing Parameter Symbol (TA = -40 C to +105 C, VCC = 5.0 V 10%, VSS = 0.0 V, fCP 24 MHz) Rated Value Test Pin Unit Remarks Condition Min Max RDY setup time tRYHS RDY RDY hold time tRYHH RDY 45 ns fCP = 16 MHz 32 ns fCP = 24 MHz 0 ns Note : If the RDY setup time is insufficient, use the auto-ready function. 2.4 V CLK ALE RD/WR RDY When WAIT is not used. RDY When WAIT is used. tRYHS tRYHH VIH VIH VIL 59 MB90340E Series (8) Hold Timing Parameter (TA = -40 C to +105 C, VCC = 5.0 V 10%, VSS = 0.0 V, fCP 24 MHz) Value Symbol Pin Condition Unit Min Max Pin floating HAK time tXHAL HAK HAK time Pin valid time tHAHV HAK 30 tCP ns tCP 2 tCP ns Note : There is more than 1 cycle from when HRQ reads in until the HAK is changed. 2.4 V HAK 0.8 V tHAHV tXHAL Each pin 2.4 V 0.8 V 60 Hi-Z 2.4 V 0.8 V MB90340E Series (9) UART0/1/2/3/4 Parameter (TA = -40 C to +105 C, VCC = 5.0 V 10%, VSS = 0.0 V, fCP 24 MHz) Value Symbol Pin Condition Unit Min Max 8 tCP ns - 80 + 80 ns 100 ns SCK0 to SCK4, SIN0 to SIN4 60 ns tSHSL SCK0 to SCK4 4 tCP ns Serial clock "L" pulse width tSLSH SCK0 to SCK4 4 tCP ns SCK SOT delay time tSLOV SCK0 to SCK4, SOT0 to SOT4 150 ns Valid SIN SCK tIVSH SCK0 to SCK4, SIN0 to SIN4 60 ns SCK Valid SIN hold time tSHIX SCK0 to SCK4, SIN0 to SIN4 60 ns Serial clock cycle time tSCYC SCK0 to SCK4 SCK SOT delay time tSLOV SCK0 to SCK4, SOT0 to SOT4 Valid SIN SCK tIVSH SCK0 to SCK4, SIN0 to SIN4 SCK Valid SIN hold time tSHIX Serial clock "H" pulse width Internal clock operation output pins are CL = 80 pF + 1 TTL External clock operation output pins are CL = 80 pF + 1 TTL Notes : * AC characteristic CLK synchronized mode. * CL is the value of the load capacitance applied to the pins during testing. Internal Shift Clock Mode tSCYC SCK0 to SCK4 2.4 V 0.8 V 0.8 V tSLOV SOT0 to SOT4 2.4 V 0.8 V tIVSH SIN0 to SIN4 tSHIX VIH VIH VIL VIL 61 MB90340E Series External Shift Clock Mode tSLSH SCK0 to SCK4 tSHSL VIH VIH VIL VIL tSLOV 2.4 V SOT0 to SOT4 0.8 V tIVSH SIN0 to SIN4 tSHIX VIH VIH VIL VIL (10) Trigger Input Timing Parameter Input pulse width Symbol tTRGH tTRGL (TA = -40 C to +105 C, VCC = 5.0 V 10%, fCP 24 MHz, VSS = 0.0 V) Value Pin Condition Unit Min Max INT0 to INT15, INT0R to INT15R, ADTG 62 5 tCP VIH VIH INT0 to INT15, INT0R to INT15R, ADTG VIL VIL tTRGH tTRGL ns MB90340E Series (11) Timer Related Resource Input Timing (TA = -40 C to +105 C, VCC = 5.0 V 10%, fCP 24 MHz, VSS = 0 V) Value Parameter Symbol Pin Condition Unit Min Max tTIWH Input pulse width TIN0 to TIN3, IN0 to IN7 tTIWL 4 tCP ns VIH VIH TIN0 to TIN3, IN0 to IN7 VIL VIL tTIWH tTIWL (12) Timer Related Resource Output Timing (TA = -40C to +105C, VCC = 5.0 V 10%, fCP 24 MHz, VSS = 0.0 V) Value Parameter Symbol Pin Condition Unit Min Max CLK TOUT change time CLK TOT0 to TOT3, PPG0 to PPGF tTO 30 ns 2.4 V 2.4 V TOT0 to TOT3, PPG0 to PPGF 0.8 V tTO 63 MB90340E Series (13) I2C Timing Parameter Symbol (TA = -40C to +105C, VCC = 5.0 V 10%, VSS = 0.0 V) Standard-mode Fast-mode*1 Condition Unit Min Max Min Max fSCL 0 100 0 400 kHz tHDSTA 4.0 0.6 s "L" width of the SCL clock tLOW 4.7 1.3 s "H" width of the SCL clock tHIGH 4.0 0.6 s Set-up time (repeated) START condition SCL SDA tSUSTA 4.7 0.6 s Data hold time SCL SDA tHDDAT 0 3.45*3 0 0.9*4 s Data set-up time SDA SCL tSUDAT 250 100 ns Set-up time for STOP condition SCL SDA tSUSTO 4.0 0.6 s tBUS 4.7 1.3 s SCL clock frequency Hold time (repeated) START condition SDA SCL Bus free time between a STOP and START condition R = 1.7 k, C = 50 pF*2 *1: For use at over 100 kHz, set the machine clock to at least 6 MHz. *2: R,C: Pull-up resistor and load capacitor of the SCL and SDA lines. *3: The maximum tHDDAT meets the requirement that it does not extend the "L" width (tLOW) of the SCL signal. *4: A Fast-mode I2C-bus device can be used in a Standard-mode I2C-bus system, but the requirement tSUDAT 250 ns must then be met. SDA tSUDAT tLOW tBUS tHDSTA SCL tHDSTA 64 tHDDAT tHIGH tSUSTA tSUSTO MB90340E Series 5. A/D Converter (TA = -40 C to +105 C, 3.0 V AVRH - AVRL, VCC = AVCC = 5.0 V 10%, fCP 24 MHz, VSS = AVSS = 0 V) Parameter Symbol Pin Resolution Total error Value Unit Min Typ Max 10 bit 3.0 LSB Nonlinearity error 2.5 LSB Differential nonlinearity error 1.9 LSB Zero reading voltage VOT AN0 to AN23 AVRL - 1.5 AVRL + 0.5 AVRL + 2.5 LSB Full scale reading voltage VFST AN0 to AN23 AVRH - 3.5 AVRH - 1.5 AVRH + 0.5 LSB Compare time Sampling time Analog port input current IAIN AN0 to AN23 Analog input voltage range VAIN Reference voltage range Power supply current 1.0 16500 s s -0.3 +0.3 A AN0 to AN23 AVRL AVRH V AVRH AVRL + 2.7 AVCC V AVRL 0 AVRH - 2.7 V IA AVCC 3.5 7.5 mA IAH AVCC 5 A 2.0 0.5 1.2 Reference voltage current IR AVRH 600 900 A IRH AVRH 5 A Offset between input channels AN0 to AN23 4 LSB Remarks 4.5 V AVCC 5.5 V 4.0 V AVCC < 4.5 V 4.5 V AVCC 5.5 V 4.0 V AVCC < 4.5 V * * *: If the A/D convertor is not operating, a current when CPU is stopped is applicable (VCC = AVCC = AVRH = 5.0 V) . Note: The accuracy gets worse as |AVRH - AVRL| becomes smaller. 65 MB90340E Series 6. Definition of A/D Converter Terms Resolution Non linearity error Differential linearity error Total error : Analog variation that is recognized by the A/D converter. : The deviation between the actual conversion characteristics and a line that joins the zero-transition line ( "00 0000 0000" "00 0000 0001" ) to the full-scale transition line ( "11 1111 1110" "11 1111 1111" ) . : Deviation of input voltage, which is required for changing output code by 1 LSB, from an ideal value. : Difference between the actual value and the ideal value. The total error includes zero transition error, full-scale transition error, and linear error. Total error 3FFH 3FEH Actual conversion characteristics 1.5 LSB Digital output 3FDH {1 LSB x (N - 1) + 0.5 LSB} 004H VNT (Actually-measured value) 003H Actual conversion characteristics Ideal characteristics 002H 001H 0.5 LSB AVRL AVRH Analog input VNT - {1 LSB x (N - 1) + 0.5 LSB} 1 LSB AVRH - AVRL 1 LSB (Ideal value) = [V] 1024 Total error of digital output "N" = [LSB] N : Value of the digital output from the A/D converter VOT (Ideal value) = AVRL + 0.5 LSB [V] VFST (Ideal value) = AVRH - 1.5 LSB [V] VNT : A voltage at which the digital output transitions from (N - 1)H to NH. (Continued) 66 MB90340E Series (Continued) Non linearity error Differential linearity error Ideal characteristics 3FFH Actual conversion characteristics {1 LSB x (N - 1) + VOT } Digital output 3FDH (N + 1)H VFST (actual measurement value) VNT (actual measurement value) 004H Digital output 3FEH Actual conversion characteristics 003H Actual conversion characteristics NH V (N + 1) T (actual measurement value) VNT (actual measurement value) (N - 1)H 002H Ideal characteristics Actual conversion characteristics (N - 2)H 001H VOT (actual measurement value) AVRL AVRH AVRL AVRH Analog input Analog input Non linearity error of digital output N = VNT - {1 LSB x (N - 1) + VOT} 1 LSB Differential linearity error of digital output N = 1 LSB = V (N+1) T - VNT 1 LSB VFST - VOT 1022 [LSB] -1 LSB [LSB] [V] N : Value of the digital output from the A/D converter VOT : Voltage at which digital output transits from "000H" to "001H." VFST : Voltage at which digital output transits from "3FEH" to "3FFH." 67 MB90340E Series 7. Notes on A/D Converter Section Use the device with external circuits of the following output impedance for analog inputs : Recommended output impedance of external circuits are : Approx. 1.5 k or lower (4.0 V AVCC 5.5 V, sampling period = 0.5 s) If an external capacitor is used, in consideration of the capacitive voltage dividing effect between the external capacitor and the internal on-chip capacitor, it is recommended that the capacitance of the external capacitor be several thousand times greater than the capacitance of the internal capacitor. If the output impedance of the external circuit is too high, a sampling period for an analog voltage may be insufficient. * Analog input circuit model Analog input R Comparator C 4.5 V AVCC 5.5 V : R =: 2.52 k, C =: 10.7 pF 4.0 V AVCC < 4.5 V : R =: 13.6 k, C =: 10.7 pF Note : Use the values in the figure only as a guideline. 68 MB90340E Series 8. Flash Memory Program/Erase Characteristics Parameter Conditions Sector erase time Chip erase time TA = +25 C VCC = 5.0 V Word (16-bit width) programming time Value Unit Remarks Min Typ Max 1 15 s Excludes programming prior to erasure 9 s Excludes programming prior to erasure 16 3600 s Except for the over head time of the system Program/Erase cycle 10000 cycle Flash Data Retention Time Average TA = +85 C 20 year * * : This value was converted from the results of evaluating the reliability of the technology (using Arrhenius equation to translate high temperature measurements into normalized value at +85 C) . 69 MB90340E Series EXAMPLE CHARACTERISTICS * MB90F346E, MB90F346ES, MB90F346CE, MB90F346CES ICC - VCC ICCL - VCC TA = +25 C, external clock operation f = Internal operation frequency TA = +25 C, external clock operation f = Internal operation frequency 100 90 80 70 60 50 40 30 20 10 0 70 60 ICC (mA) f = 20 MHz 40 f = 16 MHz f = 12 MHz f = 10 MHz f = 8 MHz f = 4 MHz f = 2 MHz 30 20 10 0 2.5 3.5 4.5 5.5 ICCL ( A) f = 24 MHz 50 6.5 f = 8 kHz 2.5 3.5 ICCS - VCC 30 ICCS (mA) f = 20 MHz 20 f = 16 MHz f = 12 MHz f = 10 MHz f = 8 MHz 15 10 5 ICCLS ( A) f = 24 MHz 25 f = 4 MHz f = 2 MHz 3.5 4.5 5.5 6.5 50 45 40 35 30 25 20 15 10 5 0 f = 8 kHz 2.5 3.5 ICCT - VCC TA = +25 C, external clock operation f = Internal operation frequency f = 2 MHz 200 150 ICCT ( A) ICTS ( A) 300 250 100 50 4.5 5.5 6.5 20 18 16 14 12 10 8 6 4 2 0 f = 8 kHz 2.5 3.5 VCC (V) 4.5 VCC (V) 70 5.5 6.5 TA = +25 C, stopped ICCH ( A) ICTSPLL6 (mA) f = 24 MHz 4.5 6.5 ICCH - VCC TA = +25 C, external clock operation f = Internal operation frequency 3.5 5.5 VCC (V) ICTSPLL6 - VCC 2.5 6.5 TA = +25 C, external clock operation f = Internal operation frequency 400 10 9 8 7 6 5 4 3 2 1 0 5.5 ICTS - VCC 350 3.5 4.5 VCC (V) VCC (V) 0 2.5 6.5 TA = +25 C, external clock operation f = Internal operation frequency 35 2.5 5.5 ICCLS - VCC TA = +25 C, external clock operation f = Internal operation frequency 0 4.5 VCC (V) VCC (V) 10 9 8 7 6 5 4 3 2 1 0 2.5 3.5 4.5 VCC (V) 5.5 6.5 MB90340E Series * MB90F347E, MB90F347ES, MB90F347CE, MB90F347CES ICC - VCC ICCL - VCC TA = +25 C, external clock operation f = Internal operation frequency TA = +25 C, external clock operation f = Internal operation frequency 100 90 80 70 60 50 40 30 20 10 0 70 60 ICC (mA) f = 20 MHz 40 f = 16 MHz f = 12 MHz f = 10 MHz f = 8 MHz f = 4 MHz f = 2 MHz 30 20 10 0 2.5 3.5 4.5 5.5 ICCL ( A) f = 24 MHz 50 6.5 f = 8 kHz 2.5 3.5 ICCS - VCC 30 ICCS (mA) f = 20 MHz 20 f = 16 MHz f = 12 MHz f = 10 MHz f = 8 MHz 15 10 5 ICCLS ( A) f = 24 MHz 25 f = 4 MHz f = 2 MHz 3.5 4.5 5.5 6.5 50 45 40 35 30 25 20 15 10 5 0 f = 8 kHz 2.5 3.5 ICCT - VCC TA = +25 C, external clock operation f = Internal operation frequency f = 2 MHz 200 150 ICCT ( A) 300 250 100 50 4.5 5.5 6.5 20 18 16 14 12 10 8 6 4 2 0 f = 8 kHz 2.5 3.5 VCC (V) 4.5 5.5 ICCH - VCC f = 24 MHz 3.5 4.5 VCC (V) 5.5 6.5 TA = +25 C, stopped ICCH ( A) ICTSPLL6 (mA) TA = +25 C, external clock operation f = Internal operation frequency 2.5 6.5 VCC (V) ICTSPLL6 - VCC 10 9 8 7 6 5 4 3 2 1 0 6.5 TA = +25 C, external clock operation f = Internal operation frequency 400 ICTS ( A) 5.5 ICTS - VCC 350 3.5 4.5 VCC (V) VCC (V) 0 2.5 6.5 TA = +25 C, external clock operation f = Internal operation frequency 35 2.5 5.5 ICCLS - VCC TA = +25 C, external clock operation f = Internal operation frequency 0 4.5 VCC (V) VCC (V) 10 9 8 7 6 5 4 3 2 1 0 2.5 3.5 4.5 5.5 6.5 VCC (V) 71 MB90340E Series * MB90F349E, MB90F349ES, MB90F349CE, MB90F349CES ICC - VCC ICCL - VCC TA = +25 C, external clock operation f = Internal operation frequency TA = +25 C, external clock operation f = Internal operation frequency 70 60 ICC (mA) f = 20 MHz f = 16 MHz 40 f = 12 MHz f = 10 MHz f = 8 MHz 30 20 f = 4 MHz f = 2 MHz 10 0 ICCL (A) f = 24 MHz 50 2.5 3.5 4.5 5.5 6.5 100 90 80 70 60 50 40 30 20 10 0 f = 8 kHz 2.5 3.5 ICCS - VCC f = 24 MHz 25 f = 20 MHz 20 f = 16 MHz 15 f = 12 MHz f = 10 MHz f = 8 MHz 10 5 ICCLS (A) ICCS (mA) 30 f = 4 MHz f = 2 MHz 0 4.5 5.5 50 45 40 35 30 25 20 15 10 5 0 f = 8 kHz 2.5 6.5 3.5 ICCT - VCC TA = +25 C, external clock operation f = Internal operation frequency f = 2 MHz 200 150 ICCT (A) ICTS (A) 300 250 100 50 4.5 5.5 6.5 20 18 16 14 12 10 8 6 4 2 0 f = 8 kHz 2.5 3.5 VCC (V) 4.5 4.5 72 5.5 6.5 TA = +25 C, stopped ICCH (A) ICTSPLL6 (mA) f = 24 MHz VCC (V) 6.5 ICCH - VCC TA = +25 C, external clock operation f = Internal operation frequency 3.5 5.5 VCC (V) ICTSPLL6 - VCC 2.5 6.5 TA = +25 C, external clock operation f = Internal operation frequency 400 10 9 8 7 6 5 4 3 2 1 0 5.5 ICTS - VCC 350 3.5 4.5 VCC (V) VCC (V) 0 2.5 6.5 TA = +25 C, external clock operation f = Internal operation frequency 35 3.5 5.5 ICCLS - VCC TA = +25 C, external clock operation f = Internal operation frequency 2.5 4.5 VCC (V) VCC (V) 10 9 8 7 6 5 4 3 2 1 0 2.5 3.5 4.5 VCC (V) 5.5 6.5 MB90340E Series * MB90F342E, MB90F342ES, MB90F342CE, MB90F342CES ICC - VCC ICCL - VCC TA = +25 C, external clock operation f = Internal operation frequency TA = +25 C, external clock operation f = Internal operation frequency 70 60 ICC (mA) f = 20 MHz f = 16 MHz 40 f = 12 MHz f = 10 MHz f = 8 MHz 30 20 f = 4 MHz f = 2 MHz 10 0 ICCL (A) f = 24 MHz 50 2.5 3.5 4.5 5.5 6.5 100 90 80 70 60 50 40 30 20 10 0 f = 8 kHz 2.5 3.5 ICCS - VCC f = 24 MHz 25 f = 20 MHz 20 f = 16 MHz 15 f = 12 MHz f = 10 MHz f = 8 MHz 10 5 ICCLS (A) ICCS (mA) 30 f = 4 MHz f = 2 MHz 0 4.5 5.5 50 45 40 35 30 25 20 15 10 5 0 f = 8 kHz 2.5 6.5 3.5 ICCT - VCC TA = +25 C, external clock operation f = Internal operation frequency f = 2 MHz 200 150 ICCT (A) ICTS (A) 300 250 100 50 4.5 5.5 6.5 20 18 16 14 12 10 8 6 4 2 0 f = 8 kHz 2.5 3.5 VCC (V) 4.5 4.5 5.5 6.5 TA = +25 C, stopped ICCH (A) ICTSPLL6 (mA) f = 24 MHz VCC (V) 6.5 ICCH - VCC TA = +25 C, external clock operation f = Internal operation frequency 3.5 5.5 VCC (V) ICTSPLL6 - VCC 2.5 6.5 TA = +25 C, external clock operation f = Internal operation frequency 400 10 9 8 7 6 5 4 3 2 1 0 5.5 ICTS - VCC 350 3.5 4.5 VCC (V) VCC (V) 0 2.5 6.5 TA = +25 C, external clock operation f = Internal operation frequency 35 3.5 5.5 ICCLS - VCC TA = +25 C, external clock operation f = Internal operation frequency 2.5 4.5 VCC (V) VCC (V) 10 9 8 7 6 5 4 3 2 1 0 2.5 3.5 4.5 5.5 6.5 VCC (V) 73 MB90340E Series * MB90F345E, MB90F345ES, MB90F345CE, MB90F345CES ICC - VCC ICCL - VCC TA = +25 C, external clock operation f = Internal operation frequency TA = +25 C, external clock operation f = Internal operation frequency 70 60 ICC (mA) f = 20 MHz f = 16 MHz 40 f = 12 MHz f = 10 MHz f = 8 MHz 30 20 f = 4 MHz f = 2 MHz 10 0 ICCL ( A) f = 24 MHz 50 2.5 3.5 4.5 5.5 100 90 80 70 60 50 40 30 20 10 0 6.5 f = 8 kHz 2.5 3.5 ICCS - VCC f = 24 MHz 25 f = 20 MHz 20 f = 16 MHz 15 f = 12 MHz f = 10 MHz f = 8 MHz 10 ICCLS ( A) ICCS (mA) 30 f = 4 MHz f = 2 MHz 5 0 4.5 5.5 50 45 40 35 30 25 20 15 10 5 0 6.5 f = 8 kHz 2.5 3.5 VCC (V) ICCT - VCC TA = +25 C, external clock operation f = Internal operation frequency f = 2 MHz 200 150 ICCT ( A) ICTS ( A) 300 100 50 4.5 5.5 6.5 20 18 16 14 12 10 8 6 4 2 0 f = 8 kHz 2.5 3.5 4.5 VCC (V) VCC (V) ICTSPLL6 - VCC ICCH - VCC f = 24 MHz 3.5 4.5 VCC (V) 74 5.5 6.5 5.5 6.5 TA = +25 C, stopped ICCH ( A) ICTSPLL6 (mA) TA = +25 C, external clock operation f = Internal operation frequency 2.5 6.5 TA = +25 C, external clock operation f = Internal operation frequency 250 10 9 8 7 6 5 4 3 2 1 0 5.5 ICTS - VCC 400 3.5 4.5 VCC (V) 350 0 2.5 6.5 TA = +25 C, external clock operation f = Internal operation frequency 35 3.5 5.5 ICCLS - VCC TA = +25 C, external clock operation f = Internal operation frequency 2.5 4.5 VCC (V) VCC (V) 10 9 8 7 6 5 4 3 2 1 0 2.5 3.5 4.5 VCC (V) 5.5 6.5 MB90340E Series * MB90346E, MB90346ES, MB90346CE, MB90346CES ICC - VCC ICCL - VCC TA = +25 C, external clock operation f = Internal operation frequency TA = +25 C, external clock operation f = Internal operation frequency 70 60 ICC (mA) f = 20 MHz f = 16 MHz 40 f = 12 MHz f = 10 MHz f = 8 MHz 30 20 f = 4 MHz f = 2 MHz 10 0 ICCL (A) f = 24 MHz 50 2.5 3.5 4.5 5.5 100 90 80 70 60 50 40 30 20 10 0 6.5 f = 8 kHz 2.5 3.5 ICCS - VCC 50 f = 24 MHz 25 f = 20 MHz 20 f = 16 MHz 15 f = 12 MHz f = 10 MHz f = 8 MHz 10 f = 4 MHz 5 ICCLS (A) ICCS (mA) 30 f = 2 MHz 2.5 3.5 4.5 5.5 6.5 45 40 35 30 25 20 15 10 5 0 f = 8 kHz 2.5 3.5 VCC (V) ICCT - VCC TA = +25 C, external clock operation f = Internal operation frequency f = 2 MHz 200 150 ICCT (A) 300 100 50 4.5 5.5 6.5 20 18 16 14 12 10 8 6 4 2 0 f = 8 kHz 2.5 3.5 4.5 VCC (V) VCC (V) ICTSPLL6 - VCC ICCH - VCC 5.5 f = 24 MHz 3.5 4.5 VCC (V) 5.5 6.5 6.5 TA = +25 C, stopped ICCH (A) ICTSPLL6 (mA) TA = +25 C, external clock operation f = Internal operation frequency 2.5 6.5 TA = +25 C, external clock operation f = Internal operation frequency 250 3.5 5.5 ICTS - VCC 400 0 2.5 4.5 VCC (V) 350 10 9 8 7 6 5 4 3 2 1 0 6.5 TA = +25 C, external clock operation f = Internal operation frequency 35 ICTS (A) 5.5 ICCLS - VCC TA = +25 C, external clock operation f = Internal operation frequency 0 4.5 VCC (V) VCC (V) 10 9 8 7 6 5 4 3 2 1 0 2.5 3.5 4.5 5.5 6.5 VCC (V) 75 MB90340E Series * MB90347E, MB90347ES, MB90347CE, MB90347CES ICC - VCC ICCL - VCC TA = +25 C, external clock operation f = Internal operation frequency TA = +25 C, external clock operation f = Internal operation frequency 70 60 ICC (mA) f = 20 MHz f = 16 MHz 40 f = 12 MHz f = 10 MHz f = 8 MHz 30 20 f = 4 MHz f = 2 MHz 10 0 ICCL (A) f = 24 MHz 50 2.5 3.5 4.5 5.5 100 90 80 70 60 50 40 30 20 10 0 6.5 f = 8 kHz 2.5 3.5 ICCS - VCC 50 f = 24 MHz 25 f = 20 MHz 20 f = 16 MHz 15 f = 12 MHz f = 10 MHz f = 8 MHz f = 4 MHz 5 ICCLS (A) ICCS (mA) 30 10 f = 2 MHz 2.5 3.5 4.5 5.5 6.5 45 40 35 30 25 20 15 10 5 0 f = 8 kHz 2.5 3.5 VCC (V) ICCT - VCC TA = +25 C, external clock operation f = Internal operation frequency f = 2 MHz 200 150 ICCT (A) ICTS (A) 300 100 50 4.5 5.5 6.5 20 18 16 14 12 10 8 6 4 2 0 f = 8 kHz 2.5 3.5 4.5 VCC (V) VCC (V) ICTSPLL6 - VCC ICCH - VCC f = 24 MHz 3.5 4.5 VCC (V) 5.5 6.5 5.5 6.5 TA = +25 C, stopped ICCH (A) ICTSPLL6 (mA) TA = +25 C, external clock operation f = Internal operation frequency 2.5 6.5 ICTS - VCC 250 3.5 5.5 TA = +25 C, external clock operation f = Internal operation frequency 400 0 2.5 4.5 VCC (V) 350 76 6.5 TA = +25 C, external clock operation f = Internal operation frequency 35 10 9 8 7 6 5 4 3 2 1 0 5.5 ICCLS - VCC TA = +25 C, external clock operation f = Internal operation frequency 0 4.5 VCC (V) VCC (V) 10 9 8 7 6 5 4 3 2 1 0 2.5 3.5 4.5 VCC (V) 5.5 6.5 MB90340E Series * I/O characteristics (VCC-VOH) - IOH VOL - IOL TA = +25 C, VCC = 4.5 V TA = +25 C, VCC = 4.5 V 800 600 VOL (mV) VCC VOH (mV) 700 500 400 300 200 100 0 0 1 2 3 4 5 7 6 8 9 1000 900 800 700 600 500 400 300 200 100 0 10 0 1 2 3 Automotive VIN - VCC VIN (V) VIN (V) 3.0 3.5 4.0 4.5 5.0 6 5.5 6.0 6.5 7.0 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0.0 2.5 3.0 3.5 4.0 4.5 5.0 4.0 4.5 5.0 VCC (V) 6.0 6.5 7.0 UART-SIN pin, I2C pin TA = +25 C VIN (V) VIN (V) 5.5 CMOS VIN - VCC VIHT VILT 3.5 10 VCC (V) TA = +25 C 3.0 9 VILS TTL VIN - VCC 2.5 8 VIHS VCC (V) 2.5 2.3 2.0 1.8 1.5 1.3 1.0 0.8 0.5 0.3 0.0 7 Other than UART-SIN pin and I2C pin TA = +25 C VIHA VILA 2.5 5 CMOS VIN - VCC TA = +25 C 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0.0 4 IOL (mA) IOH (mA) 5.5 6.0 6.5 7.0 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0.0 VIHS VILS 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 6.5 7.0 VCC (V) 77 MB90340E Series ORDERING INFORMATION Part number Package Remarks MB90F342EPF MB90F342ESPF MB90F342CEPF 100-pin plastic QFP (FPT-100P-M06) MB90F342CESPF MB90F342EPFV MB90F342ESPFV MB90F342CEPFV 100-pin plastic LQFP (FPT-100P-M05) MB90F342CESPFV MB90F343EPF MB90F343ESPF MB90F343CEPF 100-pin plastic QFP (FPT-100P-M06) MB90F343CESPF MB90F343EPFV MB90F343ESPFV MB90F343CEPFV 100-pin plastic LQFP (FPT-100P-M05) MB90F343CESPFV MB90F345EPF MB90F345ESPF MB90F345CEPF 100-pin plastic QFP (FPT-100P-M06) MB90F345CESPF MB90F345EPFV MB90F345ESPFV MB90F345CEPFV 100-pin plastic LQFP (FPT-100P-M05) MB90F345CESPFV MB90F346EPF MB90F346ESPF MB90F346CEPF 100-pin plastic QFP (FPT-100P-M06) MB90F346CESPF MB90F346EPFV MB90F346ESPFV MB90F346CEPFV 100-pin plastic LQFP (FPT-100P-M05) MB90F346CESPFV (Continued) 78 MB90340E Series Part number Package Remarks MB90F347EPF MB90F347ESPF MB90F347CEPF 100-pin plastic QFP (FPT-100P-M06) MB90F347CESPF MB90F347EPFV MB90F347ESPFV MB90F347CEPFV 100-pin plastic LQFP (FPT-100P-M05) MB90F347CESPFV MB90F349EPF MB90F349ESPF MB90F349CEPF 100-pin plastic QFP (FPT-100P-M06) MB90F349CESPF MB90F349EPFV MB90F349ESPFV MB90F349CEPFV 100-pin plastic LQFP (FPT-100P-M05) MB90F349CESPFV MB90341EPF MB90341ESPF MB90341CEPF 100-pin plastic QFP (FPT-100P-M06) MB90341CESPF MB90341EPFV MB90341ESPFV MB90341CEPFV 100-pin plastic LQFP (FPT-100P-M05) MB90341CESPFV MB90342EPF MB90342ESPF MB90342CEPF 100-pin plastic QFP (FPT-100P-M06) MB90342CESPF MB90342EPFV MB90342ESPFV MB90342CEPFV 100-pin plastic LQFP (FPT-100P-M05) MB90342CESPFV (Continued) 79 MB90340E Series (Continued) Part number Package Remarks MB90346EPF MB90346ESPF MB90346CEPF 100-pin plastic QFP (FPT-100P-M06) MB90346CESPF MB90346EPFV MB90346ESPFV MB90346CEPFV 100-pin plastic LQFP (FPT-100P-M05) MB90346CESPFV MB90347EPF MB90347ESPF MB90347CEPF 100-pin plastic QFP (FPT-100P-M06) MB90347CESPF MB90347EPFV MB90347ESPFV MB90347CEPFV 100-pin plastic LQFP (FPT-100P-M05) MB90347CESPFV MB90348EPF MB90348ESPF MB90348CEPF 100-pin plastic QFP (FPT-100P-M06) MB90348CESPF MB90348EPFV MB90348ESPFV MB90348CEPFV 100-pin plastic LQFP (FPT-100P-M05) MB90348CESPFV MB90349EPF MB90349ESPF MB90349CEPF 100-pin plastic QFP (FPT-100P-M06) MB90349CESPF MB90349EPFV MB90349ESPFV MB90349CEPFV 100-pin plastic LQFP (FPT-100P-M05) MB90349CESPFV MB90V340E-101 MB90V340E-102 80 299-pin ceramic PGA (PGA-299C-A01) For evaluation MB90340E Series PACKAGE DIMENSIONS 100-pin plastic LQFP Lead pitch 0.50 mm Package width x package length 14.0 x 14.0 mm Lead shape Gullwing Sealing method Plastic mold Mounting height 1.70 mm MAX Weight 0.65g Code (Reference) P-LFQFP100-14x14-0.50 (FPT-100P-M05) 100-pin plastic LQFP (FPT-100P-M05) Note 1) * : These dimensions do not include resin protrusion. Note 2) Pins width and pins thickness include plating thickness. Note 3) Pins width do not include tie bar cutting remainder. 16.000.20(.630.008)SQ * 14.000.10(.551.004)SQ 75 51 76 50 0.08(.003) Details of "A" part +0.20 100 26 1 25 C 0.200.05 (.008.002) 0.08(.003) M 0.100.10 (.004.004) (Stand off) 0~8 "A" 0.50(.020) +.008 1.50 -0.10 .059 -.004 (Mounting height) INDEX 0.1450.055 (.0057.0022) 2003 FUJITSU LIMITED F100007S-c-4-6 0.500.20 (.020.008) 0.600.15 (.024.006) 0.25(.010) Dimensions in mm (inches). Note: The values in parentheses are reference values. Please confirm the latest Package dimension by following URL. http://edevice.fujitsu.com/fj/DATASHEET/ef-ovpklv.html (Continued) 81 MB90340E Series (Continued) 100-pin plastic QFP Lead pitch 0.65 mm Package width x package length 14.00 x 20.00 mm Lead shape Gullwing Sealing method Plastic mold Mounting height 3.35 mm MAX Code (Reference) P-QFP100-14x20-0.65 (FPT-100P-M06) 100-pin plastic QFP (FPT-100P-M06) Note 1) * : These dimensions do not include resin protrusion. Note 2) Pins width and pins thickness include plating thickness. Note 3) Pins width do not include tie bar cutting remainder. 23.900.40(.941.016) * 20.000.20(.787.008) 80 51 81 50 0.10(.004) 17.900.40 (.705.016) *14.000.20 (.551.008) INDEX Details of "A" part 100 1 30 0.65(.026) 0.320.05 (.013.002) 0.13(.005) M "A" C 2002 FUJITSU LIMITED F100008S-c-5-5 Please confirm the latest Package dimension by following URL. http://edevice.fujitsu.com/fj/DATASHEET/ef-ovpklv.html 82 0.25(.010) +0.35 3.00 -0.20 +.014 .118 -.008 (Mounting height) 0~8 31 0.170.06 (.007.002) 0.800.20 (.031.008) 0.880.15 (.035.006) 0.250.20 (.010.008) (Stand off) Dimensions in mm (inches). Note: The values in parentheses are reference values. MB90340E Series MAIN CHANGES IN THIS EDITION Page Section Change Results 3 FEATURES Added a description of the "* Clock modulation circuit". 37 I/O MAP Changed the row 0079C2H 38 Address 007E00H to 007FFFH Changed as follows; Reserved for CAN Controller 2. Refer to " CAN CONTROLLERS" Reserved CAN CONTROLLERS Deleted the address of CAN2 39 to 45 The vertical lines marked in the left side of the page show the changes. 83 MB90340E Series The information for microcontroller supports is shown in the following homepage. http://www.fujitsu.com/global/services/microelectronics/product/micom/support/index.html FUJITSU LIMITED All Rights Reserved. The contents of this document are subject to change without notice. Customers are advised to consult with FUJITSU sales representatives before ordering. The information, such as descriptions of function and application circuit examples, in this document are presented solely for the purpose of reference to show examples of operations and uses of Fujitsu semiconductor device; Fujitsu does not warrant proper operation of the device with respect to use based on such information. When you develop equipment incorporating the device based on such information, you must assume any responsibility arising out of such use of the information. Fujitsu assumes no liability for any damages whatsoever arising out of the use of the information. Any information in this document, including descriptions of function and schematic diagrams, shall not be construed as license of the use or exercise of any intellectual property right, such as patent right or copyright, or any other right of Fujitsu or any third party or does Fujitsu warrant non-infringement of any third-party's intellectual property right or other right by using such information. Fujitsu assumes no liability for any infringement of the intellectual property rights or other rights of third parties which would result from the use of information contained herein. The products described in this document are designed, developed and manufactured as contemplated for general use, including without limitation, ordinary industrial use, general office use, personal use, and household use, but are not designed, developed and manufactured as contemplated (1) for use accompanying fatal risks or dangers that, unless extremely high safety is secured, could have a serious effect to the public, and could lead directly to death, personal injury, severe physical damage or other loss (i.e., nuclear reaction control in nuclear facility, aircraft flight control, air traffic control, mass transport control, medical life support system, missile launch control in weapon system), or (2) for use requiring extremely high reliability (i.e., submersible repeater and artificial satellite). Please note that Fujitsu will not be liable against you and/or any third party for any claims or damages arising in connection with above-mentioned uses of the products. Any semiconductor devices have an inherent chance of failure. You must protect against injury, damage or loss from such failures by incorporating safety design measures into your facility and equipment such as redundancy, fire protection, and prevention of over-current levels and other abnormal operating conditions. If any products described in this document represent goods or technologies subject to certain restrictions on export under the Foreign Exchange and Foreign Trade Law of Japan, the prior authorization by Japanese government will be required for export of those products from Japan. The company names and brand names herein are the trademarks or registered trademarks of their respective owners. Edited Business Promotion Dept. F0706