MB9B460L Series
32-Bit ARM
®
Cortex
®
- M4F
FM4 Microcontroller
Devices in the MB9B460L Series are highly integrated 32-bit microcontrollers with high performance and competitive cost.
This series is based on the ARM Cortex -M4F Processor with on-chip Flash memory and SRAM. The series has peripheral
2
functions such as Motor Control Timers, ADCs and Communication Interfaces (CAN, UART, CSIO, I C, LIN).
®
®
Features
32-bit ARM Cortex -M4F Core
Processor version: r0p1
Up to 160 MHz Frequency Operation
FPU built-in
Support DSP instruction
Memory Protection Unit (MPU): improves the reliability of an
embedded system
®
®
[SRAM]
This is composed of three independent SRAMs (SRAM0,
SRAM1, and SRAM2). SRAM0 is connected to I-code bus and
D-code bus of Cortex-M4F core. SRAM1 and SRAM2 are
connected to System bus of Cortex-M4F core.
SRAM0: Up to 32 Kbytes
SRAM1: Up to 16 Kbytes
SRAM2: Up to 16 Kbytes
CAN Interface (1 channel)
Compatible with CAN Specification 2.0A/B
Maximum transfer rate: 1 Mbps
Built-in 32 message buffer
Multi-function Serial Interface (Max 6 channels)
64 bytes with FIFO (the FIFO step numbers are variable
depending on the settings of the communication mode or bit
length.)
Integrated Nested Vectored Interrupt Controller (NVIC): 1
NMI (non-maskable interrupt) and 128 peripheral interrupts
and 16 priority levels
24-bit System timer (Sys Tick): System timer for OS task
management
On-chip Memories
[Flash memory]
These series are based on two independent on-chip Flash
memories.
MainFlash memory
Up
Operation mode is selectable from the followings for each
channel.
UART
CSIO
LIN
2
I C
to 512 Kbytes
Built-in Flash Accelerator System with 16 Kbytes trace
buffer memory
The read access to Flash memory can be achieved without
wait-cycle up to operation frequency of 72 MHz. Even at
the operation frequency more than 72 MHz, an equivalent
access to Flash memory can be obtained by Flash
Accelerator System.
Security function for code protection
UART
Full-duplex
WorkFlash memory
32
Kbytes
Read cycle:
• 6wait-cycle: the operation frequency more than 120 MHz,
and up to 160 MHz
• 4wait-cycle: the operation frequency more than 72 MHz,
and up to 120 MHz
• 2wait-cycle: the operation frequency more than 40 MHz,
and up to 72 MHz
• 0wait-cycle: the operation frequency up to 40 MHz
Security function is shared with code protection
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)
Various error detect functions available (parity errors,
framing errors, and overrun errors)
CSIO
double buffer
Built-in dedicated baud rate generator
Overrun error detect function available
Serial chip select function (ch.6 only)
Supports high-speed SPI (ch.0 and ch.6 only)
Data length 5 to 16-bit
Full-duplex
Cypress Semiconductor Corporation
Document Number: 002-04926 Rev.*A
• 198 Champion Court
•
San Jose
,
CA 95134-1709
408-943-2600
Revised May 12, 2016
MB9B460L Series
LIN
protocol Rev.2.1 supported
double buffer
Master/Slave mode supported
LIN break field generation (can change to 13 to 16-bit
length)
LIN break delimiter generation (can change to 1 to 4-bit
length)
Various error detect functions available (parity errors,
framing errors, and overrun errors)
2
I C
Standard mode (Max 100 kbps) / High-speed mode (Max
400 kbps) supported
Fast mode Plus (Fm+) (Max 1000 kbps, only for ch.3=ch.A
and ch.4=ch.B) supported
Full-duplex
LIN
Base Timer (Max 8 channels)
Operation mode is selectable from the followings for each
channel.
16-bit PWM timer
16-bit PPG timer
16-/32-bit reload timer
16-/32-bit PWC timer
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.
DMA Controller (8 channels)
DMA Controller has an independent bus for CPU, so CPU and
DMA Controller can process simultaneously.
Capable of pull-up control per pin
Capable of reading pin level directly
Built-in the port relocate function
Up to 48 high-speed general-purpose I/O ports @ 64 pin
Package
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 Gbytes)
Transfer mode: Block transfer/Burst transfer/Demand
transfer
Some pin is 5 V tolerant I/O.
See 4. Pin Description and 5. I/O Circuit Type for the
corresponding pins.
Transfer data type: bytes/half-word/word
Transfer block count: 1 to 16
Number of transfers: 1 to 65536
DSTC (Descriptor System data Transfer Controller)
(128 channels)
The DSTC can transfer data at high-speed without going via
the CPU. The DSTC adopts the Descriptor system and,
following the specified contents of the Descriptor which has
already been constructed on the memory, can access directly
the memory /peripheral device and performs the data transfer
operation.
It supports the software activation, the hardware activation and
the chain activation functions.
Multi-function Timer (Max 2 units)
The Multi-function timer is composed of the following blocks.
Minimum resolution: 6.25 ns
16-bit free-run timer × 3 ch./unit
Input capture × 4 ch./unit
Output compare × 6 ch./unit
A/D activation compare × 6 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.
A/D Converter (Max 15 channels)
[12-bit A/D Converter]
Successive Approximation type
Built-in 2 units
Conversion time: 0.5 μs @ 5 V
Priority conversion available (priority at 2levels)
Scanning conversion mode
Built-in FIFO for conversion data storage (for SCAN
conversion: 16steps, for Priority conversion: 4steps)
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
DA Converter (Max 2 channels)
R-2R type
12-bit resolution
Document Number: 002-04926 Rev.*A
Page 2 of 118
MB9B460L Series
Real-time clock (RTC)
The Real-time clock can count Year/Month/Day/Hour/Minute
/Second/A day of the week from 01 to 99.
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.
Interrupt function with specifying date and time
(Year/Month/Day/Hour/Minute/Second/A day of the week.) is
available. This function is also available by specifying only
Year, Month, Day, Hour or Minute.
CCITT CRC16 Generator Polynomial: 0x1021
IEEE-802.3 CRC32 Generator Polynomial: 0x04C11DB7
Clock and Reset
[Clocks]
Five clock sources (2 external oscillators, 2 internal CR
oscillator, and Main PLL) that are dynamically selectable.
Timer interrupt function after set time or each set time.
Capable of rewriting the time with continuing the time count.
Leap year automatic count is available.
Quadrature Position/Revolution Counter (QPRC) (1
channel)
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.
Main clock:
Sub Clock:
4 MHz to 48 MHz
32.768 kHz
High-speed internal CR Clock: 4 MHz
Low-speed internal CR Clock: 100 kHz
Main PLL Clock
[Resets]
Reset requests from INITX pin
Power on reset
Software reset
Watchdog timers reset
Low voltage detector reset
Clock supervisor reset
Clock Super Visor (CSV)
Clocks generated by internal CR oscillators are used to
supervise abnormality of the external clocks.
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 (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 the low-power
consumption mode. It is possible to select the main clock, sub
clock, built-in high-speed CR clock or built-in low-speed CR
clock as the clock source.
Interval timer: up to 64 s (Max) @ Sub Clock: 32.768 kHz
External OSC clock failure (clock stop) is detected, reset is
asserted.
External OSC frequency anomaly is detected, interrupt or
reset is asserted.
Low-Voltage Detector (LVD)
This Series include 2-stage monitoring of voltage on the VCC
pins. When the voltage falls below the voltage has been set,
Low-Voltage Detector generates an interrupt or reset.
External Interrupt Controller Unit
External interrupt input pin: Max 16 pins
Include one non-maskable interrupt (NMI)
Watchdog 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 low-speed internal
CR oscillator. Therefore, "Hardware" watchdog is active in any
power saving mode except STOP.
LVD1: error reporting via interrupt
LVD2: auto-reset operation
Document Number: 002-04926 Rev.*A
Page 3 of 118
MB9B460L Series
Low-power Consumption Mode
Six low-power consumption modes are supported.
Debug
Serial Wire JTAG Debug Port (SWJ-DP)
Unique ID
Unique value of the device (41-bit) is set.
SLEEP
TIMER
RTC
STOP
Deep standby RTC (selectable from with/without RAM
retention)
Power Supply
Two Power Supplies
Wide range voltage:
Power supply for VBAT:
VCC
VBAT
= 2.7 V to 5.5 V
= 2.7 V to 5.5 V
Deep standby stop (selectable from with/without RAM
retention)
VBAT
The consumption power during the RTC operation can be
reduced by supplying the power supply independent from the
RTC (calendar circuit)/32 kHz oscillation circuit. The following
circuits can also be used.
RTC
32 kHz oscillation circuit
Power-on circuit
Back up register: 32 bytes
Port circuit
Document Number: 002-04926 Rev.*A
Page 4 of 118
MB9B460L Series
Contents
Features................................................................................................................................................................................... 1
1. Product Lineup .................................................................................................................................................................. 7
2. Packages ........................................................................................................................................................................... 8
3. Pin Assignment ................................................................................................................................................................. 9
4. Pin Description ................................................................................................................................................................ 13
4.1
List of Pin Numbers ..................................................................................................................................................... 13
4.2
List of Pin Functions .................................................................................................................................................... 19
5. I/O Circuit Type................................................................................................................................................................ 28
6. Handling Precautions ..................................................................................................................................................... 35
6.1
Precautions for Product Design ................................................................................................................................... 35
6.2
Precautions for Package Mounting .............................................................................................................................. 36
6.3
Precautions for Use Environment ................................................................................................................................ 37
7. Handling Devices ............................................................................................................................................................ 38
8. Block Diagram ................................................................................................................................................................. 40
9. Memory Size .................................................................................................................................................................... 41
10. Memory Map .................................................................................................................................................................... 41
11. Pin Status in Each CPU State ........................................................................................................................................ 44
12. Electrical Characteristics ............................................................................................................................................... 51
12.1 Absolute Maximum Ratings ......................................................................................................................................... 51
12.2 Recommended Operating Conditions.......................................................................................................................... 52
12.3 DC Characteristics....................................................................................................................................................... 55
12.3.1 Current Rating .............................................................................................................................................................. 55
12.3.2 Pin Characteristics ....................................................................................................................................................... 62
12.4 AC Characteristics ....................................................................................................................................................... 64
12.4.1 Main Clock Input Characteristics .................................................................................................................................. 64
12.4.2 Sub Clock Input Characteristics ................................................................................................................................... 65
12.4.3 Built-in CR Oscillation Characteristics .......................................................................................................................... 65
12.4.4 Operating Conditions of Main PLL (In the Case of Using Main Clock for Input Clock of PLL) ...................................... 66
12.4.5 Operating Conditions of Main PLL (In the Case of Using Built-in High-speed CR Clock for Input Clock of Main PLL) 66
12.4.6 Reset Input Characteristics .......................................................................................................................................... 66
12.4.7 Power-on Reset Timing................................................................................................................................................ 67
12.4.8 GPIO Output Characteristics ........................................................................................................................................ 67
12.4.9 Base Timer Input Timing .............................................................................................................................................. 68
12.4.10 UART Timing ............................................................................................................................................................ 69
12.4.11 External Input Timing ................................................................................................................................................ 94
12.4.12 Quadrature Position/Revolution Counter Timing ...................................................................................................... 95
2
12.4.13 I C Timing ................................................................................................................................................................. 97
12.4.14 JTAG Timing ............................................................................................................................................................. 99
12.5 12-bit A/D Converter .................................................................................................................................................. 100
12.6 12-bit D/A Converter .................................................................................................................................................. 103
12.7 Low-Voltage Detection Characteristics ...................................................................................................................... 104
12.7.1 Low-Voltage Detection Reset ..................................................................................................................................... 104
12.7.2 Interrupt of Low-Voltage Detection ............................................................................................................................. 104
12.8 MainFlash Memory Write/Erase Characteristics ........................................................................................................ 105
12.9 WorkFlash Memory Write/Erase Characteristics ....................................................................................................... 105
12.10 Standby Recovery Time ............................................................................................................................................ 106
Document Number: 002-04926 Rev.*A
Page 5 of 118