MB90340E Series
F
2
MC-16LX 16-bit Microcontroller
Datasheet
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.
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
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)
Address match detection (program patch) func-
tion
Detects address matches against 6 address pointers
Timer
Time-base timer, watch timer, watchdog timer : 1 channel
8/16-bit PPG timer : 8-bit
16 channels, or 16-bit
8
channels
16-bit reload timer : 4 channels
16-bit input/output timer
- 16-bit free-run timer : 2 channels
(FRT0 : ICU 0/1/2/3, OCU 0/1/2/3, FRT1 : ICU 4/5/6/7, OCU 4/
5/6/7)
- 16-bit input capture: (ICU): 8 channels
- 16-bit output compare: (OCU): 8 channels
Serial interface
LIN-UART : 4 channels
- Equipped with full-duplex double buffer
- Clock-asynchronous or clock-synchronous serial transmission
is available
I
2
C interface : 2 channels (only for devices with a C suffix in
the part number)
- Up to 400 kbps transfer rate
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
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 (EI
2
OS) : up to 16
channels
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 watch
timer only)
Stop mode (a mode that stops oscillation clock and sub
clock)
CPU intermittent operation mode
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)
Clock modulation circuit
Technology
CMOS technology
Cypress Semiconductor Corporation
Document Number: 002-04498 Rev. *A
•
198 Champion Court
•
San Jose
,
CA 95134-1709
•
408-943-2600
Revised May 4, 2016
MB90340E Series
Contents
Product Lineup ................................................................ 3
Pin Assignments .............................................................. 6
Pin Description ............................................................... 12
I/O Circuit Type ............................................................... 19
Handling Devices ............................................................ 23
Block Diagrams .............................................................. 26
Memory Map .................................................................... 28
I/O Map ............................................................................ 30
CAN Controllers .............................................................. 41
Interrupt Factors, Interrupt Vectors,
Interrupt Control Register .............................................. 48
Electrical Characteristics ............................................... 50
Absolute Maximum Ratings ....................................... 50
Recommended Operating Conditions ....................... 52
DC Characteristics .................................................... 53
AC Characteristics ..................................................... 55
Clock Timing .............................................................. 55
Reset Standby Input .................................................. 58
Power On Reset ........................................................ 59
Clock Output Timing .................................................. 59
Bus Timing (Read) .................................................... 60
Bus Timing (Write) ..................................................... 61
Ready Input Timing ................................................... 62
Hold Timing ............................................................... 63
LIN-UART0/1/2/3 ....................................................... 64
Trigger Input Timing .................................................. 69
Timer Related Resource Input Timing ....................... 70
Timer Related Resource Output Timing .................... 70
I2C Timing ................................................................. 71
A/D Converter ............................................................ 72
Definition of A/D Converter Terms ........................... 73
Notes on A/D Converter Section ............................... 74
Flash Memory Program/Erase Characteristics ......... 76
Example Characteristics ................................................ 77
Ordering Information ...................................................... 86
Package Dimensions ...................................................... 89
Major Changes ................................................................ 91
Document Number: 002-04498 Rev. *A
Page 2 of 92
MB90340E Series
1. Product Lineup
Part Number
MB90V340E-101,
MB90V340E-102
MB90F342E(S), MB90F342CE(S),
MB90F345E(S), MB90F345CE(S),
MB90F346E(S), MB90F346CE(S),
MB90F347E(S), MB90F347CE(S),
MB90F349E(S), MB90F349CE(S)
Flash memory products
Parameter
Type
CPU
System clock
Evaluation products
F
2
MC-16LX CPU
MB90341E(S), MB90341CE(S),
MB90342E(S), MB90342CE(S),
MB90346E(S), MB90346CE(S),
MB90347E(S), MB90347CE(S),
MB90348E(S), MB90348CE(S),
MB90349E(S), MB90349CE(S)
MASK ROM products
On-chip PLL clock multiplier (
1,
2,
3,
4,
6, 1/2 when PLL stops)
Minimum instruction execution time : 42 ns (4 MHz osc. PLL
6)
512 Kbytes :
MB90F345E(S), MB90F345CE(S)
256 Kbytes :
MB90F342E(S), MB90F342CE(S),
MB90F349E(S), MB90F349CE(S)
128 Kbytes :
MB90F347E(S), MB90F347CE(S)
64 Kbytes :
MB90F346E(S), MB90F346CE(S)
20 Kbytes :
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)
256 Kbytes :
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)
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)
ROM
External
RAM
30 Kbytes
Emulator-specific power
supply*
Technology
Operating
voltage range
Temperature range
Package
Yes
0.35
m
CMOS with
regulator for built-in
power supply
5 V
10
0.35
m
CMOS with built-in power supply regulator
Flash memory with Charge pump for programming voltage
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
PGA-299
5 channels
40°C to
105°C
4 channels
QFP-100, LQFP-100
LIN-UART
Wide range of baud rate settings using a dedicated baud rate generator (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 :
I
2
C (400 kbps)
(Continued)
Document Number: 002-04498 Rev. *A
Page 3 of 92
MB90340E Series
Part Number
MB90V340E-101,
MB90V340E-102
Parameter
24 input channels
A/D Converter
MB90F342E(S), MB90F342CE(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)
: 24 channels
: 16 channels
Devices with a C suffix in the part number
Devices without a C suffix in the part number
10-bit or 8-bit resolution
Conversion time : Min 3
s
include sample time (per one channel)
Operation clock frequency : fsys/2
1
, fsys/2
3
, fsys/2
5
(fsys
½
Machine clock frequency)
Supports External Event Count function
Generates an interrupt signal on overflow
Supports Timer Clear when the output compare finds a match
Operation clock freq. : fsys, fsys/2
1
, fsys/2
2
, fsys/2
3
, fsys/2
4
, fsys/2
5
, fsys/2
6
, fsys/2
7
(fsys
½
Machine clock freq.)
Free-run Timer 0 (clock input FRCK0) corresponds to ICU 0/1/2/3, OCU 0/1/2/3
Free-run Timer 1 (clock input FRCK1) corresponds to ICU 4/5/6/7, OCU 4/5/6/7
Generates an interrupt signal when one of the 16-bit free-run timer matches the output compare register
A pair of compare registers can be used to generate an output signal.
Captures the value of the 16-bit free-run timer and generates an interrupt when triggered by a pin input (rising
edge, falling edge, or both rising and falling edges).
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/2
1
, fsys/2
2
, fsys/2
3
, fsys/2
4
or 128
s@fosc
½
4 MHz
(fsys
½
Machine clock frequency, fosc
½
Oscillation clock frequency)
2 channels :
MB90F342E(S), MB90F342CE(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)
16-bit Reload Timer
(4 channels)
16-bit Free-run
Timer (2 channels)
16-bit Output
Compare
(8 channels)
16-bit Input Capture
(8 channels)
8/16-bit
Programmable Pulse
Generator
3 channels
CAN Interface
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
Document Number: 002-04498 Rev. *A
Page 4 of 92
MB90340E Series
(Continued)
Part Number
MB90V340E-101,
MB90V340E-102
MB90F342E(S), MB90F342CE(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)
Parameter
External Interrupt
(16 channels)
D/A Converter
Sub clock
(maximum 100 kHz)
Can be used rising edge, falling edge, starting up by H/L level input, external interrupt,
expanded intelligent I/O services (EI
2
OS) and DMA
2 channels
Only for
MB90V340E-102
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
I/O Ports
Virtually all external pins can be used as general purpose I/O port
All ports are push-pull outputs
Bit-wise settable as input/output or peripheral signal
Can be configured 8 as CMOS schmitt trigger/ automotive inputs (in blocks of 8 pins)
TTL input level settable for external bus (32-pin only for external bus)
Supports automatic programming, Embedded Algorithm
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) )
Flash Memory
* : It is setting of Jumper switch (TOOL VCC) when Emulator (MB2147-01-E) is used.
Please refer to the Emulator operation manual for details.
Document Number: 002-04498 Rev. *A
Page 5 of 92