MB96640 Series F2MC 16FX 16 Bit Microcontroller Datasheet.pdf

MB96640 Series
F2MC-16FX 16-Bit Microcontroller
2
MB96640 series is based on Cypress advanced F MC-16FX architecture (16-bit with instruction pipeline for RISC-like performance).
2
2
The CPU uses the same instruction set as the established F MC-16LX family thus allowing for easy migration of F MC-16LX
2
Software to the new F MC-16FX products.
2
F MC-16FX product improvements compared to the previous generation include significantly improved performance - even at the
same operation frequency, reduced power consumption and faster start-up time.
For high processing speed at optimized power consumption an internal PLL can be selected to supply the CPU with up to 32MHz
operation frequency from an external 4MHz to 8MHz resonator. The result is a minimum instruction cycle time of 31.2ns going
together with excellent EMI behavior. The emitted power is minimized by the on-chip voltage regulator that reduces the internal CPU
voltage. A flexible clock tree allows selecting suitable operation frequencies for peripheral resources independent of the CPU speed.
Features
 Technology
 Interrupts
 Fast
Interrupt processing
programmable priority levels
 Non-Maskable Interrupt (NMI)
0.18m CMOS
8
 CPU
F
2
MC-16FX CPU
instruction set for controller applications
(bit, byte, word and long-word data types, 23 different
addressing modes, barrel shift, variety of pointers)
 8-byte instruction queue
 Signed multiply (16-bit × 16-bit) and divide (32-bit/16-bit)
instructions available
 Optimized
 CAN
 Supports
CAN protocol version 2.0 part A and B
certified
 Bit rates up to 1Mbps
 32 message objects
 Each message object has its own identifier mask
 Programmable FIFO mode (concatenation of message
objects)
 Maskable interrupt
 Disabled Automatic Retransmission mode for Time
Triggered CAN applications
 Programmable loop-back mode for self-test operation
 ISO16845
 System clock
PLL clock multiplier (1 to 8, 1 when PLL stop)
to 8MHz crystal oscillator
(maximum frequency when using ceramic resonator
depends on Q-factor)
 Up to 8MHz external clock for devices with fast clock input
feature
 32.768kHz subsystem quartz clock
 100kHz/2MHz internal RC clock for quick and safe startup,
clock stop detection function, watchdog
 Clock source selectable from mainclock oscillator, subclock
oscillator and on-chip RC oscillator, independently for CPU
and 2 clock domains of peripherals
 The subclock oscillator is enabled by the Boot ROM
program controlled by a configuration marker after a Power
or External reset
 Low Power Consumption - 13 operating modes (different
Run, Sleep, Timer, Stop modes)
 On-chip
 4MHz
 USART
 Full
duplex USARTs (SCI/LIN)
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
 Extended support for LIN-Protocol to reduce interrupt load
 Wide
 I2 C
 Up
 On-chip voltage regulator
Internal voltage regulator supports a wide MCU supply
voltage range (Min=2.7V), offering low power consumption
 A/D converter
 SAR-type
 Low voltage detection function
 8/10-bit
resolution
interrupt on conversion end, single conversion
mode, continuous conversion mode,
stop conversion mode, activation by software, external
trigger, reload timers and PPGs
 Range Comparator Function
 Scan Disable Function
 Signals
Reset is generated when supply voltage falls below
programmable reference voltage
 Code Security
Protects Flash Memory content from unintended read-out
 DMA
 Source Clock Timers
Automatic transfer function independent of CPU, can be
assigned freely to resources
Cypress Semiconductor Corporation
Document Number: 002-04713 Rev.*A
to 400kbps
and Slave functionality, 7-bit and 10-bit addressing
 Master
•
198 Champion Court
Three independent clock timers (23-bit RC clock timer,
23-bit Main clock timer, 17-bit Sub clock timer)
•
San Jose, CA 95134-1709
•
408-943-2600
Revised February 25, 2016
MB96640 Series
 Hardware Watchdog Timer
 Hardware
watchdog timer is active after reset
 Window function of Watchdog Timer is used to select the
lower window limit of the watchdog interval
 Reload Timers
 16-bit
wide
1
2
3
4
5
6
with 1/2 , 1/2 , 1/2 , 1/2 , 1/2 , 1/2 of peripheral
clock frequency
 Event count function
 Prescaler
 Free-Running Timers
 Signals
an interrupt on overflow, supports timer clear upon
match with Output Compare (0, 4)
1
2
3
4
5
6
7
8
 Prescaler with 1, 1/2 , 1/2 , 1/2 , 1/2 , 1/2 , 1/2 , 1/2 , 1/2
of peripheral clock frequency
 Input Capture Units
 16-bit
wide
 Signals an interrupt upon external event
 Rising edge, Falling edge or Both (rising & falling) edges
sensitive
 Output Compare Units
 16-bit
wide
an interrupt when a match with Free-running Timer
occurs
 A pair of compare registers can be used to generate an
output signal
 Signals
 Programmable Pulse Generator
 16-bit
down counter, cycle and duty setting registers
be used as 2 × 8-bit PPG
 Interrupt at trigger, counter borrow and/or duty match
 PWM operation and one-shot operation
 Internal prescaler allows 1, 1/4, 1/16, 1/64 of peripheral
clock as counter clock or of selected Reload timer
underflow as clock input
 Can be triggered by software or reload timer
 Can trigger ADC conversion
 Timing point capture
 Start delay
 Can
 Quadrature Position/Revolution Counter (QPRC)
 Up/down
count mode, Phase difference count mode,
Count mode with direction
 16-bit position counter
 16-bit revolution counter
 Two 16-bit compare registers with interrupt
 Detection edge of the three external event input pins AIN,
BIN and ZIN is configurable
 Real Time Clock
 Operational
on main oscillation (4MHz), sub oscillation
(32kHz) or RC oscillation (100kHz/2MHz)
 Capable to correct oscillation deviation of Sub clock or RC
oscillator clock (clock calibration)
 Read/write accessible second/minute/hour registers
 Can signal interrupts every half
second/second/minute/hour/day
 Internal clock divider and prescaler provide exact 1s clock
Document Number: 002-04713 Rev.*A
 External Interrupts
 Edge
or Level sensitive
mask bit per channel
 Each available CAN channel RX has an external interrupt
for wake-up
 Selected USART channels SIN have an external interrupt
for wake-up
 Interrupt
 Non Maskable Interrupt
 Disabled
after reset, can be enabled by Boot-ROM
depending on ROM configuration block
 Once enabled, cannot be disabled other than by reset
 High or Low level sensitive
 Pin shared with external interrupt 0
 I/O Ports
 Most
of the external pins can be used as general purpose
I/O
2
 All push-pull outputs (except when used as I C SDA/SCL
line)
 Bit-wise programmable as input/output or peripheral signal
 Bit-wise programmable input enable
 One input level per GPIO-pin (either Automotive or CMOS
hysteresis)
 Bit-wise programmable pull-up resistor
 Built-in On Chip Debugger (OCD)
 One-wire
debug tool interface
function:
• Hardware break: 6 points (shared with code event)
• Software break: 4096 points
 Event function
• Code event: 6 points (shared with hardware break)
• Data event: 6 points
• Event sequencer: 2 levels + reset
 Execution time measurement function
 Trace function: 42 branches
 Security function
 Break
 Flash Memory
 Dual
operation flash allowing reading of one Flash bank
while programming or erasing the other bank
 Command sequencer for automatic execution of
programming algorithm and for supporting DMA for
programming of the Flash Memory
 Supports automatic programming, Embedded Algorithm
 Write/Erase/Erase-Suspend/Resume commands
 A flag indicating completion of the automatic algorithm
 Erase can be performed on each sector individually
 Sector protection
 Flash Security feature to protect the content of the Flash
 Low voltage detection during Flash erases or writes
Page 2 of 65
MB96640 Series
Contents
1. Product Lineup .................................................................................................................................................................. 5
2. Block Diagram ................................................................................................................................................................... 6
3. Pin Assignment ................................................................................................................................................................. 7
4. Pin Description .................................................................................................................................................................. 8
5. Pin Circuit Type ............................................................................................................................................................... 10
6. I/O Circuit Type................................................................................................................................................................ 13
7. Memory Map .................................................................................................................................................................... 18
8. RAMSTART Addresses................................................................................................................................................... 19
9. User Rom Memory Map For Flash Devices ................................................................................................................... 20
10. Serial Programming Communication Interface ............................................................................................................ 21
11. Interrupt Vector Table ..................................................................................................................................................... 22
12. Handling Precautions ..................................................................................................................................................... 26
12.1 Precautions for Product Design ................................................................................................................................... 26
12.2 Precautions for Package Mounting .............................................................................................................................. 27
12.3 Precautions for Use Environment ................................................................................................................................ 28
13. Handling Devices ............................................................................................................................................................ 29
13.1 Latch-up prevention ..................................................................................................................................................... 29
13.2 Unused pins handling .................................................................................................................................................. 29
13.3 External clock usage ................................................................................................................................................... 29
13.3.1 Single phase external clock for Main oscillator............................................................................................................. 29
13.3.2 Single phase external clock for Sub oscillator .............................................................................................................. 30
13.3.3 Opposite phase external clock ..................................................................................................................................... 30
13.4 Notes on PLL clock mode operation ............................................................................................................................ 30
13.5 Power supply pins (Vcc/Vss) ......................................................................................................................................... 30
13.6 Crystal oscillator and ceramic resonator circuit ........................................................................................................... 30
13.7 Turn on sequence of power supply to A/D converter and analog inputs...................................................................... 30
13.8 Pin handling when not using the A/D converter ........................................................................................................... 31
13.9 Notes on Power-on ...................................................................................................................................................... 31
13.10 Stabilization of power supply voltage........................................................................................................................... 31
13.11 Serial communication .................................................................................................................................................. 31
13.12 Mode Pin (MD) ............................................................................................................................................................ 31
14. Electrical Characteristics ............................................................................................................................................... 32
14.1 Absolute Maximum Ratings ......................................................................................................................................... 32
14.2 Recommended Operating Conditions.......................................................................................................................... 34
14.3 DC Characteristics....................................................................................................................................................... 35
14.3.1 Current Rating .............................................................................................................................................................. 35
14.3.2 Pin Characteristics ....................................................................................................................................................... 39
14.4 AC Characteristics ....................................................................................................................................................... 41
14.4.1 Main Clock Input Characteristics .................................................................................................................................. 41
14.4.2 Sub Clock Input Characteristics ................................................................................................................................... 42
14.4.3 Built-in RC Oscillation Characteristics .......................................................................................................................... 43
14.4.4 Internal Clock Timing ................................................................................................................................................... 43
14.4.5 Operating Conditions of PLL ........................................................................................................................................ 44
14.4.6 Reset Input ................................................................................................................................................................... 44
14.4.7 Power-on Reset Timing................................................................................................................................................ 45
14.4.8 USART Timing ............................................................................................................................................................. 46
Document Number: 002-04713 Rev.*A
Page 3 of 65
MB96640 Series
14.4.9 External Input Timing ................................................................................................................................................... 48
2
14.4.10 I C Timing ................................................................................................................................................................. 49
14.5 A/D Converter .............................................................................................................................................................. 50
14.5.1 Electrical Characteristics for the A/D Converter ........................................................................................................... 50
14.5.2 Accuracy and Setting of the A/D Converter Sampling Time ......................................................................................... 51
14.5.3 Definition of A/D Converter Terms ............................................................................................................................... 52
14.6 Low Voltage Detection Function Characteristics ......................................................................................................... 54
14.7 Flash Memory Write/Erase Characteristics ................................................................................................................. 56
15. Example Characteristics ................................................................................................................................................ 57
16. Ordering Information ...................................................................................................................................................... 60
17. Package Dimension ........................................................................................................................................................ 61
18. Major Changes ................................................................................................................................................................ 62
Document History ................................................................................................................................................................. 64
Document Number: 002-04713 Rev.*A
Page 4 of 65
MB96640 Series
1. Product Lineup
Features
Product Type
Subclock
Dual Operation Flash Memory
64.5KB + 32KB
128.5KB + 32KB
256.5KB + 32KB
384.5KB + 32KB
RAM
10KB
16KB
24KB
28KB
Package
DMA
USART
with automatic LIN-Header
transmission/reception
with 16 byte RX- and
TX-FIFO
2
MB96640
Flash Memory Product
Subclock can be set by software
MB96F643R, MB96F643A
MB96F645R, MB96F645A
MB96F646R
MB96F647R
LQFP-100
FPT-100P-M20
4ch
6ch
Product Options
R: MCU with CAN
A: MCU without CAN
Yes (only 1ch)
LIN-USART 0
2ch
8/10-bit A/D Converter
24ch
with Data Buffer
with Range Comparator
with Scan Disable
with ADC Pulse Detection
16-bit Reload Timer (RLT)
16-bit Free-Running Timer (FRT)
No
Yes
Yes
No
5ch
3ch
7ch
(1 channel for LIN-USART)
16-bit Output Compare Unit (OCU)
7ch
8/16-bit Programmable Pulse Generator (PPG)
with Timing point capture
with Start delay
with Ramp
Quadrature Position/Revolution Counter
(QPRC)
16ch (16-bit) / 24ch (8-bit)
Yes
Yes
No
CAN Interface
1ch
External Interrupts (INT)
Non-Maskable Interrupt (NMI)
Real Time Clock (RTC)
Clock Calibration Unit (CAL)
Clock Output Function
16ch
1ch
1ch
79 (Dual clock mode)
81 (Single clock mode)
1ch
2ch
Low Voltage Detection Function
Yes
Hardware Watchdog Timer
On-chip RC-oscillator
On-chip Debugger
Yes
Yes
Yes
I/O Ports
LIN-USART 0 to 2/4/5/7
No
IC
16-bit Input Capture Unit (ICU)
Remark
2ch
2
I C 0/1
AN 2 to 4/6 to 8/10
to 12/14 to 28
RLT 0 to 3/6
FRT 0 to 2
ICU 0/1/4 to 7/9
(ICU 9 for LIN-USART)
OCU 0 to 4/6/7
(OCU 4 for FRT clear)
PPG 0 to 15
QPRC 0/1
CAN 0
32 Message Buffers
INT 0 to 15
Low voltage detection function
can be disabled by software
Note:
All signals of the peripheral function in each product cannot be allocated by limiting the pins of package.
It is necessary to use the port relocate function of the general I/O port according to your function use.
Document Number: 002-04713 Rev.*A
Page 5 of 65
MB96640 Series
2. Block Diagram
DEBUG I/F
CKOT0_R, CKOT1, CKOT1_R
CKOTX0, CKOTX1, CKOTX1_R
X0, X1
X0A, X1A
RSTX
MD
NMI
Interrupt
Controller
16FX
CPU
OCD
Flash
Memory A
Clock &
Mode Controller
16FX Core Bus (CLKB)
Peripheral
Bus Bridge
Watchdog
AVcc
AVss
AVRH
AVRL
AN2 to AN4, AN6 to AN8
AN10 to AN12, AN14 to AN28
ADTG
TIN0 to TIN3
TOT0 to TOT3
FRCK0, FRCK0_R
IN0, IN0_R, IN1_R
RAM
Boot ROM
Voltage
Regulator
2
IC
2ch
8/10-bit ADC
24ch
16-bit Reload
Timer
0/1/2/3/6
5ch
OUT0 to OUT3
OUT0_R, OUT2_R
I/O Timer 0
FRT 0
ICU 0/1
OCU 0/1/2/3
FRCK1
IN6, IN7
IN4_R, IN5_R, IN7_R
OUT6, OUT7
I/O Timer 1
FRT 1
ICU 4/5/6/7
OCU 4/6/7
FRCK2
I/O Timer 2
FRT 2
ICU 9
INT0 to INT15
Peripheral
Bus Bridge
Peripheral Bus 2 (CLKP2)
SDA0, SDA1
SCL0, SCL1
External
CAN
Interface
1ch
USART
6ch
Peripheral Bus 1 (CLKP1)
DMA
Controller
PPG
16ch (16-bit)/
24ch (8-bit)
RX0
Vcc
Vss
C
TX0
SIN0, SIN1, SIN2, SIN4, SIN5, SIN7, SIN5_R, SIN7_R
SOT0, SOT1, SOT2, SOT4, SOT7, SOT5_R, SOT7_R
SCK0, SCK1, SCK2, SCK4, SCK7, SCK5_R, SCK7_R
TTG0, TTG2 to TTG4, TTG6, TTG7, TTG12 to TTG14
PPG0, PPG1, PPG3 to PPG7
PPG0_R to PPG4_R, PPG8_R to PPG13_R
PPG4_B to PPG11_B, PPG14_B, PPG15_B
AIN0, AIN1
QPRC
2ch
BIN0, BIN1
ZIN0, ZIN1
Real Time
Clock
WOT, WOT_R
Interrupt
INT1_R to INT7_R
Document Number: 002-04713 Rev.*A
16ch
Page 6 of 65
MB96640 Series
3. Pin Assignment
Vss
DEBUG I/F
P17_0
MD
X0
X1
Vss
P04_0 / X0A*3
P04_1 / X1A*3
RSTX
P11_0
P11_1 / PPG0_R
P11_2 / PPG1_R
P11_3 / PPG2_R
P11_4 / PPG3_R
P11_5 / PPG4_R
P11_6 / FRCK0_R / ZIN1
P11_7 / IN0_R / AIN1
P12_0 / IN1_R / BIN1
P12_3 / OUT2_R
P12_7 / INT1_R
P00_0 / INT3_R / FRCK2
P00_1 / INT4_R
P00_2 / INT5_R
Vcc
(Top view)
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
Vcc
P00_3 / INT6_R / PPG8_B
77
49
P10_3 / PPG7
P00_4 / INT7_R / PPG9_B
78
48
P10_2 / SCK2 / PPG6*1
P00_5 / IN6 / TTG2 / TTG6 / PPG10_B
79
47
P10_1 / SOT2 / TOT3
P00_6 / IN7 / TTG3 / TTG7 / PPG11_B
80
46
P10_0 / SIN2 / TIN3 / AN28 / INT11*
P00_7 / INT14
81
45
P17_2 / PPG13_R
P01_0 / SCK7 *1
82
44
P17_1 / PPG12_R
P01_1 / CKOT1 / OUT0 / SOT7
83
43
P09_3 / AN27 / PPG11_R
84
42
P09_2 / AN26 / PPG10_R
85
41
P09_1 / AN25 / PPG9_R
86
40
P09_0 / AN24 / PPG8_R
39
P08_7 / AN23 / PPG7_B
38
P08_6 / AN22 / PPG6_B
89
37
P08_5 / AN21 / OUT7
90
36
P04_7 / SCL1*2
91
35
P04_6 / SDA1*2
P02_5 / OUT0_R / INT13 / SIN5_R*1
92
34
P08_4 / AN20 / OUT6
P03_0 / PPG4_B
93
33
P08_3 / AN19
P03_1 / PPG5_B
94
32
P08_2 / AN18
P03_2 / PPG14_B / SOT5_R
95
31
P08_1 / AN17
96
30
P08_0 / AN16
97
29
P05_7 / AN15 / TOT2
P03_5 / TX0
98
28
P05_6 / AN14 / TIN2
P03_6 / INT0 / NMI
99
27
P05_4 / AN12 / INT2_R / WOT_R
26
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
1
Vss
Vcc
8
P05_3 / AN11 / OUT3
7
P05_2 / AN10 / OUT2
6
P05_0 / AN8
5
AVss
4
AVRL
3
AVRH
2
AVcc
100
1
Vss
Vcc
P06_7 / AN7 / TOT1 / IN5_R
P03_4 / RX0 / INT4*
P06_6 / AN6 / TIN1 / IN4_R
1
P06_4 / AN4 / IN0 / TTG0 / TTG4
P03_3 / PPG15_B / SCK5_R*
P06_3 / AN3 / FRCK0
1
P06_2 / AN2 / INT5 / SIN5*1
P02_2 / IN7_R / CKOT0_R / INT12 / BIN0 / SIN7_R*
P04_5 / PPG4 / SCL0*2
1
88
P04_4 / PPG3 / SDA0*2
P02_0 / CKOT1_R / INT10 / TTG14 / AIN0 / SOT7_R
LQFP - 100
P13_6 / SCK0 / CKOTX0*1
P01_7 / CKOTX1_R / INT9 / TTG13 / ZIN0 / SCK7_R*
1
87
P13_5 / SOT0 / ADTG / INT7
P01_6 / SCK4 / TTG12*
1
P13_4 / SIN0 / INT6*1
P01_5 / SOT4
P13_3 / PPG1 / TOT0 / WOT
P01_4 / SIN4 / INT8*
P13_2 / PPG0 / TIN0 / FRCK1
1
P13_1 / INT3 / SCK1*1
P01_3 / PPG5
P13_0 / INT2 / SOT1
P01_2 / CKOTX1 / OUT1 / INT15 / SIN7*
P03_7 / INT1 / SIN1*1
1
C
Vss
(FPT-100P-M20)
1
* : CMOS input level only
2
2
* : CMOS input level only for I C
3
* : Please set ROM Configuration Block (RCB) to use the subclock.
Other than those above, general-purpose pins have only automotive input level.
Document Number: 002-04713 Rev.*A
Page 7 of 65
MB96640 Series
4. Pin Description
Pin name
Feature
Description
ADTG
ADC
A/D converter trigger input pin
AINn
QPRC
Quadrature Position/Revolution Counter Unit n input pin
ANn
ADC
A/D converter channel n input pin
AVcc
Supply
Analog circuits power supply pin
AVRH
ADC
A/D converter high reference voltage input pin
AVRL
ADC
A/D converter low reference voltage input pin
AVss
Supply
Analog circuits power supply pin
BINn
QPRC
Quadrature Position/Revolution Counter Unit n input pin
C
Voltage regulator
Internally regulated power supply stabilization capacitor pin
CKOTn
Clock Output function
Clock Output function n output pin
CKOTn_R
Clock Output function
Relocated Clock Output function n output pin
CKOTXn
Clock Output function
Clock Output function n inverted output pin
CKOTXn_R
Clock Output function
Relocated Clock Output function n inverted output pin
DEBUG I/F
OCD
On Chip Debugger input/output pin
FRCKn
Free-Running Timer
Free-Running Timer n input pin
FRCKn_R
Free-Running Timer
Relocated Free-Running Timer n input pin
INn
ICU
Input Capture Unit n input pin
INn_R
ICU
Relocated Input Capture Unit n input pin
INTn
External Interrupt
External Interrupt n input pin
INTn_R
External Interrupt
Relocated External Interrupt n input pin
MD
Core
Input pin for specifying the operating mode
NMI
External Interrupt
Non-Maskable Interrupt input pin
OUTn
OCU
Output Compare Unit n waveform output pin
OUTn_R
OCU
Relocated Output Compare Unit n waveform output pin
Pnn_m
GPIO
General purpose I/O pin
PPGn
PPG
Programmable Pulse Generator n output pin (16bit/8bit)
PPGn_R
PPG
Relocated Programmable Pulse Generator n output pin (16bit/8bit)
PPGn_B
PPG
Programmable Pulse Generator n output pin (16bit/8bit)
RSTX
Core
Reset input pin
RXn
CAN
CAN interface n RX input pin
SCKn
USART
USART n serial clock input/output pin
SCKn_R
USART
Relocated USART n serial clock input/output pin
SCLn
2
I C interface n clock I/O input/output pin
2
IC
2
2
SDAn
IC
I C interface n serial data I/O input/output pin
SINn
USART
USART n serial data input pin
SINn_R
USART
Relocated USART n serial data input pin
SOTn
USART
USART n serial data output pin
SOTn_R
USART
Relocated USART n serial data output pin
TINn
Reload Timer
Reload Timer n event input pin
TOTn
Reload Timer
Reload Timer n output pin
Document Number: 002-04713 Rev.*A
Page 8 of 65
MB96640 Series
Pin name
Feature
Description
TTGn
PPG
Programmable Pulse Generator n trigger input pin
TXn
CAN
CAN interface n TX output pin
Vcc
Supply
Power supply pin
Vss
Supply
Power supply pin
WOT
RTC
Real Time clock output pin
WOT_R
RTC
Relocated Real Time clock output pin
X0
Clock
Oscillator input pin
X0A
Clock
Subclock Oscillator input pin
X1
Clock
Oscillator output pin
X1A
Clock
Subclock Oscillator output pin
ZINn
QPRC
Quadrature Position/Revolution Counter Unit n input pin
Document Number: 002-04713 Rev.*A
Page 9 of 65
MB96640 Series
5. Pin Circuit Type
Pin no.
I/O circuit type*
Pin name
1
Supply
Vss
2
F
C
3
M
P03_7 / INT1 / SIN1
4
H
P13_0 / INT2 / SOT1
5
M
P13_1 / INT3 / SCK1
6
H
P13_2 / PPG0 / TIN0 / FRCK1
7
H
P13_3 / PPG1 / TOT0 / WOT
8
M
P13_4 / SIN0 / INT6
9
H
P13_5 / SOT0 / ADTG / INT7
10
M
P13_6 / SCK0 / CKOTX0
11
N
P04_4 / PPG3 / SDA0
12
N
P04_5 / PPG4 / SCL0
13
I
P06_2 / AN2 / INT5 / SIN5
14
K
P06_3 / AN3 / FRCK0
15
K
P06_4 / AN4 / IN0 / TTG0 / TTG4
16
K
P06_6 / AN6 / TIN1 / IN4_R
17
K
P06_7 / AN7 / TOT1 / IN5_R
18
Supply
AVcc
19
G
AVRH
20
G
AVRL
21
Supply
AVss
22
K
P05_0 / AN8
23
K
P05_2 / AN10 / OUT2
24
K
P05_3 / AN11 / OUT3
25
Supply
Vcc
26
Supply
Vss
27
K
P05_4 / AN12 / INT2_R / WOT_R
28
K
P05_6 / AN14 / TIN2
29
K
P05_7 / AN15 / TOT2
30
K
P08_0 / AN16
31
K
P08_1 / AN17
32
33
K
K
P08_2 / AN18
P08_3 / AN19
34
K
P08_4 / AN20 / OUT6
35
N
P04_6 / SDA1
36
N
P04_7 / SCL1
37
K
P08_5 / AN21 / OUT7
38
K
P08_6 / AN22 / PPG6_B
Document Number: 002-04713 Rev.*A
Page 10 of 65
MB96640 Series
Pin no.
I/O circuit type*
Pin name
39
K
P08_7 / AN23 / PPG7_B
40
K
P09_0 / AN24 / PPG8_R
41
K
P09_1 / AN25 / PPG9_R
42
K
P09_2 / AN26 / PPG10_R
43
K
P09_3 / AN27 / PPG11_R
44
H
P17_1 / PPG12_R
45
H
P17_2 / PPG13_R
46
I
P10_0 / SIN2 / TIN3 / AN28 / INT11
47
H
P10_1 / SOT2 / TOT3
48
M
P10_2 / SCK2 / PPG6
49
H
P10_3 / PPG7
50
Supply
Vcc
51
Supply
Vss
52
O
DEBUG I/F
53
H
P17_0
54
C
MD
55
A
X0
56
A
X1
57
Supply
Vss
58
B
P04_0 / X0A
59
B
P04_1 / X1A
60
C
RSTX
61
H
P11_0
62
H
P11_1 / PPG0_R
63
H
P11_2 / PPG1_R
64
H
P11_3 / PPG2_R
65
H
P11_4 / PPG3_R
66
H
P11_5 / PPG4_R
67
H
P11_6 / FRCK0_R / ZIN1
68
H
P11_7 / IN0_R / AIN1
69
H
P12_0 / IN1_R / BIN1
70
H
P12_3 / OUT2_R
71
72
73
H
H
H
P12_7 / INT1_R
P00_0 / INT3_R / FRCK2
P00_1 / INT4_R
74
H
P00_2 / INT5_R
75
Supply
Vcc
76
Supply
Vss
77
H
P00_3 / INT6_R / PPG8_B
Document Number: 002-04713 Rev.*A
Page 11 of 65
MB96640 Series
Pin no.
I/O circuit type*
Pin name
78
H
P00_4 / INT7_R / PPG9_B
79
H
P00_5 / IN6 / TTG2 / TTG6 / PPG10_B
80
H
P00_6 / IN7 / TTG3 / TTG7 / PPG11_B
81
H
P00_7 / INT14
82
M
P01_0 / SCK7
83
H
P01_1 / CKOT1 / OUT0 / SOT7
84
M
P01_2 / CKOTX1 / OUT1 / INT15 / SIN7
85
H
P01_3 / PPG5
86
M
P01_4 / SIN4 / INT8
87
H
P01_5 / SOT4
88
M
P01_6 / SCK4 / TTG12
89
M
P01_7 / CKOTX1_R / INT9 / TTG13 / ZIN0 / SCK7_R
90
H
P02_0 / CKOT1_R / INT10 / TTG14 / AIN0 / SOT7_R
91
M
P02_2 / IN7_R / CKOT0_R / INT12 / BIN0 / SIN7_R
92
93
M
H
P02_5 / OUT0_R / INT13 / SIN5_R
P03_0 / PPG4_B
94
H
P03_1 / PPG5_B
95
H
P03_2 / PPG14_B / SOT5_R
96
M
P03_3 / PPG15_B / SCK5_R
97
M
P03_4 / RX0 / INT4
98
H
P03_5 / TX0
99
H
P03_6 / INT0 / NMI
100
Supply
Vcc
*: See “I/O Circuit Type” for details on the I/O circuit types.
Document Number: 002-04713 Rev.*A
Page 12 of 65
MB96640 Series
6. I/O Circuit Type
Type
Circuit
Remarks
A
X1
R
0
1
X out
High-speed oscillation circuit:
• Programmable between
oscillation mode (external
crystal or resonator connected
to X0/X1 pins) and Fast
external Clock Input (FCI)
mode (external clock
connected to X0 pin)
• Feedback resistor = approx.
1.0M
• The amplitude: 1.8V±0.15V
to operate by the internal
supply voltage
FCI
X0
FCI or Osc disable
Document Number: 002-04713 Rev.*A
Page 13 of 65
MB96640 Series
Type
Circuit
Remarks
B
Pull-up control
P-ch
Standby
control
for input
shutdown
P-ch
Pout
N-ch
Nout
Low-speed oscillation circuit
shared with GPIO functionality:
• Feedback resistor = approx.
5.0M
• GPIO functionality selectable
(CMOS level output (IOL =
4mA, IOH = -4mA), Automotive
input with input shutdown
function and programmable
pull-up resistor)
R
Automotive input
X1A
R
X out
0
1
FCI
X0A
FCI or Osc disable
Pull-up control
P-ch
Standby
control
for input
shutdown
P-ch
Pout
N-ch
Nout
R
Document Number: 002-04713 Rev.*A
Automotive input
Page 14 of 65
MB96640 Series
Type
Circuit
Remarks
C
CMOS hysteresis input pin
F
Power supply input protection
circuit
P-ch
N-ch
• A/D converter ref+ (AVRH)/ ref(AVRL) power supply input pin
with protection circuit
• Without protection circuit
against VCC for pins
AVRH/AVRL
G
P-ch
N-ch
H
Pull-up control
P-ch
P-ch
Pout
N-ch
Nout
• CMOS level output
(IOL = 4mA, IOH = -4mA)
• Automotive input with input
shutdown function
• Programmable pull-up resistor
R
Standby control
for input shutdown
Document Number: 002-04713 Rev.*A
Automotive input
Page 15 of 65
MB96640 Series
Type
Circuit
Remarks
I
Pull-up control
P-ch
P-ch
Pout
N-ch
Nout
• CMOS level output
(IOL = 4mA, IOH = -4mA)
• CMOS hysteresis input with
input shutdown function
• Programmable pull-up resistor
• Analog input
R
Hysteresis input
Standby control
for input shutdown
Analog input
K
Pull-up control
P-ch
P-ch
Pout
N-ch
Nout
• CMOS level output
(IOL = 4mA, IOH = -4mA)
• Automotive input with input
shutdown function
• Programmable pull-up resistor
• Analog input
R
Automotive input
Standby control
for input shutdown
Analog input
M
Pull-up control
P-ch
R
P-ch
Pout
N-ch
Nout
• CMOS level output
(IOL = 4mA, IOH = -4mA)
• CMOS hysteresis input with
input shutdown function
• Programmable pull-up resistor
Hysteresis input
Standby control
for input shutdown
Document Number: 002-04713 Rev.*A
Page 16 of 65
MB96640 Series
Type
Circuit
Remarks
N
Pull-up control
P-ch
P-ch
Pout
N-ch
Nout*
R
• CMOS level output
(IOL = 3mA, IOH = -3mA)
• CMOS hysteresis input with
input shutdown function
• Programmable pull-up resistor
*: N-channel transistor has slew
2
rate control according to I C
spec, irrespective of usage.
Hysteresis input
Standby control
for input shutdown
• Open-drain I/O
• Output 25mA, Vcc = 2.7V
• TTL input
O
N-ch
Nout
R
Standby control
for input shutdown
Document Number: 002-04713 Rev.*A
TTL input
Page 17 of 65
MB96640 Series
7. Memory Map
FF:FFFFH
USER ROM*1
DE:0000H
DD:FFFFH
Reserved
10:0000H
0F:C000H
Boot-ROM
Peripheral
0E:9000H
Reserved
01:0000H
00:8000H
RAMSTART0*2
ROM/RAM
MIRROR
Internal RAM
bank0
Reserved
00:0C00H
00:0380H
Peripheral
00:0180H
GPR*3
00:0100H
DMA
00:00F0H
Reserved
00:0000H
Peripheral
*1: For details about USER ROM area, see “User Rom Memory Map For Flash Devices” on the following pages.
*2: For RAMSTART Addresses, see the table on the next page.
*3: Unused GPR banks can be used as RAM area.
GPR: General-Purpose Register
The DMA area is only available if the device contains the corresponding resource.
The available RAM and ROM area depends on the device.
Document Number: 002-04713 Rev.*A
Page 18 of 65
MB96640 Series
8. RAMSTART Addresses
Bank 0
RAM size
Devices
RAMSTART0
MB96F643
10KB
00:5A00H
MB96F645
16KB
00:4200H
MB96F646
24KB
00:2200H
MB96F647
28KB
00:1200H
Document Number: 002-04713 Rev.*A
Page 19 of 65
MB96640 Series
9. User Rom Memory Map For Flash Devices
MB96F643
CPU mode
address
Flash memory
mode address
FF:FFFFH
3F:FFFFH
FF:0000H
3F:0000H
FE:FFFFH
3E:FFFFH
FE:0000H
3E:0000H
FD:FFFFH
3D:FFFFH
FD:0000H
3D:0000H
FC:FFFFH
3C:FFFFH
FC:0000H
3C:0000H
FB:FFFFH
3B:FFFFH
FB:0000H
3B:0000H
FA:FFFFH
3A:FFFFH
FA:0000H
3A:0000H
MB96F645
MB96F646
MB96F647
Flash size
Flash size
Flash size
Flash size
64.5KB + 32KB
128.5KB + 32KB
256.5KB + 32KB
384.5KB + 32KB
SA39 - 64KB
SA39 - 64KB
SA39 - 64KB
SA39 - 64KB
SA38 - 64KB
SA38 - 64KB
SA38 - 64KB
SA37 - 64KB
SA37 - 64KB
SA36 - 64KB
SA36 - 64KB
Bank A of Flash A
SA35 - 64KB
SA34 - 64KB
F9:FFFFH
Reserved
Reserved
Reserved
Reserved
DF:A000H
DF:9FFFH
1F:9FFFH
DF:8000H
1F:8000H
DF:7FFFH
1F:7FFFH
DF:6000H
1F:6000H
DF:5FFFH
1F:5FFFH
DF:4000H
1F:4000H
DF:3FFFH
1F:3FFFH
DF:2000H
1F:2000H
DF:1FFFH
1F:1FFFH
DF:0000H
1F:0000H
DE:FFFFH
DE:0000H
SA4 - 8KB
SA4 - 8KB
SA4 - 8KB
SA4 - 8KB
SA3 - 8KB
SA3 - 8KB
SA3 - 8KB
SA3 - 8KB
SA2 - 8KB
SA2 - 8KB
SA2 - 8KB
SA2 - 8KB
Bank B of Flash A
SA1 - 8KB
SA1 - 8KB
SA1 - 8KB
SA1 - 8KB
SAS - 512B*
SAS - 512B*
SAS - 512B*
SAS - 512B*
Reserved
Reserved
Reserved
Reserved
Bank A of Flash A
*: Physical address area of SAS-512B is from DF: 0000H to DF:01FFH.
Others (from DF:0200H to DF:1FFFH) is mirror area of SAS-512B.
Sector SAS contains the ROM configuration block RCBA at CPU address DF: 0000H -DF: 01FFH.
2
SAS cannot be used for E PROM emulation.
Document Number: 002-04713 Rev.*A
Page 20 of 65
MB96640 Series
10. Serial Programming Communication Interface
USART pins for Flash serial programming (MD = 0, DEBUG I/F = 0, Serial Communication mode)
MB96640
Pin Number
USART Number
8
9
Normal Function
SIN0
USART0
SOT0
10
SCK0
3
SIN1
4
USART1
SOT1
5
SCK1
46
SIN2
47
USART2
SOT2
48
SCK2
86
SIN4
87
USART4
88
Document Number: 002-04713 Rev.*A
SOT4
SCK4
Page 21 of 65
MB96640 Series
11. Interrupt Vector Table
Vector
number
Offset in
vector table
Index in
ICR to
program
Cleared by
DMA
Vector name
Description
0
3FCH
CALLV0
No
-
CALLV instruction
1
3F8H
CALLV1
No
-
CALLV instruction
2
3F4H
CALLV2
No
-
CALLV instruction
3
3F0H
CALLV3
No
-
CALLV instruction
4
3ECH
CALLV4
No
-
CALLV instruction
5
3E8H
CALLV5
No
-
CALLV instruction
6
3E4H
CALLV6
No
-
CALLV instruction
7
3E0H
CALLV7
No
-
CALLV instruction
8
3DCH
RESET
No
-
Reset vector
9
3D8H
INT9
No
-
INT9 instruction
10
3D4H
EXCEPTION
No
-
Undefined instruction execution
11
3D0H
NMI
No
-
Non-Maskable Interrupt
12
3CCH
DLY
No
12
Delayed Interrupt
13
3C8H
RC_TIMER
No
13
RC Clock Timer
14
3C4H
MC_TIMER
No
14
Main Clock Timer
15
3C0H
SC_TIMER
No
15
Sub Clock Timer
16
3BCH
LVDI
No
16
Low Voltage Detector
17
3B8H
EXTINT0
Yes
17
External Interrupt 0
18
3B4H
EXTINT1
Yes
18
External Interrupt 1
19
3B0H
EXTINT2
Yes
19
External Interrupt 2
20
3ACH
EXTINT3
Yes
20
External Interrupt 3
21
3A8H
EXTINT4
Yes
21
External Interrupt 4
22
3A4H
EXTINT5
Yes
22
External Interrupt 5
23
3A0H
EXTINT6
Yes
23
External Interrupt 6
24
39CH
EXTINT7
Yes
24
External Interrupt 7
25
398H
EXTINT8
Yes
25
External Interrupt 8
26
394H
EXTINT9
Yes
26
External Interrupt 9
27
390H
EXTINT10
Yes
27
External Interrupt 10
28
38CH
EXTINT11
Yes
28
External Interrupt 11
29
388H
EXTINT12
Yes
29
External Interrupt 12
30
384H
EXTINT13
Yes
30
External Interrupt 13
31
380H
EXTINT14
Yes
31
External Interrupt 14
32
37CH
EXTINT15
Yes
32
External Interrupt 15
33
378H
CAN0
No
33
CAN Controller 0
34
374H
-
-
34
Reserved
35
370H
-
-
35
Reserved
36
36CH
-
-
36
Reserved
37
368H
-
-
37
Reserved
38
364H
PPG0
Yes
38
Programmable Pulse Generator 0
39
360H
PPG1
Yes
39
Programmable Pulse Generator 1
Document Number: 002-04713 Rev.*A
Page 22 of 65
MB96640 Series
Vector
number
Offset in
vector table
Index in
ICR to
program
Cleared by
DMA
Vector name
Description
40
35CH
PPG2
Yes
40
Programmable Pulse Generator 2
41
358H
PPG3
Yes
41
Programmable Pulse Generator 3
42
354H
PPG4
Yes
42
Programmable Pulse Generator 4
43
350H
PPG5
Yes
43
Programmable Pulse Generator 5
44
34CH
PPG6
Yes
44
Programmable Pulse Generator 6
45
348H
PPG7
Yes
45
Programmable Pulse Generator 7
46
344H
PPG8
Yes
46
Programmable Pulse Generator 8
47
340H
PPG9
Yes
47
Programmable Pulse Generator 9
48
33CH
PPG10
Yes
48
Programmable Pulse Generator 10
49
338H
PPG11
Yes
49
Programmable Pulse Generator 11
50
334H
PPG12
Yes
50
Programmable Pulse Generator 12
51
330H
PPG13
Yes
51
Programmable Pulse Generator 13
52
32CH
PPG14
Yes
52
Programmable Pulse Generator 14
53
328H
PPG15
Yes
53
Programmable Pulse Generator 15
54
324H
-
-
54
Reserved
55
320H
-
-
55
Reserved
56
31CH
-
-
56
Reserved
57
318H
-
-
57
Reserved
58
314H
RLT0
Yes
58
Reload Timer 0
59
310H
RLT1
Yes
59
Reload Timer 1
60
30CH
RLT2
Yes
60
Reload Timer 2
61
308H
RLT3
Yes
61
Reload Timer 3
62
304H
-
-
62
Reserved
63
300H
-
-
63
Reserved
64
2FCH
RLT6
Yes
64
Reload Timer 6
65
2F8H
ICU0
Yes
65
Input Capture Unit 0
66
2F4H
ICU1
Yes
66
Input Capture Unit 1
67
2F0H
-
-
67
Reserved
68
2ECH
-
-
68
Reserved
69
2E8H
ICU4
Yes
69
Input Capture Unit 4
70
2E4H
ICU5
Yes
70
Input Capture Unit 5
71
2E0H
ICU6
Yes
71
Input Capture Unit 6
72
2DCH
ICU7
Yes
72
Input Capture Unit 7
73
2D8H
-
-
73
Reserved
74
2D4H
ICU9
Yes
74
Input Capture Unit 9
75
2D0H
-
-
75
Reserved
76
2CCH
-
-
76
Reserved
77
2C8H
OCU0
Yes
77
Output Compare Unit 0
78
2C4H
OCU1
Yes
78
Output Compare Unit 1
79
2C0H
OCU2
Yes
79
Output Compare Unit 2
80
2BCH
OCU3
Yes
80
Output Compare Unit 3
81
2B8H
OCU4
Yes
81
Output Compare Unit 4
Document Number: 002-04713 Rev.*A
Page 23 of 65
MB96640 Series
Vector
number
Offset in
vector table
Index in
ICR to
program
Cleared by
DMA
Vector name
Description
82
2B4H
-
-
82
Reserved
83
2B0H
OCU6
Yes
83
Output Compare Unit 6
84
2ACH
OCU7
Yes
84
Output Compare Unit 7
85
2A8H
-
-
85
Reserved
86
2A4H
-
-
86
Reserved
87
2A0H
-
-
87
Reserved
88
29CH
-
-
88
Reserved
89
298H
FRT0
Yes
89
Free-Running Timer 0
90
294H
FRT1
Yes
90
Free-Running Timer 1
91
290H
FRT2
Yes
91
Free-Running Timer 2
92
28CH
-
-
92
Reserved
93
288H
RTC0
No
93
Real Time Clock
94
284H
CAL0
No
94
Clock Calibration Unit
95
280H
-
-
95
Reserved
96
27CH
IIC0
Yes
96
I C interface 0
97
278H
IIC1
Yes
97
I C interface 1
98
274H
ADC0
Yes
98
A/D Converter 0
99
270H
-
-
99
Reserved
100
26CH
-
-
100
Reserved
101
268H
LINR0
Yes
101
LIN USART 0 RX
102
264H
LINT0
Yes
102
LIN USART 0 TX
103
260H
LINR1
Yes
103
LIN USART 1 RX
104
25CH
LINT1
Yes
104
LIN USART 1 TX
105
258H
LINR2
Yes
105
LIN USART 2 RX
106
254H
LINT2
Yes
106
LIN USART 2 TX
107
250H
-
-
107
Reserved
108
24CH
-
-
108
Reserved
109
248H
LINR4
Yes
109
LIN USART 4 RX
110
244H
LINT4
Yes
110
LIN USART 4 TX
111
240H
LINR5
Yes
111
LIN USART 5 RX
112
23CH
LINT5
Yes
112
LIN USART 5 TX
113
238H
-
-
113
Reserved
114
234H
-
-
114
Reserved
115
230H
LINR7
Yes
115
LIN USART 7 RX
116
22CH
LINT7
Yes
116
LIN USART 7 TX
117
228H
-
-
117
Reserved
118
224H
-
-
118
Reserved
119
220H
-
-
119
Reserved
120
21CH
-
-
120
Reserved
Document Number: 002-04713 Rev.*A
2
2
Page 24 of 65
MB96640 Series
121
218H
-
-
Index in
ICR to
program
121
122
214H
-
-
122
Reserved
123
210H
-
-
123
Reserved
124
20CH
-
-
124
Reserved
125
208H
-
-
125
Reserved
126
204H
-
-
126
Reserved
127
200H
-
-
127
Reserved
128
1FCH
-
-
128
Reserved
129
1F8H
-
-
129
Reserved
130
1F4H
-
-
130
Reserved
131
1F0H
-
-
131
Reserved
132
1ECH
-
-
132
Reserved
133
1E8H
FLASHA
Yes
133
Flash memory A interrupt
134
1E4H
-
-
134
Reserved
135
1E0H
-
-
135
Reserved
136
1DCH
-
-
136
Reserved
137
1D8H
QPRC0
Yes
137
Quad Position/Revolution counter 0
138
1D4H
QPRC1
Yes
138
139
1D0H
ADCRC0
No
139
140
1CCH
-
-
140
Quad Position/Revolution counter 1
A/D Converter 0 - Range
Comparator
Reserved
141
1C8H
-
-
141
Reserved
142
1C4H
-
-
142
Reserved
143
1C0H
-
-
143
Reserved
Vector
number
Offset in
vector table
Document Number: 002-04713 Rev.*A
Cleared by
DMA
Vector name
Description
Reserved
Page 25 of 65
MB96640 Series
12. Handling Precautions
Any semiconductor devices have inherently a certain rate of failure. The possibility of failure is greatly affected by the conditions in
which they are used (circuit conditions, environmental conditions, etc.). This page describes precautions that must be observed to
minimize the chance of failure and to obtain higher reliability from your Cypress semiconductor devices.
12.1 Precautions for Product Design
This section describes precautions when designing electronic equipment using semiconductor devices.
 Absolute Maximum Ratings
Semiconductor devices can be permanently damaged by application of stress (voltage, current, temperature, etc.) in excess of
certain established limits, called absolute maximum ratings. Do not exceed these ratings.
 Recommended Operating Conditions
Recommended operating conditions are normal operating ranges for the semiconductor device. All the device's electrical
characteristics are warranted when operated within these ranges.
Always use semiconductor devices within the recommended operating conditions. 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 sales representative beforehand.
 Processing and Protection of Pins
These precautions must be followed when handling the pins which connect semiconductor devices to power supply and input/output
functions.
1. Preventing Over-Voltage and Over-Current Conditions
Exposure to voltage or current levels in excess of maximum ratings at any pin is likely to cause deterioration within the device,
and in extreme cases leads to permanent damage of the device. Try to prevent such overvoltage or over-current conditions at
the design stage.
2. Protection of Output Pins
Shorting of output pins to supply pins or other output pins, or connection to large capacitance can cause large current flows.
Such conditions if present for extended periods of time can damage the device.
Therefore, avoid this type of connection.
3. Handling of Unused Input Pins
Unconnected input pins with very high impedance levels can adversely affect stability of operation. Such pins should be
connected through an appropriate resistance to a power supply pin or ground pin.
 Latch-up
Semiconductor devices are constructed by the formation of P-type and N-type areas on a substrate. When subjected to abnormally
high voltages, internal parasitic PNPN junctions (called thyristor structures) may be formed, causing large current levels in excess of
several hundred mA to flow continuously at the power supply pin. This condition is called latch-up.
CAUTION: The occurrence of latch-up not only causes loss of reliability in the semiconductor device, but can cause injury or
damage from high heat, smoke or flame. To prevent this from happening, do the following:
1. Be sure that voltages applied to pins do not exceed the absolute maximum ratings. This should include attention to abnormal
noise, surge levels, etc.
2. Be sure that abnormal current flows do not occur during the power-on sequence.
 Observance of Safety Regulations and Standards
Most countries in the world have established standards and regulations regarding safety, protection from electromagnetic
interference, etc. Customers are requested to observe applicable regulations and standards in the design of products.
 Fail-Safe Design
Any semiconductor devices have inherently a certain rate 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.
Document Number: 002-04713 Rev.*A
Page 26 of 65
MB96640 Series
 Precautions Related to Usage of Devices
Cypress semiconductor devices are intended for use in standard applications (computers, office automation and other office
equipment, industrial, communications, and measurement equipment, personal or household devices, etc.).
CAUTION: Customers considering the use of our products in special applications where failure or abnormal operation may directly
affect human lives or cause physical injury or property damage, or where extremely high levels of reliability are demanded (such as
aerospace systems, atomic energy controls, sea floor repeaters, vehicle operating controls, medical devices for life support, etc.)
are requested to consult with sales representatives before such use. The company will not be responsible for damages arising from
such use without prior approval.
12.2 Precautions for Package Mounting
Package mounting may be either lead insertion type or surface mount type. In either case, for heat resistance during soldering, you
should only mount under Cypress's recommended conditions. For detailed information about mount conditions, contact your sales
representative.
 Lead Insertion Type
Mounting of lead insertion type packages onto printed circuit boards may be done by two methods: direct soldering on the board, or
mounting by using a socket.
Direct mounting onto boards normally involves processes for inserting leads into through-holes on the board and using the flow
soldering (wave soldering) method of applying liquid solder. In this case, the soldering process usually causes leads to be subjected
to thermal stress in excess of the absolute ratings for storage temperature. Mounting processes should conform to Cypress
recommended mounting conditions.
If socket mounting is used, differences in surface treatment of the socket contacts and IC lead surfaces can lead to contact
deterioration after long periods. For this reason it is recommended that the surface treatment of socket contacts and IC leads be
verified before mounting.
 Surface Mount Type
Surface mount packaging has longer and thinner leads than lead-insertion packaging, and therefore leads are more easily deformed
or bent. The use of packages with higher pin counts and narrower pin pitch results in increased susceptibility to open connections
caused by deformed pins, or shorting due to solder bridges.
You must use appropriate mounting techniques. Cypress recommends the solder reflow method, and has established a ranking of
mounting conditions for each product. Users are advised to mount packages in accordance with Cypress ranking of recommended
conditions.
 Lead-Free Packaging
CAUTION: When ball grid array (BGA) packages with Sn-Ag-Cu balls are mounted using Sn-Pb eutectic soldering, junction strength
may be reduced under some conditions of use.
 Storage of Semiconductor Devices
Because plastic chip packages are formed from plastic resins, exposure to natural environmental conditions will cause absorption of
moisture. During mounting, the application of heat to a package that has absorbed moisture can cause surfaces to peel, reducing
moisture resistance and causing packages to crack. To prevent, do the following:
1. Avoid exposure to rapid temperature changes, which cause moisture to condense inside the product. Store products in
locations where temperature changes are slight.
2. Use dry boxes for product storage. Products should be stored below 70% relative humidity, and at temperatures between 5°C
and 30°C.
When you open Dry Package that recommends humidity 40% to 70% relative humidity.
3. When necessary, Cypress packages semiconductor devices in highly moisture-resistant aluminum laminate bags, with a silica
gel desiccant. Devices should be sealed in their aluminum laminate bags for storage.
4. Avoid storing packages where they are exposed to corrosive gases or high levels of dust.
 Baking
Packages that have absorbed moisture may be de-moisturized by baking (heat drying). Follow the Cypress recommended
conditions for baking.
Condition: 125°C/24 h
Document Number: 002-04713 Rev.*A
Page 27 of 65
MB96640 Series
 Static Electricity
Because semiconductor devices are particularly susceptible to damage by static electricity, you must take the following precautions:
1. Maintain relative humidity in the working environment between 40% and 70%. Use of an apparatus for ion generation may be
needed to remove electricity.
2. Electrically ground all conveyors, solder vessels, soldering irons and peripheral equipment.
3. Eliminate static body electricity by the use of rings or bracelets connected to ground through high resistance (on the level of 1
MΩ).
Wearing of conductive clothing and shoes, use of conductive floor mats and other measures to minimize shock loads is
recommended.
4. Ground all fixtures and instruments, or protect with anti-static measures.
5. Avoid the use of Styrofoam or other highly static-prone materials for storage of completed board assemblies.
12.3 Precautions for Use Environment
Reliability of semiconductor devices depends on ambient temperature and other conditions as described above.
For reliable performance, do the following:
1. Humidity
Prolonged use in high humidity can lead to leakage in devices as well as printed circuit boards. If high humidity levels are
anticipated, consider anti-humidity processing.
2. Discharge of Static Electricity
When high-voltage charges exist close to semiconductor devices, discharges can cause abnormal operation. In such cases,
use anti-static measures or processing to prevent discharges.
3. Corrosive Gases, Dust, or Oil
Exposure to corrosive gases or contact with dust or oil may lead to chemical reactions that will adversely affect the device. If
you use devices in such conditions, consider ways to prevent such exposure or to protect the devices.
4. Radiation, Including Cosmic Radiation
Most devices are not designed for environments involving exposure to radiation or cosmic radiation. Users should provide
shielding as appropriate.
5. Smoke, Flame
CAUTION: Plastic molded devices are flammable, and therefore should not be used near combustible substances.
If devices begin to smoke or burn, there is danger of the release of toxic gases.
Customers considering the use of Cypress products in other special environmental conditions should consult with sales
representatives.
Document Number: 002-04713 Rev.*A
Page 28 of 65
MB96640 Series
13. Handling Devices
Special care is required for the following when handling the device:
•
•
•
•
•
•
•
•
•
•
•
•
•
Latch-up prevention
Unused pins handling
External clock usage
Notes on PLL clock mode operation
Power supply pins (Vcc/Vss)
Crystal oscillator and ceramic resonator circuit
Turn on sequence of power supply to A/D converter and analog inputs
Pin handling when not using the A/D converter
Notes on Power-on
Stabilization of power supply voltage
SMC power supply pins
Serial communication
Mode Pin (MD)
13.1 Latch-up prevention
CMOS IC chips may suffer latch-up under the following conditions:
•
A voltage higher than VCC or lower than VSS is applied to an input or output pin.
•
A voltage higher than the rated voltage is applied between Vcc pins and Vss pins.
•
The AVCC power supply is applied before the VCC voltage.
Latch-up may increase the power supply current dramatically, causing thermal damages to the device.
For the same reason, extra care is required to not let the analog power-supply voltage (AVCC, AVRH) exceed the digital
power-supply voltage.
13.2 Unused pins handling
Unused input pins can be left open when the input is disabled (corresponding bit of Port Input Enable register PIER = 0).
Leaving unused input pins open when the input is enabled may result in misbehavior and possible permanent damage of the device.
To prevent latch-up, they must therefore be pulled up or pulled down through resistors which should be more than 2k.
Unused bidirectional pins can be set either to the output state and be then left open, or to the input state with either input disabled or
external pull-up/pull-down resistor as described above.
13.3 External clock usage
The permitted frequency range of an external clock depends on the oscillator type and configuration.
See AC Characteristics for detailed modes and frequency limits. Single and opposite phase external clocks must be connected as
follows:
13.3.1 Single phase external clock for Main oscillator
When using a single phase external clock for the Main oscillator, X0 pin must be driven and X1 pin left open.
And supply 1.8V power to the external clock.
X0
X1
Document Number: 002-04713 Rev.*A
Page 29 of 65
MB96640 Series
13.3.2 Single phase external clock for Sub oscillator
When using a single phase external clock for the Sub oscillator, “External clock mode” must be selected and
X0A/P04_0 pin must be driven. X1A/P04_1 pin can be configured as GPIO.
13.3.3 Opposite phase external clock
When using an opposite phase external clock, X1 (X1A) pins must be supplied with a clock signal which has
the opposite phase to the X0 (X0A) pins. Supply level on X0 and X1 pins must be 1.8V.
X0
X1
13.4 Notes on PLL clock mode operation
If the microcontroller is operated with PLL clock mode and no external oscillator is operating or no external clock is supplied, the
microcontroller attempts to work with the free oscillating PLL. Performance of this operation, however, cannot be guaranteed.
13.5 Power supply pins (Vcc/Vss)
It is required that all VCC-level as well as all VSS-level power supply pins are at the same potential. If there is more than one VCC or
VSS level, the device may operate incorrectly or be damaged even within the guaranteed operating range.
Vcc and Vss pins must be connected to the device from the power supply with lowest possible impedance.
The smoothing capacitor at Vcc pin must use the one of a capacity value that is larger than Cs.
Besides this, as a measure against power supply noise, it is required to connect a bypass capacitor of about 0.1F between Vcc and
Vss pins as close as possible to Vcc and Vss pins.
13.6 Crystal oscillator and ceramic resonator circuit
Noise at X0, X1 pins or X0A, X1A pins might cause abnormal operation. It is required to provide bypass capacitors with shortest
possible distance to X0, X1 pins and X0A, X1A pins, crystal oscillator (or ceramic resonator) and ground lines and to the utmost
effort, that the lines of oscillation circuit 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.
It is highly recommended to evaluate the quartz/MCU or resonator/MCU system at the quartz or resonator manufacturer, especially
when using low-Q resonators at higher frequencies.
13.7 Turn on sequence of power supply to A/D converter and analog inputs
It is required to turn the A/D converter power supply (AVCC, AVRH, AVRL) and analog inputs (ANn) on after turning the digital power
supply (VCC) on.
It is also required to turn the digital power off after turning the A/D converter supply and analog inputs off. In this case, AVRH must
not exceed AVCC . Input voltage for ports shared with analog input ports also must not exceed AVCC (turning the analog and digital
power supplies simultaneously on or off is acceptable).
Document Number: 002-04713 Rev.*A
Page 30 of 65
MB96640 Series
13.8 Pin handling when not using the A/D converter
If the A/D converter is not used, the power supply pins for A/D converter should be connected such as AV CC = VCC , AVSS = AVRH =
VSS.
13.9 Notes on Power-on
To prevent malfunction of the internal voltage regulator, supply voltage profile while turning the power supply on should be slower
than 50s from 0.2V to 2.7V.
13.10 Stabilization of power supply voltage
If the power supply voltage varies acutely even within the operation safety range of the V CC power supply voltage, a malfunction may
occur. The VCC power supply voltage must therefore be stabilized. As stabilization guidelines, the power supply voltage must be
stabilized in such a way that VCC ripple fluctuations (peak to peak value) in the commercial frequencies (50Hz to 60Hz) fall within
10% of the standard VCC power supply voltage and the transient fluctuation rate becomes 0.1V/s or less in instantaneous
fluctuation for power supply switching.
13.11 Serial communication
There is a possibility to receive wrong data due to noise or other causes on the serial communication.
Therefore, design a printed circuit board so as to avoid noise.
Consider receiving of wrong data when designing the system. For example apply a checksum and retransmit
the data if an error occurs.
13.12 Mode Pin (MD)
Connect the mode pin directly to Vcc or Vss pin. 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 pin to Vcc or Vss pin and provide a low-impedance connection.
Document Number: 002-04713 Rev.*A
Page 31 of 65
MB96640 Series
14. Electrical Characteristics
14.1 Absolute Maximum Ratings
Parameter
Power supply
1
voltage*
Analog power supply
1
voltage*
Analog reference
1
voltage*
1
Input voltage*
1
Output voltage*
Maximum Clamp
Current
Total Maximum
Clamp Current
"L" level maximum
output current
"L" level average
output current
"L" level maximum
overall output current
"L" level average
overall output current
"H" level maximum
output current
"H" level average
output current
"H" level maximum
overall output current
"H" level average
overall output current
Power
5
consumption*
Operating ambient
temperature
Storage temperature
Symbol
Rating
Condition
Min
Max
Unit
Remarks
VCC
-
VSS - 0.3
VSS + 6.0
V
AVCC
-
VSS - 0.3
VSS + 6.0
V
VCC = AVCC*
AVCC≥ AVRH,
AVCC ≥ AVRL,
AVRH > AVRL,
AVRL ≥ AVSS
AVRH,
AVRL
-
VSS - 0.3
VSS + 6.0
V
VI
VO
-
VSS - 0.3
VSS - 0.3
VSS + 6.0
VSS + 6.0
V
V
ICLAMP
-
-4.0
+4.0
mA
Σ|ICLAMP|
-
-
26
mA
IOL
-
-
15
mA
IOLAV
-
-
4
mA
ΣIOL
-
-
66
mA
ΣIOLAV
-
-
33
mA
IOH
-
-
-15
mA
IOHAV
-
-
-4
mA
ΣIOH
-
-
-66
mA
ΣIOHAV
-
-
-33
mA
PD
TA= +125°C
-
416
TA
-
-40
+125
TSTG
-
-55
+150
*6
*7
2
3
VI ≤ VCC + 0.3V*
3
VO ≤ VCC + 0.3V*
Applicable to general
4
purpose I/O pins *
Applicable to general
4
purpose I/O pins *
mW
°C
°C
*1: This parameter is based on VSS = AVSS = 0V.
*2: AVCC and VCC must be set to the same voltage. It is required 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.3V. VI should also 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. Input/Output
voltages of standard ports depend on VCC.
*4: Applicable to all general purpose I/O pins (Pnn_m).
•
•
•
•
Use within recommended operating conditions.
Use at DC voltage (current).
The +B signal should always be applied a limiting resistance placed between the +B signal and the microcontroller.
The value of the limiting resistance should be set so that when the +B signal is applied the input current to the microcontroller
pin does not exceed rated values, either instantaneously or for prolonged periods.
• Note that when the microcontroller drive current is low, such as in the power saving modes, the +B input potential may pass
through the protective diode and increase the potential at the VCC pin, and this may affect other devices.
• Note that if a +B signal is input when the microcontroller power supply is off (not fixed at 0V), the power supply is provided
from the pins, so that incomplete operation may result.
Document Number: 002-04713 Rev.*A
Page 32 of 65
MB96640 Series
• 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 reset.
• The DEBUG I/F pin has only a protective diode against VSS. Hence it is only permitted to input a negative clamping current
(4mA). For protection against positive input voltages, use an external clamping diode which limits the input voltage to
maximum 6.0V.
• Sample recommended circuits:
Protective diode
VCC
Limiting
resistance
P-ch
+B input (0V to 16V)
N-ch
R
*5: The maximum permitted power dissipation depends on the ambient temperature, the air flow velocity and the thermal
conductance of the package on the PCB.
The actual power dissipation depends on the customer application and can be calculated as follows:
PD = PIO + PINT
PIO = Σ (VOL  IOL + VOH  IOH) (I/O load power dissipation, sum is performed on all I/O ports)
PINT = VCC  (ICC + IA) (internal power dissipation)
ICC is the total core current consumption into VCC as described in the “DC characteristics” and depends on the selected operation
mode and clock frequency and the usage of functions like Flash programming.
IA is the analog current consumption into AVCC.
*6: Worst case value for a package mounted on single layer PCB at specified TA without air flow.
*7: Write/erase to a large sector in flash memory is warranted with TA ≤ + 105°C.
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.
Document Number: 002-04713 Rev.*A
Page 33 of 65
MB96640 Series
14.2 Recommended Operating Conditions
(VSS = AVSS = 0V)
Parameter
Symbol
Power supply
voltage
VCC, AVCC
Smoothing capacitor
at C pin
CS
Min
2.7
2.0
0.5
Value
Typ
Unit
-
Max
5.5
5.5
V
V
1.0 to 3.9
4.7
F
Remarks
Maintains RAM data in stop mode
1.0F (Allowance within ± 50%)
3.9µF (Allowance within ± 20%)
Please use the ceramic capacitor or the
capacitor of the frequency response of this
level.
The smoothing capacitor at VCC must use the
one of a capacity value that is larger than 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 representatives beforehand.
Document Number: 002-04713 Rev.*A
Page 34 of 65
MB96640 Series
14.3 DC Characteristics
14.3.1 Current Rating
(VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = 0V, TA = - 40°C to + 125°C)
Parameter
Symbol
Pin
name
Conditions
PLL Run mode with
CLKS1/2 = CLKB =
CLKP1/2 = 32MHz
ICCRCH
Vcc
ICCRCL
ICCSUB
Document Number: 002-04713 Rev.*A
Unit
Remarks
27
-
mA
TA = +25°C
-
-
37
mA
TA = +105°C
(CLKRC and CLKSC stopped)
-
-
38.5
mA
TA = +125°C
Main Run mode with
CLKS1/2 = CLKB =
CLKP1/2 = 4MHz
-
3.5
-
mA
TA = +25°C
Flash 0 wait
-
-
8
mA
TA = +105°C
(CLKPLL, CLKSC and CLKRC
stopped)
-
-
9.5
mA
TA = +125°C
RC Run mode with
CLKS1/2 = CLKB =
CLKP1/2 = CLKRC = 2MHz
-
1.8
-
mA
TA = +25°C
Flash 0 wait
-
-
6
mA
TA = +105°C
(CLKMC, CLKPLL and CLKSC
stopped)
-
-
7.5
mA
TA = +125°C
RC Run mode with
CLKS1/2 = CLKB =
CLKP1/2 = CLKRC = 100kHz
-
0.16
-
mA
TA = +25°C
Flash 0 wait
-
-
3.5
mA
TA = +105°C
(CLKMC, CLKPLL and CLKSC
stopped)
-
-
5
mA
TA = +125°C
Sub Run mode with
CLKS1/2 = CLKB =
CLKP1/2 = 32kHz
-
0.1
-
mA
TA = +25°C
Flash 0 wait
-
-
3.3
mA
TA = +105°C
(CLKMC, CLKPLL and CLKRC
stopped)
-
-
4.8
mA
TA = +125°C
Flash 0 wait
Power supply
current in Run
*1
modes
Max
-
ICCPLL
ICCMAIN
Value
Typ
Min
Page 35 of 65
MB96640 Series
Parameter
Symbol
Pin
name
ICCSMAIN
ICCSRCH
ICCSRCL
ICCSSUB
Document Number: 002-04713 Rev.*A
Vcc
Value
Typ
Min
Max
Unit
Remarks
-
8.5
-
mA
TA = +25°C
-
-
14
mA
TA = +105°C
-
-
15.5
mA
TA = +125°C
Main Sleep mode with
CLKS1/2 = CLKP1/2 =
4MHz,
SMCR:LPMSS = 0
(CLKPLL, CLKRC and
CLKSC stopped)
-
1
-
mA
TA = +25°C
-
-
4.5
mA
TA = +105°C
-
-
6
mA
TA = +125°C
RC Sleep mode with
CLKS1/2 = CLKP1/2 =
CLKRC = 2MHz,
SMCR:LPMSS = 0
(CLKMC, CLKPLL and
CLKSC stopped)
-
0.6
-
mA
TA = +25°C
-
-
3.8
mA
TA = +105°C
-
-
5.3
mA
TA = +125°C
-
0.07
-
mA
TA = +25°C
-
-
2.8
mA
TA = +105°C
-
-
4.3
mA
TA = +125°C
-
0.04
-
mA
TA = +25°C
-
-
2.5
mA
TA = +105°C
-
-
4
mA
TA = +125°C
PLL Sleep mode with
CLKS1/2 = CLKP1/2 =
32MHz
(CLKRC and CLKSC
stopped)
ICCSPLL
Power supply
current in Sleep
*1
modes
Conditions
RC Sleep mode with
CLKS1/2 = CLKP1/2 =
CLKRC = 100kHz
(CLKMC, CLKPLL and
CLKSC stopped)
Sub Sleep mode with
CLKS1/2 = CLKP1/2 =
32kHz,
(CLKMC, CLKPLL and
CLKRC stopped)
Page 36 of 65
MB96640 Series
Parameter
Symbol
Pin
name
ICCTMAIN
ICCTRCH
Vcc
ICCTRCL
ICCTSUB
Document Number: 002-04713 Rev.*A
Value
Typ
Min
Max
Unit
Remarks
-
1800
2250
A
TA = +25°C
-
-
3220
A
TA = +105°C
-
-
4025
A
TA = +125°C
Main Timer mode with
CLKMC = 4MHz,
SMCR:LPMSS = 0
(CLKPLL, CLKRC and CLKSC
stopped)
-
285
330
A
TA = +25°C
-
-
1195
A
TA = +105°C
-
-
2165
A
TA = +125°C
RC Timer mode with
CLKRC = 2MHz,
SMCR:LPMSS = 0
(CLKPLL, CLKMC and CLKSC
stopped)
-
160
215
A
TA = +25°C
-
-
1095
A
TA = +105°C
-
-
2075
A
TA = +125°C
-
35
75
A
TA = +25°C
-
-
905
A
TA = +105°C
-
-
1880
A
TA = +125°C
-
25
65
A
TA = +25°C
-
-
885
A
TA = +105°C
-
-
1850
A
TA = +125°C
PLL Timer mode with
CLKPLL = 32MHz (CLKRC and
CLKSC stopped)
ICCTPLL
Power supply
current in
*2
Timer modes
Conditions
RC Timer mode with
CLKRC = 100kHz
(CLKPLL, CLKMC and CLKSC
stopped)
Sub Timer mode with
CLKSC = 32kHz
(CLKMC, CLKPLL and CLKRC
stopped)
Page 37 of 65
MB96640 Series
Parameter
Power supply current
*3
in Stop mode
Flash Power Down
current
Symbol
Value
Pin
name
ICCH
Conditions
Typ
Max
Unit
Remarks
-
20
60
A
TA = +25°C
-
-
880
A
TA = +105°C
-
-
1845
A
TA = +125°C
-
-
36
70
A
Low voltage detector
enabled
-
5
-
A
TA = +25°C
-
-
12.5
A
TA = +125°C
-
12.5
-
mA
TA = +25°C
-
-
20
mA
TA = +125°C
-
ICCFLASHPD
Min
Vcc
Power supply current
for active Low
4
Voltage detector*
ICCLVD
Flash Write/
5
Erase current*
ICCFLASH
-
*1: The power supply current is measured with a 4MHz external clock connected to the Main oscillator and
a 32 kHz external clock connected to the Sub oscillator. See chapter “Standby mode and voltage regulator control circuit” of the
Hardware Manual for further details about voltage regulator control. Current for "On Chip Debugger" part is not included. Power
supply current in Run mode does not include Flash Write / Erase current.
*2: The power supply current in Timer mode is the value when Flash is in Power-down / reset mode.
When Flash is not in Power-down / reset mode, ICCFLASHPD must be added to the Power supply current.
The power supply current is measured with a 4MHz external clock connected to the Main oscillator and a 32 kHz external clock
connected to the Sub oscillator. The current for "On Chip Debugger" part is not included.
*3: The power supply current in Stop mode is the value when Flash is in Power-down / reset mode.
When Flash is not in Power-down / reset mode, ICCFLASHPD must be added to the Power supply current.
*4: When low voltage detector is enabled, ICCLVD must be added to Power supply current.
*5: When Flash Write / Erase program is executed, ICCFLASH must be added to Power supply current.
Document Number: 002-04713 Rev.*A
Page 38 of 65
MB96640 Series
14.3.2 Pin Characteristics
(VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = 0V, TA = - 40°C to + 125°C)
Parameter
"H" level
input voltage
"L" level input
voltage
Symbol
Pin name
VIH
Port
inputs
Pnn_m
Conditions
External clock in
"Fast Clock Input mode"
External clock in
"Oscillation mode"
VIHX0S
X0
VIHX0AS
X0A
VIHR
RSTX
-
VIHM
MD
-
VIHD
DEBUG
I/F
-
VIL
Port
inputs
Pnn_m
External clock in "Fast Clock
Input mode"
External clock in
"Oscillation mode"
VILX0S
X0
VILX0AS
X0A
VILR
RSTX
-
VILM
MD
-
VILD
DEBUG
I/F
-
Document Number: 002-04713 Rev.*A
Min
VCC
 0.7
VCC
 0.8
VD
 0.8
VCC
 0.8
VCC
 0.8
VCC
- 0.3
2.0
VSS
- 0.3
VSS
- 0.3
VSS
VSS
- 0.3
VSS
- 0.3
VSS
- 0.3
VSS
- 0.3
Value
Typ
-
Max
VCC
+ 0.3
VCC
+ 0.3
VD
VCC
+ 0.3
VCC
+ 0.3
VCC
+ 0.3
VCC
+ 0.3
VCC
 0.3
VCC
 0.5
VD
 0.2
VCC
 0.2
VCC
 0.2
VSS
+ 0.3
0.8
Unit
V
V
V
Remarks
CMOS Hysteresis
input
AUTOMOTIVE
Hysteresis input
VD=1.8V±0.15V
V
V
V
V
V
V
V
CMOS Hysteresis
input
CMOS Hysteresis
input
TTL Input
CMOS Hysteresis
input
AUTOMOTIVE
Hysteresis input
VD=1.8V±0.15V
V
V
V
V
CMOS Hysteresis
input
CMOS Hysteresis
input
TTL Input
Page 39 of 65
MB96640 Series
Parameter
Symbol
Pin name
VOH4
4mA type
VOH3
3mA type
VOL4
4mA type
VOL3
3mA type
VOLD
DEBUG
I/F
Input leak
current
IIL
Pnn_m
Pull-up
resistance
value
RPU
Pnn_m
CIN
Other
than C,
Vcc,
Vss,
AVcc,
AVss,
AVRH,
AVRL
"H" level
output
voltage
"L" level
output
voltage
Input
capacitance
Document Number: 002-04713 Rev.*A
Conditions
4.5V ≤ VCC ≤ 5.5V
IOH = -4mA
2.7V ≤ VCC < 4.5V
IOH = -1.5mA
4.5V ≤ VCC ≤ 5.5V
IOH = -3mA
2.7V ≤ VCC < 4.5V
IOH = -1.5mA
4.5V ≤ VCC ≤ 5.5V
IOL = +4mA
2.7V ≤ VCC < 4.5V
IOL = +1.7mA
2.7V ≤ VCC < 5.5V
IOL = +3mA
VCC = 2.7V
IOL = +25mA
VSS < VI < VCC
AVSS, AVRL < VI < AVCC,
AVRH
Min
Value
Typ
Max
Unit
VCC
- 0.5
-
VCC
V
VCC
- 0.5
-
VCC
V
-
-
0.4
V
-
-
0.4
V
0
-
0.25
V
-1
-
+1
A
VCC = 5.0V ±10%
25
50
100
k
-
-
5
15
pF
Remarks
Page 40 of 65
MB96640 Series
14.4 AC Characteristics
14.4.1 Main Clock Input Characteristics
(VCC = AVCC = 2.7V to 5.5V, VD=1.8V±0.15V, VSS = AVSS = 0V, TA = - 40°C to + 125°C)
Parameter
Input frequency
Symbol
fC
Pin name
X0,
X1
fFCI
Max
Unit
4
-
8
MHz
-
-
8
MHz
4
-
8
MHz
Input frequency
Value
Typ
Min
-
8
When using a crystal
oscillator, PLL off
When using an opposite
phase external
clock, PLL off
When using a crystal
oscillator or opposite
phase external clock, PLL
on
MHz
When using a single phase
external
clock in “Fast Clock Input
mode”, PLL off
When using a single phase
external
clock in “Fast Clock Input
mode”, PLL on
X0
4
-
8
MHz
Input clock cycle
tCYLH
-
125
-
-
ns
Input clock pulse width
PWH,
PWL
-
55
-
-
ns
Document Number: 002-04713 Rev.*A
Remarks
Page 41 of 65
MB96640 Series
14.4.2 Sub Clock Input Characteristics
(VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = 0V, TA = - 40°C to + 125°C)
Parameter
Input frequency
Pin
name
Symbol
fCL
Value
Conditions
Min
Typ
Max
Unit
-
-
32.768
-
kHz
-
-
-
100
kHz
X0A
-
-
-
50
kHz
X0A,
X1A
Input clock cycle
tCYLL
-
-
10
-
-
s
Input clock pulse
width
-
-
PWH/tCYLL,
PWL/tCYLL
30
-
70
%
Document Number: 002-04713 Rev.*A
Remarks
When using an
oscillation circuit
When using an
opposite phase
external clock
When using a single
phase external clock
Page 42 of 65
MB96640 Series
14.4.3 Built-in RC Oscillation Characteristics
(VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = 0V, TA = - 40°C to + 125°C)
Parameter
Clock frequency
RC clock stabilization
time
Value
Symbol
Min
Typ
Unit
Max
50
100
200
kHz
1
2
4
MHz
80
160
320
s
64
128
256
s
Remarks
When using slow frequency of RC
oscillator
When using fast frequency of RC
oscillator
When using slow frequency of RC
oscillator
(16 RC clock cycles)
When using fast frequency of RC
oscillator
(256 RC clock cycles)
fRC
tRCSTAB
14.4.4 Internal Clock Timing
(VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = 0V, TA = - 40°C to + 125°C)
Parameter
Value
Symbol
Min
Max
Unit
Internal System clock frequency
(CLKS1 and CLKS2)
fCLKS1, fCLKS2
-
54
MHz
Internal CPU clock frequency (CLKB),
Internal peripheral clock frequency (CLKP1)
fCLKB, fCLKP1
-
32
MHz
Internal peripheral clock frequency (CLKP2)
fCLKP2
-
32
MHz
Document Number: 002-04713 Rev.*A
Page 43 of 65
MB96640 Series
14.4.5 Operating Conditions of PLL
(VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = 0V, TA = - 40°C to + 125°C)
Parameter
Symbol
Value
Min
Typ
Max
Unit
Remarks
PLL oscillation stabilization wait time
tLOCK
1
-
4
ms
For CLKMC = 4MHz
PLL input clock frequency
fPLLI
4
-
8
MHz
PLL oscillation clock frequency
fCLKVCO
56
-
108
MHz
Permitted VCO output
frequency of PLL (CLKVCO)
PLL phase jitter
tPSKEW
-5
-
+5
ns
For CLKMC (PLL input clock)
≥ 4MHz
14.4.6 Reset Input
(VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = 0V, TA = - 40°C to + 125°C)
Parameter
Reset input time
Rejection of reset input time
Symbol
Pin name
tRSTL
RSTX
Value
Unit
Min
Max
10
-
s
1
-
s
tRSTL
RSTX
0.2VCC
Document Number: 002-04713 Rev.*A
0.2VCC
Page 44 of 65
MB96640 Series
14.4.7 Power-on Reset Timing
(VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = 0V, TA = - 40°C to + 125°C)
Parameter
Power on rise time
Power off time
Symbol
tR
tOFF
Document Number: 002-04713 Rev.*A
Pin name
Vcc
Vcc
Value
Min
0.05
1
Typ
-
Unit
Max
30
-
ms
ms
Page 45 of 65
MB96640 Series
14.4.8 USART Timing
(VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = 0V, TA = - 40°C to + 125°C, CL=50pF)
Parameter
Symbol
Pin
name
Serial clock cycle time
tSCYC
SCKn
SCK   SOT delay time
tSLOVI
SCKn,
SOTn
SOT  SCK  delay time
tOVSHI
SCKn,
SOTn
SIN  SCK  setup time
tIVSHI
Conditions
tSHIXI
SCKn,
SINn
Serial clock "L" pulse width
tSLSH
SCKn
4tCLKP1
-
ns
- 20
+ 20
- 30
+ 30
ns
-
NtCLKP1
*
– 30
-
ns
P1
NtC
Internal shift
clock mode
SCKn,
SINn
SCK   SIN hold time
4.5V  VCC
5.5V
Min
Max
4tCLK
-
LKP1
*
– 20
tCLKP
-
ns
-
0
-
ns
-
tCLKP1
+ 10
-
ns
-
tCLKP1
+ 10
-
ns
2tCLKP1
+ 45
-
2tCLKP1
+ 55
ns
-
tCLKP1/2
+ 10
-
ns
1
-
-
ns
+ 10
-
tCLKP1
+ 10
20
20
-
20
20
ns
ns
+ 45
0
1
SCKn
1
+ 10
SCK  SOT delay time
tSLOVE
SCKn,
SOTn
SIN 
tIVSHE
SCKn,
SINn
tSHIXE
SCKn,
SINn
SCK  setup time
SCK   SIN hold time
SCK fall time
SCK rise time
tF
tR
Unit
Max
tCLKP1
+ 55
+ 10
tCLKP
tSHSL
Min
-
1
tCLKP
Serial clock "H" pulse width
2.7V  VCC  4.5V
External shift
clock mode
SCKn
SCKn
tCLKP
1/2
+ 10
tCLKP
Notes:
• AC characteristic in CLK synchronized mode.
• CL is the load capacity value of pins when testing.
• Depending on the used machine clock frequency, the maximum possible baud rate can be limited by
some parameters. These parameters are shown in “MB96600 series HARDWARE MANUAL”.
• tCLKP1 indicates the peripheral clock 1 (CLKP1), Unit: ns
• These characteristics only guarantee the same relocate port number.
For example, the combination of SCKn and SOTn_R is not guaranteed.
*: Parameter N depends on tSCYC and can be calculated as follows:
• If tSCYC = 2  k  tCLKP1, then N = k, where k is an integer > 2
• If tSCYC = (2  k + 1)  tCLKP1, then N = k + 1, where k is an integer > 1
Document Number: 002-04713 Rev.*A
Page 46 of 65
MB96640 Series
Examples:
tSCYC
N
4  tCLKP1
2
5  tCLKP1, 6  tCLKP1
3
7  tCLKP1, 8  tCLKP1
4
...
...
tSCYC
VOH
SCK
VOL
VOL
tOVSHI
tSLOVI
VOH
SOT
VOL
tIVSHI
SIN
tSHIXI
VIH
VIH
VIL
VIL
Internal shift clock mode
SCK
tSHSL
tSLSH
VIH
VIH
VIL
tF
VIL
VIH
tR
tSLOVE
SOT
VOH
VOL
SIN
tIVSHE
VIH
VIL
tSHIXE
VIH
VIL
External shift clock mode
Document Number: 002-04713 Rev.*A
Page 47 of 65
MB96640 Series
14.4.9 External Input Timing
(VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = 0V, TA = - 40°C to + 125°C)
Parameter
Input pulse width
Symbol
tINH,
tINL
Value
Pin name
Min
Max
General Purpose I/O
ADTG
A/D Converter trigger input
TINn
TTGn
FRCKn,
FRCKn_R
INn, INn_R
Reload Timer
PPG trigger input
Free-Running Timer input
clock
Input Capture
2tCLKP1 +200
(tCLKP1=
1/fCLKP1)*
tINH
-
VIH
ns
ns
Quadrature
Position/Revolution
Counter
External Interrupt
Non-Maskable Interrupt
tINL
VIH
VIL
Document Number: 002-04713 Rev.*A
Remarks
Pnn_m
AINn,
BINn,
ZINn
INTn, INTn_R
200
NMI
*: tCLKP1 indicates the peripheral clock1 (CLKP1) cycle time except stop when in stop mode.
External input timing
Unit
VIL
Page 48 of 65
MB96640 Series
2
14.4.10 I C Timing
(VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = 0V, TA = - 40°C to + 125°C)
Parameter
Symbol
Min
SCL clock frequency
(Repeated) START condition hold
time
SDA   SCL 
SCL clock "L" width
SCL clock "H" width
(Repeated) START condition setup
time
SCL  SDA 
Data hold time
SCL   SDA  
Data setup time
SDA    SCL 
STOP condition setup time
SCL   SDA 
Bus free time between
"STOP condition" and
"START condition"
Pulse width of spikes which will be
suppressed by input noise filter
High-speed
4
mode*
Typical mode
Conditions
Max
Min
Unit
Max
fSCL
0
100
0
400
kHz
tHDSTA
4.0
-
0.6
-
s
tLOW
tHIGH
4.7
4.0
-
1.3
0.6
-
s
s
4.7
-
0.6
-
s
0
3.45*
0
0.9*
s
tSUDAT
250
-
100
-
ns
tSUSTO
4.0
-
0.6
-
s
tBUS
4.7
-
1.3
-
s
0
(1-1.5)
5
tCLKP1*
0
(1-1.5)
5
tCLKP1*
ns
tSUSTA
CL = 50pF,
1
R = (Vp/IOL)*
tHDDAT
tSP
-
2
3
*1: R and CL represent the pull-up resistance and load capacitance of the SCL and SDA lines, respectively.
Vp indicates the power supply voltage of the pull-up resistance and IOL indicates VOL guaranteed current.
*2: The maximum tHDDAT only has to be met if the device does not extend the "L" width (tLOW) of the SCL signal.
2
2
*3: A high-speed mode I C bus device can be used on a standard mode I C bus system as long as the device satisfies the
requirement of "tSUDAT ≥ 250ns".
*4: For use at over 100 kHz, set the peripheral clock1 (CLKP1) to at least 6MHz.
*5: tCLKP1 indicates the peripheral clock1 (CLKP1) cycle time.
SDA
tSUDAT
tSUSTA
tBUS
tLOW
SCL
tHDSTA
Document Number: 002-04713 Rev.*A
tHDDAT
tHIGH
tHDSTA
tSP
tSUSTO
Page 49 of 65
MB96640 Series
14.5 A/D Converter
14.5.1 Electrical Characteristics for the A/D Converter
(VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = 0V, TA = - 40°C to + 125°C)
Parameter
Value
Typ
Symbol
Pin name
Resolution
-
-
-
-
10
bit
Total error
-
-
- 3.0
-
+ 3.0
LSB
Nonlinearity error
-
-
- 2.5
-
+ 2.5
LSB
-
-
- 1.9
-
+ 1.9
LSB
VOT
ANn
Typ - 20
Typ + 20
mV
VFST
ANn
Typ - 20
Typ + 20
mV
*
-
-
*
-
-
5.0
8.0
3.1
s
s
s
s
mA
Differential
Nonlinearity error
Zero transition
voltage
Full scale transition
voltage
Compare time
Sampling time
Power supply
current
Reference power
supply current
(between AVRH
and AVRL)
Analog input
capacity
Analog impedance
Analog port input
current (during
conversion)
Analog input
voltage
Reference voltage
range
IA
IAH
AVCC
IR
Min
Max
Unit
1.0
2.2
0.5
1.2
-
AVRL
+ 0.5LSB
AVRH
- 1.5LSB
2.0
-
-
3.3
A
-
520
810
A
A/D Converter active
-
-
1.0
A
A/D Converter not
operated
AVRH
IRH
Remarks
4.5V ≤ ΑVCC ≤ 5.5V
2.7V ≤ ΑVCC  4.5V
4.5V ≤ ΑVCC ≤ 5.5V
2.7V ≤ ΑVCC  4.5V
A/D Converter active
A/D Converter not
operated
CVIN
ANn
-
-
15.9
pF
RVIN
ANn
-
-
2050
3600


4.5V ≤ AVCC ≤ 5.5V
2.7V ≤ AVCC < 4.5V
IAIN
ANn
- 0.3
-
+ 0.3
A
AVSS , AVRL VAIN 
AVCC, AVRH
VAIN
ANn
AVRL
-
AVRH
V
-
AVRH
AVCC
- 0.1
-
AVCC
V
-
AVRL
AVSS
-
AVSS
+ 0.1
V
ANn
-
-
4.0
LSB
Variation between
channels
*: Time for each channel.
Document Number: 002-04713 Rev.*A
Page 50 of 65
MB96640 Series
14.5.2 Accuracy and Setting of the A/D Converter Sampling Time
If the external impedance is too high or the sampling time too short, the analog voltage charged to the internal sample and hold
capacitor is insufficient, adversely affecting the A/D conversion precision.
To satisfy the A/D conversion precision, a sufficient sampling time must be selected. The required sampling time (Tsamp) depends
on the external driving impedance Rext, the board capacitance of the A/D converter input pin Cext and the AVCC voltage level. The
following replacement model can be used for the calculation:
MCU
Rext
Analog
input
RVIN
Source
Comparator
Cext
CVIN
Sampling switch
(During sampling:ON)
Rext: External driving impedance
Cext: Capacitance of PCB at A/D converter input
CVIN: Analog input capacity (I/O, analog switch and ADC are contained)
RVIN: Analog input impedance (I/O, analog switch and ADC are contained)
The following approximation formula for the replacement model above can be used:
Tsamp = 7.62  (Rext  Cext + (Rext + RVIN)  CVIN)
• Do not select a sampling time below the absolute minimum permitted value.
(0.5s for 4.5V ≤ AVCC ≤ 5.5V, 1.2s for 2.7V ≤ AVCC < 4.5V)
• If the sampling time cannot be sufficient, connect a capacitor of about 0.1F to the analog input pin.
• A big external driving impedance also adversely affects the A/D conversion precision due to the pin input leakage current IIL
(static current before the sampling switch) or the analog input leakage current IAIN (total leakage current of pin input and
comparator during sampling). The effect of the pin input leakage current IIL cannot be compensated by an external capacitor.
• The accuracy gets worse as |AVRH - AVRL| becomes smaller.
Document Number: 002-04713 Rev.*A
Page 51 of 65
MB96640 Series
14.5.3 Definition of A/D Converter Terms
• Resolution
• Nonlinearity error
•
•
•
•
: Analog variation that is recognized by an A/D converter.
: Deviation of the actual conversion characteristics from a straight line that connects the zero
transition point (0b0000000000 ←→ 0b0000000001) to the full-scale transition point
(0b1111111110 ←→ 0b1111111111).
Differential nonlinearity error: Deviation from the ideal value of the input voltage that is required to change the
output code by 1LSB.
Total error
: Difference between the actual value and the theoretical value. The total error includes zero
transition error, full-scale transition error and nonlinearity error.
Zero transition voltage
: Input voltage which results in the minimum conversion value.
Full scale transition voltage: Input voltage which results in the maximum conversion value.
Nonlinearity error of digital output N =
Differential nonlinearity error of digital output N =
:
:
:
:
V(N + 1) T - VNT
1LSB
[LSB]
- 1 [LSB]
VFST - VOT
1022
1LSB =
N
VOT
VFST
VNT
VNT - {1LSB  (N - 1) + VOT}
1LSB
A/D converter digital output value.
Voltage at which the digital output changes from 0x000 to 0x001.
Voltage at which the digital output changes from 0x3FE to 0x3FF.
Voltage at which the digital output changes from 0x(N − 1) to 0xN.
Document Number: 002-04713 Rev.*A
Page 52 of 65
MB96640 Series
1LSB (Ideal value) =
Total error of digital output N =
AVRH - AVRL
1024
[V]
VNT - {1LSB  (N - 1) + 0.5LSB}
1LSB
N
: A/D converter digital output value.
VNT
: Voltage at which the digital output changes from 0x (N + 1) to 0xN.
VOT (Ideal value) = AVRL + 0.5LSB[V]
VFST (Ideal value) = AVRH - 1.5LSB[V]
Document Number: 002-04713 Rev.*A
Page 53 of 65
MB96640 Series
14.6 Low Voltage Detection Function Characteristics
(VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = 0V, TA = - 40°C to + 125°C)
Parameter
Symbol
Conditions
Value
Typ
2.90
3.00
3.20
3.50
3.70
4.00
4.20
Max
3.10
3.21
3.42
3.74
3.95
4.27
4.49
V
V
V
V
V
V
V
Unit
VDL0
VDL1
VDL2
VDL3
VDL4
VDL5
VDL6
CILCR:LVL = 0000B
CILCR:LVL = 0001B
CILCR:LVL = 0010B
CILCR:LVL = 0011B
CILCR:LVL = 0100B
CILCR:LVL = 0111B
CILCR:LVL = 1001B
Min
2.70
2.79
2.98
3.26
3.45
3.73
3.91
Power supply voltage
*2
change rate
dV/dt
-
- 0.004
-
+ 0.004
V/s
Hysteresis width
VHYS
CILCR:LVHYS=0
-
-
50
mV
CILCR:LVHYS=1
80
100
120
mV
Stabilization time
TLVDSTAB
-
-
-
75
s
Detection delay time
td
-
-
-
30
s
Detected voltage
*1
*1: If the power supply voltage fluctuates within the time less than the detection delay time (t d), there is a possibility that the low
voltage detection will occur or stop after the power supply voltage passes the detection range.
*2: In order to perform the low voltage detection at the detection voltage (VDLX), be sure to suppress fluctuation of the power supply
voltage within the limits of the change ration of power supply voltage.
Voltage
Vcc
dV
Detected Voltage
dt
VDLX max
VDLX min
Time
Document Number: 002-04713 Rev.*A
Page 54 of 65
MB96640 Series
RCR:LVDE
···Low voltage detection
function enable
Document Number: 002-04713 Rev.*A
Low voltage detection
function disable
Stabilization time
TLVDSTAB
Low voltage detection
function enable···
Page 55 of 65
MB96640 Series
14.7 Flash Memory Write/Erase Characteristics
(VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = 0V, TA = - 40°C to + 125°C)
Parameter
Sector erase time
Word (16-bit) write
time
Conditions
Min
Value
Typ
Unit
Max
Large Sector
TA ≤ + 105°C
-
1.6
7.5
s
Small Sector
-
-
0.4
2.1
s
Security Sector
-
-
0.31
1.65
s
Large Sector
TA ≤ + 105°C
-
25
400
s
Small Sector
-
-
25
400
s
TA ≤ + 105°C
-
11.51
55.05
s
Chip erase time
Remarks
Includes write time prior to
internal erase.
Not including system-level
overhead
time.
Includes write time prior to
internal erase.
Note:
While the Flash memory is written or erased, shutdown of the external power (VCC) is prohibited. In the application system where the
external power (VCC) might be shut down while writing or erasing, be sure to turn the power off by using a low voltage detection
function.
To put it concrete, change the external power in the range of change ration of power supply voltage (-0.004V/s to +0.004V/s) after
*1
the external power falls below the detection voltage (V DLX) .
Write/Erase cycles and data hold time
Write/Erase cycles
(cycle)
1,000
10,000
100,000
Data hold time
(year)
*2
20
*2
10
*2
5
*1: See "14.6 Low Voltage Detection Function Characteristics".
*2: This value comes from the technology qualification (using Arrhenius equation to translate high temperature
measurements into normalized value at + 85C).
Document Number: 002-04713 Rev.*A
Page 56 of 65
MB96640 Series
15. Example Characteristics
This characteristic is an actual value of the arbitrary sample. It is not the guaranteed value.
 MB96F647
Run Mode
(VCC = 5.5V)
100.00
PLL clock (32MHz)
10.00
ICC [mA]
Main osc. (4MHz)
1.00
RC clock (2MHz)
RC clock (100kHz)
0.10
Sub osc. (32kHz)
0.01
-50
0
50
100
150
TA [ºC]
Sleep Mode
(VCC = 5.5V)
100.000
PLL clock (32MHz)
ICC [mA]
10.000
Main osc. (4MHz)
1.000
RC clock (2MHz)
0.100
RC clock (100kHz)
0.010
Sub osc. (32kHz)
0.001
-50
0
50
100
150
TA [ºC]
Document Number: 002-04713 Rev.*A
Page 57 of 65
MB96640 Series
 MB96F647
Timer Mode
(VCC = 5.5V)
10.000
PLL clock (32MHz)
ICC [mA]
1.000
Main osc. (4MHz)
0.100
RC clock (2MHz)
RC clock (100kHz)
0.010
Sub osc. (32kHz)
0.001
-50
0
50
100
150
TA [ºC]
Stop Mode
(VCC = 5.5V)
1.000
ICC [mA]
0.100
0.010
0.001
-50
0
50
100
150
TA [ºC]
Document Number: 002-04713 Rev.*A
Page 58 of 65
MB96640 Series
 Used setting
Selected Source
Clock
Mode
Run mode
Sleep mode
PLL
CLKS1 = CLKS2 = CLKB = CLKP1 = CLKP2 = 32MHz
Main osc.
CLKS1 = CLKS2 = CLKB = CLKP1 = CLKP2 = 4MHz
RC clock fast
CLKS1 = CLKS2 = CLKB = CLKP1 = CLKP2 = 2MHz
RC clock slow
CLKS1 = CLKS2 = CLKB = CLKP1 = CLKP2 = 100kHz
Sub osc.
CLKS1 = CLKS2 = CLKB = CLKP1 = CLKP2 = 32kHz
PLL
CLKS1 = CLKS2 = CLKP1 = CLKP2 = 32MHz
Regulator in High Power Mode,
(CLKB is stopped in this mode)
Main osc.
Timer mode
CLKS1 = CLKS2 = CLKP1 = CLKP2 = 4MHz
Regulator in High Power Mode,
(CLKB is stopped in this mode)
RC clock fast
CLKS1 = CLKS2 = CLKP1 = CLKP2 = 2MHz
Regulator in High Power Mode,
(CLKB is stopped in this mode)
RC clock slow
CLKS1 = CLKS2 = CLKP1 = CLKP2 = 100kHz
Regulator in Low Power Mode,
(CLKB is stopped in this mode)
Sub osc.
CLKS1 = CLKS2 = CLKP1 = CLKP2 = 32kHz
Regulator in Low Power Mode,
(CLKB is stopped in this mode)
PLL
CLKMC = 4MHz, CLKPLL = 32MHz
(System clocks are stopped in this mode)
Regulator in High Power Mode,
FLASH in Power-down / reset mode
CLKMC = 4MHz
(System clocks are stopped in this mode)
Regulator in High Power Mode,
FLASH in Power-down / reset mode
CLKMC = 2MHz
(System clocks are stopped in this mode)
Regulator in High Power Mode,
FLASH in Power-down / reset mode
CLKMC = 100kHz
(System clocks are stopped in this mode)
Regulator in Low Power Mode,
FLASH in Power-down / reset mode
CLKMC = 32 kHz
(System clocks are stopped in this mode)
Regulator in Low Power Mode,
FLASH in Power-down / reset mode
(All clocks are stopped in this mode)
Regulator in Low Power Mode,
FLASH in Power-down / reset mode
Main osc.
RC clock fast
RC clock slow
Sub osc.
Stop mode
Clock/Regulator and FLASH Settings
stopped
Document Number: 002-04713 Rev.*A
Page 59 of 65
MB96640 Series
16. Ordering Information
MCU with CAN controller
Part number
MB96F643RBPMC-GSE1
MB96F643RBPMC-GSE2
Flash memory
Flash A
(96.5KB)
MB96F645RBPMC-GSE1
Flash A
(160.5KB)
MB96F645RBPMC-GSE2
MB96F646RBPMC-GSE1
Flash A
(288.5KB)
MB96F646RBPMC-GSE2
MB96F647RBPMC-GSE1
Flash A
(416.5KB)
MB96F647RBPMC-GSE2
*: For details about package, see "Package Dimension".
MCU without CAN controller
Part number
MB96F643ABPMC-GSE1
MB96F643ABPMC-GSE2
MB96F645ABPMC-GSE1
Flash memory
Flash A
(96.5KB)
Flash A
(160.5KB)
MB96F645ABPMC-GSE2
*: For details about package, see "Package Dimension".
Document Number: 002-04713 Rev.*A
Package*
100-pin plastic LQFP
(FPT-100P-M20)
100-pin plastic LQFP
(FPT-100P-M20)
100-pin plastic LQFP
(FPT-100P-M20)
100-pin plastic LQFP
(FPT-100P-M20)
Package*
100-pin plastic LQFP
(FPT-100P-M20)
100-pin plastic LQFP
(FPT-100P-M20)
Page 60 of 65
MB96640 Series
17. Package Dimension
100-pin plastic LQFP
Lead pitch
0.50 mm
Package width ×
package length
14.0 mm × 14.0 mm
Lead shape
Gullwing
Sealing method
Plastic mold
Mounting height
1.70 mm Max
Weight
0.65 g
Code
(Reference)
P-LFQFP100-14×14-0.50
(FPT-100P-M20)
100-pin plastic LQFP
(FPT-100P-M20)
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.00±0.20(.630±.008)SQ
*14.00±0.10(.551±.004)SQ
75
51
76
50
0.08(.003)
Details of "A" part
+0.20
26
100
"A"
1
25
0.50(.020)
C
0.20 ±0.05
(.008 ±.002)
0.08(.003) M
2005 -2010 FUJITSU SEMICONDUCTOR LIMITED F100031S-c-3-5
Document Number: 002-04713 Rev.*A
+.008
1.50 –0.10 .059 –.004
(Mounting height)
INDEX
0.145±0.055
(.006 ±.002)
0°~8°
0.50 ±0.20
(.020 ±.008 )
0.60 ±0.15
(.024 ±.006)
0.10 ±0.10
(.004 ±.004)
(Stand off)
0.25(.010)
Dimensions in mm (inches).
Note: The values in parentheses are reference values
Page 61 of 65
MB96640 Series
18. Major Changes
Spansion Publication Number: MB96640_DS704-00009
Page
Section
Revision 1.0
Revision 2.0
Features
4
26 to 29
37
Handling Precautions
Electrical Characteristics
3. DC Characteristics
(1) Current Rating

38
39
50
52
4. AC Characteristics
2
(10) I C timing
5. A/D Converter
(2) Accuracy and Setting of the A/D
Converter Sampling Time
7. Flash Memory Write/Erase
Characteristics
57
Document Number: 002-04713 Rev.*A
Change Results
Initial release
Changed the description of “External Interrupts”
Interrupt mask and pending bit per channel
→
Interrupt mask bit per channel
Added a section
Changed the Conditions for ICCSRCH
CLKS1/2 = CLKB = CLKP1/2 = CLKRC = 2MHz,
→
CLKS1/2 = CLKP1/2 = CLKRC = 2MHz,
Changed the Conditions for ICCSRCL
CLKS1/2 = CLKB = CLKP1/2 = CLKRC = 100kHz
→
CLKS1/2 = CLKP1/2 = CLKRC = 100kHz
Changed the Conditions for ICCTPLL
PLL Timer mode with CLKP1 = 32MHz
→
PLL Timer mode with CLKPLL = 32MHz
Changed the Value of “Power supply current in Timer modes”
ICCTPLL
Typ: 2485μA → 1800μA (TA = +25°C)
Max: 2715μA → 2250μA (TA = +25°C)
Max: 4095μA → 3220μA (TA = +105°C)
Max: 5065μA → 4025μA (TA = +125°C)
Changed the Conditions for ICCTRCL
RC Timer mode with CLKRC = 100kHz,
SMCR:LPMSS = 0 (CLKPLL, CLKMC and CLKSC stopped)
→
RC Timer mode with CLKRC = 100kHz
(CLKPLL, CLKMC and CLKSC stopped)
Changed the annotation *2
Power supply for "On Chip Debugger" part is not included.
Power supply current in Run mode does not include
Flash Write / Erase current.
→
The current for "On Chip Debugger" part is not included.
Added parameter, “Noise filter” and an annotation *5 for it
Added tSP to the figure
Deleted the unit “[Min]” from approximation formula of
Sampling time
Changed the condition
(VCC = AVCC = 2.7V to 5.5V, VD=1.8V±0.15V, VSS = AVSS =
0V, TA = - 40°C to + 125°C)
→
(VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = 0V, TA = - 40°C to +
125°C)
Page 62 of 65
MB96640 Series
Page
Section
Electrical Characteristics
7. Flash Memory Write/Erase
Characteristics
57
Change Results
Changed the Note
While the Flash memory is written or erased, shutdown of the
external power (VCC) is prohibited. In the application system
where the external power (VCC) might be shut down while
writing, be sure to turn the power off by using an external
voltage detector.
→
While the Flash memory is written or erased, shutdown of the
external power (VCC) is prohibited. In the application system
where the external power (VCC) might be shut down while
writing or erasing, be sure to turn the power off by using a low
voltage detection function.
Revision 2.1
Company name and layout design change
NOTE: Please see “Document History” about later revised information.
Document Number: 002-04713 Rev.*A
Page 63 of 65
MB96640 Series
Document History
2
Document Title: MB96640 Series F MC-16FX 16-Bit Microcontroller
Document Number: 002-04713
Revision
**
*A
ECN
5149634
Orig. of
Change
Submission
Date
Description of Change
KSUN
01/31/2014
Migrated to Cypress and assigned document number 002-04713
No change to document contents or format.
KSUN
02/25/2016
Updated to Cypress format.
Document Number: 002-04713 Rev.*A
Page 64 of 65
MB96640 Series
Sales, Solutions, and Legal Information
Worldwide Sales and Design Support
Cypress maintains a worldwide network of offices, solution centers, manufacturer’s representatives, and distributors. To find the
office closest to you, visit us at Cypress Locations.
Products
®
PSoC
®
ARM Cortex Microcontrollers
Automotive
Clocks & Buffers
Interface
Lighting & Power Control
Memory
PSoC
Touch Sensing
USB Controllers
Wireless/RF
cypress.com/arm
cypress.com/automotive
cypress.com/clocks
cypress.com/interface
cypress.com/powerpsoc
cypress.com/memory
®
Solutions
psoc.cypress.com/solutions
PSoC 1 | PSoC 3 | PSoC 4 | PSoC 5LP
Cypress Developer Community
Community | Forums | Blogs | Video | Training
Technical Support
cypress.com/go/support
cypress.com/psoc
cypress.com/touch
cypress.com/usb
cypress.com/wireless
© Cypress Semiconductor Corporation 2013-2016. This document is the property of Cypress Semiconductor Corporation and its subsidiaries, including Spansion LLC ("Cypress"). This document,
including any software or firmware included or referenced in this document ("Software"), is owned by Cypress under the intellectual property laws and treaties of the United States and other countries
worldwide. Cypress reserves all rights under such laws and treaties and does not, except as specifically stated in this paragraph, grant any license under its patents, copyrights, trademarks, or other
intellectual property rights. If the Software is not accompanied by a license agreement and you do not otherwise have a written agreement with Cypress governing the use of the Software, then
Cypress hereby grants you under its copyright rights in the Software, a personal, non-exclusive, nontransferable license (without the right to sublicense) (a) for Software provided in source code form,
to modify and reproduce the Software solely for use with Cypress hardware products, only internally within your organization, and (b) to distribute the Software in binary code form externally to end
users (either directly or indirectly through resellers and distributors), solely for use on Cypress hardware product units. Cypress also grants you a personal, non-exclusive, nontransferable, license
(without the right to sublicense) under those claims of Cypress's patents that are infringed by the Software (as provided by Cypress, unmodified) to make, use, distribute, and import the Software
solely to the minimum extent that is necessary for you to exercise your rights under the copyright license granted in the previous sentence. Any other use, reproduction, modification, translation, or
compilation of the Software is prohibited.
CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS DOCUMENT OR ANY SOFTWARE, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes to this document without further notice. Cypress does not
assume any liability arising out of the application or use of any product or circuit described in this document. Any information provided in this document, including any sample design information or
programming code, is provided only for reference purposes. It is the responsibility of the user of this document to properly design, program, and test the functionality and safety of any application
made of this information and any resulting product. Cypress products are not designed, intended, or authorized for use as cri tical components in systems designed or intended for the operation of
weapons, weapons systems, nuclear installations, life-support devices or systems, other medical devices or systems (including resuscitation equipment and surgical implants), pollution control or
hazardous substances management, or other uses where the failure of the device or system could cause personal injury, death, or property damage ("Unintended Uses"). A critical component is any
component of a device or system whose failure to perform can be reasonably expected to cause the failure of the device or system, or to affect its safety or effectiveness. Cypress is not liable, in
whole or in part, and Company shall and hereby does release Cypress from any claim, damage, or other liability arising from or related to all Unintended Uses of Cypress products. Company shall
indemnify and hold Cypress harmless from and against all claims, costs, damages, and other liabilities, including claims for personal injury or death, arising from or related to any Unintended Uses of
Cypress products.
Cypress, the Cypress logo, Spansion, the Spansion logo, and combinations thereof, PSoC, CapSense, EZ-USB, F-RAM, and Traveo are trademarks or registered trademarks of Cypress in the
United States and other countries. For a more complete list of Cypress trademarks, visit cypress.com. Other names and brands may be claimed as property of their respective owners.
Document Number: 002-04713 Rev.*A
February 25, 2016
Page 65 of 65