MB95220H Series
F
2
MC-8FX 8-bit Microcontroller
MB95220H are a series of general-purpose, single-chip microcontrollers. In addition to a compact instruction set, the microcontrollers
of these series contain a variety of peripheral resources.
Features
F
2
MC-8FX CPU core
Instruction set optimized for controllers
■
■
■
■
8/10-bit A/D converter
■
8-bit or 10-bit resolution can be selected.
Multiplication and division instructions
16-bit arithmetic operations
Bit test branch instructions
Bit manipulation instructions, etc.
Low power consumption (standby) modes
■
■
■
■
Stop mode
Sleep mode
Watch mode
Timebase timer mode
Clock
■
Selectable main clock source
❐
External clock (up to 32.5 MHz, maximum machine clock
frequency: 16.25 MHz)
❐
Main internal CR clock (1/8/10 MHz
3%,
maximum machine
clock frequency: 10 MHz)
Selectable subclock source
❐
External clock (32.768 kHz)
❐
Sub-internal CR clock (Typ: 100 kHz, Min: 50 kHz, Max: 200
kHz)
I/O port (Max: 13) (MB95F222K/F223K)
■
General-purpose I/O ports (Max):
CMOS I/O: 11, N-ch open drain: 2
■
I/O port (Max: 12) (MB95F222H/F223H)
■
General-purpose I/O ports (Max):
CMOS I/O: 11, N-ch open drain: 1
Timer
■
■
■
On-chip debug
■
■
1-wire serial control
Serial writing supported (asynchronous mode)
8/16-bit composite timer
Timebase timer
Watch prescaler
Hardware/software watchdog timer
■
LIN-UART (MB95F222H/F222K/F223H/F223K)
■
■
Built-in hardware watchdog timer
Full duplex double buffer
Capable of clock-synchronized serial data transfer and
clock-asynchronized serial data transfer
Low-voltage detection reset circuit
■
Built-in low-voltage detector
Clock supervisor counter
■
External interrupt
■
■
Built-in clock supervisor counter function
Interrupt by edge detection (rising edge, falling edge, and both
edges can be selected)
Can be used to wake up the device from different low power
consumption (standby) modes
Programmable port input voltage level
■
CMOS input level / hysteresis input level
Flash memory security function
■
Protects the contents of flash memory
Cypress Semiconductor Corporation
Document Number: 002-07513 Rev. *A
•
198 Champion Court
•
San Jose
,
CA 95134-1709
•
408-943-2600
Revised March 31, 2016
MB95220H Series
Contents
Product Line-up ................................................................ 3
Packages and Corresponding Products ........................ 5
Differences Among Products and Notes
on Product Selection ........................................................ 5
Pin Assignment ................................................................ 6
Pin Description (MB95220H Series) ................................ 7
I/O Circuit Type ................................................................. 9
Notes on Device Handling ............................................. 11
Pin Connection ............................................................... 11
Block Diagram (MB95220H Series) ............................... 13
CPU Core ......................................................................... 14
I/O Map (MB95220H Series) ........................................... 15
Interrupt Source Table (MB95220H Series) .................. 19
Electrical Characteristics ............................................... 20
Absolute Maximum Ratings ....................................... 20
Recommended Operating Conditions ....................... 22
DC Characteristics .................................................... 23
AC Characteristics ..................................................... 26
A/D Converter ............................................................ 42
Flash Memory Program/Erase Characteristics .......... 46
Sample Electrical Characteristics ................................. 47
Mask Options .................................................................. 53
Ordering Information ...................................................... 53
Package Dimensions ...................................................... 54
Main Changes ................................................................. 56
Document History ........................................................... 57
Document Number: 002-07513 Rev. *A
Page 2 of 58
MB95220H Series
1. Product Line-up
Part number
MB95F223H
Parameter
Type
Clock supervisor
counter
ROM capacity
RAM capacity
Low-voltage
detection reset
Reset input
Flash memory product
It supervises the main clock oscillation.
8 KB
496 B
No
4 KB
240 B
8 KB
496 B
Yes
4 KB
240 B
MB95F222H
MB95F223K
MB95F222K
Dedicated
Selected by software
Number of basic instructions
: 136
Instruction bit length
: 8 bits
Instruction length
: 1 to 3 bytes
CPU functions
Data bit length
: 1, 8, and 16 bits
Minimum instruction execution time
: 61.5 ns (with machine clock = 16.25 MHz)
Interrupt processing time
: 0.6 µs (with machine clock = 16.25 MHz)
I/O ports (Max): 12
I/O ports (Max): 13
General-purpose
CMOS: 11,
CMOS: 11,
I/O
N-ch: 1
N-ch: 2
Timebase timer
Interrupt cycle : 0.256 ms - 8.3 s (when external clock = 4 MHz)
Reset generation cycle
Hardware/software
Main oscillation clock at 10 MHz : 105 ms (Min)
watchdog timer
The sub-CR clock can be used as the source clock of the hardware watchdog timer.
Wild register
It can be used to replace three bytes of data.
A wide range of communication speed can be selected by a dedicated reload timer.
It has a full duplex double buffer.
LIN-UART
Clock-synchronized serial data transfer and clock-asynchronized serial data transfer is enabled.
The LIN function can be used as a LIN master or a LIN slave.
5 ch.
8/10-bit A/D
converter
8-bit or 10-bit resolution can be selected.
1 ch.
The timer can be configured as an "8-bit timer x 2 channels" or a "16-bit timer x 1 channel".
8/16-bit
It has built-in timer function, PWC function, PWM function and input capture function.
composite timer
Count clock: it can be selected from internal clocks (seven types) and external clocks.
It can output square wave.
External
interrupt
On-chip debug
6 ch.
Interrupt by edge detection (The rising edge, falling edge, or both edges can be selected.)
It can be used to wake up the device from standby modes.
1-wire serial control
It supports serial writing. (asynchronous mode)
(Continued)
Document Number: 002-07513 Rev. *A
Page 3 of 58
MB95220H Series
(Continued)
Part number
MB95F223H
Parameter
Watch prescaler
MB95F222H
MB95F223K
MB95F222K
Flash memory
Standby mode
Package
Eight different time intervals can be selected.
It supports automatic programming, Embedded Algorithm,
write/erase/erase-suspend/erase-resume commands.
It has a flag indicating the completion of the operation of Embedded Algorithm.
Number of write/erase cycles: 100000
Data retention time: 20 years
For write/erase, external Vpp(+10 V) input is required.
Flash security feature for protecting the contents of the flash
Sleep mode, stop mode, watch mode, timebase timer mode
DIP-16P-M06
FPT-16P-M06
Document Number: 002-07513 Rev. *A
Page 4 of 58
MB95220H Series
2. Packages and Corresponding Products
Part number
MB95F223H
Package
DIP-16P-M06
FPT-16P-M06
O: Available
O
O
O
O
O
O
O
O
MB95F222H
MB95F223K
MB95F222K
3. Differences Among Products and Notes on Product Selection
Current consumption
When using the on-chip debug function, take account of the current consumption of flash erase/program.
For details of current consumption, see “13. Electrical Characteristics”.
Package
For details of information on each package, see “2. Packages and Corresponding Products” and “17. Package Dimensions”.
Operating voltage
The operating voltage varies, depending on whether the on-chip debug function is used or not.
For details of the operating voltage, see “13. Electrical Characteristics”.
On-chip debug function
The on-chip debug function requires that V
CC
, V
SS
and 1 serial-wire be connected to an evaluation tool. In addition, if the flash memory
data has to be updated, the RST/PF2 pin must also be connected to the same evaluation tool.
Document Number: 002-07513 Rev. *A
Page 5 of 58