MB96370 Series
F
2
MC-16FX 16-bit Proprietary
Microcontroller
MB96370 series is based on Cypress advanced 16FX architecture (16-bit with instruction pipeline for RISC-like performance). The
CPU uses the same instruction set as the established 16LX series - thus allowing for easy migration of 16LX Software to the new
16FX products. 16FX 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 highest processing speed at optimized power consumption an internal PLL can be selected to supply the CPU with up to 40MHz
operation frequency from an external 4MHz resonator. The result is a minimum instruction cycle time of 25ns going together with
excellent EMI behavior. An on-chip clock modulation circuit significantly reduces emission peaks in the frequency spectrum. The
emitted power is minimized by the on-chip voltage regulator that reduces the internal CPU voltage. A flexible clock tree allows to
select suitable operation frequencies for peripheral resources independent of the CPU speed.
Features
Technology
■
Code Security
■
0.18m CMOS
Protects ROM content from unintended read-out
CPU
■
■
■
Memory Patch Function
■
■
F
2
MC-16FX CPU
Up to 40 MHz internal, 25 ns instruction cycle time
Optimized 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 execution queue
Signed multiply (16-bit
16-bit) and divide (32-bit/16-bit)
instructions available
Replaces ROM content
Can also be used to implement embedded debug support
DMA
■
■
■
Automatic transfer function independent of CPU, can be
assigned freely to resources
Interrupts
■
■
■
Fast Interrupt processing
8 programmable priority levels
Non-Maskable Interrupt (NMI)
System clock
■
■
On-chip PLL clock multiplier (x1 - x25, x1 when PLL stop)
3 MHz - 16 MHz external crystal oscillator clock (maximum
frequency when using ceramic resonator depends on
Q-factor).
Up to 40 MHz external clock
32 kHz - 100 kHz subsystem quartz clock
100kHz/2MHz internal RC clock for quick and safe startup,
oscillator stop detection, watchdog
Clock source selectable from main- and subclock oscillator
(part number suffix “W”) and on-chip RC oscillator, indepen-
dently for CPU and 2 clock domains of peripherals.
Low Power Consumption - 13 operating modes : (different Run,
Sleep, Timer modes, Stop mode)
Clock modulator
Timers
■
■
■
■
■
■
Three independent clock timers (23-bit RC clock timer, 23-bit
Main clock timer, 17-bit Sub clock timer)
Watchdog Timer
CAN
■
■
■
■
■
■
■
■
■
Supports CAN protocol version 2.0 part A and B
ISO16845 certified
Bit rates up to 1 Mbit/s
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
■
■
On-chip voltage regulator
■
Internal voltage regulator supports reduced internal MCU
voltage, offering low EMI and low power consumption figures
Low voltage reset
■
Reset is generated when supply voltage is below minimum.
Cypress Semiconductor Corporation
Document Number: 002-04590 Rev. *A
•
198 Champion Court
•
San Jose
,
CA 95134-1709
•
408-943-2600
Revised April 22, 2016
MB96370 Series
USART
■
■
■
■
Stepper Motor Controller
■
■
■
■
■
Full duplex USARTs (SCI/LIN)
Wide 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
Stepper Motor Controller with integrated high current output
drivers
Four high current outputs for each channel
Two synchronized 8/10-bit PWMs per channel
Internal prescaling for PWM clock: 1, 1/4, 1/5, 1/6, 1/8, 1/10,
1/12, 1/16 of peripheral clock
Separate power supply for high current output drivers
LCD controller with up to 4 COM
72 SEG
Internal or external voltage generation
Duty cycle: Selectable from options: 1/2, 1/3 and 1/4
Fixed 1/3 bias
Programmable frame period
Clock source selectable from three options (peripheral clock,
subclock or RC oscillator clock)
On-chip drivers for internal divider resistors or external divider
resistors
On-chip data memory for display
LCD display can be operated in Timer Mode
Blank display: selectable
All SEG, COM and V pins can be switched between general
and specialized purposes
External divided resistors can be also used to shut off the
current when LCD is deactivated
I
2
C
■
■
Up to 400 kbps
Master and Slave functionality, 7-bit and 10-bit addressing
LCD Controller
■
■
■
■
■
■
■
■
■
■
■
■
A/D converter
■
■
■
SAR-type
10-bit resolution
Signals interrupt on conversion end, single conversion mode,
continuous conversion mode, stop conversion mode, activation
by software, external trigger or reload timer
Reload Timers
■
■
■
16-bit wide
Prescaler with 1/2
1
, 1/2
2
, 1/2
3
, 1/2
4
, 1/2
5
, 1/2
6
of peripheral clock
frequency
Event count function
Free Running Timers
■
Signals an interrupt on overflow, supports timer clear upon
match with Output Compare (0, 4), Prescaler with 1, 1/2
1
, 1/2
2
,
1/2
3
, 1/2
4
, 1/2
5
, 1/2
6
, 1/2
7
,1/2
8
of peripheral clock frequency
Input Capture Units
■
■
■
16-bit wide
Signals an interrupt upon external event
Rising edge, falling edge or rising & falling edge sensitive
Sound Generator
■
■
8-bit PWM signal is mixed with tone frequency from 16-bit
reload counter
PWM clock by internal prescaler: 1, 1/2, 1/4, 1/8 of peripheral
clock
Output Compare Units
■
■
■
16-bit wide
Signals an interrupt when a match with 16-bit I/O Timer occurs
A pair of compare registers can be used to generate an output
signal.
Real Time Clock
■
■
■
■
■
Can be clocked either from sub oscillator (devices with part
number suffix “W”), main oscillator or from the RC oscillator
Facility to correct oscillation deviation of Sub clock or RC oscil-
lator 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
Programmable Pulse Generator
■
■
■
■
■
16-bit down counter, cycle and duty setting registers
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 and Reload timer underflow as clock input
Can be triggered by software or reload timer
Document Number: 002-04590 Rev. *A
Page 2 of 125
MB96370 Series
External Interrupts
■
■
■
■
I/O Ports
■
■
■
■
■
■
■
Edge sensitive or level sensitive
Interrupt mask and pending 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
Virtually all external pins can be used as general purpose I/O
All push-pull outputs (except when used as I
2
C SDA/SCL line)
Bit-wise programmable as input/output or peripheral signal
Bit-wise programmable input enable
Bit-wise programmable input levels: Automotive /
CMOS-Schmitt trigger / TTL
Bit-wise programmable pull-up resistor
Bit-wise programmable output driving strength for EMI
optimization
Non Maskable Interrupt
■
■
■
■
Disabled after reset
Once enabled, can not be disabled other than by reset.
Level high or level low sensitive
Pin shared with external interrupt 0.
Packages
■
144-pin plastic LQFP M08/12
External bus interface
■
■
■
■
■
■
■
■
Flash Memory
■
■
■
■
■
■
■
■
■
8-bit or 16-bit bidirectional data
Up to 24-bit addresses
6 chip select signals
Multiplexed address/data lines
Non-multiplexed address/data lines
Wait state request
External bus master possible
Timing programmable
Supports automatic programming, Embedded Algorithm
Write/Erase/Erase-Suspend/Resume commands
A flag indicating completion of the algorithm
Number of erase cycles: 10,000 times
Data retention time: 20 years
Erase can be performed on each sector individually
Sector protection
Flash Security feature to protect the content of the Flash
Memory
Low voltage detection during Flash erase
Alarm comparator
*1
■
■
■
Monitors an external voltage and generates an interrupt in case
of a voltage lower or higher than the defined thresholds
Threshold voltages defined externally or generated internally
Status is readable, interrupts can be masked separately
*1: No alarm comparator available on MB96375R.
Document Number: 002-04590 Rev. *A
Page 3 of 125
MB96370 Series
Contents
Product Lineup ................................................................. 6
Block Diagram .................................................................. 8
Pin Assignments .............................................................. 9
Pin Function Description ............................................... 10
Pin Circuit Type .............................................................. 13
I/O Circuit Type ............................................................... 15
Memory Map .................................................................... 20
RAMSTART/END and External Bus End Addresses ... 21
User ROM Memory Map for Flash Devices ................. 22
User ROM Memory Map for Mask ROM Devices ......... 23
Serial Programming Communication Interface ........... 24
I/O Map ............................................................................. 25
Interrupt Vector Table .................................................... 58
Handling Devices ............................................................ 61
Latch-up prevention ................................................... 61
Unused pins handling ................................................ 61
External clock usage ................................................. 61
Unused sub clock signal ............................................ 62
Notes on PLL clock mode operation ......................... 62
Power supply pins (VCC/VSS) .................................. 62
Crystal oscillator and ceramic resonator circuit ......... 62
Turn on sequence of power supply to
A/D converter and analog inputs ............................... 62
Pin handling when not using the A/D converter ........ 62
Notes on Power-on .................................................... 62
Stabilization of power supply voltage ........................ 63
SMC power supply pins ............................................. 63
Serial communication ................................................ 63
Clock modulator ........................................................ 63
Electrical Characteristics ............................................... 64
Absolute Maximum Ratings ....................................... 64
Recommended Operating Conditions ....................... 67
DC characteristics ..................................................... 68
AC Characteristics ..................................................... 77
Analog Digital Converter ......................................... 100
Alarm Comparator*1 ................................................ 104
Low Voltage Detector characteristics ...................... 106
FLASH memory program/erase characteristics ...... 108
Example Characteristics .............................................. 109
Temperature dependency of
power supply currents ............................................. 109
Frequency dependency of
power supply currents in PLL Run mode ................ 116
Ordering Information .................................................... 118
Package Dimension ...................................................... 119
Major Changes .............................................................. 121
Revision History ........................................................... 123
Document History ......................................................... 125
Document Number: 002-04590 Rev. *A
Page 4 of 125
MB96370 Series
1. Product Lineup
Features
Product type
Product options
RS
RW
HS
HW
Flash/ROM
160KB
576KB
[Flash A: 544KB,
Flash B: 32KB]
832KB
[Flash A: 544KB,
Flash B: 288KB]
Package
DMA
USART
I
2
C
A/D Converter
A/D Converter Reference Voltage
switch
16-bit Reload Timer
RAM
12KB
28KB
ROM/Flash
memory emulation
by external RAM,
92KB internal
RAM
MB96375RS/RW
MB96F378HS/HW
NA
Low voltage reset can be disabled / Single clock devices
Low voltage reset can be disabled / Dual clock devices
indep. 32KB Flash / Low voltage reset can be disabled / Single
clock devices
indep. 32KB Flash / Low voltage reset can be disabled /
Dual clock devices
MB96V300C
Evaluation sample
MB96(F)37x
Flash product: MB96F37x
Mask ROM product: MB9637x
32KB
MB96F379RS/RW
BGA416
16 channels
10 channels
2 channels
40 channels
Yes
6 channels
+ 1 channel (for
PPG)
4 channels
12 channels
12 channels
20 channels
5 channels
6 channels
16 channels
FPT-144P-M08, FPT-144P-M12
7 channels
6 channels
2 channels
22 channels
No
4 channels + 1 channel (for PPG)
16-bit Free-Running Timer
16-bit Output Compare
16-bit Input Capture
16-bit Programmable Pulse Generator
CAN Interface
Stepper Motor Controller
External Interrupts
Non-Maskable Interrupt
2 channels
6 channels
8 channels
12 channels
2 channels
6 channels
8 channels
1 channel
Document Number: 002-04590 Rev. *A
Page 5 of 125