Spansion
®
Analog and Microcontroller
Products
The following document contains information on Spansion analog and microcontroller products. Although the
document is marked with the name “Fujitsu”, the company that originally developed the specification, Spansion
will continue to offer these products to new and existing customers.
Continuity of Specifications
There is no change to this document as a result of offering the device as a Spansion product. Any changes that
have been made are the result of normal document improvements and are noted in the document revision
summary, where supported. Future routine revisions will occur when appropriate, and changes will be noted in a
revision summary.
Continuity of Ordering Part Numbers
Spansion continues to support existing part numbers beginning with “MB”. To order these products, please use
only the Ordering Part Numbers listed in this document.
For More Information
Please contact your local sales office for additional information about Spansion memory, analog, and
microcontroller products and solutions.
FUJITSU SEMICONDUCTOR
DATA SHEET
DS07–12632–2E
8-bit Microcontrollers
CMOS
F
2
MC-8FX MB95390H Series
MB95F394H/F396K/F398H/F394K/F396H/F398K
■
DESCRIPTION
MB95390H is a series of general-purpose, single-chip microcontrollers. In addition to a compact instruction
set, the microcontrollers of this series contain a variety of peripheral resources.
Note: F
2
MC is the abbreviation of FUJITSU Flexible Microcontroller.
■
FEATURES
• F
2
MC-8FX CPU core
Instruction set optimized for controllers
• Multiplication and division instructions
• 16-bit arithmetic operations
• Bit test branch instructions
• Bit manipulation instructions, etc.
• Clock
• Selectable main clock source
Main OSC clock (up to 16.25 MHz, maximum machine clock frequency: 8.125 MHz)
External clock (up to 32.5 MHz, maximum machine clock frequency: 16.25 MHz)
Main CR clock (1/8/10/12.5 MHz
±2%
or
±2.5%*,
maximum machine clock frequency: 12.5 MHz)
*: The main CR clock oscillation accuracy of a product in LQFP package (FPT-48P-M49 or
FPT-52P-M02) is
±2%
and that of a product in QFN package (LCC-48P-M11) is
±2.5%.
• Selectable subclock source
Sub-OSC clock (32.768 kHz)
External clock (32.768 kHz)
Sub-CR clock (Typ: 100 kHz, Min: 50 kHz, Max: 200 kHz)
• Timer
• 8/16-bit composite timer
×
2 channels
• 8/16-bit PPG
×
3 channels
• 16-bit PPG
×
1 channel (can work independently or together with the multi-pulse generator)
• 16-bit reload timer
×
1 channel (can work independently or together with the multi-pulse generator)
• Time-base timer
×
1 channel
• Watch prescaler
×
1 channel
(Continued)
For the information for microcontroller supports, see the following website.
http://edevice.fujitsu.com/micom/en-support/
Copyright©2010 FUJITSU SEMICONDUCTOR LIMITED All rights reserved
2010.11
MB95390H Series
(Continued)
• UART/SIO
×
1 channel
• Full duplex double buffer
• Capable of clock-asynchronous (UART) serial data transfer and clock-synchronous (SIO) serial data
transfer
2
C
×
1 channel
•I
• Built-in wake-up function
• Multi-pulse generator (MPG) (for DC motor control)
×
1 channel
• 16-bit reload timer
×
1 channel
• 16-bit PPG timer
×
1 channel
• Waveform sequencer (including a 16-bit timer equipped with a buffer and a compare clear function)
• LIN-UART
• Full duplex double buffer
• Capable of clock-synchronous serial data transfer and clock-asynchronous serial data transfer
• External interrupt
×
8 channels
• 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
• 8/10-bit A/D converter
×
12 channels
• 8-bit and 10-bit resolution can be chosen.
• Low power consumption (standby) modes
• Stop mode
• Sleep mode
• Watch mode
• Time-base timer mode
• I/O port
• MB95F394H/F396H/F398H (maximum no. of I/O ports: 44)
General-purpose I/O ports (N-ch open drain)
:3
General-purpose I/O ports (CMOS I/O)
: 41
• MB95F394K/F396K/F398K (maximum no. of I/O ports: 45)
General-purpose I/O ports (N-ch open drain)
:4
General-purpose I/O ports (CMOS I/O)
: 41
• On-chip debug
• 1-wire serial control
• Serial writing supported (asynchronous mode)
• Hardware/software watchdog timer
• Built-in hardware watchdog timer
• Built-in software watchdog timer
• Low-voltage detection reset circuit
• Built-in low-voltage detector
• Clock supervisor counter
• Built-in clock supervisor counter function
• Programmable port input voltage level
• CMOS input level / hysteresis input level
• Dual operation Flash memory
• The erase/write operation and the read operation can be executed in different banks (upper bank/lower
bank) simultaneously.
• Flash memory security function
• Protects the content of the Flash memory
2
DS07–12632–2E
MB95390H Series
■
PRODUCT LINE-UP
Part number
MB95F394H
Parameter
MB95F396H
MB95F398H
MB95F394K
MB95F396K
MB95F398K
Type
Flash memory product
Clock
supervisor
It supervises the main clock oscillation.
counter
Program ROM
20 Kbyte
36 Kbyte
60 Kbyte
20 Kbyte
36 Kbyte
60 Kbyte
capacity
RAM capacity
496 bytes
1008 bytes
2032 bytes
496 bytes
1008 bytes
2032 bytes
Low-voltage
No
Yes
detection reset
Reset input
Dedicated
Selected through 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 frequency = 16.25 MHz)
: 0.6 µs (with machine clock frequency = 16.25 MHz)
• Interrupt processing time
• I/O ports (Max) : 44
• I/O ports (Max) : 45
General-
• CMOS I/O
: 41
• CMOS I/O
: 41
purpose I/O
• N-ch open drain: 3
• N-ch open drain: 4
Time-base timer Interval time: 0.256 ms to 8.3 s (with external clock frequency = 4 MHz)
Hardware/
• Reset generation cycle
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 speeds can be selected by a dedicated reload timer.
• Clock-synchronous serial data transfer and clock-asynchronous serial data transfer is en-
LIN-UART
abled.
• The LIN function can be used as a LIN master or a LIN slave.
12 channels
8/10-bit A/D
converter
8-bit resolution and 10-bit resolution can be chosen.
2 channels
• The timer can be configured as an "8-bit timer
×
2 channels" or a "16-bit timer
×
1 channel".
8/16-bit
• It has the following functions: timer function, PWC function, PWM function and input capture
composite timer function.
• Count clock: it can be selected from internal clocks (seven types) and external clocks.
• It can output square wave.
8 channels
External
• Interrupt by edge detection (The rising edge, falling edge, or both edges can be selected.)
interrupt
• It can be used to wake up the device from different standby modes.
• 1-wire serial control
On-chip debug
• It supports serial writing. (asynchronous mode)
(Continued)
DS07–12632–2E
3
MB95390H Series
(Continued)
Part number
MB95F394H
Parameter
MB95F396H
MB95F398H
MB95F394K
MB95F396K
MB95F398K
1 channel
• Data transfer with UART/SIO is enabled.
• It has a full duplex double buffer, variable data length (5/6/7/8 bits), a built-in baud rate
generator and an error detection function.
UART/SIO
• It uses the NRZ type transfer format.
• LSB-first data transfer and MSB-first data transfer are available to use.
• Clock-asynchronous (UART) serial data transfer and clock-synchronous (SIO) serial data
transfer is enabled.
1 channel
• Master/slave transmission and receiving
2
C
I
• It has the following functions: bus error function, arbitration function, transmission direction
detection function, wake-up function, and functions of generating and detecting repeated
START conditions.
3 channels
8/16-bit PPG
• Each channel of PPG can be used as two 8-bit PPG channels or a single 16-bit PPG channel.
• The counter operating clock can be selected from eight clock sources.
• PWM mode and one-shot mode are available to use.
• The counter operating clock can be selected from eight clock sources.
16-bit PPG
• It supports external trigger start.
• It can work independently or together with the multi-pulse generator.
• Two clock modes and two counter operating modes are available to use.
• It can output square waveform.
16-bit reload
• Count clock: it can be selected from internal clocks (seven types) and external clocks.
timer
• Two counter operating modes: reload mode and one-shot mode
• It can work independently or together with the multi-pulse generator.
• 16-bit PPG timer: 1 channel
Multi-pulse
• 16-bit reload timer operations: toggle output, one-shot output
generator (for
• Event counter: 1 channel
DC motor
• Waveform sequencer (including a 16-bit timer equipped with a buffer and a compare clear
control)
function)
Watch prescaler Eight different time intervals can be selected.
• It supports automatic programming, Embedded Algorithm, and write/erase/erase-suspend/
erase-resume commands.
• It has a flag indicating the completion of the operation of Embedded Algorithm.
Flash memory
• Number of write/erase cycles: 100000
• Data retention time: 20 years
• Flash security feature for protecting the content of the Flash memory
Standby mode Sleep mode, stop mode, watch mode, time-base timer mode
FPT-48P-M49
Package
FPT-52P-M02
LCC-48P-M11
4
DS07–12632–2E