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 MICROELECTRONICS
DATA SHEET
DS07-16803-3E
32-bit Microcontrollers
CMOS
FR60Lite MB91245/S Series
MB91247/247S/248/248S/F248/F248S/F249/F249S
MB91V245A
■
DESCRIPTIONS
MB91245/S series is Fujitsu’s general-purpose 32-bit RISC microcontroller, which is designed for embedded
control applications that require high-speed real-time processing of consumer appliances. This microcontroller
uses FR60Lite as its CPU, compatible with other products in the FR* family.
This series incorporates an LCD controller and stepping motor controller.
* : FR, the abbreviation of FUJITSU RISC controller, is a line of products of Fujitsu Microelectronics Limited.
■
FEATURES
•
FR60Lite CPU
• 32-bit RISC, load/store architecture, 5-stage pipeline
• Maximum operating frequency : 32 MHz (Source oscillation is 4 MHz with x8 multiplier – PLL clock multiplier
system)
• 16-bit fixed-length instructions (basic instructions)
• Instruction execution speed : 1 instruction per cycle
• Instruction set optimized for embedded application : Memory-to-memory transfer, bit manipulation, barrel shift
instructions etc.
• Instructions adapted for programming C language : Function entry/exit instructions, multiple-register load/store
instructions.
• Register interlock function : Easier assembler coding enabled
• Built-in multiplier supported at the instruction level
Signed 32-bit multiplication : 5 cycles
Signed 16-bit multiplication : 3 cycles
(Continued)
For the information for microcontroller supports, see the following web site.
http://edevice.fujitsu.com/micom/en-support/
Copyright©2006-2009 FUJITSU MICROELECTRONICS LIMITED All rights reserved
2009.3
MB91245/S Series
(Continued)
• Interrupt (PC/PS save) : 6 cycles (16 priority levels)
• Harvard architecture allowing program access and data access to be executed simultaneously.
• Instruction set compatible with FR family
•
Internal Peripheral Functions
• Internal ROM size & ROM type
MASK ROM
: 256 Kbytes (MB91248/S) / 128 Kbytes (MB91247/S)
Flash Memory
: 256 Kbytes (MB91F248/S)
/
512 Kbytes (MB91F249/S)
• Internal RAM size : 16 Kbytes (MB91248/S, MB91F248/S) / 8 Kbytes (MB91247/S) / 24 Kbytes (MB91F249/S) /
32 Kbytes (MB91V245A)
• General-purpose ports : up to 120 ports (includes 4 input-only ports)
• 8/10-bit A/D converter (Sequential comparison type)
8/10-bit resolution : 32 channels
Conversion time : 3
μs
(16/32 MHz)
Set the PLL multiplier and the division ratio of peripheral circuit clocks so that the above conversion time is
achieved.
32 MHz : Source oscillation (4 MHz) with x8 multiplier, divided by 1
16 MHz : Source oscillation with x8 multiplier, divided by 2
• External interrupt : 8 channels
• Bit search module (for REALOS)
Search function to locate the position of the first bit that changes from “1” to “0” in one word, from the MSB
(Most Significant Bit)
• UART (full duplex double buffer type) : 1 channel
Parity enable/disable selectable
Asynchronous clock operation (start-stop synchronization) and synchronous clock operation selectable
Dedicated baud-rate timer (U-Timer) embedded in each channel
External clock can be used as transfer clock
Parity, frame, overrun error detection functions provided
• LIN-UART (full duplex double buffer type) : 3 channels
Synchronous/asynchronous clock operations selectable
Sync-break detection
Dedicated built-in baud-rate generator
• Stepping motor controller (SMC) : 6 channels
8-bit PWM with 4 high-current outputs for each channel
• 8/16-bit PPG timer : 8/4 channels
• 16-bit reload timer : 3 channels
• 16-bit free-run timer : 2 channels (ICU/OCU linkage)
• 16-bit pulse width counter : 1 channel
• Input capture : 4 channels (linked to ch.0 and ch.1 of free-run timer)
ch.0 linked to PWC
• Output compare : 2 channels (linked to ch.0 of free-run timer)
• LCD controller : SEG00 to SEG31/COM0 to COM3 (shared with port)
• 16-bit timebase/watch dog timer
• Sound generator
• Real-time clock
• 32 kHz sub clock (not supported in single clock products)
• C-CAN : 2 channels
• Low power consumption modes : sleep mode, stop mode, watch mode
• Package : LQFP-144 (FPT-144P-M08)
• CMOS technology : 0.35
μm
• Power supply voltage : 5 V (Internal logic : 3.3 V, I/O : 5.0 V (step-down circuit used))
2
DS07-16803-3E
MB91245/S Series
■
PRODUCT LINEUP
A table below shows the product lineup of the MB91245/S series. Embedded peripheral functions which are not
listed are common functions.
MB91V245A
MB91247/S
MB91248/S
MB91F248/S
MB91F249/S
ROM/Flash size
RAM size
External interrupt
DMA Controller
8 /10-bit A/D Converter
UART
LIN-UART
Stepping Motor Controller
8 /16-bit PPG Timer
16-bit Reload Timer
16-bit Free Run Timer
16-bit Pulse Width
Counter
Input Capture Unit
Output Compare Unit
LCD Controller
Sound Generator
Real Time Clock
32 kHz Sub Clock
External bus
Others
On Chip Debug Support
Unit
C-CAN
EVA device
DSU4
Yes
External SRAM
32 Kbytes
128 Kbytes
8 Kbytes
256 Kbytes
16 Kbytes
8 channels
5 channels
32 channels
1 channel
3 channels
6 channels
8 channels/4 channels
3 channels
2 channels
1 channel
4 channels
2 channels
4 COM, 32 SEG
1 channel
Yes
Yes/No (S series)
Addr 16 bits
Data 16 bits
MASK ROM product
⎯
2 channels
32-message buffer
Flash memory product
256 Kbytes
16 Kbytes
512 Kbytes
24 Kbytes
DS07-16803-3E
3
MB91245/S Series
■
PIN ASSIGNMENT
(TOP VIEW)
P23/SEG03/A03
P22/SEG02/A02
P21/SEG01/A01
P20/SEG00/A00
PD7/COM3/PPG7
PD6/COM2/PPG5
PD5/COM1/PPG3
PD4/COM0/PPG1
PD3/IN3
PD2/TIN2/IN2
PD1/TIN1/IN1
PD0/TIN0/IN0/PWC0
PG3/TOT2/PPG6
PG2/TOT1/PPG4
PG1/TOT0/PPG2
X0
X1
V
SS
V
CC
PG0/PPG0
P47/SGO/SYSCLK
P46/SGA/AS
P57/OUT1/RDY
P56/OUT0/WR1
P55/SCK5/WR0
P54/SOT5/RD
P53/SIN5/CK1/CS3
P52/SCK4/CS2
P51/SOT4/CS1
P50/SIN4/CK0/CS0
P45/SCK3
P44/SOT3
P43/SIN3
P42/SCK0
P41/SOT0
P40/SIN0
A04/SEG04/P24
A05/SEG05/P25
A06/SEG06/P26
A07/SEG07/P27
A08/SEG08/P30
A09/SEG09/P31
A10/SEG10/P32
A11/SEG11/P33
A12/SEG12/P34
A13/SEG13/P35
A14/SEG14/P36
A15/SEG15/P37
D08/SEG16/P10
D09/SEG17/P11
D10/SEG18/P12
X0A
X1A
V
CC
V
SS
V
CC
3C
D11/SEG19/P13
D12/SEG20/P14
D13/SEG21/P15
D14/SEG22/P16
D15/SEG23/P17
D00/INT0/SEG24/P00
D01/INT1/SEG25/P01
D02/INT2/SEG26/P02
D03/INT3/SEG27/P03
D04/INT4/SEG28/P04
D05/INT5/SEG29/P05
D06/SEG30/P06
D07/ATG/SEG31/P07
RX0/INT6/P70
TX0/P71
RX1/INT7/P72
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
104
103
102
101
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
LQFP-144
INIT
MOD0
MOD1
MOD2
DV
SS
DV
CC
PE7/PWM2M5
PE6/PWM2P5
PE5/PWM1M5
PE4/PWM1P5
PE3/PWM2M4
PE2/PWM2P4
PE1/PWM1M4
PE0/PWM1P4
PA3/PWM2M3
PA2/PWM2P3
PA1/PWM1M3
PA0/PWM1P3
DV
SS
DV
CC
PF7/AN15
PF6/AN14
PF5/AN13
PF4/AN12
PF3/AN11
PF2/AN10
PF1/AN9
PF0/AN8
P67/AN7
P66/AN6
P65/AN5
P64/AN4
P63/AN3
P62/AN2
P61/AN1
P60/AN0
4
P73/TX1
DV
CC
DV
SS
PB0/PWM1P0
PB1/PWM1M0
PB2/PWM2P0
PB3/PWM2M0
PB4/PWM1P1
PB5/PWM1M1
PB6/PWM2P1
PB7/PWM2M1
PC0/PWM1P2
PC1/PWM1M2
PC2/PWM2P2
PC3/PWM2M2
DV
CC
DV
SS
P97/AN31
P96/AN30
P95/AN29
P94/AN28
P93/AN27
P92/AN26
P91/AN25
P90/AN24
P87/AN23
P86/AN22
P85/AN21
P84/AN20
P83/AN19
P82/AN18
P81/AN17
P80/AN16
AV
CC
AVRH
AV
SS
/AVRL
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
(FPT-144P-M08)
DS07-16803-3E