Spansion. Analog and Microcontroller Products
Spansion. Analog and Microcontroller Products
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.
■ FEATURES
1. CPU
• 32-bit RISC (FR30) , load/store architecture, 5-level pipeline
• Multi-purpose register : 32 bits × 16
• 16-bit fixed length instructions (basic instructions) , 1 instruction per cycle
• Instructions for barrel shift, bit processing and inter-memory transfers : Instructions suited to loading purposes
• Function entry / exit instruction, multi load / store instruction of register details : High-level language handling
instruction
• Register interlock function : Simplification of assembler description
• Branch instruction with delay slot : Reduction in overheads in case of branching
(Continued)
For the information for microcontroller supports, see the following web site.
http://edevice.fujitsu.com/micom/en-support/
(Continued)
• Multiplier is built-in / supported at instruction level.
• Signed 32-bit multiplication : 5 cycles
• Signed 16-bit multiplication : 3 cycles
• Interruption (saving PC and PS) : 6 cycles, 16 priority levels
2. Bus Interface
• 24-bit address output, 8/16-bit data input/output
• Basic bus cycle : 2 clock cycles
• Interface support for various memories
• Unused data and address pins can be used as input/output ports.
• Supports “little endian” mode
3. Built-in ROM
Mask device : 254 KB; FLASH device : 254 KB; EVA-FLASH device : 254 KB
4. Built-in RAM
Mask device : 8 KB; FLASH device : 8 KB; EVA-FLASH device : 8 KB
5. DMA Controller
This is a descriptor-type MA controller whose transfer parameters are arranged in the main memory.
A maximum of 8 factors in total (internal and external) can be transferred.
External factors are 3 channels.
6. Bit Search Module
Searches the first “1” / “0” change bit positions within 1 cycle from MSB in 1 word
7. Timer
• 16-bit reload timer × 5 channels
• 16-bit OCU × 8 channels, ICU × 4 channels, free-run timer × 1 channel
Output waveform adjusting function for AC motor waveforms is included in the above timer.
• 8/16-bit up/down timer/counter (8-bit × 2 channels or 16-bit × 1 channel)
External interruption and pin are shared for AIN and BIN.
• 16-bit down count timer × 5 channels; can also be used as the UART baud rate timer
• 16-bit PPG timer × 6 channels; out-pulse cycle / duty can be changed at random
8. D/A Converter
• 8-bit × 3 channels
9. A/D Converter (Sequential comparison type)
• 10-bit × 8 channels
• Sequential conversion method (conversion time 5.0 µs at 33 MHz)
• Setting for single conversion, scan conversion and repeat conversion is possible.
• Conversion starting function using hardware or software
10. Serial I/O
• UART × 5 channels; clock synchronous serial transfer with LSB / MSB switching function is possible for both.
• Serial data output or serial lock output can be selected using push-pull / open-drain software.
11. Level Comparator Input
• 1 channel; shared input and pins of A/D converter.
2 DS07-16308-3E
■ PRODUCT LINEUP
MB91133 MB91F133A MB91FV130
Piggy/EVA device
MASK ROM device FLASH ROM device
CLASSIFICATION (for evaluation /
(mass production item) (for evaluation)
development)
RAM capacity 6 KB 6 KB 6 KB
CROM capacity 254 KB ⎯ ⎯
FLASH capacity ⎯ 254 KB 254 KB
CRAM capacity 2 KB 2 KB 2 KB
Others Mass production Mass production Provided
DS07-16308-3E 3
■ PIN ASSIGNMENTS
• MB91FV130
(BOTTOM VIEW)
3 299 296 293 277 274 270 268 278 275 262 254 247 257 252 250 245 233 230 224
2 298 292 289 286 283 280 276 269 264 263 258 251 248 243 240 237 234 225 221
5 10 4 297 291 287 284 279 271 265 261 256 249 242 239 235 229 228 219 218
8 13 6 300 295 290 285 281 272 267 259 255 246 241 236 231 226 223 215 207
25 16 11 7 1 294 288 282 273 266 260 253 244 238 232 227 222 217 212 202
52 62 67 72 77 82 88 94 103 110 116 123 133 139 145 153 157 161 166 175
57 65 73 76 81 86 91 96 105 109 117 122 131 136 141 147 151 156 163 158
68 69 78 79 85 89 92 99 106 111 115 121 129 135 138 142 148 154 160 155
71 75 84 87 90 93 98 101 108 113 114 119 126 130 134 137 140 144 150 152
74 80 83 95 100 102 107 97 104 112 125 128 118 120 124 127 132 143 146 149
(PGA-299C-A01)
4 DS07-16308-3E
• MB91F133A/MB91133
(TOP VIEW)
3 142 141 5 8 11 14 18 19 26 29 32 41 40 39
2 143 1 4 6 9 12 16 21 25 28 31 33 37 38
1 144 2 3 7 10 13 17 20 24 27 30 34 35 36
A B C D E F G H J K L M N P
INDEX
(BGA-144P-M01)
DS07-16308-3E 5
• MB91F133A/MB91133
(TOP VIEW)
PK7/AN7/CMP
PL6/DREQ2
PL3/DREQ1
PL0/DREQ0
PL5/DEOP1
PL2/DEOP0
PL7/DACK2
PL4/DACK1
PL1/DACK0
PK6/AN6
PK5/AN5
PK4/AN4
PK3/AN3
PK2/AN2
PK1/AN1
PK0/AN0
AVRH
DAVC
DAVS
AVRL
AVCC
AVSS
VCC3
MD2
MD1
MD0
RST
DA0
DA1
DA2
X1A
X0A
VSS
VSS
X1
X0
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
P20/D16 1 108 VCC5
P21/D17 2 107 PH0/SIN0
P22/D18 3 106 PH1/SOT0
P23/D19 4 105 PH2/SCK0
P24/D20 5 104 PI0/SIN1
P25/D21 6 103 PI1/SOT1
P26/D22 7 102 PI2/SCK1
P27/D23 8 101 PI3/SIN2
VSS 9 100 PI4/SOT2
P30/D24 10 99 PI5/SCK2
P31/D25 11 98 PJ0/SIN3
P32/D26 12 97 PJ1/SOT3
P33/D27 13 96 PJ2/SCK3
P34/D28 14 95 PJ3/SIN4
P35/D29 15 94 PJ4/SOT4
P36/D30 16 93 PJ5/SCK4
P37/D31 17 92 VCC3
P40/A00 18 91 VSS
P41/A01 19 90 PG5/PPG5
P42/A02 20 89 PG4/PPG4
P43/A03 21 88 PG3/PPG3
P44/A04 22 87 PG2/PPG2
P45/A05 23 86 PG1/PPG1
P46/A06 24 85 PG0/PPG0
P47/A07 25 84 PF7/RTO7
VSS 26 83 PF6/RTO6
VCC5 27 82 PF5/RTO5
P50/A08 28 81 PF4/RTO4
P51/A09 29 80 PF3/RTO3
P52/A10 30 79 PF2/RTO2
P53/A11 31 78 PF1/RTO1
P54/A12 32 77 PF0/RTO0
P55/A13 33 76 PE7/DTTI
P56/A14 34 75 PE6/FRCK
P57/A15 35 74 PE5/IN3
P60/A16/INT16 36 73 PE4/IN2
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
P61/A17/INT17
P62/A18/INT18
P63/A19/INT19
P64/A20/INT20
P65/A21/INT21
P66/A22/INT22
P67/A23/INT23
VCC3
P80/RDY
P81/BGRNT
P82/BRQ
P83/RD
P84/WR0
P85/WR1
P86/CLK
VSS
PC0/INT0
PC1/INT1
PC2/INT2
PC3/INT3
PC4/AIN0/INT4
PC5/BIN0/INT5
PC6/AIN1/INT6
PC7/BIN1/INT7
PD0/INT8/TRG0
PD1/INT9/TRG1
PD2/INT10/TRG2
PD3/INT11/TRG3
PD4/INT12/TRG4
PD5/INT13/TRG5
PD6/DEOP2/INT14
PD7/ATG/INT15
PE0/ZIN0
PE1/ZIN1
PE2/IN0
PE3/IN1
(FPT-144P-M08)
6 DS07-16308-3E
DS07-16308-3E 7
(Continued)
No. Pin Name No. Pin Name No. Pin Name No. Pin Name No. Pin Name
137 PC1/INT1 173 PF5/RTO5 209 TAD14 245 TDT23 281 TDT53
138 PC2/INT2 174 PF6/RTO6 210 TAD15 246 TDT24 282 TDT54
139 PC3/INT3 175 PF7/RTO7 211 VCC3 247 VSS 283 TDT55
140 PC4/INT4/AIN0 176 PG0/PPG0 212 TOE 248 TDT25 284 TDT56
141 PC5/INT5/BIN0 177 PG1/PPG1 213 TCE1 249 TDT26 285 TDT57
142 PC6/INT6/AIN1 178 PG2/PPG2 214 TADSC 250 TDT27 286 VCC3
143 VCC5 179 VSS 215 TWR 251 TDT28 287 TDT58
144 PC7/INT7/BIN1 180 PG3/PPG3 216 TDT00 252 TDT29 288 TDT59
145 PD0/INT8/TRG0 181 PG4/PPG4 217 TDT01 253 TDT30 289 TDT60
146 VSS 182 PG5/PPG5 218 VSS 254 VCC5 290 TDT61
147 PD1/INT9/TRG1 183 N.C. 219 TDT02 255 TDT31 291 TDT62
148 PD2/INT10/TRG2 184 N.C. 220 TDT03 256 TDT32 292 TDT63
149 VCC5 185 N.C. 221 VCC5 257 TDT33 293 VCC5
150 PD3/INT11/TRG3 186 N.C. 222 TDT04 258 TDT34 294 TDT64
151 PD4/INT12/TRG4 187 VCC5 223 TDT05 259 TDT35 295 TDT65
152 VSS 188 EXRAM 224 VSS 260 TDT36 296 VSS
153 PD5/INT13/TRG5 189 TAD00 225 TDT06 261 TDT37 297 TDT66
154 PD6/INT14/DEOP2 190 TAD01 226 TDT07 262 VSS 298 TDT67
155 VCC5 191 TAD02 227 TDT08 263 TDT38 299 VCC5
156 PD7/INT15/ATG 192 TAD03 228 TDT09 264 TDT39 300 TDT68
157 PE0/ZIN0 193 VCC3 229 TDT10 265 TDT40
158 VSS 194 TAD04 230 VCC5 266 TDT41
159 PE1/ZIN1 195 TAD05 231 TDT11 267 TDT42
160 PE2/IN0 196 TAD06 232 TDT12 268 TDT43
161 PE3/IN1 197 TAD07 233 VSS 269 VCC3
162 PE4/IN2 198 TAD08 234 TDT13 270 TDT44
163 PE5/IN3 199 TAD09 235 TDT14 271 TDT45
164 PE6/FRCK 200 VSS 236 TDT15 272 TDT46
165 PE7/DTTI 201 TAD10 237 TDT16 273 TDT47
166 VCC3 202 TAD11 238 TDT17 274 TDT48
167 PF0/RTO0 203 VCC5 239 TDT18 275 VCC5
168 PF1/RTO1 204 TAD12 240 VCC3 276 TDT49
169 PF2/RTO2 205 TAD13 241 TDT19 277 TDT50
170 PF3/RTO3 206 TAD14 242 TDT20 278 VSS
171 PF4/RTO4 207 TAD15 243 TDT21 279 TDT51
172 VCC5 208 TCLK 244 TDT22 280 TDT52
8 DS07-16308-3E
DS07-16308-3E 9
(Continued)
LQFP FBGA Pin Name LQFP FBGA Pin Name
106 C14 PH1/SOT0 126 C8 PL0/DREQ0
107 B14 PH0/SIN0 127 C7 PL1/DACK0
108 A14 VCC5 128 A7 PL2/DEOP0
109 B13 DA2 129 B7 PL3/DREQ1
110 A13 DA1 130 D7 PL4/DACK1
111 B12 DA0 131 D6 PL5/DEOP1
112 A12 DAVS 132 A6 PL6/DREQ2
113 C12 DAVC 133 B6 PL7/DACK2
114 B11 AVCC 134 C6 RST
115 A11 AVRH 135 A5 VSS
116 C11 AVRL 136 B5 X0A
117 B10 AVSS 137 C5 X1A
118 A10 PK0/AN0 138 A4 VCC3
119 C10 PK1/AN1 139 B4 X0
120 B9 PK2/AN2 140 C4 X1
121 A9 PK3/AN3 141 B3 VSS
122 C9 PK4/AN4 142 A3 MD0
123 D8 PK5/AN5 143 A2 MD1
124 B8 PK6/AN6 144 A1 MD2
125 A8 PK7/AN7/CMP
10 DS07-16308-3E
■ PIN DESCRIPTIONS
Circuit
Pin No. Pin name Function
type
1 D16/P20
2 D17/P21
3 D18/P22
External data bus bits 16 to 23
4 D19/P23
C Only valid for external bus 16-bit mode. Can be used as ports in
5 D20/P24
single-chip and external bus 8-bit modes.
6 D21/P25
7 D22/P26
8 D23/P27
10 D24/P30
11 D25/P31
12 D26/P32
13 D27/P33 External data bus bits 24 to 31
C
14 D28P34 Can be used as ports in single-chip mode.
15 D29/P35
16 D30/P36
17 D31/P37
18 A00/P40
19 A01/P41
20 A02/P42
21 A03/P43
22 A04/P44
23 A05/P45
24 A06/P46
External address bus bits 0 to 15
25 A07/P47
F Valid for external bus mode. Can be used as ports in single-chip
28 A08/P50
mode.
29 A09/P51
30 A10/P52
31 A11/P53
32 A12/P54
33 A13/P55
34 A14/P56
35 A15/P57
36 A16/INT16/P60
External address bus bits 16 to 23
37 A17/INT17/P61
[ INT16 to 23 ] are external interruption request inputs 16 to 23.
38 A18/INT18/P62
These inputs are always used when dealing with external interrup-
39 A19/INT19/P63
O tions is permitted, so output by ports should be stopped except
40 A20/INT20/P64
when carried out intentionally.
41 A21/INT21/P65
Can be used as ports when address bus and external interruption
42 A22/INT22/P66
request input are not used.
43 A23/INT23/P67
External RDY input
This function is valid when external RDY input is permitted. “0” is
45 RDY/P80 C
input if the bus cycle being executed is not completed.
Can be used as a port when the external RDY input is not used.
(Continued)
DS07-16308-3E 11
Circuit
Pin No. Pin name Function
type
External bus open reception output
This function is valid when external bus open reception output is
46 BGRNT/P81 F permitted. “L” is output if the external bus is opened. Can be used
as a port when the external bus open reception output is prohibit-
ed.
External bus open request input
This function is valid when external bus open request input is per-
47 BRQ/P82 C mitted. “1” is input if the external bus requests to be opened.
Can be used as a port when the external bus open request input is
not used.
External bus read strobe output
This function is valid when external bus read strobe output is per-
48 RD/P83 F
mitted. Can be used as a port when the external bus read strobe
output is prohibited.
External bus write strobe output
49 WR0/P84 F This function is valid in external bus mode. Can be used as a port
in single-chip mode.
External bus write strobe output
This function is valid in external bus mode and with 16-bit buses.
50 WR1/P85 F
Can be used as a port in single-chip mode or with external 8-bit
bus.
System clock output
51 CLK/P86 F Outputs the same clock frequency as the external bus operation.
Can be used as a port when it is not otherwise used.
External interruption request inputs 0 to 3
These inputs are always used when dealing with external interrup-
53 INT0/PC0
tions is permitted, so output by ports should be stopped except
54 INT1/PC1
H when carried out intentionally.
55 INT2/PC2
Can be used to reset standby as input is permitted in this port un-
56 INT3/PC3
der standby status.Can be used as ports when external interrup-
tion request input is not used.
External interruption request inputs 4 to 7
These inputs are always used when dealing with external interrup-
tions is permitted, so output by ports should be stopped except
when carried out intentionally. Can be used to reset standby as in-
57 AIN0/INT4/PC4
put is permitted in these ports under standby status.
58 BIN0/INT5/PC5
H
59 AIN1/INT6/PC6
[ AIN, BIN ] Up/down timer input
60 BIN1/INT7/PC7
This input is always used when input is permitted, so output by
ports should be stopped except when carried out intentionally.
Can be used as a port when external interruption request input and
up/down timer input are not used.
(Continued)
12 DS07-16308-3E
Circuit
Pin No. Pin name Function
type
External interruption request inputs 8 to 15
These inputs are always used when dealing with external interrup-
tions is permitted, so output by ports should be stopped except
when carried out intentionally.
61 TRG0/INT8/PD0
[ TRG0 to 5 ] These are external trigger inputs for PPG timers.
62 TRG1/INT9/PD1
63 TRG2/INT10/PD2
[ DEOP2 ] DMA external transfer termination output
64 TRG3/INT11/PD3
O This function is valid when external transfer termination output
65 TRG4/INT12/PD4
specification of the DMA controller is permitted.
66 TRG5/INT13/PD5
67 DEOP2/INT14/PD6
[ ATG ] A/D converter external trigger input
68 ATG/INT15/PD7
These inputs are always used when they are selected as A/D initi-
ation factors, so output by ports should be stopped except when
carried out intentionally. Can be used as ports when not otherwise
used.
Up/down timer input
69 ZIN0/PE0 These inputs are always used when input is permitted, so output
O
70 ZIN1/PE1 by ports should be stopped except when carried out intentionally.
Can be used as ports when up/down timer input is not used.
71 IN0/PE2
Input capture input
72 IN1/PE3
F This function is valid when input capture activates input. Can be
73 IN2/PE4
used as ports when input capture input is not used.
74 IN3/PE5
External clock input pin of free-run timer
75 FRCK/PE6 F Can be used as a port when external clock input of free-run timer
is not used.
RTOn pin level fixed input
76 DTTI/PE7 F Invalid when input is permitted in the waveform generation area.
Can be used as a port when RTOn pin level fixed input is not used.
77 RTO0/PF0
78 RTO1/PF1
Output compare event pins/waveform output pins in the
79 RTO2/PF2
waveform generation area
80 RTO3/PF3
F Can be used as ports when specification of the output compare
81 RTO4/PF4
event pin/waveform output pin of the waveform generation area is
82 RTO5/PF5
prohibited.
83 RTO6/PF6
84 RTO7/PF7
85 PPG0/PG0
86 PPG1/PG1 PPG timer output
87 PPG2/PG2 This function is valid when output specification of the PPG timer is
F
88 PPG3/PG3 permitted. Can be used as ports when output specification of the
89 PPG4/PG4 PPG timer is prohibited.
90 PPG5/PG5
111 DA0 D/A converter output
110 DA1 ⎯ This function is valid when output specification of the D/A converter
109 DA2 is permitted.
(Continued)
DS07-16308-3E 13
Circuit
Pin No. Pin name Function
type
UART0 data input
This input is always used when UART0 activates input, so output
107 SIN0/PH0 P
by ports should be stopped except when carried out intentionally.
Can be used as a port when UART0 data input is not used.
UART0 data output
This function is valid when UART0 data output specification is per-
106 SOT0/PH1 P
mitted. Can be used as a port when UART0 data output specifica-
tion is prohibited.
UART0 clock input/output
This function is valid when UART0 clock output specification is per-
105 SCK0/PH2 P
mitted. Can be used as a port when UART0 clock output specifi-
cation is prohibited.
UART1 data input
This input is always used when UART1 activates input, so output
104 SIN1/PI0 P
by ports should be stopped except when carried out intentionally.
Can be used as a port when UART1 data input is not used.
UART1 data output
This function is valid when UART1 data output specification is per-
103 SOT1/PI1 P
mitted. Can be used as a port when UART1 data output specifica-
tion is prohibited.
UART1 clock input/output
This function is valid when UART1 clock output specification is per-
102 SCK1/PI2 P
mitted. Can be used as a port when UART1 clock output specifi-
cation is prohibited.
UART2 data input
This input is always used when UART2 activates input, so output
101 SIN2/PI3 P
by ports should be stopped except when carried out intentionally.
Can be used as a port when UART2 data input is not used.
UART2 data output
This function is valid when UART2 data output specification is per-
100 SOT2/PI4 P
mitted. Can be used as a port when UART2 data output specifica-
tion is prohibited.
UART2 clock input/output
This function is valid when UART2 clock output specification is per-
99 SCK2/PI5 P
mitted. Can be used as a port when UART2 clock output specifi-
cation is prohibited.
UART3 data input
This input is always used when UART3 activates input, so output
98 SIN3/PJ0 P
by ports should be stopped except when carried out intentionally.
Can be used as a port when UART3 data input is not used.
UART3 data output
This function is valid when UART3 data output specification is per-
97 SOT3/PJ1 P
mitted. Can be used as a port when UART3 data output specifica-
tion is prohibited.
(Continued)
14 DS07-16308-3E
Circuit
Pin No. Pin name Function
type
UART3 clock input/output
This function is valid when UART3 clock output specification is per-
96 SCK3/PJ2 P
mitted. Can be used as a port when UART3 clock output specifi-
cation is prohibited.
UART4 data input
This input is always used when UART4 activates input, so output
95 SIN4/PJ3 P
by ports should be stopped except when carried out intentionally.
Can be used as a port when UART4 data input is not used.
UART4 data output
This function is valid when UART4 data output specification is per-
94 SOT4/PJ4 P
mitted. Can be used as a port when UART4 data output specifica-
tion is prohibited.
UART4 clock input/output
This function is valid when UART4 clock output specification is per-
93 SCK4/PJ5 P
mitted. Can be used as a port when UART4 clock output specifi-
cation is prohibited.
118 AN0/PK0
119 AN1/PK1
A/D converter analog input
120 AN2/PK2
This is valid when the AICK register specification is analog input.
121 AN3/PK3
N
122 AN4/PK4
[ CMP ] level comparator input
123 AN5/PK5
Can be used as ports when A/D converter analog input is not used.
124 AN6/PK6
125 CMP/AN7/PK7
DMA external transfer request input
This input is always used if selected as the transfer factor for the
126 DREQ0/PL0 F DMA controller, so output by ports should be stopped except when
carried out intentionally. Can be used as a port when DMA exter-
nal transfer request input is not used.
DMA external transfer request reception output
This function is valid when external transfer request reception out-
127 DACK0/PL1 F put specification of the DMA controller is permitted. Can be used
as a port when transfer request reception output specification of
the DMA controller is prohibited.
DMA external transfer termination output
128 DEOP0/PL2 F This function is valid when external transfer termination output
specification of the DMA controller is permitted.
DMA external transfer request input
This input is always used if selected as the transfer factor for the
129 DREQ1/PL3 F DMA controller, so output by ports should be stopped except when
carried out intentionally. Can be used as a port when DMA exter-
nal transfer request input is not used.
(Continued)
DS07-16308-3E 15
(Continued)
Circuit
Pin No. Pin name Function
type
DMA external transfer request reception output
This function is valid when external transfer request reception out-
130 DACK1/PL4 F put specification of the DMA controller is permitted. Can be used
as a port when transfer request reception output specification of
the DMA controller is prohibited.
DMA external transfer termination output
131 DEOP1/PL5 F This function is valid when external transfer termination output
specification of the DMA controller is permitted.
DMA external transfer request input
This input is always used if selected as the transfer factor for the
132 DREQ2/PL6 F DMA controller, so output by ports should be stopped except when
carried out intentionally. Can be used as a port when DMA exter-
nal transfer request input is not used.
DMA external transfer request reception output
This function is valid when external transfer request reception out-
133 DACK2/PL7 F put specification of the DMA controller is permitted. Can be used
as a port when transfer request reception output specification of
the DMA controller is prohibited.
134 RST B External reset input
136 X0A
A Oscillation pin for low-speed clock (32 kHz)
137 X1A
139 X0
A Oscillation pin for high-speed clock (16.5 MHz)
140 X1
142 MD0 Mode pins
143 MD1 G Basic MCU operation mode is set by these pins. They should be
144 MD2 directly connected to VCC or VSS for use.
112 DAVS ⎯ Ground pin of D/A converter (connected to analog ground)
113 DAVC ⎯ Power pin of D/A converter
114 AVCC ⎯ Power pin for A/D converter
Reference voltage pin for A/D converter (high electric poten-
tial side)
115 AVRH ⎯
When this pin is turned on/off, AVRH or more electric potential
must be supplied to VCC.
Reference voltage pin for A/D converter (low electric potential
116 AVRL ⎯
side)
117 AVSS ⎯ Ground pin for A/D converter (connected to analog ground)
5 V power of digital circuit
27, 108 VCC5 ⎯
Power must be connected to all VCC5 pins for use.
44, 92 3 V power of digital circuit
VCC3 ⎯
138 Power must be connected to all VCC3 pins for use.
9, 26, 52,
91, 135, VSS ⎯ Ground level of digital circuit
141
Note : In most of the above pins, the input/output of the I/O ports and resources are multiplexed, such as xxxx/Pxx.
If the output from ports and resources of those pins compete with each other, the resource is given priority.
16 DS07-16308-3E
Digital input
CMOS input
Standby control
Hysteresis input
Standby control
(Continued)
DS07-16308-3E 17
G
IOL = 4 mA
Digital input
(Continued)
18 DS07-16308-3E
(Continued)
Type Circuit Remarks
• CMOS hysteresis input/output pin
Pull-up control
with pull-up control
DS07-16308-3E 19
■ HANDLING DEVICES
1. Points to Note on Handling Devices
(1) Latch-up prevention
Latch-up may occur by CMOS IC if a voltage in excess of VCC5 or lower than VSS is applied to the input/output
pins, or if the voltage exceeds the rating between VCC5 and VSS. If latch-up occurs, the electrical current increases
significantly and may destroy certain components due to excessive heat, so great care must be taken to ensure
that the maximum rating is not exceeded during use.
• Power pins
When there are a number of VCC5/VCC3/VSS, those whose electrical potential must be the same within the
device are connected to prevent erroneous operation such as latch-up for device design purposes, but those
must be externally connected to a power source and earthed to follow the general output current standard and
prevent erroneous operation of strobe signals due to increased ground level and reduction in unnecessary
radiation.
Care must also be taken to ensure that they are connected to the VCC5/VSS or VCC3/VSS of this device at the
lowest possible impedance from the source of the electrical current supply.
Furthermore, it is recommended that a ceramic capacitor of around 0.1 µF be used to connect the VCC5 and
VSS, or VCC3 and VSS near the device as a bypass capacitor.
20 DS07-16308-3E
• External clock
Use with an external clock is prohibited. A crystal (or ceramic) oscillator should be used.
• Analog Power
The AVCC should always be used at the same electric potential as VCC5. If the VCC5 is larger than the AVCC,
electricity may flow through pins AN0 to AN7.
• Power on reset
“Power on reset” must be executed if power is turned on, but the power voltage falls below the guaranteed
operating temperature and power is turned on again.
DS07-16308-3E 21
■ BLOCK DIAGRAM
SIN0 to SIN4
FR30 CPU SOT0 to SOT4
SCK0 to SCK4
15
UART × 5 ch
RAM 6 Kbyte
DREQ0 toDREQ 2
DACK0 toDACK 2 DMAC 8 ch
DEOP0 to DEOP2 Reload timer × 5 ch
9
Bus Converter 6
PPG0 to PPG5
6
TRG0 to TRG5
A23 to A00
D31 to D16 RAM 2 Kbyte 16 bit PPG × 6 ch
External Bus
Multi-Function
Controller
RD
WR1, WR0 Timer
RDY
BRQ ROM 254 Kbyte IN0 to IN3
BGRNT 4
CLK 16 bit ICU × 4 ch
47
Interrupt Controller
16 bit FRT FRCK
X0, X1, X0A, X1A
RST Clock Generator
MD0 to MD2 RTO0 (U)
8 RTO1 (X)
RTO2 (V)
AIN0, 1 RTO3 (Y)
BIN0, 1 Up/Down counter × 2 ch RTO4 (W)
ZIN0, 1 RTO5 (Z)
6 RTO6
16 bit OCU × 8 ch RTO7
24 ch external interrupt DTTI
INT0 to INT23 (∗)
24
The total number of above pins is 133. The remainder (144 − 133 = 11 pins) are VCC5 , VCC3 and VSS.
22 DS07-16308-3E
■ CPU
1. Memory Space
The FR family has 4 Gbytes (232 addresses) of logic address space which the CPU accesses linearly.
• Memory Map
0000 0800H
* : It is impossible to access the external area on single-chip mode. When accessing the external area, select the
internal ROM external bus mode.
DS07-16308-3E 23
2. Registers
There are two types of multi-purpose registers in the FR family. One is a dedicated purpose register that exists
within the CPU and the other is a multi-purpose register that exists in the memory.
• Dedicated Registers
Program Counter (PC) : 32-bit length; indicates instruction storage position.
Program Status (PS) : 32-bit length; stores register pointers and condition codes.
Table Base Register (TBR) : Holds the starting address of the vector table to be used for Exception,
Interruption and Trapping (EIT) .
Return Pointer (RP) : Holds the address to return to from the sub-routine.
System Stuck Pointer (SSP) : Indicates the system stuck position.
User Stuck Pointer (USP) : Indicates the user’s stuck position.
Multiplication and Division
Results Resister (MDH/MDL) : 32-bit length; act as registers for multiplication and division.
PS Program Status
31 20 19 18 17 16 10 9 8 7 6 5 4 3 2 1 0
24 DS07-16308-3E
0 1 0 0 0 15
1 1 1 1 1 31 Weak
DS07-16308-3E 25
■ MULTI-PURPOSE REGISTERS
The multi-purpose registers are CPU registers R0 to R15 which are used as accumulators for various compu-
tations and memory access pointers (fields that indicate the address) .
• Register bank configuration
R12
R13 AC (Accumulator)
Special purposes are assumed for the following 3 of the 16 registers. Thus, some instructions are emphasized.
R13 : Virtual accumulator (AC)
R14 : Frame Pointer (FP)
R15 : Stack Pointer (SP)
Initial values for R0 to R14 on resetting are unspecified. The initial value of R15 will be 0000 0000H (SSP value) .
26 DS07-16308-3E
■ MODE SETTING
1. Pins
• Mode pins and set mode
Mode pins Reset vector External data
Mode name Bus modes
MD2 MD1 MD0 access areas bus width
2. Register
Mode register (MODR) and set mode
W : Write only
X : Undecided
* : “0” should always be written for bits other than M1 and M0.
DS07-16308-3E 27
■ I/O MAP
Register
Address Block
+0 +1 +2 +3
PDR3 (R/W) PDR2 (R/W)
000000H ⎯
XXXXXXXX XXXXXXXX
PDR6 (R/W) PDR5 (R/W) PDR4 (R/W)
000004H ⎯
XXXXXXXX XXXXXXXX XXXXXXXX
PDR8 (R/W)
000008H ⎯ ⎯ ⎯
- XXXXXXX Port Data
Register
00000CH ⎯
28 DS07-16308-3E
Register
Address Block
+0 +1 +2 +3
IPCP1 (R) IPCP0 (R)
000044H
XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
IPCP3 (R) IPCP2 (R)
000048H 16-bit ICU
XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
ICS23 (R/W) ICS01 (R/W)
00004CH ⎯ ⎯
00000000 00000000
000050H ⎯ Reserved
DS07-16308-3E 29
Register
Address Block
+0 +1 +2 +3
RCR1 (W) RCR0 (W) UDCR1 (R) UDCR0 (R)
000084H
00000000 00000000 00000000 00000000
CCRH0 (R/W) CCRL0 (R/W) CSR0 (R/W) 8-/16-bit
000088H ⎯
00000000 -0 0 0 1 0 0 0 00000000 U/D Counter
CCRH1 (R/W) CCRL1 (R/W) CSR1 (R/W)
00008CH ⎯
-0 0 0 0 0 0 0 -0 0 0 1 0 0 0 00000000
000090H ⎯ Reserved
30 DS07-16308-3E
Register
Address Block
+0 +1 +2 +3
DDRF (R/W) DDRE (R/W) DDRD (R/W) DDRC (R/W)
0000D0H
00000000 00000000 00000000 00000000
DDRJ (R/W) DDRI (R/W) DDRH (R/W) DDRG (R/W) Data Direction
0000D4H
--0 0 0 0 0 0 --0 0 0 0 0 0 -----0 0 0 --0 0 0 0 0 0 Register
DDRL (R/W) DDRK (R/W)
0000D8H ⎯ ⎯
00000000 00000000
GCN1 (R/W) GCN2 (R/W)
0000DCH ⎯ PPG ctl
00110010 00010000 00000000
PTMR0 (R) PCSR0 (W)
0000E0H
11111111 11111111 XXXXXXXX XXXXXXXX
PPG0
PDUT0 (W) PCNH0 (R/W) PCNL0 (R/W)
0000E4H
XXXXXXXX XXXXXXXX 0000000- 00000000
PTMR1 (R) PCSR1 (W)
0000E8H
11111111 11111111 XXXXXXXX XXXXXXXX
PPG1
PDUT1 (W) PCNH1 (R/W) PCNL1 (R/W)
0000ECH
XXXXXXXX XXXXXXXX 0000000- 00000000
PTMR2 (R) PCSR2 (W)
0000F0H
11111111 11111111 XXXXXXXX XXXXXXXX
PPG2
PDUT2 (W) PCNH2 (R/W) PCNL2 (R/W)
0000F4H
XXXXXXXX XXXXXXXX 0000000- 00000000
PTMR3 (R) PCSR3 (W)
0000F8H
11111111 11111111 XXXXXXXX XXXXXXXX
PPG3
PDUT3 (W) PCNH3 (R/W) PCNL3 (R/W)
0000FCH
XXXXXXXX XXXXXXXX 0000000- 00000000
PTMR4 (R) PCSR4 (W)
000100H
11111111 11111111 XXXXXXXX XXXXXXXX
PPG4
PDUT4 (W) PCNH4 (R/W) PCNL4 (R/W)
000104H
XXXXXXXX XXXXXXXX 0000000- 00000000
PTMR5 (R) PCSR5 (W)
000108H
11111111 11111111 XXXXXXXX XXXXXXXX
PPG5
PDUT5 (W) PCNH5 (R/W) PCNL5 (R/W)
00010CH
XXXXXXXX XXXXXXXX 0000000- 00000000
(Continued)
DS07-16308-3E 31
Register
Address Block
+0 +1 +2 +3
TMRLR (W) TMR (R)
000110H
XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
Reload Timer 3
TMCSR (R/W)
000114H ⎯
----0000 0 0 0 0 0 0 0 0
TMRLR (W) TMR (R)
000118H
XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
Reload Timer 4
TMCSR (R/W)
00011CH ⎯
----0000 0 0 0 0 0 0 0 0
000120H
to ⎯ Reserved
0001FCH
DPDP (R/W)
000200H
-------- -------- -------- -0 0 0 0 0 0 0
DACSR (R/W)
000204H
00000000 00000000 00000000 00000000
DMAC
DATCR (R/W)
000208H
XXXXXXXX XXXX0 0 0 0 XXXX0 0 0 0 XXXX0 0 0 0
00020CH ⎯
000210H
to ⎯ Reserved
0003ECH
BSD0 (W)
0003F0H
XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
BSD1 (R/W)
0003E4H
XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
Bit Search Module
BSDC (W)
0003F8H
XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
BSRR (R)
0003FCH
XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
ICR00 (R/W) ICR01 (R/W) ICR02 (R/W) ICR03 (R/W)
000400H
----1 1 1 1 ----1 1 1 1 ----1 1 1 1 ----1 1 1 1
ICR04 (R/W) ICR05 (R/W) ICR06 (R/W) ICR07 (R/W) Interrupt Control
000404H
----1 1 1 1 ----1 1 1 1 ----1 1 1 1 ----1 1 1 1 Unit
ICR08 (R/W) ICR09 (R/W) ICR10 (R/W) ICR11 (R/W)
000408H
----1 1 1 1 ----1 1 1 1 ----1 1 1 1 ----1 1 1 1
(Continued)
32 DS07-16308-3E
Register
Address Block
+0 +1 +2 +3
ICR12 (R/W) ICR13 (R/W) ICR14 (R/W) ICR15 (R/W)
00040CH
----1 1 1 1 ----1 1 1 1 ----1 1 1 1 ----1 1 1 1
ICR16 (R/W) ICR17 (R/W) ICR18 (R/W) ICR19 (R/W)
000410H
----1 1 1 1 ----1 1 1 1 ----1 1 1 1 ----1 1 1 1
ICR20 (R/W) ICR21 (R/W) ICR22 (R/W) ICR23 (R/W)
000414H
----1 1 1 1 ----1 1 1 1 ----1 1 1 1 ----1 1 1 1
ICR24 (R/W) ICR25 (R/W) ICR26 (R/W) ICR27 (R/W)
000418H
----1 1 1 1 ----1 1 1 1 ----1 1 1 1 ----1 1 1 1
ICR28 (R/W) ICR29 (R/W) ICR30 (R/W) ICR31 (R/W) Interrupt Control
00041CH
----1 1 1 1 ----1 1 1 1 ----1 1 1 1 ----1 1 1 1 Unit
ICR32 (R/W) ICR33 (R/W) ICR34 (R/W) ICR35 (R/W)
000420H
----1 1 1 1 ----1 1 1 1 ----1 1 1 1 ----1 1 1 1
ICR36 (R/W) ICR37 (R/W) ICR38 (R/W) ICR39 (R/W)
000424H
----1 1 1 1 ----1 1 1 1 ----1 1 1 1 ----1 1 1 1
ICR40 (R/W) ICR41 (R/W) ICR42 (R/W) ICR43 (R/W)
000428H
----1 1 1 1 ----1 1 1 1 ----1 1 1 1 ----1 1 1 1
ICR44 (R/W) ICR45 (R/W) ICR46 (R/W) ICR47 (R/W)
00042CH
----1 1 1 1 ----1 1 1 1 ----1 1 1 1 ----1 1 1 1
DICR (R/W) HRCL (R/W)
000430H ⎯ Delay Int
-------0 ---1 1 1 1 1
000434H
to ⎯ Reserved
00047CH
RSRR/WTCR (R/W) STCR (R/W) PDRR (R/W) CTBR (W)
000480H
1 XXXX - 0 0 0 0 0 1 1 1-- ----0 0 0 0 XXXXXXXX
Clock Control Unit
GCR (R/W) WPR (W)
000484H ⎯
1 1 0 0 1 1-1 XXXXXXXX
CT (R/W)
000488H ⎯ PLL Control
0 0--0-0 0
00048CH
to ⎯ Reserved
0005FCH
(Continued)
DS07-16308-3E 33
Register
Address Block
+0 +1 +2 +3
DDR3 (W) DDR2 (W)
000600H ⎯ ⎯
00000000 00000000
DDR6 (W) DDR5 (W) DDR4 (W) Data Direction
000604H ⎯
00000000 00000000 00000000 Register
DDR8 (W)
000608H ⎯ ⎯ ⎯
-0 0 0 0 0 0 0
ASR1 (W) AMR1 (W)
00060CH
00000000 00000001 00000000 00000000
ASR2 (W) AMR2 (W)
000610H
00000000 00000010 00000000 00000000
ASR3 (W) AMR3 (W)
000614H
00000000 00000011 00000000 00000000
ASR4 (W) AMR4 (W)
000618H
00000000 00000100 00000000 00000000
ASR5 (W) AMR5 (W)
00061CH T-unit
00000000 00000101 00000000 00000000
AMD0 (R/W) AMD1 (R/W) AMD32 (R/W) AMD4 (R/W)
000620H
---0 0 1 1 1 0--0 0 0 0 0 00000000 0--0 0 0 0 0
AMD5 (R/W)
000624H ⎯
0--0 0 0 0 0
EPCR0 (W) EPCR1 (W)
000628H
----1 1 0 0 -1------ -------- 1 1 1 1 1 1 1 1
00062CH ⎯
PCR6 (R/W)
000630H ⎯ ⎯ Pull-up Control
00000000
000634H
to ⎯ Reserved
0007BCH
FLCR (R/W)
0007C0H ⎯
000X0000
FLASH Control
FWTC (R/W)
0007C4H ⎯
-----0 0 0
0007C8H
to ⎯ Reserved
0007F8H
(Continued)
34 DS07-16308-3E
(Continued)
Register
Address Block
+0 +1 +2 +3
LER (W) MODR (W) Little Endian
0007FCH ⎯ Register
-----0 0 0 XXXXXXXX Mode Register
*1 : Do not execute RMW instructions to registers with write-only bits.
*2 : Do not execute write access to read-only or reserved registers except for particular requests.
*3 : Data in areas with “-” or reserved ones are unspecified.
*4 : RMW instructions (RMW : Read / Modify / Write)
AND Rj, @Ri OR Rj, @Ri EOR Rj, @Ri
ANDH Rj, @Ri ORH Rj, @Ri EORH Rj, @Ri
ANDB Rj, @Ri ORB Rj, @Ri EORB Rj, @Ri
BANDL #u4, @Ri BORL #u4, @Ri BEORL #u4, @Ri
BANDH #u4, @Ri BORH #u4, @Ri BEORH #u4, @Ri
DS07-16308-3E 35
■ INTERRUPTION VECTOR
Causes of MB91130 series interruptions and allocation of interruption vectors and interruption control registers
are described in the interruption vector table.
Interruption number Interruption Address *2
Interruption sauce *1 Offset
Decimal Hexadecimal level of TBR default
Reset 0 00 ⎯ 3FCH 000FFFFCH
System reservation 1 01 ⎯ 3F8H 000FFFF8H
System reservation 2 02 ⎯ 3F4H 000FFFF4H
System reservation 3 03 ⎯ 3F0H 000FFFF0H
System reservation 4 04 ⎯ 3ECH 000FFFECH
System reservation 5 05 ⎯ 3E8H 000FFFE8H
System reservation 6 06 ⎯ 3E4H 000FFFE4H
System reservation 7 07 ⎯ 3E0H 000FFFE0H
System reservation 8 08 ⎯ 3DCH 000FFFDCH
System reservation 9 09 ⎯ 3D8H 000FFFD8H
System reservation 10 0A ⎯ 3D4H 000FFFD4H
System reservation 11 0B ⎯ 3D0H 000FFFD0H
System reservation 12 0C ⎯ 3CCH 000FFFCCH
System reservation 13 0D ⎯ 3C8H 000FFFC8H
Exceptions to undefined instructions 14 0E ⎯ 3C4H 000FFFC4H
System reservation 15 0F ⎯ 3C0H 000FFFC0H
External interruption 0 16 10 ICR00 3BCH 000FFFBCH
External interruption 1 17 11 ICR01 3B8H 000FFFB8H
External interruption 2 18 12 ICR02 3B4H 000FFFB4H
External interruption 3 19 13 ICR03 3B0H 000FFFB0H
External interruption 4 20 14 ICR04 3ACH 000FFFACH
External interruption 5 21 15 ICR05 3A8H 000FFFA8H
External interruption 6 22 16 ICR06 3A4H 000FFFA4H
External interruption 7 23 17 ICR07 3A0H 000FFFA0H
External interruption 8 to 15 24 18 ICR08 39CH 000FFF9CH
External interruption 16 to 23 25 19 ICR09 398H 000FFF98H
UART0 (Reception completion) 26 1A ICR10 394H 000FFF94H
UART1 (Reception completion) 27 1B ICR11 390H 000FFF90H
UART2 (Reception completion) 28 1C ICR12 38CH 000FFF8CH
UART3 (Reception completion) 29 1D ICR13 388H 000FFF88H
UART4 (Reception completion) 30 1E ICR14 384H 000FFF84H
(Continued)
36 DS07-16308-3E
DS07-16308-3E 37
(Continued)
Interruption number
Interruption Address *2
Interruption sauce Offset
Decimal Hexadecimal level *1 of TBR default
System reservation
64 40 ⎯ 2FCH 000FFEFCH
(used under REALOS *3)
System reservation
65 41 ⎯ 2F8H 000FFEF8H
(used under REALOS *3)
Used under INT instruction 66 42 ⎯ 2F4H 000FFEF4H
Used under INT instruction 67 43 ⎯ 2F0H 000FFEF0H
Used under INT instruction 68 44 ⎯ 2ECH 000FFEECH
Used under INT instruction 69 45 ⎯ 2E8H 000FFEE8H
Used under INT instruction 70 46 ⎯ 2E4H 000FFEE4H
Used under INT instruction 71 47 ⎯ 2E0H 000FFEE0H
Used under INT instruction 72 48 ⎯ 2DCH 000FFEDCH
Used under INT instruction 73 49 ⎯ 2D8H 000FFED8H
Used under INT instruction 74 4A ⎯ 2D4H 000FFED4H
Used under INT instruction 75 4B ⎯ 2D0H 000FFED0H
Used under INT instruction 76 4C ⎯ 2CCH 000FFECCH
Used under INT instruction 77 4D ⎯ 2C8H 000FFEC8H
Used under INT instruction 78 4E ⎯ 2C4H 000FFEC4H
Used under INT instruction 79 4F ⎯ 2C0H 000FFEC0H
80 50 2BCH 000FFEBCH
Used under INT instruction to to ⎯ to to
255 FF 000H 000FFC00H
*1 : ICR sets the interruption level for each interruption request using the register built into the interruption controller.
ICR is prepared in accordance with each interruption request.
*2 : TBR is the register that indicates the starting address of the vector table for EIT.
Addresses with added offset values that are specified per TBR and EIT factor will be the vector addresses.
*3 : 40H, 41H interruptions for system codes are used in the event that REALOS/FR is used.
38 DS07-16308-3E
■ PERIPHERAL RESOURCES
1. Bus Interface
The bus interface controls the interface with external memory and external I/O.
• Areas
A total of six types of chip selection areas are prepared for the bus interface. The position of each area can be
randomly arranged per 64 KB at least using area selection registers (ASR1 to ASR5) and area mask registers
(AMR1 to AMR5) in an area of 4 GB. The area 0 is allocated to space outside the area specified by ASR1 to
ASR5. External areas other than 00010000H to 0005FFFFH are deemed area 0 on resetting.
There is no chip selection output pin so no setting is required. Setting it has no effect on usage.
“Area Arrangement Example 1” shows an example in which areas 1 to 5 are arranged from 00100000H to
0014FFFFH in 64 KB units. Also, “Area Arrangement Example 2” shows an example in which area 1 is arranged
as 00000000H to 0007FFFFH in 512 KB and areas 2 to 5 are arranged as 00100000H to 004FFFFFH in 1-MB units.
00000000H 00000000H
CS1 (512 Kbyte)
00080000H
CS0 (512 Kbyte)
00080000H CS0 (1 Mbyte) 000FFFFFH
CS2 (1 Mbyte)
000FFFFFH 001FFFFFH
CS1 (64 Kbyte)
0010FFFFH CS3 (1 Mbyte)
CS2 (64 Kbyte)
0011FFFFH 002FFFFFH
CS3 (64 Kbyte)
0012FFFFH CS4 (1 Mbyte)
CS4 (64 Kbyte)
0013FFFFH 003FFFFFH
CS5 (64 Kbyte)
0014FFFFH CS5 (1 Mbyte)
004FFFFFH
CS0 CS0
DS07-16308-3E 39
• Block Diagram
A - Out
ADDRESS BUS
DATA BUS
M
External
U
write DATA Bus
switch X
buffer
read switch
buffer
DATA BLOCK
ADDRESS BLOCK
+1 or +2
address
buffer External
shifter
Address Bus
inpage
CS0 - CS5
compa-
ASR rator
AMR
40 DS07-16308-3E
• Register List
Address 15 8 7 0
Note : Functional pins have not been prepared in the shaded area for MB91130 series, so these registers
should not be accessed.
DS07-16308-3E 41
2. I/O Port
MB91130 series can be used as an I/O port when the setting for resources dealing with each pin does not use
the pin for input/output.
As regards the read value of the port (PDR) , the pin level is read out when input is set for the port. If output is
set, the data register value is read out. This is the same for reading under Read Modify Write.
If the input setting is changed to output setting, output data should be set first. If Read Modify Write instructions
(i.e. bit set) are used in this case, the data that is read out is the input data from the pin and is not the latch value
of the data register, so care must be taken.
Data bus
Resource input
0
1
PDR read
0 pin
PDR
Resource output
1
Resource output
permission
DDR
• Switching control for resources and ports of the analog pin (A/D)
• Resources and ports of the analog pin (A/D) are switched using the Analog Input Control register on Port K
(AICK) .
This controls whether Port K is used as an analog or general-purpose port.
0 : General-purpose port
1 : Analog input (A/D)
42 DS07-16308-3E
Data bus
Resource input
0
0 pin
PDR
Resource output
1
Resource output
permission
DDR
PCR
Notes : • The pull-up resistance control register setting is handled as a priority in stop mode (HIZ = 1) as well.
• Use of the pull-up resistance control function is prohibited when the pin concerned is used as the external
bus pin. “1” should not be written in this register.
DS07-16308-3E 43
• Block Diagram of Input / Output Port (Open-drain Output Function with Pull-up Resistance)
1
PDR read
0 pin
PDR
Resource output
1
Resource output
permission
DDR
ODCR
PCR
Notes : • This has no meaning in input mode (output Hi-Z) . Input/output mode is decided by the Direction Register
(DDR) .
• Pull-up resistance control register setting is handled as the priority in stop mode (HIZ = 1) as well.
• Use of both the pull-up resistance control function and open-drain control function are prohibited when the
pin concerned is used as an external bus pin. “1” should not be written in both registers.
44 DS07-16308-3E
PDR2 to PDR6, PDR8, PDRC to PDRL are input/output data registers of the I/O port.
Input/output control is carried out by DDR2 to DDR6, DDR8, DDRC to DDRL that are handled.
DS07-16308-3E 45
DDR3 7 6 5 4 3 2 1 0
Initial value Access
Address : 000600H P37 P36 P35 P34 P33 P32 P31 P30 00000000B W
DDR4 7 6 5 4 3 2 1 0
Initial value Access
Address : 000607H P47 P46 P45 P44 P43 P42 P41 P40 00000000B W
DDR5 7 6 5 4 3 2 1 0
Initial value Access
Address : 000606H P57 P56 P55 P54 P53 P52 P51 P50 00000000B W
DDR6 7 6 5 4 3 2 1 0
Initial value Access
Address : 000605H P67 P66 P65 P64 P63 P62 P61 P60 00000000B W
DDR8 7 6 5 4 3 2 1 0
Initial value Access
Address : 00060BH ⎯ P86 P85 P84 P83 P82 P81 P80 - 0000000B W
DDRC 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000D3H PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 00000000B R/W
DDRD 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000D2H PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 00000000B R/W
DDRE 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000D1H PE7 PE6 PE5 PE4 PE3 PE2 PE1 PE0 00000000B R/W
DDRF 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000D0H PF7 PF6 PF5 PF4 PF3 PF2 PF1 PF0 00000000B R/W
DDRG 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000D7H ⎯ ⎯ PG5 PG4 PG3 PG2 PG1 PG0 - - 000000B R/W
DDRH 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000D6H ⎯ ⎯ ⎯ ⎯ ⎯ PH2 PH1 PH0 - - - - - 000B R/W
DDRI 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000D5H ⎯ ⎯ PI5 PI4 PI3 PI2 PI1 PI0 - - 000000B R/W
DDRJ 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000D4H ⎯ ⎯ PJ5 PJ4 PJ3 PJ2 PJ1 PJ0 - - 000000B R/W
DDRK 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000DBH PK7 PK6 PK5 PK4 PK3 PK2 PK1 PK0 00000000B R/W
DDRL 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000DAH PL7 PL6 PL5 PL4 PL3 PL2 PL1 PL0 00000000B R/W
DDR2 to DDR6, DDR8, DDRC to DDRL control input/output direction of the I/O ports handled per bit.
DDR = 0 : Port input DDR = 1 : Port output “0” must be written into the empty bit.
46 DS07-16308-3E
PCR6 7 6 5 4 3 2 1 0
Initial value Access
Address : 000631H P67 P66 P65 P64 P63 P62 P61 P60 00000000B R/W
PCRD 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000C2H PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 00000000B R/W
PCRE 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000C1H ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ PE1 PE0 - - - - - - 00B R/W
PCRH 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000C6H ⎯ ⎯ ⎯ ⎯ ⎯ PH2 PH1 PH0 - - - - - 000B R/W
PCRI 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000C5H ⎯ ⎯ PI5 PI4 PI3 PI2 PI1 PI0 - - 000000B R/W
PCRJ 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000C4H ⎯ ⎯ PJ5 PJ4 PJ3 PJ2 PJ1 PJ0 - - 000000B R/W
DDR6, DDRC to DDRE, DDRH to DDRJ carry out pull-up resistance control of the I/O ports handled.
PCR = 0 : Pull-up resistance turned off
PCR = 1 : Pull-up resistance turned on
OCRH 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000CAH ⎯ ⎯ ⎯ ⎯ ⎯ PH2 PH1 PH0 - - - - - 000B R/W
OCRI 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000C9H ⎯ ⎯ PI5 PI4 PI3 PI2 PI1 PI0 - - 000000B R/W
OCRJ 7 6 5 4 3 2 1 0
Initial value Access
Address : 0000C8H ⎯ ⎯ PJ5 PJ4 PJ3 PJ2 PJ1 PJ0 - - 000000B R/W
OCRH to OCRJ carry out open-drain control in output mode of the I/O ports handled.
OCR = 0 : Standard output port in output mode
OCR = 1 : Open-drain output port in output mode
This has no meaning in input mode (output Hi-z) .
DS07-16308-3E 47
48 DS07-16308-3E
DS07-16308-3E 49
• Block Diagram
8/16-bit Up/Down Counter / Timer (ch.0)
Data bus
8 bit
CGE1 CGE0 C/GS Reload / Compare Register 0 (RCR0)
UCRE RLDE
Carry
CMPF
CES1 CES0
UDFF OVFF
CMS1 CMS0
CITE UDIE
AIN0 Count clock
Up/down count
BIN0 clock selection UDF1 UDF0 CDCF CFIE
Interruption output
Pre-scalar CSTR
CLKS
50 DS07-16308-3E
Data bus
8 bit
CGE1 CGE0 C/GS Reload / Compare Register 1 (RCR1)
UCRE RLDE
CMPF
UDFF OVFF
CMS1 CMS0 CES1 CES0 M16E
CITE UDIE
Carry
Count clock
AIN1
Up/down count
BIN1 clock selection UDF1 UDF0 CDCF CFIE
Interruption output
Pre-scalar CSTR
CLKS
DS07-16308-3E 51
• Register List
bit 31 24 23 16 15 8 7 0
RCR1 RCR0 UDCR1 UDCR0
52 DS07-16308-3E
• Block Diagram
16
16-bit reload register
8
Reload
RELD
16
16-bit down counter UF OUTE
OUTL
2
OUT INTE
GATE
R - BUS
CTL.
2 UF IRQ
CSL1
Clock selector CNTE
CSL0
2 Re-trigger TRG
IN CTL.
EXCK
PWM (ch.0, ch.1)
φ φ φ 3 A/D (ch.2)
Pre-scalar
21 23 25 clear MOD2
MOD1
Peripheral Clock MOD0
3
Channel 2 TO output of the reload timer is connected to the A/D converter inside the LSI. Thus, A/D conversion
can be started up at the cycle set in the reload register.
DS07-16308-3E 53
5. PPG Timer
The PPG timer can efficiently output accurate PWM waveforms. The MB91130 series features a 6-channel
PPG timer.
54 DS07-16308-3E
• Block Diagram
TRG input
4 PWM3
PWM timer ch.3
External TRG0 to 3
DS07-16308-3E 55
PCSR PDUT
Pre-scalar
1/1
CMP
1/4 CK Load
1 / 16
1 / 64 16-bit down counter
Start Borrow
PPG mask
S Q PWM OUTPUT
Reverse bit
Enable
Interruption IRQ
Edge selection
TRG input
detection
Soft trigger
56 DS07-16308-3E
• Register list
Address 15 0
(Continued)
DS07-16308-3E 57
(Continued)
Address 15 0
00000100H PTMR R ch.4 Timer register
58 DS07-16308-3E
6. Multifunction Timer
The multifunction timer unit is configured of a 16-bit freerun timer × 1, 16-bit output compare × 8, 16-bit input
capture × 4, 16-bit PPG timer × 6 ch and waveform generation area modules. 12 independent waveform outputs
based on a 16-bit free-run timer are possible using this function and measurement of input pulse width and
external clock cycle is also possible.
• Output compare ( × 8)
Output compare is configured of 16-bit compare register × 8, latch for compare output and control register.
Interruption can be generated as well as reversing output level when the 16-bit free-run timer value and compare
register value match.
• 8 compare registers can be operated independently. Output pins and interruption flags support each
compare register.
• Output pins can be controlled by pairing two compare registers. Output pins are reversed using two
compare registers.
• Initial value of each output pin can be set.
• Interruption can be generated by matching compare.
• Input capture ( × 4)
Input capture is configured with four independent external input pins , supported capture and control register.
16-bit free-run timer value is held in the capture register by detecting the random edge of signals that are input
by the external input pin, and interruption can simultaneously be generated.
• Valid edges (rising edge, falling edge, both edges) of external input signals can be selected.
• Four input captures can be operated independently.
• Interruption can be generated by the valid edges of external input signals.
DS07-16308-3E 59
60 DS07-16308-3E
• Block Diagram
φ
Interruption
IVF IVFE STOP MODE SCLR CLK2 CLK1 CLK0 Cycle device
Clock
16-bit free-run timer
T Q RT1/3/5
Compare circuit To waveform
generation area
Interruption
Interruption
Interruption
Interruption
DS07-16308-3E 61
GATE 0/1
Clock
TO0
RT0 Waveform
generation area
TO1
RT1
RTO0/U
Compare Selector
8-bit timer Selector RTO1/X
circuit
U
Dead time
8-bit timer register 0 generation
X
GATE 2/3
R−BUS
TO2
RT2 Waveform
generation area
TO3
RT3
RTO2/V
Compare Selector
8-bit timer circuit Selector RTO3/Y
V
Dead time
8-bit timer register 1 generation
Y
GATE 4/5
TO4
RT4 Waveform
generation area
TO5
RT5
RTO4/W
Compare Selector
8-bit timer circuit Selector RTO5/Z
W
Dead time
8-bit timer register 2 generation
Z
62 DS07-16308-3E
• Registers List
Address 15 8 7 0
000044H to 4BH IPCP (R)
DS07-16308-3E 63
7. External Interruption
The external interruption control area is the block that controls the external interruption requests input in INT0
to INT23. The level of request to be detected can be selected from “H”, “L”, “Rising edge” or “ Falling edge”.
• Block diagram
R-BUS
24
Interruption permission register
Interruption 24 24
requests Gate Factor F/F Edge detection circuit INT0 to INT23
24
Interruption factor register
48
Request level setting register
• Register List
bit 15 14 13 12 11 10 9 8
LB7 LA7 LB6 LA6 LB5 LA5 LB4 LA4
There are three sets of the above registers (for 8 channels) for a total of 24 channels.
64 DS07-16308-3E
• Block Diagram
Refer to “9.(2) Block Diagram of Interruption Controller” for the block diagram of the delay interruption generation
area.
• Register List
bit 7 6 5 4 3 2 1 0
Address : 00000430H ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ DLYI DICR
R/W
DS07-16308-3E 65
9. Interruption Controller
The interruption controller carries out interruption reception and arbitration.
66 DS07-16308-3E
• Block Diagram
INT0 IM
5
NMI NMI processing LEVEL4 to 0
4
HLDREQ
(Holding HLDCAN
LEVEL Generation
judgement request)
of
ICR00 LEVEL /
RI00 VECTOR
VECTOR 6
VCT5 to 0
judgement
ICR47
RI47
(DLYIRQ) DLYI
R-BUS
Note : DLYI shown in the figure indicates delay interruption area. (Refer to the chapter on the delay interruption
module for details.)
INT0 is the wake-up signal to the clock control area in case of sleep or stop.
HLDCAN is the bus vacation request signal to bus masters other than the CPU.
There is no NMI function in this model.
DS07-16308-3E 67
• Register List
bit 7 6 5 4 3 2 1 0
Address : 00000400H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR00
Address : 00000401H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR01
Address : 00000402H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR02
Address : 00000403H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR03
Address : 00000404H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR04
Address : 00000405H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR05
Address : 00000406H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR06
Address : 00000407H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR07
Address : 00000408H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR08
Address : 00000409H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR09
Address : 0000040AH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR10
Address : 0000040BH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR11
Address : 0000040CH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR12
Address : 0000040DH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR13
Address : 0000040EH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR14
Address : 0000040FH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR15
Address : 00000410H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR16
Address : 00000411H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR17
Address : 00000412H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR18
Address : 00000413H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR19
Address : 00000414H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR20
Address : 00000415H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR21
Address : 00000416H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR22
Address : 00000417H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR23
Address : 00000418H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR24
Address : 00000419H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR25
Address : 0000041AH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR26
Address : 0000041BH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR27
Address : 0000041CH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR28
Address : 0000041DH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR29
Address : 0000041EH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR30
Address : 0000041FH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR31
R/W R/W R/W R/W
(Continued)
68 DS07-16308-3E
(Continued)
bit 7 6 5 4 3 2 1 0
Address : 00000420H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR32
Address : 00000421H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR33
Address : 00000422H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR34
Address : 00000423H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR35
Address : 00000424H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR36
Address : 00000425H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR37
Address : 00000426H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR38
Address : 00000427H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR39
Address : 00000428H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR40
Address : 00000429H ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR41
Address : 0000042AH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR42
Address : 0000042BH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR43
Address : 0000042CH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR44
Address : 0000042DH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR45
Address : 0000042EH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR46
Address : 0000042FH ⎯ ⎯ ⎯ ⎯ ICR3 ICR2 ICR1 ICR0 ICR47
R/W R/W R/W R/W
DS07-16308-3E 69
• Register list
Address 7 0
000480H RSRR/WTCR Reset factor / watchdog cycle control register
000481H STCR Standby control register
000482H PDRR DMA request blocking register
000483H CTBR Time base timer clear register
000484H GCR Gear control register
000485H WPR Watchdog reset generation postponement register
000488H PCTR PLL / 32-K clock control register
70 DS07-16308-3E
• Block diagram
GCR register
CPU gear
Peripheral
gear
X0A Oscillation
X1A circuit
CPU clock
1/2 M Internal clock Internal
P generation bus clock
X0 Oscillation X circuit
X1 PLL Internal
circuit peripheral clock
32-kHz selection circuit
STCR register
STOP status
DMA request SLEEP status
Status CPU hold request
transfer
PDRR register Reset
control circuit
generation Internal reset
F/F
Power on
detection circuit
VCC3 [ Reset factor circuit ]
RST pin
[ Watchdog control area ]
WPR register
Watchdog F/F
DS07-16308-3E 71
72 DS07-16308-3E
• Block Diagram
MPX
D/A converter
AN0
AN1
AN2
AN3 Input Sequential
AN4 circuit comparison register
AN5 Comparator
AN6
R - BUS
AN7
Sample and
holding circuit
Data register
Decoder ADCR
φ Pre-scalar
• Register List
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0000CFH AICK
000038 H ADCR
DS07-16308-3E 73
• Block Diagram
R − BUS
74 DS07-16308-3E
• Register list
DS07-16308-3E 75
76 DS07-16308-3E
• Block diagram
AVCC
AVR±
AVSS
RD3 - 0
FR30 R - BUS
AN7 Comparator
Sample &
holding circuit CPLV INT INTE CPEN
Interruption
Reload timer φ
Operation clock
DS07-16308-3E 77
• Register list
78 DS07-16308-3E
14. UART
UART is the general-purpose serial data communications interface to carry out synchronous or asynchronous
communication (start-stop synchronization) with external systems. It has a master/slave-type communications
function (multiprocessor mode: supporting only master side) as well as normal bi-directional communications
function (normal mode).
• UART Functions
UART is the general-purpose serial data communications interface that sends and receives serial data to/from
other CPUs and peripheral equipment, and has functions shown in “UART Functions Table”.
Note : Start / stop bits are not added by UART and only data is transferred.
DS07-16308-3E 79
• Block Diagram
Control bus
Reception
interruption
Dedicated baud rate signals
generator #26 to 30 *
Transmission Reception
clock interruption
16-bit reload timer Clock signals
selector #31 to 35 *
MD1 PEN PE
MD0 P ORE
CS2 SBL FRE
SMR0 to 4 CS1 SCR0 to 4 CL SSR0 to 4 RDRF
registers CS0 registers A/D registers TDRE
REC BDS
SCKE RXE RIE
SOE TXE TIE
* : Interruption number
80 DS07-16308-3E
1
PDR read
0 pin
PDR
Resource output
1
Resource output
permission
DDR
ODCR
PCR
• Register List
DS07-16308-3E 81
• Block Diagram
3 3 3
DREQ0 to DREQ2 Edge / level DACK0 to DACK2
detection circuit 3
DEOP0 to DEOP2
Sequencer 8
Interruption request
Built-in resource 5
transfer request
DPDP
Data bus
DACSR
DATCR
Mode
DMACT
DADR
82 DS07-16308-3E
• Register List
31 0
00000200H DPDP
00000204H DACSR
00000208H DATCR
DPDP + 0H DMA
ch.0
Descriptor
DPDP + 0CH DMA
ch.1
Descriptor
Note : In MB91130 series, using the DMA transfer with external DREQ signal and setting the DREQ sense mode
to the level sense are not allowed. When using MB91130 series, use sense of the DREQ signal at the edge
sense.(the DMAC continuous transfer mode can be used at the DREQ level sense only, this mode cannot
be used because of this restriction)
DS07-16308-3E 83
• Block Diagram
D-BUS
Input latch
Address Detection
decoder mode
Detection results
• Register List
31 0
Address : 000003F0H BSD0 Data register for 0 detection
Address : 000003F4H BSD1 Data register for 1 detection
Address : 000003F8H BSDC Data register for change point detection
Address : 000003FCH BSRR Detection results register
84 DS07-16308-3E
• Block Diagram
RESET
Control signal
BYTE
generation FLASH memory
OE
2 Mbit (254 K × 8/127 K × 16)
WE
CE
Interruption request
CA18 - 0 CD31 - 0
DS07-16308-3E 85
• Memory Map
FLASH memory mode and CPU mode for address mapping of FLASH memory are different. Mapping under
each mode is shown as follows.
0FFFFFH
SA9
SA8
SA7
2 M-FLASH
Memory image SA6
SA5
SA4
SA3
0C0000H
SA2
SA1
SA0
( SAn : sector address n )
010000H
000000H
0FFFFFH
0FFFFFH SA4 SA9
0F8000H
SA3 SA8
0F4000H
FLASH memory area SA2 SA7
0F0000H
SA1 SA6
0E0000H
0C0800H
SA0 SA5
RAM area
2 KByte
0C0000H
86 DS07-16308-3E
⎯ ⎯ ⎯ ⎯ ⎯ W R/W R/W
(⎯) (⎯) (⎯) (⎯) (⎯) (0) (0) (0)
Note : FACH bit should be set to 1 or WTC1/0 should be set to 01b to operate CPU clock exceeding 25 MHz.
DS07-16308-3E 87
■ ELECTRICAL CHARACTERISTICS
1. Absolute Maximum Ratings
(VSS = AVSS = 0.0 V)
Rating
Parameter Symbol Unit Remarks
Min Max
Power voltage VCC5 VSS − 0.3 VSS + 6.5 V
Power voltage VCC3 VSS − 0.3 VSS + 3.8 V
Analog power voltage AVCC VSS − 0.3 VSS + 6.5 V *1
Standard analog voltage AVRH,AVRL VSS − 0.3 VSS + 6.5 V *1
Input voltage VI5 VSS − 0.3 VCC5 + 0.3 V
Input voltage VI3 VSS − 0.3 VCC3 + 0.3 V X0, X1, X0A, X01A
Analog pin input voltage VIA VSS − 0.3 AVCC + 0.3 V
Output voltage VO VSS − 0.3 VCC5 + 0.3 V
Maximum “L” level output current IOL ⎯ 10 mA *2
Average “L” level output current IOLAV ⎯ 4 mA *3
Maximum total “L” level output current ΣIOL ⎯ 100 mA
Average “L” level total output current ΣIOLAV ⎯ 50 mA *4
Maximum “H” level output current IOH ⎯ −10 mA *2
Average “H” level output current IOHAV ⎯ −4 mA *3
Maximum total “H” level output current ΣIOH ⎯ −50 mA
Average “H” level total output current ΣIOHAV ⎯ −20 mA *4
Electricity consumption PD ⎯ 500 mW
Storage temperature Tstg −55 +150 °C
*1 : Care must be taken that AVCC, AVRH and AVRL do not exceed VCC5 + 0.3 V when the power is turned on.
Also, care must be taken that AVRH and AVRL do not exceed AVCC, and keep AVRH ≥ AVRL. Set AVCC and
VCC5 to the same electrical potential.
*2 : Peak value of the pin concerned is regulated as the maximum output current.
*3 : Average current within 100 ms flowing in the pin concerned is regulated as the average output current.
*4 : Average current within 100 ms flowing in all pins concerned is regulated as the average total output current.
WARNING: Semiconductor devices can be permanently damaged by application of stress (voltage, current,
temperature, etc.) in excess of absolute maximum ratings. Do not exceed these ratings.
88 DS07-16308-3E
WARNING: The recommended operating conditions are required in order to ensure the normal operation of
the semiconductor device. All of the device's electrical characteristics are warranted when the
device is operated within these ranges.
Always use semiconductor devices within their recommended operating condition ranges.
Operation outside these ranges may adversely affect reliability and could result in device failure.
No warranty is made with respect to uses, operating conditions, or combinations not represented
on the data sheet. Users considering application outside the listed conditions are advised to contact
their representatives beforehand.
DS07-16308-3E 89
3. DC Characteristics
(1) DC Value
(All products : VCC5 = AVCC = DAVC = 5.0 V ± 10 %, VSS = AVSS = 0 V)
(Mask model : VCC3 = 2.7 V to 3.6 V, TA = − 40 °C to + 70 °C)
(Flash model : VCC3 = 3.0 V to 3.6 V, TA = − 40 °C to + 70 °C (32 kHz ≤ fcp ≤ 27 MHz) )
(Flash model : VCC3 = 3.15 V to 3.6 V, TA = − 40 °C to + 70 °C (27 MHz < fcp ≤ 33 MHz) )
Sym- Value Re-
Parameter Pin name Conditions Unit
bol Min Typ Max marks
Input excluding
VIH ⎯ 0.7 VCC5 ⎯ VCC5 + 0.3 V
“H” level input following (*1)
voltage *1 Hysteresis
VIHS ⎯ VCC5 − 0.4 ⎯ VCC5 + 0.3 V
input pin
Input excluding
VIL ⎯ VSS − 0.3 ⎯ 0.2 VCC5 V
“L” level input following (*1)
voltage *1 Hysteresis
VILS ⎯ VSS − 0.3 ⎯ VSS + 0.4 V
input pin
“H” level output VCC5 = 5.0 V,
VOH ⎯ 2.6 ⎯ ⎯ V
voltage IOH = −4.0 mA
“L” level output VCC5 = 5.0 V,
VOL ⎯ ⎯ ⎯ 0.6 V
voltage IOL = 4.0 mA
Input leak VCC5 = 5.0 V,
ILI ⎯ −5 ⎯ 5 µA
current VSS < VI < VDD
Pull up
RPULL RST ⎯ ⎯ 50 ⎯ kΩ
resistance value
ICC5 VCC5 VCC5 = 5.0 V ⎯ 15 20 mA *2
ICC3 VCC3 VCC3 = 3.0 V ⎯ 50 100 mA
ICCS5 VCC5 VCC5 = 5.0 V ⎯ 15 20 mA *2
90 DS07-16308-3E
DS07-16308-3E 91
4. AC Characteristics
(1) Clock Timing Standard
(All products : VCC5 = AVCC = DAVC = 5.0 V ± 10 %, VSS = AVSS = 0 V)
(Mask model : VCC3 = 2.7 V to 3.6 V, TA = − 40 °C to + 70 °C)
(Flash model : VCC3 = 3.0 V to 3.6 V, TA = − 40 °C to + 70 °C (32 kHz ≤ fcp ≤ 27 MHz) )
(Flash model : VCC3 = 3.15 V to 3.6 V, TA = − 40 °C to + 70 °C (27 MHz < fcp ≤ 33 MHz) )
Sym- Condi- Value
Parameter Pin name Unit Remarks
bol tions Min Max
Clock frequency Self oscillation
(high-speed, self-oscillation) available area
fC X0, X1 9 16.5 MHz
Clock frequency PLL usable area by
(high-speed, PLL usage) ⎯ self-oscillation input
Clock frequency (low-speed) fCA X0A, X1A 32 kHz Self oscillation
Clock cycle time tC ⎯ 30.3 31250 ns
CPU
fCP 0.032 33
system
Bus
Internal operation fCPB 0.032 25
system ⎯ MHz
clock frequency
Excluding analog
Peripheral 0.032 25
fCPP area *
system
1 25 Analog area *
⎯
CPU
tCP 30.3 31250
system
Bus
Internal operation tCPB 40 31250
system ⎯ ns
clock cycle time
Excluding analog
Peripheral 40 31250
tCPP area *
system
40 1000 Analog area *
* : The targeted analog areas are the A/D converter and level comparator.
92 DS07-16308-3E
tC
VCC3
0.8 VCC3
0.2 VCC3
VSS
Peripheral system clock setting permitted area (A/D, D/A level comparator : 5 V ± 10%)
VCC3 VCC3
fCP
3.0
fCP
fCPP 2.7
fCPP
32 k 1 M 25 M 27 M 33 M 32 k 1 M 25 M 33 M
Frequency (Hz) Frequency (Hz)
DS07-16308-3E 93
The relationship between the internal clock set by the CHC/CCK1/CCK0 bit of the Gear Control Register (GCR)
and X0 input is as follows.
X0 input
• Original oscillation × 1
(CHC bit of GCR : 0 setting)
tCYC
(a) Gear × 1 Internal clock
CCK1/CCK0 : 00
tCYC
(b) Gear × 1/2 Internal clock
CCK1/CCK0 : 01
tCYC
(c) Gear × 1/4 Internal clock
CCK1/CCK0 : 10
tCYC
(d) Gear × 1/8 Internal clock
CCK1/CCK0 : 11
• Original oscillation × 1/2
(CHC bit of GCR : 1 setting)
tCYC
(a) Gear × 1 Internal clock
CCK1/CCK0 : 00
tCYC
(b) Gear × 1/2 Internal clock
CCK1/CCK0 : 01
tCYC
(c) Gear × 1/4 Internal clock
CCK1/CCK0 : 10
tCYC
(d) Gear × 1/8 Internal clock
CCK1/CCK0 : 11
94 DS07-16308-3E
tRSTL
RST
0.2 VCC
tR
tOFF
0.9 × VCC3
VhhR
0.2 V
If the power voltage is changed rapidly, “Power On Reset” may be initiated. To start up smoothly,
controlling any voltage fluctuations that may occur during operation is recommended.
VCC
VCC
RST When power is turned on, start while the RST pin
is set to “L” level, after which wait for tRSTL minutes
tRSTL and change the level to “H” once the VCC power
level is reached.
DS07-16308-3E 95
96 DS07-16308-3E
SCK
tSLOV
SO
SI
tSHIX
tIVSH
SCK
tSLOV
SO
SI
tIVSH tSHIX
SCS
tCLSL
DS07-16308-3E 97
Input Output
VCC
VIH VOH
VIH 2.4 V VOH 2.4V
VIL VOL
VIL 0.8 V VOL 0.8V
0V
(Rise/fall time of input is 10 ns or less)
• Load condition
Output pin
C = 50 pF
( VCC : 5.0 V ± 10% )
[nS]
35
30
25
20 5 V Fall
15
5 V Rise
10
0
0 20 40 50 60 80 100 120 C[pF]
98 DS07-16308-3E
DS07-16308-3E 99
tCYC
BA1 BA2
VOH VOH
CLK VOL VOL
tCHAV
VOH VOH
A23 - A00 VOL VOL
tCLRL tCLRH
VOH
RD VOL
tRLDV
tRHDX
tAVDV tDSRH
VIH VIH
D31 - D16 Read
VIL VIL
tCLWL tCLWH
tCHDV
VOH VOH
D31 - D16 VOL
Write
VOL
100 DS07-16308-3E
tCYC
VOH VOH
CLK VOL VOL
RDY
If "wait" is VIH
VIL
executed
RDY
If "wait" is VIH
VIL
not executed
DS07-16308-3E 101
tcyc
BRQ
tCHBGL tCHBGH
BGRNT VOH
VOL
tXHAL tHAHV
Each pin
High impedance
102 DS07-16308-3E
tcyc
VOH VOH
CLK VOL VOL
tCLDH
tCLDL
tCLEH
tCLEL
DACK0 - 2
DEOP0 - 2
(Normal bus) VOH
VOL
tCHDH
DACK0 - 2
DEOP0 - 2 VOH
tCHDL
VOL
tCHEL
tDRWH
VIH VIH
DREQ0 - 2
DS07-16308-3E 103
5. A/D Transition
(All products : VCC5 = AVCC = DAVC = 5.0 V ± 10 %, VSS = AVSS = 0 V)
(Mask model : VCC3 = 2.7 V to 3.6 V, TA = − 40 °C to + 70 °C)
(Flash model : VCC3 = 3.0 V to 3.6 V, TA = − 40 °C to + 70 °C (32 kHz ≤ fcp ≤ 27 MHz) )
(Flash model : VCC3 = 3.15 V to 3.6 V, TA = − 40 °C to + 70 °C (27 MHz < fcp ≤ 33 MHz) )
Value Re-
Sym- Pin
Parameter Conditions Unit mark
bol name Min Typ Max s
Resolution ⎯ ⎯ ⎯ ⎯ 10 Bit
⎯
Conversion time ⎯ ⎯ 5.0 ⎯ µs
Total tolerance ⎯ ⎯ −4.0 ⎯ 4.0 LSB
AVCC = 5.0 V,
Straight-line tolerance ⎯ ⎯ −3.5 ⎯ 3.5 LSB
AVRH = 5.0V,
Differential straight-line AVRL = 0.0 V
⎯ ⎯ −2.0 ⎯ 2.0 LSB
tolerance
AN0 to AVRL− AVRL+ AVRL+
Zero transition voltage VOT V
AN7 AVCC = 5.0 V, 1.5 LSB 0.5 LSB 2.5 LSB
AVRH = 5.0V,
AN0 to AVRL = 0.0 V AVRH − AVRH − AVRH +
Full-scale transition voltage VFST V
AN7 5.5 LSB 1.5 LSB 0.5 LSB
AN0 to
Analog input current IAIN ⎯ 0.1 10 µA
AN7
⎯
AN0 to
Analog input voltage VAIN AVSS ⎯ AVRH V
AN7
Standard voltage AVRH AVRH ⎯ ⎯ ⎯ AVCC V
When conversion
IA ⎯ 3.0 5.0 mA
Power is activated
AVCC AVCC = 5.0 V
current When conversion
IAH ⎯ ⎯ 5.0 µA
is stopped
Standard When conversion
IR AVCC = 5.0 V, ⎯ 2.0 3.0 mA
voltage is activated
AVRH AVRH = 5.0V,
current When conversion
IRH AVRL = 0.0 V ⎯ ⎯ 10 µA
supplied is stopped
Tolerance between AN0 to
⎯ ⎯ ⎯ ⎯ 4 LSB
channels AN7
Notes : • As the |AVRH−AVRL| becomes smaller, the tolerance becomes larger.
• Output impedance of external circuits other than analog input must be used if output impedance of external
circuits < approx. 7 kΩ
If the output impedance of the external circuits is too high, the sampling time for the analog voltage may
be insufficient.
(Sampling time = 1.6 µs at 33 MHz)
104 DS07-16308-3E
Total tolerance
3FF
1.5 LSB
3FE Actual conversion
characteristics
{1 LSB ( N − 1 ) + 0.5 LSB}
3FD
Digital output
004
VNT
(Actual
003
measured value)
Actual conversion
002 characteristics
Ideal characteristics
001
0.5 LSB
AVRL AVRH
Analog input
VNT − {1 LSB × (N − 1) + 0.5 LSB’}
Total tolerance of digital output N =
1 LSB
AVRH − AVRL
1 LSB (Ideal value) = [V]
1024
VOT (Ideal value) = AVRL + 0.5 LSB’ [V]
VFST (Ideal value) = AVRH − 1.5 LSB’ [V] VNT : Voltage of digital output transferred from (N + 1) to N
(Continued)
DS07-16308-3E 105
(Continued)
3FF
Actual conversion Actual conversion
characteristics characteristics
3FE N+1
Digital output
Ideal characteristics
Digital output
value)
N
004
VNT
(Actual
003 N−1
measured value) VFST
Actual conversion (Actual
002 characteristics VNT measured
(Actual value)
Ideal characteristics
measured value)
001 N−2 Actual conversion
VOT
characteristics
(Actual measured value)
VFST − VOT
1LSB (Ideal value) = [V]
1022
6. D/A Transition
(All products : VCC5 = AVCC = DAVC = 5.0 V ± 10 %, VSS = AVSS = 0 V)
(Mask model : VCC3 = 2.7 V to 3.6 V, TA = − 40 °C to + 70 °C)
(Flash model : VCC3 = 3.0 V to 3.6 V, TA = − 40 °C to + 70 °C (32 kHz ≤ fcp ≤ 27 MHz) )
(Flash model : VCC3 = 3.15 V to 3.6 V, TA = − 40 °C to + 70 °C (27 MHz < fcp ≤ 33 MHz) )
Pin Condi- Value Re-
Parameter Symbol Unit
name tions Min Typ Max marks
Resolution ⎯ ⎯ ⎯ ⎯ ⎯ 8 Bit
Differential straight-line tolerance ⎯ ⎯ ⎯ ⎯ ⎯ ±0.9 LSB
Conversion time ⎯ ⎯ ⎯ ⎯ 10 20 µs *
Analog output impedance ⎯ ⎯ ⎯ ⎯ 28 ⎯ kΩ
*: CL = 20 pF
106 DS07-16308-3E
■ EXAMPLE CHARACTERISTICS
VOL VOH
TA = 25 °C, IOL = 4 mA TA = 25 °C, IOH = −4 mA
400 6.0
350 5.5
5.0
300 4.5
VOL (mV)
250 4.0
VOH (V)
3.5
200 3.0
150 2.5
2.0
100 1.5
50 1.0
0.5
0 0
3 4 5 6 7 3 4 5 6 7
VCC (V) VCC (V)
ICC31 ICC31
TA = 25 °C, f = 33 MHz VCC = 3.0 V, TA = 25 °C
100 160
90 140
80 120
70
ICC31 (mA)
ICC31 (mA)
60 100
50 80
40 60
30 40
20
10 20
0 0
2 2.5 3 3.5 4 1 10 100
VCC (V) Frequency (MHz)
ICC5
ICC5 VCC3 = 3.0 V, VCC5 = 5.0 V,
TA = 25 °C, f = 33.0 MHz TA = 25 °C
40 40
35 35
30 30
ICC5 (mA)
ICC5 (mA)
25 25
20 20
15 15
10 10
5 5
0 0
3.5 4 4.5 5 5.5 6 6.5 1 10 100
VCC (V) Frequency (MHz)
(Continued)
DS07-16308-3E 107
Pull up resistance
TA = 25 °C
125
100
Pull up resistance (kΩ)
75
50
25
0
3 4 5 6 7
VCC (V)
(Continued)
108 DS07-16308-3E
(Continued)
MB91133 Linearity error
TA = 25 °C VCC = 4.5 V AVCC = 4.5 V
3
Linearity error [LSB]
−1
−2
−3
0
64
128
192
256
320
384
448
512
576
640
704
768
832
896
960
1024
CODE
−1
−2
−3
0
64
128
192
256
320
384
448
512
576
640
704
768
832
896
960
1024
CODE
2
Total error [LSB]
−1
−2
−3
0
64
128
192
256
320
384
448
512
576
640
704
768
832
896
960
1024
CODE
DS07-16308-3E 109
■ ORDERING INFORMATION
Part number Package Remarks
144-pin plastic LQFP
MB91133PMC-XXX
(FPT-144P-M08)
144-pin plastic FBGA
MB91133PBT-XXX
(BGA-144P-M01)
144-pin plastic LQFP
MB91F133APMC
(FPT-144P-M08)
144-pin plastic FBGA
MB91F133APBT
(BGA-144P-M01)
299-pin ceramic PGA
MB91FV130CR-ES
(PGA-299)
110 DS07-16308-3E
■ PACKAGE DIMENSIONS
Ball matrix 14 × 14
Package width ×
12.00 × 12.00 mm
package length
+0.20 +.008
12.00±0.10(.472±.004)SQ 1.25 –0.10 .049 –.004 10.40(.409)REF
(Mounting height)
0.38±0.10(.015±.004) 0.80(.031)TYP
(Stand off)
14
13
12
11
10
9
8
7
INDEX 6
0.10(.004) 5
4
INDEX 3
2
1
P N M L K J H G F E D C B A
144-Ø0.45±0.10
0.08(.003) M
(144-Ø.018±.004)
Dimensions in mm (inches).
C 2000-2008 FUJITSU MICROELECTRONICS LIMITED B144001S-c-3-4 Note: The values in parentheses are reference values.
DS07-16308-3E 111
(Continued)
Package width ×
20.0 × 20.0 mm
package length
Weight 1.20g
Code
(FPT-144P-M08) P-LFQFP144-20×20-0.50
(Reference)
* 20.00±0.10(.787±.004)SQ
0.145±0.055
(.006±.002)
108 73
109 72
0.08(.003)
0.10±0.10
INDEX 0˚~8˚ (.004±.004)
(Stand off)
144 37
"A" 0.50±0.20 0.25(.010)
(.020±.008)
LEAD No. 1 36 0.60±0.15
(.024±.006)
0.50(.020) 0.22±0.05
0.08(.003) M
(.009±.002)
Dimensions in mm (inches).
©2003-2008 FUJITSU MICROELECTRONICS LIMITED F144019S-c-4-7 Note: The values in parentheses are reference values.
C 2003 FUJITSU LIMITED F144019S-c-4-6
112 DS07-16308-3E
DS07-16308-3E 113
MEMO
114 DS07-16308-3E
MEMO
DS07-16308-3E 115
Specifications are subject to change without notice. For further information please contact each office.