MB9B400A Series
32-bit Arm
®
Cortex
®
-M3
FM3 Microcontroller
The MB9B400A Series are a highly integrated 32-bit microcontroller that target for high-performance and cost-sensitive embedded
control applications.
The MB9B400A Series are based on the Arm
®
Cortex
®
-M3 Processor and on-chip Flash memory and SRAM, and peripheral functions,
including Motor Control Timers, ADCs and Communication Interfaces (CAN, UART, CSIO, I
2
C, LIN).
The products which are described in this data sheet are placed into TYPE0 product categories in "FM3 Family Peripheral Manual".
Features
32-bit Arm
®
Cortex
®
-M3 Core
Processor version: r2p0
Up to 80 MHz Frequency Operation
Memory Protection Unit (MPU): improve the reliability of an
embedded system
Multi-function Serial Interface (Max. 8 channels)
4 channels with 16steps × 9bit FIFO (ch.4-ch.7), 4 channels
without FIFO (ch.0-ch.3)
channel.
UART
CSIO
LIN
I
2
C
Operation mode is selectable from the followings for each
Integrated Nested Vectored Interrupt Controller (NVIC): 1
NMI (non-maskable interrupt) and 48 peripheral interrupts
and 16 priority levels
management
24-bit System timer (Sys Tick): System timer for OS task
On-chip Memories
[Flash memory]
Up to 512 Kbyte
Read cycle: 0wait-cycle@up to 60 MHz, 2wait-cycle* above
*: Instruction pre-fetch buffer is included. So when CPU
access continuously, it becomes 0wait-cycle
[UART]
Full-duplex double buffer
Selection with or without parity supported
Built-in dedicated baud rate generator
External clock available as a serial clock
Hardware Flow control: Automatically control the
transmission by CTS/RTS (only ch.4)
framing errors, and overrun errors)
Security function for code protection
[SRAM]
This series contain a total of up to 64 Kbyte on-chip SRAM.
This is composed of two independent SRAM (SRAM0,
SRAM1). SRAM0 is connected to I-code bus and D-code bus
of Cortex-M3 core. SRAM1 is connected to System bus.
Various error detect functions available (parity errors,
[CSIO]
Full-duplex double buffer
Built-in dedicated baud rate generator
Overrun error detect function available
[LIN]
LIN protocol Rev.2.1 supported
Full-duplex double buffer
Master/Slave mode supported
LIN break field generate (can be changed 13-16bit length)
LIN break delimiter generate (can be changed 1-4bit length)
Various error detect functions available (parity errors,
framing errors, and overrun errors)
SRAM0: Up to 32 Kbyte
SRAM1: Up to 32 Kbyte
CAN Interface (Max. 2 channels)
Compatible with CAN Specification 2.0A/B
Maximum transfer rate: 1 Mbps
Built-in 32 message buffer
Cypress Semiconductor Corporation
Document Number: 002-05610 Rev. *E
•
198 Champion Court
•
San Jose
,
CA 95134-1709
•
408-943-2600
Revised October 24, 2017
MB9B400A Series
[I
2
C]
Standard-mode (Max.100 kbps) / Fast-mode (Max.400 kbps)
supported
Multi-function Timer (Max. 2 units)
The Multi-function timer is composed of the following blocks.
16-bit free-run timer × 3 ch/unit
Input capture × 4 ch/unit
Output compare × 6 ch/unit
A/D activation compare × 3 ch/unit
Waveform generator × 3 ch/unit
16-bit PPG timer × 3 ch/unit
The following function can be used to achieve the motor
control.
External Bus Interface
Supports SRAM, NOR& NAND Flash device
Up to 8 chip selects
8-/16-bit Data width
Up to 25-bit Address bit
Maximum area size: Up to 256 Mbytes
DMA Controller (8 channels)
DMA Controller has an independent bus for CPU, so CPU and
DMA Controller can process simultaneously.
PWM signal output function
DC chopper waveform output function
Dead time function
Input capture function
A/D convertor activate function
DTIF (Motor emergency stop) interrupt function
Quadrature Position/Revolution Counter (QPRC)
(Max. 2 units)
The Quadrature Position/Revolution Counter (QPRC) is used
to measure the position of the position encoder. Moreover, it is
possible to use up/down counter.
8 independently configured and operated channels
Transfer can be started by software or request from the built-
in peripherals
Transfer address area: 32 bit(4 Gbyte)
Transfer mode: Block transfer/Burst transfer/Demand
transfer
Transfer data type: byte/half-word/word
Transfer block count: 1 to 16
Number of transfers: 1 to 65536
A/D Converter (Max. 16 channels)
[12-bit A/D Converter]
Successive Approximation Register type
Built-in 3 unit
Conversion time: 1.0 μs@5 V
Priority conversion available (priority at 2 levels)
Scanning conversion mode
Built-in FIFO for conversion data storage (for SCAN
Base Timer (Max. 8 channels)
Operation mode is selectable from the followings for each
channel.
conversion: 16steps, for Priority conversion: 4steps)
The detection edge of the three external event input pins
AIN, BIN and ZIN is configurable.
16-bit position counter
16-bit revolution counter
Two 16-bit compare registers
Dual Timer (Two 32-/16-bit Down Counter)
The Dual Timer consists of two programmable 32-/16-bit down
counters.
Operation mode is selectable from the followings for each
channel.
Free-running
Periodic (=Reload)
One-shot
Watch Counter
The Watch counter is used for wake up from sleep mode.
16-bit PWM timer
16-bit PPG timer
16-/32-bit reload timer
16-/32-bit PWC timer
Interval timer: up to 64 s (Max)@ Sub Clock: 32.768 kHz
Document Number: 002-05610 Rev. *E
Page 2 of 109
MB9B400A Series
Watch dog Timer (2 channels)
A watchdog timer can generate interrupts or a reset when a
time-out value is reached.
This series consists of two different watchdogs, a "Hardware"
watchdog and a "Software" watchdog.
"Hardware" watchdog timer is clocked by the built-in low-
speed CR oscillator. Therefore, "Hardware" watchdog is active
in any low-power consumption modes except STOP mode.
Clock Super Visor (CSV)
Clocks generated by CR oscillators are used to supervise
abnormality of the external clocks.
External OSC clock failure (clock stop) is detected, reset is
asserted.
External OSC frequency anomaly is detected, interrupt or
reset is asserted.
External Interrupt Controller Unit
Up to 16 external vectors
Include one non-maskable interrupt (NMI)
General Purpose I/O Port
This series can use its pins as general-purpose I/O ports when
they are not used for external bus or peripherals. Moreover,
the port relocate function is built in. It can set which I/O port
the peripheral function can be allocated.
Low Voltage Detector (LVD)
This series include 2-stage monitoring of voltage on the VCC.
When the voltage falls below the voltage has been set, Low
Voltage Detector generates an interrupt or reset.
LVD1: error reporting via interrupt
LVD2: auto-reset operation
Low-Power Consumption Mode
Three low-power consumption modes supported.
Capable of pull-up control per pin
Capable of reading pin level directly
Built-in the port relocate function
Up to 100 high-speed general-purpose I/O Ports@120pin
Package
SLEEP
TIMER
STOP
Debug
Serial Wire JTAG Debug Port (SWJ-DP)
Embedded Trace Macrocells (ETM) provide comprehensive
debug and trace facilities.
CRC (Cyclic Redundancy Check) Accelerator
The CRC accelerator helps a verify data transmission or
storage integrity.
CCITT CRC16 and IEEE-802.3 CRC32 are supported.
Power Supply
VCC
= 2.7 V to 5.5 V: Correspond to the wide range
voltage.
CCITT CRC16 Generator Polynomial: 0x1021
IEEE-802.3 CRC32 Generator Polynomial: 0x04C11DB7
Clock and Reset
[Clocks]
Five clock sources (2 ext. osc, 2 CR osc, and Main PLL) that
are dynamically selectable.
Main Clock:
Sub Clock:
4 MHz to 48 MHz
32.768 kHz
Built-in high-speed CR Clock: 4 MHz
Built-in low-speed CR Clock: 100 kHz
Main PLL Clock
[Resets]
Reset requests from INITX pins
Power-on reset
Software reset
Watchdog timers reset
Low-voltage detector reset
Clock supervisor reset
Document Number: 002-05610 Rev. *E
Page 3 of 109
MB9B400A Series
Contents
1. Product Lineup .................................................................................................................................................................. 6
2. Packages ........................................................................................................................................................................... 7
3. Pin Assignment ................................................................................................................................................................. 8
4. List of Pin Functions....................................................................................................................................................... 11
5. I/O Circuit Type................................................................................................................................................................ 39
6. Handling Precautions ..................................................................................................................................................... 43
6.1
Precautions for Product Design ................................................................................................................................... 43
6.2
Precautions for Package Mounting .............................................................................................................................. 44
6.3
Precautions for Use Environment ................................................................................................................................ 45
7. Handling Devices ............................................................................................................................................................ 46
8. Block Diagram ................................................................................................................................................................. 48
9. Memory Size .................................................................................................................................................................... 48
10. Memory Map .................................................................................................................................................................... 49
11. Pin Status in Each CPU State ........................................................................................................................................ 52
12. Electrical Characteristics ............................................................................................................................................... 57
12.1 Absolute Maximum Ratings ......................................................................................................................................... 57
12.2 Recommended Operating Conditions.......................................................................................................................... 59
12.3 DC Characteristics....................................................................................................................................................... 60
12.3.1 Current rating ............................................................................................................................................................... 60
12.3.2 Pin Characteristics ....................................................................................................................................................... 62
12.4 AC Characteristics ....................................................................................................................................................... 63
12.4.1 Main Clock Input Characteristics .................................................................................................................................. 63
12.4.2 Sub Clock Input Characteristics ................................................................................................................................... 64
12.4.3 Built-in CR Oscillation Characteristics .......................................................................................................................... 64
12.4.4 Operating Conditions of Main PLL (In the case of using main clock for input of PLL) .................................................. 65
12.4.5 Operating Conditions of Main PLL (In the case of using built-in high speed CR) ......................................................... 65
12.4.6 Reset Input Characteristics .......................................................................................................................................... 66
12.4.7 Power-on Reset Timing................................................................................................................................................ 66
12.4.8 External Bus Timing ..................................................................................................................................................... 67
12.4.9 Base Timer Input Timing .............................................................................................................................................. 72
12.4.10 CSIO/UART Timing .................................................................................................................................................. 73
12.4.11 External input timing ................................................................................................................................................. 81
12.4.12 Quadrature Position/Revolution Counter timing ........................................................................................................ 82
12.4.13 I
2
C timing .................................................................................................................................................................. 84
12.4.14 ETM timing ............................................................................................................................................................... 85
12.4.15 JTAG timing .............................................................................................................................................................. 86
12.5 12-bit A/D Converter .................................................................................................................................................... 87
12.6 Low-Voltage Detection Characteristics ........................................................................................................................ 90
12.6.1 Low-Voltage Detection Reset ....................................................................................................................................... 90
12.6.2 Interrupt of Low-Voltage Detection ............................................................................................................................... 90
12.7 Flash Memory Write/Erase Characteristics ................................................................................................................. 91
12.7.1 Write / Erase time......................................................................................................................................................... 91
12.7.2 Erase/write cycles and data hold time .......................................................................................................................... 91
12.8 Return Time from Low-Power Consumption Mode ...................................................................................................... 92
12.8.1 Return Factor: Interrupt ................................................................................................................................................ 92
12.8.2 Return Factor: Reset .................................................................................................................................................... 94
Page 4 of 109
Document Number: 002-05610 Rev. *E
MB9B400A Series
13. Example of Characteristic .............................................................................................................................................. 96
14. Ordering Information ...................................................................................................................................................... 98
15. Package Dimensions ...................................................................................................................................................... 99
16. Errata.............................................................................................................................................................................. 102
16.1 Part Numbers Affected .............................................................................................................................................. 102
16.2 Qualification Status.................................................................................................................................................... 102
16.3 Errata Summary ........................................................................................................................................................ 102
16.4 Errata Detail .............................................................................................................................................................. 102
16.4.1 Timer and stop mode issue ........................................................................................................................................ 102
16.4.2 Gap Between Watch Counter Value and Real Time at Return in Timer Mode ........................................................... 103
17. Major Changes .............................................................................................................................................................. 105
Document History ............................................................................................................................................................... 107
Sales, Solutions, and Legal Information ........................................................................................................................... 109
Document Number: 002-05610 Rev. *E
Page 5 of 109