ChipFind - документация

Электронный компонент: MB91121PFV

Скачать:  PDF   ZIP

Document Outline

DS07-16303-2E
FUJITSU SEMICONDUCTOR
DATA SHEET
32-bit RISC Microcontroller
CMOS
FR30 Series MB91121
MB91121
s
DESCRIPTION
The MB91121 is a microcontroller with a 32-bit RISC CPU (FR family *) as the core, incorporating a variety of
I/O resources, a bus control facility, and a multiplier-accumulator (simplified DSP) with internal program RAM for
built-in control applications which require advanced, high-speed CPU processing.
While being based on external bus access for supporting a vast address space accessed by the 32-bit CPU, it
contains 1 K bytes of instruction cache memory and 4 K bytes of RAM (8 K bytes when the DSP is not used) for
speeding up the execution of instructions by the CPU.
In this way, the device is designed for built-in applications which require high performance and processing power
of the CPU, such as digital camera, navigation system, and high-performance FAX, and printer controls.
* : FR Family stands for FUJITSU RISC controller.
s
FEATURES
1.
FR CPU
32-bit RISC, load/store architecture, 5-stage pipeline
Operating clock frequency : Internal 50 MHz/external 25 MHz (PLL used at source oscillation 12.5 MHz)
General purpose registers : 32 bits
16
16-bit fixed length instructions (basic instructions) , 1 instruction/1 cycle
Memory to memory transfer, bit processing, barrel shifter processing : Optimized for embedded applications
(Continued)
s
PACKAGE
120-pin plastic LQFP
(FPT-120P-M21)
MB91121
2
(Continued)
Function entrance/exit instructions, multiple load/store instructions of register contents, instruction systems
supporting high level languages
Register interlock functions, efficient assembly language coding
Branch instructions with delay slots : Reduced overhead time in branch executions
Internal multiplier/supported at instruction level
Signed 32-bit multiplication : 5 cycles
Signed 16-bit multiplication : 3 cycles
Interrupt (push PC and PS) : 6 cycles, 16 priority levels
2.
Bus interface
Clock doublure : Internal 50 MHz, external bus 25 MHz operation
25-bit address bus (32 Mbytes memory space)
8/16-bit data bus
Basic external bus cycle : 2 clock cycles
Chip select outputs for setting down to a minimum memory block size of 64 Kbytes : 6
Interface supported for various memory technologies
DRAM interface (area 4 and 5)
Automatic wait cycle insertion : Flexible setting, from 0 to 7 for each area
Unused data/address pins can be configured us input/output ports
Little endian mode supported (Select 1 area from area 1 to 5)
3.
DRAM interface
2 banks independent control (area 4 and 5)
Double CAS DRAM (Normal DRAM I/F) /Single CAS DRAM/Hyper DRAM
Basic bus cycle : Normally 5 cycles, 2-cycle access possible in high-speed page mode
Programmable waveform : Automatic 1-cycle wait insertion to RAS and CAS cycles
DRAM refresh
CBR refresh (interval time configurable by 6-bit timer)
Self-refresh mode
Supports 8/9/10/12-bit column address width
2CAS/1WE, 2WE/1CAS selective
4.
DSP Macros (Simplified DSP)
High-speed multiply-accumulate operation (1 machine cycle)
Data format :
16-bit fixed-point (16
16
+
40 bits)
Instruction area :
256 words
16 bits
Data area :
64 words
16 bits
1 set, 1024 words
16 bits
2 sets (banks)
Capable of rounding and saturation processing
Number of terms in addition : Up to 32 terms
Instructions :
MAC, STR, and JMP instructions
Delay processing :
Capable of free transfer within 32 words
Fixed-point system :
Capable of selection from among Q12 to Q15
Program execution control :
Capable of externally selecting eight calculation programs
Variable monitoring :
Capable of monitoring calculation results of up to 4 words without stopping the
program
Efficient data variable areas : Two banks of data variable areas provided, enabling the CPU to execute a DSP
calculation program using one bank while accessing a data variable in the other.
5.
Cache memory
1 K-byte instruction cache
2-way set-associative configuration
32 blocks/way, 4 entries (4 words) /block
MB91121
3
(Continued)
Lock feature: Keeping a specific program code resident in the cache
6.
DMAC (DMA Controller)
8 channels
Transfer incident/external pins/UART interrupt requests/DSP Macros/Software start
Transfer sequence : Step transfer/block transfer/burst transfer/continuous transfer
Transfer data length : 8 bits/16 bits/32 bits selective
Interrupt request enables temporary stop operation
7.
UART
3 independent channels
Full-duplex double buffer
Data length : 7 bits to 9 bits (non-parity) , 6 bits to 8 bits (parity)
Asynchronous (start-stop system) , CLK-synchronized communication selective
Multi-processor mode
Internal 16-bit timer (U-TIMER) operating as a proprietary baud rate generator : Generates any given baud rate
Use external clock can be used as a transfer clock
Error detection : Parity, frame, overrun
8.
A
/
D converter
(
successive approximation conversion type
)
10-bit resolution, 8 channels
Successive approximation type : Conversion time of 5.6
s at 25 MHz
Internal sample and hold circuit
Conversion mode : Single conversion/scanning conversion/repeated conversion selective
Start : Software/external trigger/internal timer selective
9.
Reload timer
16-bit timer : 3 channels
Internal clock : 2 clock cycle resolution, divide by 2/8/32 selective
10. Other interval timers
16-bit timer : 3 channels (U-TIMER)
PWM timer : 4 channels
Watchdog timer : 1 channel
11. Bit search module
First bit transition "1" or "0" from MSB can be detected in 1 cycle
12. Interrupt controller
External interrupt input : Non-maskable interrupt (NMI) , normal interrupt
8 (INT0 to INT7)
Internal interrupt incident : UART, DMA controller (DMAC) , A/D converter, U-TIMER, delayed interrupt
module and DSP Macros
Priority levels of interrupts are programmable except for non-maskable interrupt (in 16 steps)
Others
1.
Reset cause
Power-on reset/watchdog timer/software reset/external reset
2.
Low-power consumption mode
Sleep mode/stop mode
3.
Clock control
Gear function : Operating clocks for CPU and peripherals are independently selective
Gear clock can be selected from 1/1, 1/2, 1/4 and 1/8 (or 1/2, 1/4, 1/8 and 1/16)
However, operating frequency for peripherals is less than 25 MHz.
MB91121
4
(Continued)
4.
Packages : LQFP-120
5.
CMOS technology (0.35
m)
6.
Power supply voltage
3.3 V
0.3 V
MB91121
5
s
PIN ASSIGNMENT
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
PB5/CS1L
PB6/CS1H
PB7/DW1
V
CC
CS0
PA1/CS1
PA2/CS2
PA3/CS3
PA4/CS4
PA5/CS5
PA6/CLK
NMI
MD3
RST
V
SS
MD0
MD1
MD2
P80/RDY
P81/BGRNT
P82/BRQ
RD
WR0
P85/WR1
P20/D16
P21/D17
P22/D18
P23/D19
P24/D20
P25/D21
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
PG5/INT5/TRG1
PG4/INT4/TRG0
PG3/INT3
PG2/INT2
PG1/INT1
PG0/INT0
V
CC
PH7/OCPA3
PH6/OCPA2
PH5/OCPA1
PH4/OCPA0
AN7
AN6
AN5
AN4
AN3
AN2
AN1
AN0
AV
SS
/AVRL
AVRH
AV
CC
A24
A23/P67
A22/P66
A21/P65
A20/P64
A19/P63
A18/P62
A17/P61
P26/D22
P27/D23
D24
D25
D26
D27
D28
D29
D30
D31
V
SS
A00
A01
A02
A03
A04
A05
A06
A07
V
CC
A08
A09
A10
A11
A12
A13
A14
A15
V
SS
P60/A16
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
RAS1/PB4
DW0/PB3
CSOH/PB2
CSOL/PB1
RAS0/PB0
V
CC
X0
X1
V
SS
PI1/EOP2/ATG
PI0/DACK2
PE7/DREQ2
PE6/EOP1
PE5/DACK1
PE4/DREQ1
PE3/EOP0
PE2/DACK0
PE1/DREQ0
PE0/SC2
PF7/SO2
PF6/SI2
PF5/SC1
PF4/SO1
PF3/SI1
PF2/SC0
PF1/SO0
V
SS
PF0/SI0
PG7/INT7/TRG3
PG6/INT6/TRG2
(TOP VIEW)
(FPT-120P-M21)
MB91121
6
s
PIN DESCRIPTION
Pin no.
Pin name
Circuit type
Function
1
2
3
4
5
6
7
A17/P61
A18/P62
A19/P63
A20/P64
A21/P65
A22/P66
A23/P67
F
Bits 16 to 23 for the external address bus.
When not used for the address bus, these pins serve as ports (P60
to P67) .
8
A24
M
Bit 24 for the external address bus
9
AV
CC
A/D converter V
CC
power supply
10
AVRH
A/D converter reference voltage (high potential side)
The V
CC
pin must be applied with voltage equal to or higher than
the voltage at this pin (AVRH) when the AVRH pin is turned on or
off.
11
AV
SS
/AVRL
A/D converter V
SS
power supply or reference voltage (low potential
side)
12 to 19
AN0 to AN7
N
[AN0 to AN7] A/D converter analog input. This function is enabled
with the AIC register set for the analog input.
20 to 23
OCPA0/PH4
OCPA1/PH5
OCPA2/PH6
OCPA3/PH7
F
[OCPA0 to OCPA3] PWM timer output. This function is enabled
with the PWM timer output flag set to "Enabled".
[PH4 to PH7] General-purpose I/O port
25 to 32
INT0/PG0
INT1/PG1
INT2/PG2
INT3/PG3
INT4/PG4/TRG0
INT5/PG5/TRG1
INT6/PG6/TRG2
INT7/PG7/TRG3
F
[INT0 to INT7] External inter-
rupt request input
Since these inputs are used dur-
ing their respective input opera-
tions, the output by the other
function must remain off unless
used intentionally.
[TRG0 to TRG3] PWM timer
external trigger input
[PG0 to PG7] General-purpose I/O port
33
SI0/PF0
F
[SI0] UART0 data input. Since this input is used whenever
UART0 is in input operation, the output by the other function must
remain off unless used intentionally.
[PF0] General-purpose I/O port
35
SO0/PF1
F
[SO0] UART0 data output. This function is enabled with the
UART0 data output flag set to "Enabled".
[PF1] General-purpose I/O port. This function is enabled with the
UART0 data output flag set to "Disabled".
36
SC0/PF2
F
[SC0] UART0 clock input/output. The clock output is enabled with
the UART0 clock output flag set to "Enabled".
[PF2] General-purpose I/O port. This function is enabled with the
UART0 clock output flag set to "Disabled".
(Continued)
MB91121
7
37
SI1/PF3
F
[SI1] UART1 data input. Since this input is used whenever
UART1 is in input operation, the output by the other function must
remain off unless used intentionally.
[PF3] General-purpose I/O port
38
SO1/PF4
F
[SO1] UART1 data output. This function is enabled with the
UART1 data output flag set to "Enabled".
[PF4] General-purpose I/O port. This function is enabled with the
UART1 data output flag set to "Disabled".
39
SC1/PF5
F
[SC1] UART1 clock input/output. The clock output is enabled with
the UART1 clock output flag set to "Enabled".
[PF5] General-purpose I/O port. This function is enabled with the
UART1 clock output flag set to "Disabled".
40
SI2/PF6
F
[SI2] UART2 data input. Since this input is used whenever
UART2 is in input operation, the output by the other function must
remain off unless used intentionally.
[PF6] General-purpose I/O port
41
SO2/PF7
F
[SO2] UART2 data output. This function is enabled with the
UART2 data output flag set to "Enabled".
[PF7] General-purpose I/O port. This function is enabled with the
UART2 data output flag set to "Disabled".
42
SC2/PE0
F
[SC2] UART2 clock input/output. The clock output is enabled with
the UART2 clock output flag set to "Enabled".
[PE0] General-purpose I/O port. This function is enabled with the
UART2 clock output flag set to "Disabled".
43
DREQ0/PE1
F
[DREQ0] DMA external transfer request input (ch0) . Since this
input is used whenever the DMA external transfer request has
been selected as a DMA transfer trigger event, the output by the
other function must remain off unless used intentionally.
[PE1] General-purpose I/O port
44
DACK0/PE2
F
[DACK0] DMAC external transfer request acknowledge output
(ch0) . This function is enabled with the DMAC transfer request ac-
knowledge output flag set to "Enabled".
[PE2] General-purpose I/O port. This function is enabled with the
DMAC transfer request acknowledge output flag or DACK0 output
flag set to "Disabled".
45
EOP0/PE3
F
[EOP0] DMAC EOP output (ch0) . This function is enabled with
the EOP output flag set to "Enabled".
[PE3] General-purpose I/O port
46
DREQ1/PE4
F
[DREQ1] DMA external transfer request input (ch1) . Since this
input is used whenever the DMA external transfer request has
been selected as a DMA transfer trigger event, the output by the
other function must remain off unless used intentionally.
[PE4] General-purpose I/O port
(Continued)
Pin no.
Pin name
Circuit type
Function
(Continued)
MB91121
8
47
DACK1/PE5
F
[DACK1] DMAC external transfer request acknowledge output
(ch1) . This function is enabled with the DMAC transfer request ac-
knowledge output flag set to "Enabled".
[PE5] General-purpose I/O port. This function is enabled with the
DMAC transfer request acknowledge output flag or DACK0 output
flag set to "Disabled".
48
EOP1/PE6
F
[EOP1] DMAC EOP output (ch1) . This function is enabled with
the EOP output flag set to "Enabled".
[PE6] General-purpose I/O port
49
DREQ2/PE7
F
[DREQ2] DMA external transfer request input (ch2) . Since this
input is used whenever the DMA external transfer request has
been selected as a DMA transfer trigger event, the output by the
other function must remain off unless used intentionally.
[PE7] General-purpose I/O port
50
DACK2/PI0
F
[DACK2] DMAC external transfer request acknowledge output
(ch2) . This function is enabled with the DMAC transfer request ac-
knowledge output flag set to "Enabled".
[PI0] General-purpose I/O port. This function is enabled with the
DMAC transfer request acknowledge output flag or DACK0 output
flag set to "Disabled".
51
EOP2/ATG/PI1
F
[EOP2] DMAC EOP output (ch2) . This function is enabled with
the EOP output flag set to "Enabled".
[ATG] A/D converter external trigger input. Since this input is used
whenever the A/D converter external trigger signal has been se-
lected as an A/D trigger event, the output by the other function
must remain off unless used intentionally.
[PI1] General-purpose I/O port. This function is enabled with the
DMAC transfer termination signal output flag set to "Disabled".
53
54
X1
X0
A
Clock (oscillation) input.
Clock (oscillation) output.
56
57
58
59
60
RAS0/PB0
CSOL/PB1
CSOH/PB2
DW0/PB3
RAS1/PB4
F
RAS output of DRAM bank 0
CASL output of DRAM bank 0
CASH output of DRAM bank 0
WE output of DRAM bank 0 (Low active)
RAS output of DRAM bank 1
[PB0 to PB3] Can serve as a port when not used for signal output.
61
62
63
CS1L/PB5
CS1H/PB6
DW1/PB7
F
CASL output of DRAM bank 1
CASH output of DRAM bank 1
WE output of DRAM bank 1 (Low active)
[PB5 to PB7] Can serve as a port when not used for signal output.
65
CS0
M
Chip select 0 output (Low active) .
(Continued)
Pin no.
Pin name
Circuit type
Function
(Continued)
MB91121
9
66
67
68
69
70
CS1/PA1
CS2/PA2
CS3/PA3
CS4/PA4
CS5/PA5
F
Chip select 1 output (Low active) .
Chip select 2 output (Low active) .
Chip select 3 output (Low active) .
Chip select 4 output (Low active) .
Chip select 5 output (Low active) .
[PA1 to PA5] Can serve as a port when not used for signal output.
71
CLK/PA6
F
System clock output. This pin outputs the same clock frequency
as the external bus operating frequency.
[PA6] Can serve as a port when not used for signal output.
72
NMI
H
NMI (Non Maskable Interrupt) input (Low active) .
73
MD3
G
Mode pin 3.
Connect this pin directly to the V
CC
or V
SS
pin.
74
RST
B
External reset input.
76
77
78
MD0
MD1
MD2
G
Mode pins 0 to 2.
These pins are set to MCU basic operation modes.
Connect this pin directly to the V
CC
or V
SS
pin.
79
RDY/P80
C
External ready signal input. This pin inputs 0 when the bus cycle
being executed is not completed. It can serve as a port when not
used for that input.
80
BGRNT/P81
F
External bus release request acknowledge output. This pin out-
puts the L signal when the eternal bus has been released. The pin
can serve as a port when not used for that output.
81
BRQ/P82
C
External bus release request input. Input 1 to this pin to release
the external bus. The pin can serve as a port when not used for
that input.
82
RD
M
External bus read strobe.
83
WR0
M
External bus write strobe. The control signals and data bus byte
locations have the following relationships.
Note : WR1 remains in the Hi-Z state during a reset. For use with
a 16-bit bus width, add an external pull-up resistor.
84
WR1/P85
F
85
86
87
88
89
90
91
92
D16/P20
D17/P21
D18/P22
D19/P23
D20/P24
D21/P25
D22/P26
D23/P27
C
External data bus bits 16 to 23.
These pins can be used as ports (P20 to P27) when the external
bus width has been set to 8 bits.
Pin no.
Pin name
Circuit type
Function
16-bit bus width
8-bit bus width
D31 to D24
WR0
WR0
D23 to D16
WR1
(Usable as port)
(Continued)
(Continued)
MB91121
10
Note : In most of the above pins, I/O port and resource I/O are multiplexed xxxx/Pxx. In case of conflict between
output of I/O port and resource I/O, priority is always given to the output of resource I/O.
93
94
95
96
97
98
99
100
D24
D25
D26
D27
D28
D29
D30
D31
C
External data bus bits 24 to 31.
102
103
104
105
106
107
108
109
111
112
113
114
115
116
117
118
A00
A01
A02
A03
A04
A05
A06
A07
A08
A09
A10
A11
A12
A13
A14
A15
F
External address bus bits 00 to 15.
120
A16/P60
External address bus bit 16. This pin can serve as a port (P60)
when not used as the address bus.
24
55
64
110
V
CC
Power supply pin for digital circuit.
34
52
75
101
119
V
SS
Earth level for digital circuit.
Pin no.
Pin name
Circuit type
Function
(Continued)
MB91121
11
s
DRAM CONTROL PIN
Pin name
Data bus 16-bit mode
Data bus 8-bit mode
Remarks
2CAS/1WR mode
1CAS/2WR mode
RAS0
Area 4 RAS
Area 4 RAS
Area 4 RAS
Correspondence of "L"
"H" to lower address 1 bit
(A0) in data bus 16-bit
mode
"L" : "0"
"H" : "1"
CASL : CAS which A0
corresponds to
"0" area
CASH : CAS which A0
corresponds to
"1" area
WEL : WE which A0
corresponds to
"0" area
WEH : WE which A0
corresponds to
"1" area
RAS1
Area 5 RAS
Area 5 RAS
Area 5 RAS
CS0L
Area 4 CASL
Area 4 CAS
Area 4 CAS
CS0H
Area 4 CASH
Area 4 WEL
Area 4 CAS
CS1L
Area 5 CASL
Area 5 CAS
Area 5 CAS
CS1H
Area 5 CASH
Area 5 WEL
Area 5 CAS
DW0
Area 4 WE
Area 4 WEH
Area 4 WE
DW1
Area 5 WE
Area 5 WEH
Area 5 WE
MB91121
12
s
I/O CIRCUIT TYPE
Circuit Type
Circuit
Remarks
A
Oscillation feedback resistance
1 M
approx.
B
CMOS level
Hysteresis input
Without standby control
With pull-up resistance
C
CMOS level I/O
With standby control
N
Analog input
(Continued)
X1
X0
Standby control signal
Clock input
V
SS
V
CC
Digital input
P-channel type Tr
N-channel type Tr
Diffuse
resistor
STANDBY
CONTROL
Digital output
Digital output
Digital input
Analog input
MB91121
13
F
CMOS level output
CMOS level
Hysteresis input
With standby control
G
CMOS level input
Without standby control
H
CMOS level
Hysteresis input
Without standby control
M
CMOS level output
Circuit Type
Circuit
Remarks
STANDBY
CONTROL
Digital output
Digital output
Digital input
Digital input
Digital input
Digital output
Digital output
(Continued)
MB91121
14
s
HANDLING DEVICES
Preventing Latchup
In CMOS ICs, applying voltage higher than V
CC
or lower than V
SS
to input/output pin or applying voltage over
rating across V
CC
and V
SS
may cause latchup.
This phenomenon rapidly increases the power supply current, which may result in thermal breakdown of the
device. Make sure to prevent the voltage from exceeding the maximum rating.
Take care that the analog power supply (AV
CC
AVR) and the analog input do not exceed the digital power supply
(V
CC
) when the analog power supply turned on or off.
Treatment of Unused Pins
Unused pins left open may cause malfunctions. Make sure to connect them to pull-up or pull-down resistors.
External Reset Input
It takes at least 5 machine cycle to input "L" level to the RST pin and to ensure inner reset operation properly.
Remarks for External Clock Operation
When external clock is selected, supply it to X0 pin generally, and simultaneously the opposite phase clock to
X0 must be supplied to X1 pin. However, in this case the stop mode must not be used (because X1 pin stops
at "H" output in stop mode) .
And can be used to supply only to X0 pin with 5 V power supply at 12.5 MHz and less than.
Power Supply Pins
When there are several V
CC
and V
SS
pins, each of them is equipotentially connected to its counterpart inside of
the device, minimizing the risk of malfunctions such as latch up. To further reduce the risk of malfunctions, to
prevent EMI radiation, to prevent strobe signal malfunction resulting from creeping-up of ground level and to
observe the total output current standard, connect all V
CC
and V
SS
pins to the power supply or GND.
It is preferred to connect V
CC
and V
SS
of MB91121 to power supply with minimal impedance possible.
It is also recommended to connect a ceramic capacitor as a bypass capacitor of about 0.1
F between V
CC
and
V
SS
at a position as close as possible to MB91121.
X0
X1
OPEN
MB91121
X0
X1
MB91121
Using an external clock (normal)
Note: Can not be used stop mode (oscillation stop mode).
Using an external clock (can be used at 12.5 MHz and less than.)
Using an external clock
MB91121
15
Crystal Oscillator Circuit
Noises around X0 and X1 pins may cause malfunctions of MB91121. In designing the PC board, layout X0, X1
and crystal oscillator (or ceramic oscillator) and bypass capacitor for grounding as close as possible.
It is strongly recommended to design PC board so that X1 and X0 pins are surrounded by grounding area for
stable operation.
Treatment of N.C. Pins
Make sure to leave N.C. pins open.
Mode Setting Pins (MD0 to MD3)
Connect mode setting pins (MD0 to MD3) directly to V
CC
or V
SS
.
Arrange each mode setting pin and V
CC
or V
SS
patterns on the printed circuit board as close as possible and
make the impedance between them minimal to prevent mistaken entrance to the test mode caused by noises.
Turning on the Power Supply
When turning on the power supply, never fail to start from setting the RST pin to "L" level. And after the power
supply voltage goes to V
CC
level, at least after ensuring the time for 5 machine cycle, then set to "H" level.
Pin Condition at Turning on the Power Supply
The pin condition at turning on the power supply is unstable. The circuit starts being initialized after turning on
the power supply and then starting oscillation and then the operation becomes stable.

Source Oscillation Input at Turning on the Power Supply
At turning on the power supply, never fail to input the clock before cancellation of the oscillation stabilizing waiting.
The device contains registers which are initialized only at a power-on reset. When it is expected to initialize
them, recycle the power to execute a power-on reset.
Even when the A/D converter is not used, make the connections : AV
CC
=
V
CC
, AV
SS
=
V
SS
.
MB91121
16
s
BLOCK DIAGRAM
Bit Search Module
Instruction Cache (1 KB)
D -bus (32 bit)
I -bus (16 bit)
C-bus (32 bit)
R -bus (16 bit)
Clock Control Unit
(Watct Dog Timer)
Interrupt Control
Unit
10 bit A/D
Converter (8 ch)
Reload Timer (3 ch)
Port
Bus Converter (32 bit
16 bit)
Port 0 to Port B
UART (3 ch)
with
Baud Rate Timer
PWM Timer (4 ch)
DMAC (8 ch)
(Harvard
Princeton)
FR CPU
X0
X1
RST
DREQ0 to DREQ2
DACK0 to DACK2
EOP0 to EOP2
D16 to D31
A00 to A24
RDY
WR0 to WR1
RDY
CLK
CS0 to CS5
BRQ
BGRNT
SI0 to SI2
SO0 to SO2
SC0 to SC2
INT0 to INT7
NMI
8
RAS0
RAS1
CS0L
CS0H
CS1L
CS1H
DW0
DW1
AN0 to AN7
AV
CC
AVRH
AV
SS
/
AVRL
8
DRAM Controller
3
3
3
OCPA0 to OCPA3
TRG0 to TRG3
4
4
Bus Controller
6
2
25
16
RAM (4 KB)
(Embedded RAM 4 )
Soft DMA Start Circuit
3
3
3
STRG
DSP macro
Bus Converter
Note : Pins are display for functions (Actually some pins are multiplexer) .
When using REALOS, time control should be done by using external interrupt or inner timer.
MB91121
17
s
CPU CORE
1.
Memory Space
The FR family has a logical address space of 4 Gbytes (2
32
bytes) and the CPU linearly accesses the memory
space.
Direct addressing area
The following areas on the memory space are assigned to direct addressing area for I/O. In these areas, an
address can be specified in a direct operand of a code.
Direct areas consists of the following areas dependent on accessible data sizes.
Byte data access : 000
H
to 0FF
H
Half word data access : 000
H
to 1FF
H
Word data access : 000
H
to 3FF
H
Memory space
External ROM/external bus mode
I/O
I/O
Access inhibited
Embedded RAM 4 KB
Y-RAM1
Y-RAM1
Access inhibited
DSP Macros
Access inhibited
External area
Direct addressing area
See "
s
I/O MAP"
0000 0000
H
0000 0400
H
0000 0800
H
0000 1000
H
0000 2000
H
0000 2800
H
0000 3000
H
0000 F000
H
0000 F300
H
0001 0000
H
FFFF FFFF
H
Usable as RAM in the DSP Macros YBANK unused mode.
Usable as RAM when DSP Macros is not used.
MB91121
18
2.
Registers
The FR family has two types of registers; dedicated registers embedded on the CPU and general-purpose
registers on memory.
Dedicated registers
Program counter (PC) :
32-bit length, indicates the location of the instruction to be executed.
Program status (PS) :
32-bit length, register for storing register pointer or condition codes
Table base register (TBR) : Holds top address of vector table used in EIT (Exceptional/Interrupt/Trap)
processing.
Return pointer (RP) :
Holds address to resume operation after returning from a subroutine.
System stack pointer (SSP) : Indicates system stack space.
User's stack pointer (USP) : Indicates user's stack space.
Multiplication/division result register (MDH/MDL) : 32-bit length, register for multiplication/division
Program status (PS)
The PS register is for holding program status and consists of a condition code register (CCR) , a system condition
code register (SCR) and a interrupt level mask register (ILM) .
32 bit
Initial value
PC
Program counter
XXXX XXXX
H
Indeterminate
PS
Program status
TBR
Table base register
0 0 0 F FC0 0
H
RP
Return pointer
XXXX XXXX
H
Indeterminate
SSP
System stack pointer
0 0 0 0 0 0 0 0
H
USP
User's stack pointer
XXXX XXXX
H
Indeterminate
MDH
XXXX XXXX
H
Indeterminate
Multiplication/division result register
MDL
XXXX XXXX
H
Indeterminate
31
20
19
18
17
16
10
9
8
7
6
5
4
3
2
1
0
PS
ILM4 ILM3 ILM2 ILM1 ILM0
D1
D0
T
S
I
N
Z
V
C
ILM
SCR
CCR
MB91121
19
Condition code register (CCR)
S-flag :
Specifies a stack pointer used as R15.
I-flag :
Controls user interrupt request enable/disable.
N-flag :
Indicates sign bit when division result is assumed to be in the 2's complement format.
Z-flag :
Indicates whether or not the result of division was "0".
V-flag :
Assumes the operand used in calculation in the 2's complement format and indicates whether
or not overflow has occurred.
C-flag :
Indicates if a carry or borrow from the MSB has occurred.
System condition code register (SCR)
T-flag :
Specifies whether or not to enable step trace trap.
Interrupt level mask register (ILM)
ILM4 to ILM0 : Register for holding interrupt level mask value. The value held by this register is used as a
level mask. When an interrupt request issued to the CPU is higher than the level held by ILM,
the interrupt request is accepted.
ILM4
ILM3
ILM2
ILM1
ILM0
Interrupt level
High-low
0
0
0
0
0
0
High
:
:
:
:
0
1
0
0
0
15
:
:
:
:
1
1
1
1
1
31
Low
MB91121
20
s
GENERAL-PURPOSE REGISTERS
R0 to R15 are general-purpose registers embedded on the CPU. These registers functions as an accumulator
and a memory access pointer (field for indicating address) .
Of the above 16 registers, following registers have special functions. To support the special functions, part of
the instruction set has been sophisticated to have enhanced functions.
R13 : Virtual accumulator (AC)
R14 : Frame pointer (FP)
R15 : Stack pointer (SP)
Upon reset, values in R0 to R14 are not fixed. Value in R15 is initialized to be 0000 0000
H
(SSP value) .
Register bank structure
32 bits
Initial value
R0
XXXX XXXX
H
R1
R12
R13
AC (Accumulator)
R14
FP (Frame Pointer)
XXXX XXXX
H
R15
SP (Stack Pointer)
0 0 0 0 0 0 0 0
H
MB91121
21
s
SETTING MODE
1.
Pin
Mode setting pins and modes
* : MB91121 does not support single-chip mode.
2.
Registers
Mode setting registers (MODR) and modes
Bus mode setting bits and functions
Note : Because of without internal ROM, MB91121 allows "10
B
" setting value only.
Mode setting pins
Mode name
Reset vector
access area
External data
bus width
Bus mode
MD3 MD2 MD1 MD0
1
0
0
0
External vector mode 0
External
8 bits
External ROM/external
bus mode
1
0
0
1
External vector mode 1
External
16 bits
1
0
1
0
Inhibited
1
0
1
1
Internal vector mode
Internal
(Mode register)
Single-chip mode*
1
1
Inhibited
0
Inhibited
M1
M0
Functions
Note
0
0
Single-chip mode
0
1
Internal ROM/external bus mode
1
0
External ROM/external bus mode
1
1
Inhibited
W : Write only
X : Indeterminate
* : Always write "0" except for M1 and M0.
M1
M0
*
*
*
*
*
*
Initial value
Access
XXXX XXXX
B
W
Address
0000 07FF
H
Bus mode setting bit
MB91121
22
s
I/O MAP
Address
Register name
(abbreviated)
Register name
Read/write
Initial value
0000
H
(Vacancy)
0001
H
PDR2
Port 2 data register
R/W
XXXXXXXX
B
0002
H
to
0004
H
(Vacancy)
0005
H
PDR6
Port 6 data register
R/W
XXXXXXXX
B
0006
H
(Vacancy)
0007
H
0008
H
PDRB
Port B data register
R/W
XXXXXXXX
B
0009
H
PDRA
Port A data register
R/W
-
XXXXXX
-
B
000A
H
(Vacancy)
000B
H
PDR8
Port 8 data register
R/W
- -
X
- -
XXX
B
000C
H
to
0011
H
(Vacancy)
0012
H
PDRE
Port E data register
R/W
XXXXXXXX
B
0013
H
PDRF
Port F data register
R/W
XXXXXXXX
B
0014
H
PDRG
Port G data register
R/W
XXXXXXXX
B
0015
H
PDRH
Port H data register
R/W
XXXX
- - - -
B
0016
H
PDRI
Port I data register
R/W
- - - - - -
XX
B
0017
H
to
001B
H
(Vacancy)
001C
H
SSR0
Serial status register 0
R/W
0 0 0 0 1
-
0 0
B
001D
H
SIDR0/SODR0
Serial input register 0/serial output register 0
R/W
XXXXXXXX
B
001E
H
SCR0
Serial control register 0
R/W
0 0 0 0 0 1 0 0
B
001F
H
SMR0
Serial mode register 0
R/W
0 0
- -
0
-
0 0
B
0020
H
SSR1
Serial status register 1
R/W
0 0 0 0 1
-
0 0
B
0021
H
SIDR1/SODR1
Serial input register 1/serial output register 1
R/W
XXXXXXXX
B
0022
H
SCR1
Serial control register 1
R/W
0 0 0 0 0 1 0 0
B
0023
H
SMR1
Serial mode register 1
R/W
0 0
- -
0
-
0 0
B
0024
H
SSR2
Serial status register 2
R/W
0 0 0 0 1
-
0 0
B
0025
H
SIDR2/SODR2
Serial input register 2/serial output register 2
R/W
XXXXXXXX
B
0026
H
SCR2
Serial control register 2
R/W
0 0 0 0 0 1 0 0
B
0027
H
SMR2
Serial mode register 2
R/W
0 0
- -
0
-
0 0
B
(Continued)
MB91121
23
0028
H
TMRLR0
16-bit reload register ch. 0
W
XXXXXXXX
B
0029
H
XXXXXXXX
B
002A
H
TMR0
16-bit timer register ch. 0
R
XXXXXXXX
B
002B
H
XXXXXXXX
B
002C
H
(Vacancy)
002D
H
002E
H
TMCSR0
16-bit reload timer control status register ch. 0
R/W
- - - -
0 0 0 0
B
002F
H
0 0 0 0 0 0 0 0
B
0030
H
TMRLR1
16-bit reload register ch. 1
W
XXXXXXXX
B
0031
H
XXXXXXXX
B
0032
H
TMR1
16-bit timer register ch. 1
R
XXXXXXXX
B
0033
H
XXXXXXXX
B
0034
H
(Vacancy)
0035
H
0036
H
TMCSR1
16-bit reload timer control status register ch. 1
R/W
- - - -
0 0 0 0
B
0037
H
0 0 0 0 0 0 0 0
B
0038
H
ADCR
A/D converter data register
R
- - - - - -
XX
B
0039
H
XXXXXXXX
B
003A
H
ADCS
A/D converter control status register
R/W
0 0 0 0 0 0 0 0
B
003B
H
0 0 0 0 0 0 0 0
B
003C
H
TMRLR2
16-bit reload register ch. 2
W
XXXXXXXX
B
003D
H
XXXXXXXX
B
003E
H
TMR2
16-bit timer register ch. 2
R
XXXXXXXX
B
003F
H
XXXXXXXX
B
0040
H
(Vacancy)
0041
H
0042
H
TMCSR2
16-bit reload timer control status register ch. 2
R/W
- - - -
0 0 0 0
B
0043
H
0 0 0 0 0 0 0 0
B
0044
H
to
004F
H
(Vacancy)
0050
H
STRG
Soft DMA Start
R/W
- - - - - -
0 0
B
0051
H
to
0077
H
(Vacancy)
(Continued)
Address
Register name
(abbreviated)
Register name
Read/write
Initial value
MB91121
24
0078
H
UTIM0/UTIMR0
U-TIMER register ch. 0/reload register ch. 0
R/W
0 0 0 0 0 0 0 0
B
0079
H
0 0 0 0 0 0 0 0
B
007A
H
(Vacancy)
007B
H
UTIMC0
U-TIMER control register ch. 0
R/W
0
- -
0 0 0 0 1
B
007C
H
UTIM1/UTIMR1
U-TIMER register ch. 1/reload register ch. 1
R/W
0 0 0 0 0 0 0 0
B
007D
H
0 0 0 0 0 0 0 0
B
007E
H
(Vacancy)
007F
H
UTIMC1
U-TIMER control register ch. 1
R/W
0
- -
0 0 0 0 1
B
0080
H
UTIM2/UTIMR2
U-TIMER register ch. 2/reload register ch. 2
R/W
0 0 0 0 0 0 0 0
B
0081
H
0 0 0 0 0 0 0 0
B
0082
H
(Vacancy)
0083
H
UTIMC2
U-TIMER control register ch. 2
R/W
0
- -
0 0 0 0 1
B
0084
H
to
0093
H
(Vacancy)
0094
H
EIRR
External interrupt cause register
R/W
0 0 0 0 0 0 0 0
B
0095
H
ENIR
Interrupt enable register
R/W
0 0 0 0 0 0 0 0
B
0096
H
to
0097
H
(Vacancy)
0098
H
ELVR
External interrupt request level setting register
0099
H
R/W
0 0 0 0 0 0 0 0
B
009A
H
to
00D1
H
(Vacancy)
00D2
H
DDRE
Port E data direction register
W
0 0 0 0 0 0 0 0
B
00D3
H
DDRF
Port F data direction register
W
0 0 0 0 0 0 0 0
B
00D4
H
DDRG
Port G data direction register
W
0 0 0 0 0 0 0 0
B
00D5
H
DDRH
Port H data direction register
W
0 0 0 0
- - - -
B
00D6
H
DDRI
Port I data direction register
W
- - - - - -
0 0
B
00D7
H
to
00DB
H
(Vacancy)
00DC
H
GCN1
General control register 1
R/W
0 0 1 1 0 0 1 0
B
00DD
H
0 0 0 1 0 0 0 0
B
00DE
H
(Vacancy)
00DF
H
GCN2
General control register 2
R/W
0 0 0 0 0 0 0 0
B
(Continued)
Address
Register name
(abbreviated)
Register name
Read/write
Initial value
MB91121
25
00E0
H
PTMR0
PWM timer register
R
1 1 1 1 1 1 1 1
B
00E1
H
1 1 1 1 1 1 1 1
B
00E2
H
PCSR0
PWM cycle setting register
W
XXXXXXXX
B
00E3
H
XXXXXXXX
B
00E4
H
PDUT0
PWM duty setting register
W
XXXXXXXX
B
00E5
H
XXXXXXXX
B
00E6
H
PCNH0
PWM control status register H
R/W
0 0 0 0 0 0 0
-
B
00E7
H
PCNL0
PWM control status register L
R/W
0 0 0 0 0 0 0 0
B
00E8
H
PTMR1
PWM timer register
R
1 1 1 1 1 1 1 1
B
00E9
H
1 1 1 1 1 1 1 1
B
00EA
H
PCSR1
PWM cycle setting register
W
XXXXXXXX
B
00EB
H
XXXXXXXX
B
00EC
H
PDUT1
PWM duty setting register
W
XXXXXXXX
B
00ED
H
XXXXXXXX
B
00EE
H
PCNH1
PWM control status register H
R/W
0 0 0 0 0 0 0
-
B
00EF
H
PCNL1
PWM control status register L
R/W
0 0 0 0 0 0 0 0
B
00F0
H
PTMR2
PWM timer register
R
1 1 1 1 1 1 1 1
B
00F1
H
1 1 1 1 1 1 1 1
B
00F2
H
PCSR2
PWM cycle setting register
W
XXXXXXXX
B
00F3
H
XXXXXXXX
B
00F4
H
PDUT2
PWM duty setting register
W
XXXXXXXX
B
00F5
H
XXXXXXXX
B
00F6
H
PCNH2
PWM control status register H
R/W
0 0 0 0 0 0 0
-
B
00F7
H
PCNL2
PWM control status register L
R/W
0 0 0 0 0 0 0 0
B
00F8
H
PTMR3
PWM timer register
R
1 1 1 1 1 1 1 1
B
00F9
H
1 1 1 1 1 1 1 1
B
00FA
H
PCSR3
PWM cycle setting register
W
XXXXXXXX
B
00FB
H
XXXXXXXX
B
00FC
H
PDUT3
PWM duty setting register
W
XXXXXXXX
B
00FD
H
XXXXXXXX
B
00FE
H
PCNH3
PWM control status register H
R/W
0 0 0 0 0 0 0
-
B
00FF
H
PCNL3
PWM control status register L
R/W
0 0 0 0 0 0 0 0
B
0100
H
to
01FF
H
(Vacancy)
(Continued)
Address
Register name
(abbreviated)
Register name
Read/write
Initial value
MB91121
26
0200
H
DPDP
DMAC parameter descriptor pointer
R/W
XXXXXXXX
B
0201
H
XXXXXXXX
B
0202
H
XXXXXXXX
B
0203
H
X 0 0 0 0 0 0 0
B
0204
H
DACSR
DMAC control status register
R/W
0 0 0 0 0 0 0 0
B
0205
H
0 0 0 0 0 0 0 0
B
0206
H
0 0 0 0 0 0 0 0
B
0207
H
0 0 0 0 0 0 0 0
B
0208
H
DATCR
DMAC pin control register
R/W
XXXXXXXX
B
0209
H
XXXX 0 0 0 0
B
020A
H
XXXX 0 0 0 0
B
020B
H
XXXX 0 0 0 0
B
020C
H
to
020F
H
(Vacancy)
0210
H
OFAS
DSP macro register
R/W
- - - -
0 0 0 0
B
0211
H
0 0 0 0 0 0 0 0
B
0212
H
STRS
- - - -
0 0 0 0
B
0213
H
0 0 0 0 0 0 0 0
B
0214
H
OFSC
0 0 0 0
- - -
0
B
0215
H
(Vacancy)
0216
H
OFSS
DSP macro register
R/W
0 0 0 0 0 0 0 0
B
0217
H
Y-BANKC
R/W
0
- -
0 0 0 0 0
B
0218
H
OFSD
R/W
0 0 0 0 0 0 0 0
B
0219
H
0 0 0 0 0 0 0 0
B
021A
H
DSP-PC
R/W
XXXXXXXX
B
021B
H
DSP-CSR
R/W
0 0 0 0 0 0 0 0
B
021C
H
DSP-LY
R/W
XXXXXXXX
B
021D
H
XXXXXXXX
B
021E
H
DSP-OT0
R
XXXXXXXX
B
021F
H
XXXXXXXX
B
0220
H
DSP-OT1
R
XXXXXXXX
B
0221
H
XXXXXXXX
B
0222
H
DSP-OT2
R
XXXXXXXX
B
0223
H
XXXXXXXX
B
(Continued)
Address
Register name
(abbreviated)
Register name
Read/write
Initial value
MB91121
27
0224
H
DSP-OT3
DSP macro register
R
XXXXXXXX
B
0225
H
XXXXXXXX
B
0226
H
to
03E3
H
(Vacancy)
03E4
H
ICHCR
Instruction cache control register
R/W
- - - - - - - -
B
03E5
H
- - - - - - - -
B
03E6
H
- - - - - - - -
B
03E7
H
- -
0 0 0 0 0 0
B
03E8
H
to
03EF
H
(Vacancy)
03F0
H
BSD0
Bit search module 0-detection data register
W
XXXXXXXX
B
03F1
H
XXXXXXXX
B
03F2
H
XXXXXXXX
B
03F3
H
XXXXXXXX
B
03F4
H
BSD1
Bit search module 1-detection data register
R/W
XXXXXXXX
B
03F5
H
XXXXXXXX
B
03F6
H
XXXXXXXX
B
03F7
H
XXXXXXXX
B
03F8
H
BSDC
Bit search module transition-detection data
register
W
XXXXXXXX
B
03F9
H
XXXXXXXX
B
03FA
H
XXXXXXXX
B
03FB
H
XXXXXXXX
B
03FC
H
BSRR
Bit search module detection result register
R
XXXXXXXX
B
03FD
H
XXXXXXXX
B
03FE
H
XXXXXXXX
B
03FF
H
XXXXXXXX
B
0400
H
ICR00
Interrupt control register 0
R/W
- - -
1 1 1 1 1
B
0401
H
ICR01
Interrupt control register 1
R/W
- - -
1 1 1 1 1
B
0402
H
ICR02
Interrupt control register 2
R/W
- - -
1 1 1 1 1
B
0403
H
ICR03
Interrupt control register 3
R/W
- - -
1 1 1 1 1
B
0404
H
ICR04
Interrupt control register 4
R/W
- - -
1 1 1 1 1
B
0405
H
ICR05
Interrupt control register 5
R/W
- - -
1 1 1 1 1
B
0406
H
ICR06
Interrupt control register 6
R/W
- - -
1 1 1 1 1
B
0407
H
ICR07
Interrupt control register 7
R/W
- - -
1 1 1 1 1
B
(Continued)
Address
Register name
(abbreviated)
Register name
Read/write
Initial value
MB91121
28
0408
H
ICR08
Interrupt control register 8
R/W
- - -
1 1 1 1 1
B
0409
H
ICR09
Interrupt control register 9
R/W
- - -
1 1 1 1 1
B
040A
H
ICR10
Interrupt control register 10
R/W
- - -
1 1 1 1 1
B
040B
H
ICR11
Interrupt control register 11
R/W
- - -
1 1 1 1 1
B
040C
H
ICR12
Interrupt control register 12
R/W
- - -
1 1 1 1 1
B
040D
H
ICR13
Interrupt control register 13
R/W
- - -
1 1 1 1 1
B
040E
H
ICR14
Interrupt control register 14
R/W
- - -
1 1 1 1 1
B
040F
H
ICR15
Interrupt control register 15
R/W
- - -
1 1 1 1 1
B
0410
H
ICR16
Interrupt control register 16
R/W
- - -
1 1 1 1 1
B
0411
H
ICR17
Interrupt control register 17
R/W
- - -
1 1 1 1 1
B
0412
H
ICR18
Interrupt control register 18
R/W
- - -
1 1 1 1 1
B
0413
H
ICR19
Interrupt control register 19
R/W
- - -
1 1 1 1 1
B
0414
H
ICR20
Interrupt control register 20
R/W
- - -
1 1 1 1 1
B
0415
H
ICR21
Interrupt control register 21
R/W
- - -
1 1 1 1 1
B
0416
H
ICR22
Interrupt control register 22
R/W
- - -
1 1 1 1 1
B
0417
H
ICR23
Interrupt control register 23
R/W
- - -
1 1 1 1 1
B
0418
H
ICR24
Interrupt control register 24
R/W
- - -
1 1 1 1 1
B
0419
H
ICR25
Interrupt control register 25
R/W
- - -
1 1 1 1 1
B
041A
H
ICR26
Interrupt control register 26
R/W
- - -
1 1 1 1 1
B
041B
H
ICR27
Interrupt control register 27
R/W
- - -
1 1 1 1 1
B
041C
H
ICR28
Interrupt control register 28
R/W
- - -
1 1 1 1 1
B
041D
H
ICR29
Interrupt control register 29
R/W
- - -
1 1 1 1 1
B
041E
H
ICR30
Interrupt control register 30
R/W
- - -
1 1 1 1 1
B
041F
H
ICR31
Interrupt control register 31
R/W
- - -
1 1 1 1 1
B
0420
H
to
042E
H
ICR32 to ICR46
Interrupt control register 32 to 46
R/W
- - -
1 1 1 1 1
B
042F
H
ICR47
Interrupt control register 47
R/W
- - -
1 1 1 1 1
B
0430
H
DICR
Delayed interrupt control register
R/W
- - - - - - -
0
B
0431
H
HRCL
Hold request cancel request level setting register
R/W
- - -
1 1 1 1 1
B
0432
H
to
047F
H
(Vacancy)
0480
H
RSRR/WTCR
Reset cause register/
watchdog peripheral control register
R/W
1 XXXX
-
0 0
B
0481
H
STCR
Standby control register
R/W
0 0 0 1 1 1
- -
B
0482
H
PDRR
DMA controller request squelch register
R/W
- - - -
0 0 0 0
B
(Continued)
Address
Register name
(abbreviated)
Register name
Read/write
Initial value
MB91121
29
0483
H
CTBR
Timebase timer clear register
W
XXXXXXXX
B
0484
H
GCR
Gear control register
R/W
1 1 0 0 1 1
-
1
B
0485
H
WPR
Watchdog reset occurrence postpone register
W
XXXXXXXX
B
0486
H
(Vacancy)
0487
H
0488
H
PCTR
PLL control register
R/W
0 0
- -
0
- - -
B
0489
H
to
0600
H
(Vacancy)
0601
H
DDR2
Port 2 data direction register
W
0 0 0 0 0 0 0 0
B
0602
H
to
0604
H
(Vacancy)
0605
H
DDR6
Port 6 data direction register
W
0 0 0 0 0 0 0 0
B
0606
H
(Vacancy)
0607
H
0608
H
DDRB
Port B data direction register
W
0 0 0 0 0 0 0 0
B
0609
H
DDRA
Port A data direction register
W
-
0 0 0 0 0 0
-
B
060A
H
(Vacancy)
060B
H
DDR8
Port 8 data direction register
W
- -
0
- -
0 0 0
B
060C
H
ASR1
Area select register 1
W
0 0 0 0 0 0 0 0
B
060D
H
0 0 0 0 0 0 0 1
B
060E
H
AMR1
Area mask register 1
W
0 0 0 0 0 0 0 0
B
060F
H
0 0 0 0 0 0 0 0
B
0610
H
ASR2
Area select register 2
W
0 0 0 0 0 0 0 0
B
0611
H
0 0 0 0 0 0 1 0
B
0612
H
AMR2
Area mask register 2
W
0 0 0 0 0 0 0 0
B
0613
H
0 0 0 0 0 0 0 0
B
0614
H
ASR3
Area select register 3
W
0 0 0 0 0 0 0 0
B
0615
H
0 0 0 0 0 0 1 1
B
0616
H
AMR3
Area mask register 3
W
0 0 0 0 0 0 0 0
B
0617
H
0 0 0 0 0 0 0 0
B
0618
H
ASR4
Area select register 4
W
0 0 0 0 0 0 0 0
B
0619
H
0 0 0 0 0 1 0 0
B
061A
H
AMR4
Area mask register 4
W
0 0 0 0 0 0 0 0
B
061B
H
0 0 0 0 0 0 0 0
B
(Continued)
Address
Register name
(abbreviated)
Register name
Read/write
Initial value
MB91121
30
(Continued)
Address
Register name
(abbreviated)
Register name
Read/write
Initial value
061C
H
ASR5
Area select register 5
W
0 0 0 0 0 0 0 0
B
061D
H
0 0 0 0 0 1 0 1
B
061E
H
AMR5
Area mask register 5
W
0 0 0 0 0 0 0 0
B
061F
H
0 0 0 0 0 0 0 0
B
0620
H
AMD0
Area mode register 0
R/W
- - -
0 0 1 1 1
B
0621
H
AMD1
Area mode register 1
R/W
0
- -
0 0 0 0 0
B
0622
H
AMD32
Area mode register 32
R/W
0 0 0 0 0 0 0 0
B
0623
H
AMD4
Area mode register 4
R/W
0
- -
0 0 0 0 0
B
0624
H
AMD5
Area mode register 5
R/W
0
- -
0 0 0 0 0
B
0625
H
DSCR
DRAM signal control register
W
0 0 0 0 0 0 0 0
B
0626
H
RFCR
Refresh control register
R/W
- -
XXXXXX
B
0627
H
0 0
- - -
0 0 0
B
0628
H
EPCR0
External pin control register 0
W
- - - -
1 1 0 0
B
0629
H
-
1 1 1 1 1 1 1
B
062A
H
(Vacancy)
062B
H
EPCR1
External pin control register 1
W
1 1 1 1 1 1 1 1
B
062C
H
DMCR4
DRAM control register 4
R/W
0 0 0 0 0 0 0 0
B
062D
H
0 0 0 0 0 0 0
-
B
062E
H
DMCR5
DRAM control register 5
R/W
0 0 0 0 0 0 0 0
B
062F
H
0 0 0 0 0 0 0
-
B
0630
H
to
07FD
H
(Vacancy)
07FE
H
LER
Little endian register
W
- - - - -
0 0 0
B
07FF
H
MODR
Mode register
W
XXXXXXXX
B
002000
H
to
002FFF
H
Y-RAM
(Variable RAM)
4096 byte (Max.)
DSP macro RAM
00F000
H
to
00F07F
H
X-RAM
(Coefficient RAM)
128 byte
00F100
H
to
00F2FF
H
I-RAM
(Instruction RAM)
512 byte
Note : Do not use (vacancy) .
MB91121
31
s
INTERRUPT CAUSES, INTERRUPT VECTORS
AND INTERRUPT CONTROL REGISTER ALLOCATIONS
Interrupt causes
Interrupt number
Interrupt level
TBR default
address
Decimal
Hexadecimal
Register
Offset
Reset
0
00
3F4
H
000FFFFC
H
Reserved for system
1
01
3F8
H
000FFFF8
H
Reserved for system
2
02
3F4
H
000FFFF4
H
Reserved for system
3
03
3F0
H
000FFFF0
H
Reserved for system
4
04
3EC
H
000FFFEC
H
Reserved for system
5
05
3E8
H
000FFFE8
H
Reserved for system
6
06
3E4
H
000FFFE4
H
Reserved for system
7
07
3E0
H
000FFFE0
H
Reserved for system
8
08
3DC
H
000FFFDC
H
Reserved for system
9
09
3D8
H
000FFFD8
H
Reserved for system
10
0A
3D4
H
000FFFD4
H
Reserved for system
11
0B
3D0
H
000FFFD0
H
Reserved for system
12
0C
3CC
H
000FFFCC
H
Reserved for system
13
0D
3C8
H
000FFFC8
H
Exception for undefined instruction
14
0E
3C4
H
000FFFC4
H
NMI request
15
0F
F
H
fixed
3C0
H
000FFFC0
H
External interrupt 0
16
10
ICR00
3BC
H
000FFFBC
H
External interrupt 1
17
11
ICR01
3B8
H
000FFFB8
H
External interrupt 2
18
12
ICR02
3B4
H
000FFFB4
H
External interrupt 3
19
13
ICR03
3B0
H
000FFFB0
H
UART0 receive complete
20
14
ICR04
3AC
H
000FFFAC
H
UART1 receive complete
21
15
ICR05
3A8
H
000FFFA8
H
UART2 receive complete
22
16
ICR06
3A4
H
000FFFA4
H
UART0 transmit complete
23
17
ICR07
3A0
H
000FFFA0
H
UART1 transmit complete
24
18
ICR08
39C
H
000FFF9C
H
UART2 transmit complete
25
19
ICR09
398
H
000FFF98
H
DMAC0 (complete, error)
26
1A
ICR10
394
H
000FFF94
H
DMAC1 (complete, error)
27
1B
ICR11
390
H
000FFF90
H
DMAC2 (complete, error)
28
1C
ICR12
38C
H
000FFF8C
H
DMAC3 (complete, error)
29
1D
ICR13
388
H
000FFF88
H
DMAC4 (complete, error)
30
1E
ICR14
384
H
000FFF84
H
DMAC5 (complete, error)
31
1F
ICR15
380
H
000FFF80
H
DMAC6 (complete, error)
32
20
ICR16
37C
H
000FFF7C
H
(Continued)
MB91121
32
DMAC7 (complete, error)
33
21
ICR17
378
H
000FFF78
H
A/D converter (successive approxima-
tion conversion type)
34
22
ICR18
374
H
000FFF74
H
16-bit reload timer 0
35
23
ICR19
370
H
000FFF70
H
16-bit reload timer 1
36
24
ICR20
36C
H
000FFF6C
H
16-bit reload timer 2
37
25
ICR21
368
H
000FFF68
H
PWM 0
38
26
ICR22
364
H
000FFF64
H
PWM 1
39
27
ICR23
360
H
000FFF60
H
PWM 2
40
28
ICR24
35C
H
000FFF5C
H
PWM 3
41
29
ICR25
358
H
000FFF58
H
U-TIMER 0
42
2A
ICR26
354
H
000FFF54
H
U-TIMER 1
43
2B
ICR27
350
H
000FFF50
H
U-TIMER 2
44
2C
ICR28
34C
H
000FFF4C
H
External interrupt 4
45
2D
ICR29
348
H
000FFF48
H
External interrupt 5
46
2E
ICR30
344
H
000FFF44
H
External interrupt 6
47
2F
ICR31
340
H
000FFF40
H
External interrupt 7
48
30
ICR32
33C
H
000FFF3C
H
DSP Macros soft interrupt
49
31
ICR33
338
H
000FFF38
H
DSP Macros offset interrupt
50
32
ICR34
334
H
000FFF34
H
Reserved for system
51
33
ICR35
330
H
000FFF30
H
Reserved for system
52
34
ICR36
32C
H
000FFF2C
H
Reserved for system
53
35
ICR37
328
H
000FFF28
H
Reserved for system
54
36
ICR38
324
H
000FFF24
H
Reserved for system
55
37
ICR39
320
H
000FFF20
H
Reserved for system
56
38
ICR40
31C
H
000FFF1C
H
Reserved for system
57
39
ICR41
318
H
000FFF18
H
Reserved for system
58
3A
ICR42
314
H
000FFF14
H
Reserved for system
59
3B
ICR43
310
H
000FFF10
H
Reserved for system
60
3C
ICR44
30C
H
000FFF0C
H
Reserved for system
61
3D
ICR45
308
H
000FFF08
H
Reserved for system
62
3E
ICR46
304
H
000FFF04
H
Delayed interrupt cause bit
63
3F
ICR47
300
H
000FFF00
H
Reserved for system
(used in REALOS*)
64
40
2FC
H
000FFEFC
H
Reserved for system
(used in REALOS*)
65
41
2F8
H
000FFEF8
H
(Continued)
Interrupt causes
Interrupt number
Interrupt level
TBR default
address
Decimal
Hexadecimal
Register
Offset
MB91121
33
Used in INT instructions
66
to
255
42
to
FF
2F4
H
to
000
H
000FFEF4
H
to
000FFC00
H
* : When using in REALOS/FR, interrupt 0x40, 0x41 for system code.
Interrupt causes
Interrupt number
Interrupt level
TBR default
address
Decimal
Hexadecimal
Register
Offset
(Continued)
MB91121
34
s
PERIPHERAL RESOURCES
1.
I/O Ports
There are 2 types of I/O port register structure; port data register (PDR2, 6, 8, A, B, E to I) and data direction
register (DDR2, 6, 8, A, B, E to I) , where bits PDR2, 6, 8, A, B, E to I and bits DDR2, 6, 8, A, B, E to I corresponds
respectively. Each bit on the register corresponds to an external pin. In port registers input/output register of
the port configures input/output function of the port, while corresponding bit (pin) configures input/output function
in data direction registers. Bit "0" specifies input and "1" specifies output.
For input (DDR
=
"0") setting;
PDR reading operation : reads level of corresponding external pin.
PDR writing operation : writes set value to PDR.
For output (DDR
=
"1") setting;
PDR reading operation : reads PDR value.
PDR writing operation : outputs PDR value to corresponding external pin.
Block diagram
PDR
DDR
1
0
1
0
(Port data register)
(Data direction register)
Resource output enable
Resource output
PDR read
Resource input
Pin
Data bus
MB91121
35
Register explanation
Port Data Register (PDR)
7
6
5
4
3
2
1
0
P27
P26
P25
P24
P23
P22
P21
P20
7
6
5
4
3
2
1
0
P67
P66
P65
P64
P63
P62
P61
P60
7
6
5
4
3
2
1
0
P85
P82
P81
P80
7
6
5
4
3
2
1
0
PA6
PA5
PA4
PA3
PA2
PA1
7
6
5
4
3
2
1
0
PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0
7
6
5
4
3
2
1
0
PE7
PE6
PE5
PE4
PE3
PE2
PE1
PE0
7
6
5
4
3
2
1
0
PF7
PF6
PF5
PF4
PF3
PF2
PF1
PF0
7
6
5
4
3
2
1
0
PG7
PG6
PG5
PG4
PG3
PG2
PG1
PG0
7
6
5
4
3
2
1
0
PH7
PH6
PH5
PH4
7
6
5
4
3
2
1
0
PI1
PI0
PDR2
Address : 000001
H
PDR6
Address : 000005
H
PDR8
Address : 00000B
H
PDRA
Address : 000009
H
PDRB
Address : 000008
H
PDRE
Address : 000012
H
PDRF
Address : 000013
H
PDRG
Address : 000014
H
PDRH
Address : 000015
H
PDRI
Address : 000016
H
Initial value
Access
X X X X X X X X
B
R/W
Initial value
Access
X X X X X X X X
B
R/W
Initial value
Access
- -
X
- -
X X X
B
R/W
Initial value
Access
-
X X X X X X
-
B
R/W
Initial value
Access
X X X X X X X X
B
R/W
Initial value
Access
X X X X X X X X
B
R/W
Initial value
Access
X X X X X X X X
B
R/W
Initial value
Access
X X X X X X X X
B
R/W
Initial value
Access
X X X X
- - - -
B
R/W
Initial value
Access
- - - - - -
X X
B
R/W
PDR2 to PDRI is the I/O port input/output data register.
The associated register, DDR2 to DDRI, controls the input/output.
MB91121
36
Data Direction Register (DDR)
7
6
5
4
3
2
1
0
P27
P26
P25
P24
P23
P22
P21
P20
7
6
5
4
3
2
1
0
P67
P66
P65
P64
P63
P62
P61
P60
7
6
5
4
3
2
1
0
P85
P82
P81
P80
7
6
5
4
3
2
1
0
PA6
PA5
PA4
PA3
PA2
PA1
7
6
5
4
3
2
1
0
PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0
7
6
5
4
3
2
1
0
PE7
PE6
PE5
PE4
PE3
PE2
PE1
PE0
7
6
5
4
3
2
1
0
PF7
PF6
PF5
PF4
PF3
PF2
PF1
PF0
7
6
5
4
3
2
1
0
PG7
PG6
PG5
PG4
PG3
PG2
PG1
PG0
7
6
5
4
3
2
1
0
PH7
PH6
PH5
PH4
7
6
5
4
3
2
1
0
PI1
PI0
DDR2
Address : 000601
H
DDR6
Address : 000605
H
DDR8
Address : 00060B
H
DDRA
Address : 000609
H
DDRB
Address : 000608
H
DDRE
Address : 0000D2
H
DDRF
Address : 0000D3
H
DDRG
Address : 0000D4
H
DDRH
Address : 0000D5
H
DDRI
Address : 0000D6
H
Initial value
Access
0 0 0 0 0 0 0 0
B
W
Initial value
Access
0 0 0 0 0 0 0 0
B
W
Initial value
Access
- -
0
- -
0 0 0
B
W
Initial value
Access
-
0 0 0 0 0 0
-
B
W
Initial value
Access
0 0 0 0 0 0 0 0
B
W
Initial value
Access
0 0 0 0 0 0 0 0
B
W
Initial value
Access
0 0 0 0 0 0 0 0
B
W
Initial value
Access
0 0 0 0 0 0 0 0
B
W
Initial value
Access
0 0 0 0
- - - -
B
W
Initial value
Access
- - - - - -
0 0
B
W
DDR2 to DDRI controls the I/O port input/output direction bit by bit.
0 : Input
1 : Output
MB91121
37
2.
DMA Controller (DMAC)
The DMA controller is a module embedded in FR family devices, and performs DMA (direct memory access)
transfer.
DMA transfer performed by the DMA controller transfers data without intervention of CPU, contributing to
enhanced performance of the system.
8 channels
Mode : single/block transfer, burst transfer and continuous transfer : 3 kinds of transfer
Transfer all through the area
Max. 65536 of transfer cycles
Interrupt function right after the transfer
Selectable for address transfer increase/decrease by the software
External transfer request input pin, external transfer request accept output pin, external transfer complete
output pin three pins for each
Block diagram
DREQ0 to DREQ2
DACK0 to DACK2
EOP0 to EOP2
Interrupt request
DPDP
DACSR
DATCR
BLK DEC
INC / DEC
BLK
DMACT
SADR
DADR
3
3
3
3
8
5
Sequencer
Edge/level
detection circuit
Inner resource
transfer request
Data buffer
Switcher
Data bus
Mode
MB91121
38
Address
Initial value
bit 31
bit 16
bit 0
00000200
H
X X X X X X X X
B
00000201
H
DPDP
X X X X X X X X
B
(R/W)
00000202
H
X X X X X X X X
B
00000203
H
X 0 0 0 0 0 0 0
B
00000204
H
0 0 0 0 0 0 0 0
B
00000205
H
DACSR
0 0 0 0 0 0 0 0
B
(R/W)
00000206
H
0 0 0 0 0 0 0 0
B
00000207
H
0 0 0 0 0 0 0 0
B
00000208
H
X X X X X X X X
B
00000209
H
DATCR
X X X X 0 0 0 0
B
(R/W)
0000020A
H
X X X X 0 0 0 0
B
0000020B
H
X X X X 0 0 0 0
B
Registers (DMAC internal registers)
(
) : Access
R/W : Readable and writable
X : Indeterminate
Registers (DMA descriptor)
Address
bit 31
bit 0
DPDP
+
0
H
DMA
ch.0
Descriptor
DPDP
+
0C
H
DMA
ch.1
Descriptor
DPDP
+
54
H
DMA
ch.7
Descriptor
MB91121
39
3.
UART
The UART is a serial I/O port for supporting asynchronous (start-stop system) communication or CLK
synchronous communication, and it has the following features.
The MB91121 consists of 3 channels of UART.
Full double double buffer
Both a synchronous (start-stop system) communication and CLK synchronous communication are available.
Supporting multi-processor mode
Perfect programmable baud rate
Any baud rate can be set by internal timer (refer to section "4. U-TIMER") .
Any baud rate can be set by external clock.
Error checking function (parity, framing and overrun)
Transfer signal : NRZ code
Enable DMA transfer start by interrupt.
MB91121
40
Block diagram
SIDR
SODR
MD1
MD0
CS0
SCKE
SOE
PEN
P
SBL
CL
A/D
REC
RXE
TXE
PE
ORE
FRE
RDRF
TDRE
RIE
TIE
Control signals
From external clock
SI
(receive data)
Clock select
circuit
Receive interrupt
(to CPU)
Transmit interrupt
(to CPU)
Receive control circuit
Start bit detect
circuit
Receive bit counter
Receive parity
counter
Transmit control circuit
Transmit start
circuit
Transmit bit counter
Transmit parity
counter
Transmit clock
Receive clock
SC (clock)
From U-TIMER
SC
Receive status
judge circuit
Receive shifter
Receive
complete
Transmit shifter
Transmit
start
Receive error
generate signal
for DMA
(to DMAC)
R-bus
SMR
register
SCR
register
SSR
register
Control signals
SO (transmit data)
MB91121
41
Register configuration
Address
Initial value
bit 15
bit 8
bit 0
0000001E
H
SCR0
0 0 0 0 0 1 0 0
B
(R/W)
00000022
H
SCR1
0 0 0 0 0 1 0 0
B
(R/W)
00000026
H
SCR2
0 0 0 0 0 1 0 0
B
(R/W)
0000001F
H
SMR0
0 0
- -
0
-
0 0
B
(R/W)
00000023
H
SMR1
0 0
- -
0
-
0 0
B
(R/W)
00000027
H
SMR2
0 0
- -
0
-
0 0
B
(R/W)
0000001C
H
SSR0
0 0 0 0 1
-
0 0
B
(R/W)
00000020
H
SSR1
0 0 0 0 1
-
0 0
B
(R/W)
00000024
H
SSR2
0 0 0 0 1
-
0 0
B
(R/W)
0000001D
H
SIDR0/SODR0
X X X X X X X X
B
(R/W)
00000021
H
SIDR1/SIDR1
X X X X X X X X
B
(R/W)
00000002
H
SIDR2/SIDR2
X X X X X X X X
B
(R/W)
(
) : Access
R/W : Readable and writable
: Unused
X : Indeterminate
MB91121
42
4.
U-TIMER (16-bit Timer for UART Baud Rate Generation)
The U-TIMER is a 16-bit timer for generating UART baud rate. Combination of chip operating frequency and
reload value of U-TIMER allows flexible setting of baud rate.
The U-TIMER operates as an interval timer by using interrupt issued on counter underflow.
The MB91121 has 3 channel U-TIMER embedded on the chip. An interval of up to 2
16
can be counted.
Block diagram
Register configuration
bit 15
bit 0
bit 15
bit 0
f.f.
UTIMR (reload register)
UTIM ( U-TIMER register)
Clock
Underflow
To UART
(Peripheral clock)
Control
Load
Address
Initial value
bit 15
bit 0
00000078
H
UTIM0/UTIMR0
0 0 0 0 0 0 0 0
B
(R/W)
00000079
H
0 0 0 0 0 0 0 0
B
0000007C
H
UTIM1/UTIMR1
0 0 0 0 0 0 0 0
B
(R/W)
0000007D
H
0 0 0 0 0 0 0 0
B
00000080
H
UTIM2/UTIMR2
0 0 0 0 0 0 0 0
B
(R/W)
00000081
H
0 0 0 0 0 0 0 0
B
0000007B
H
UTIMC0
0
- -
0 0 0 0 1
B
(R/W)
0000007F
H
UTIMC1
0
- -
0 0 0 0 1
B
(R/W)
00000083
H
UTIMC2
0
- -
0 0 0 0 1
B
(R/W)
(
) : Access
R/W : Readable and writable
: Unused
MB91121
43
5.
PWM Timer
The PWM timer can output high accurate PWM waves efficiently.
MB91121 has inner 4-channel PWM timers, and has the following features.
Each channel consists of a 16-bit down counter, a 16-bit data resister with a buffer for cycle setting, a 16-bit
compare resister with a buffer for duty setting, and a pin controller.
The count clock of a 16-bit down counter can be selected from the following four inner clocks.
Inner clock
,
/4,
/16,
/64
The counter value can be initialized "FFFF
H
" by the resetting or the counter borrow.
PWM output (each channel)
Resister description
Block diagram (general construction)
4
4
PWM0
PWM1
PWM2
PWM3
16-bit reload timer
ch.0
16-bit reload timer
ch.1
General control
register 2
TRG input
PWM timer ch.0
TRG input
PWM timer ch.1
TRG input
PWM timer ch.2
TRG input
PWM timer ch.3
General control
register 1
(cause selection)
External TRG0 to TRG3
MB91121
44
Block diagram (for one channel)
1 / 1
1 / 4
1 / 16
1 / 64
ck
PCSR
PDUT
cmp
S
R
Q
IRQ
Peripheral clock
Prescaler
Start
Borrow
Load
16-bit down counter
PPG mask
Reverse bit
Interrupt
selection
Enable
Soft trigger
Edge detect
TRG input
PWM output
MB91121
45
Register configuration
Address
Initial value
bit 15
bit 8
bit 0
000000DC
H
GCN1
0 0 1 1 0 0 1 0
B
(R/W)
000000DD
H
0 0 0 1 0 0 1 0
B
000000DF
H
GCN2
0 0 0 0 0 0 0 0
B
(R/W)
000000E0
H
PTMR0
1 1 1 1 1 1 1 1
B
(R)
000000E1
H
1 1 1 1 1 1 1 1
B
000000E2
H
PCSR0
X X X X X X X X
B
(W)
000000E3
H
X X X X X X X X
B
000000E4
H
PDUT0
X X X X X X X X
B
(W)
000000E5
H
X X X X X X X X
B
000000E6
H
PCNH0
0 0 0 0 0 0 0
-
B
(R/W)
000000E7
H
PCNL0
0 0 0 0 0 0 0 0
B
(R/W)
000000E8
H
PTMR1
1 1 1 1 1 1 1 1
B
(R)
000000E9
H
1 1 1 1 1 1 1 1
B
000000EA
H
PCSR1
X X X X X X X X
B
(W)
000000EB
H
X X X X X X X X
B
000000EC
H
PDUT1
X X X X X X X X
B
(W)
000000ED
H
X X X X X X X X
B
000000EE
H
PCNH1
0 0 0 0 0 0 0
-
B
(R/W)
000000EF
H
PCNL1
0 0 0 0 0 0 0 0
B
(R/W)
000000F0
H
PTMR2
1 1 1 1 1 1 1 1
B
(R)
000000F1
H
1 1 1 1 1 1 1 1
B
000000F2
H
PCSR2
X X X X X X X X
B
(W)
000000F3
H
X X X X X X X X
B
000000F4
H
PDUT2
X X X X X X X X
B
(W)
000000F5
H
X X X X X X X X
B
000000F6
H
PCNH2
0 0 0 0 0 0 0
-
B
(R/W)
000000F7
H
PCNL2
0 0 0 0 0 0 0 0
B
(R/W)
000000F8
H
PTMR3
1 1 1 1 1 1 1 1
B
(R)
000000F9
H
1 1 1 1 1 1 1 1
B
000000FA
H
PCSR3
X X X X X X X X
B
(W)
000000FB
H
X X X X X X X X
B
000000FC
H
PDUT3
X X X X X X X X
B
(W)
000000FD
H
X X X X X X X X
B
000000FE
H
PCNH3
0 0 0 0 0 0 0
-
B
(R/W)
000000FF
H
PCNL3
0 0 0 0 0 0 0 0
B
(R/W)
(
) : Access
R/W : Readable and writable
R : Read only
W : Write only
: Unused
X : Indeterminate
MB91121
46
6.
16-bit Reload Timer
The 16-bit reload timer consists of a 16-bit down counter, a 16-bit reload timer, a prescaler for generating internal
count clock and control registers.
Internal clock can be selected from 3 types of internal clocks (divided by 2/8/32 of machine clock) .
The DMA transfer can be started by the interruption.
The MB91121 consists of 3 channels of the 16-bit reload timer.
Block diagram
RELD
OUTE
OUTL
INTE
UF
CNTE
TRG
OUT
CTL.
CSL1
CSL0
MOD2
MOD1
MOD0
16
8
16
2
3
2
IN CTL.
2
2
2
1
3
5
3
EXCK
GATE
2
IRQ
PWM (ch0, ch1)
A/D (ch2)
16-bit reload register
16-bit down counter UF
Clock selector
Reload
Internal clock
Prescaler
clear
Retrigger
R-bus
MB91121
47
Register configuration
Address
Initial value
bit 15
bit 0
0000002E
H
TMCSR0
- - - -
0 0 0 0
B
(R/W)
0000002F
H
0 0 0 0 0 0 0 0
B
00000036
H
TMCSR1
- - - -
0 0 0 0
B
(R/W)
00000037
H
0 0 0 0 0 0 0 0
B
00000042
H
TMCSR2
- - - -
0 0 0 0
B
(R/W)
00000043
H
0 0 0 0 0 0 0 0
B
0000002A
H
TMR0
X X X X X X X X
B
(R)
0000002B
H
X X X X X X X X
B
00000032
H
TMR1
X X X X X X X X
B
(R)
00000033
H
X X X X X X X X
B
0000003E
H
TMR2
X X X X X X X X
B
(R)
0000003F
H
X X X X X X X X
B
00000028
H
TMRLR0
X X X X X X X X
B
(W)
00000029
H
X X X X X X X X
B
00000030
H
TMRLR1
X X X X X X X X
B
(W)
00000031
H
X X X X X X X X
B
0000003C
H
TMRLR2
X X X X X X X X
B
(W)
0000003D
H
X X X X X X X X
B
(
) : Access
R/W : Readable and writable
R : Read only
W : Write only
: Unused
X : Indeterminate
MB91121
48
7.
Bit Search Module
The bit search module detects transitions of data (0 to 1/1 to 0) on the data written on the input registers and
returns locations of the transitions.
Block diagram
Register configuration
Input latch
Single-detection data recovery
Bit search circuit
Search result
Address
decoder
Detection
mode
D-bus
Address
Initial value
bit 31
bit 16
bit 0
000003F0
H
X X X X X X X X
B
000003F1
H
BSD0
X X X X X X X X
B
(W)
000003F2
H
X X X X X X X X
B
000003F3
H
X X X X X X X X
B
000003F4
H
X X X X X X X X
B
000003F5
H
BSD1
X X X X X X X X
B
(W)
000003F6
H
X X X X X X X X
B
000003F7
H
X X X X X X X X
B
000003F8
H
X X X X X X X X
B
000003F9
H
BSDC
X X X X X X X X
B
(W)
000003FA
H
X X X X X X X X
B
000003FB
H
X X X X X X X X
B
000003FC
H
X X X X X X X X
B
000003FE
H
BSRR
X X X X X X X X
B
(W)
000003FD
H
X X X X X X X X
B
000003FF
H
X X X X X X X X
B
(
) : Access
R/W : Readable and writable
R : Read only
W : Write only
X : Indeterminate
MB91121
49
8.
10-bit A/D Converter (Successive Approximation Conversion Type)
The A/D converter is the module which converts an analog input voltage to a digital value, and it has following
features.
Minimum converting time : 5.6
s/ch. (system clock : 25 MHz)
Inner sample and hold circuit
Resolution : 10 bits
Analog input can be selected from 4 channels by program.
Single convert mode : 1 channel is selected and converted.
Scan convert mode : Converting continuous channels. Maximum 4 channels are programmable.
Continuous convert mode : Converting the specified channel repeatedly.
Stop convert mode : After converting one channel then stop and wait till next activation synchronising at
the beginning of conversion can be peformed.
DMA transfer operation is available by interruption.
Operating factor can be selected from the software, the external trigger (falling edge) , and 16-bit reroad timer
(rising edge) .
MB91121
50
Block diagram
Register configuration
AV
CC
AVR
AV
SS
MPX
AN0
AN1
AN2
AN3
ATG
Successive approximation
register
Internal voltage generator
Comparator
Sample & hold circuit
Data register (ADCR)
A/D control register (ADCS)
Prescaler
Operating clock
Trigger start
TIM0
(internal connection)
(16-bit reload timer ch.2)
Timer start
(Peripheral clock)
R-bus
Input circuit
Decoder
Address
Initial value
bit 15
bit 0
0000003A
H
ADCS
0 0 0 0 0 0 0 0
B
(R/W)
0000003B
H
0 0 0 0 0 0 0 0
B
00000038
H
ADCR
- - - - - -
X X
B
(R)
00000039
H
X X X X X X X X
B
(
) : Access
R/W : Readable and writable
R
: Read only
: Unused
X
: Indeterminate
MB91121
51
9.
Interrupt Controller
The interrupt controller processes interrupt acknowledgments and arbitration between interrupts.
Block diagram
LEVEL0
4
IM
INT0
2
OR
NMI


RI00
RI47
(DLYIRQ)


DLYI
1

ICR00
ICR47
4
5
5
6
6
LEVEL4 to
HLDCAN
3
VCT0
5
VCT5 to
R-bus
Priority judgment
NMI processing
Level judgment
Vector judgment
Level
vector
generation
HLDREQ
cancel
request
*1 : DLYI stands for delayed interrupt module (delayed interrupt generation block) (refer to the section
"11. Delayed Interrupt Module" for detail) .
*2 : INT0 is a wake-up signal to clock control block in the sleep or stop status.
*3 : HLDCAN is a bus release request signal for bus masters other than CPU.
*4 : LEVEL5 to LEVEL0 are interrupt level outputs.
*5 : VCT5 to VCT0 are interrupt vector outputs.
MB91121
52
Register configuration
Address
Initial value
Address
Initial value
bit 7
bit 0
bit 7
bit 0
00000400
H
ICR00
- - -
1 1 1 1 1
B
(R/W)
00000411
H
ICR17
- - -
1 1 1 1 1
B
(R/W)
00000401
H
ICR01
- - -
1 1 1 1 1
B
(R/W)
00000412
H
ICR18
- - -
1 1 1 1 1
B
(R/W)
00000402
H
ICR02
- - -
1 1 1 1 1
B
(R/W)
00000413
H
ICR19
- - -
1 1 1 1 1
B
(R/W)
00000403
H
ICR03
- - -
1 1 1 1 1
B
(R/W)
00000414
H
ICR20
- - -
1 1 1 1 1
B
(R/W)
00000404
H
ICR04
- - -
1 1 1 1 1
B
(R/W)
00000415
H
ICR21
- - -
1 1 1 1 1
B
(R/W)
00000405
H
ICR05
- - -
1 1 1 1 1
B
(R/W)
00000416
H
ICR22
- - -
1 1 1 1 1
B
(R/W)
00000406
H
ICR06
- - -
1 1 1 1 1
B
(R/W)
00000417
H
ICR23
- - -
1 1 1 1 1
B
(R/W)
00000407
H
ICR07
- - -
1 1 1 1 1
B
(R/W)
00000418
H
ICR24
- - -
1 1 1 1 1
B
(R/W)
00000408
H
ICR08
- - -
1 1 1 1 1
B
(R/W)
00000419
H
ICR25
- - -
1 1 1 1 1
B
(R/W)
00000409
H
ICR09
- - -
1 1 1 1 1
B
(R/W)
0000041A
H
ICR26
- - -
1 1 1 1 1
B
(R/W)
0000040A
H
ICR10
- - -
1 1 1 1 1
B
(R/W)
0000041B
H
ICR27
- - -
1 1 1 1 1
B
(R/W)
0000040B
H
ICR11
- - -
1 1 1 1 1
B
(R/W)
0000041C
H
ICR28
- - -
1 1 1 1 1
B
(R/W)
0000040C
H
ICR12
- - -
1 1 1 1 1
B
(R/W)
0000041D
H
ICR29
- - -
1 1 1 1 1
B
(R/W)
0000040D
H
ICR13
- - -
1 1 1 1 1
B
(R/W)
0000041E
H
ICR30
- - -
1 1 1 1 1
B
(R/W)
0000040E
H
ICR14
- - -
1 1 1 1 1
B
(R/W)
0000041F
H
ICR31
- - -
1 1 1 1 1
B
(R/W)
0000040F
H
ICR15
- - -
1 1 1 1 1
B
(R/W)
0000042F
H
ICR47
- - -
1 1 1 1 1
B
(R/W)
00000410
H
ICR16
- - -
1 1 1 1 1
B
(R/W)
00000431
H
HRCL
- - -
1 1 1 1 1
B
(R/W)
00000430
H
DICR
- - - - - - -
0
B
(R/W)
(
) : Access
R/W : Readable and writable
: Unused
MB91121
53
10. External Interrupt/NMI Control Block
The external interrupt/NMI control block controls external interrupt request signals input to NMI pin and INT0 to
INT3 pins.
Detecting levels can be selected from "H", "L", rising edge and falling edge (not for NMI pin) .
Block diagram
Register configuration
8
8
8
9
5
INT0 to INT7
NMI
Interrupt enable register
Interrupt cause register
Request level setting register
Gate
Cause F/F
Edge detection circuit
Interrupt
request
R-bus
Address
Initial value
bit 15
bit 8
bit 0
00000095
H
ENIR
0 0 0 0 0 0 0 0
B
(R/W)
00000094
H
EIRR
0 0 0 0 0 0 0 0
B
(R/W)
00000099
H
ELVR
0 0 0 0 0 0 0 0
B
(R/W)
(
) : Access
R/W : Readable and writable
MB91121
54
11. Delayed Interrupt Module
Delayed interrupt module is a module which generates a interrupt for changing a task. By using this delayed
interrupt module, an interrupt request to CPU can be generated/cancelled by the software.
Refer to the section "9. Interrupt Controller" for delayed interrupt module block diagram.
Register configuration
Address
Initial value
bit 7
bit 0
00000430
H
DICR
- - - - - - -
0
B
(R/W)
(
) : Access
R/W : Readable and writable
: Unused
MB91121
55
12. Clock Generation (Low-power consumption mechanism)
The clock control block is a module which undertakes the following functions.
CPU clock generation (including gear function)
Peripheral clock generation (including gear function)
Reset generation and cause hold
Standby function (including hardware standby)
DMA request prohibit
PLL (multiplier circuit) embedded
MB91121
56
Block diagram
X0
X1
PLL
1 / 2
Gear control register (GCR)
[Gear control block]
PCTR register
CPU gear
Peripheral
gear
Oscillator
circuit
Internal clock
generation
circuit
CPU clock
Internal bus clock
External bus clock
Peripheral DMA clock
Internal
peripheral clock
[Stop/sleep control block]
Internal
interrupt request
Internal reset
Standby control
register (STCR)
STOP state
SLEEP state
CPU hold request
Internal reset
Reset
generation
F/F
CPU hold enable
HST pin
R-bus
Selection
circuit
Status
transition
control circuit
DMA
request
Power on sel
RST pin
DMA request prohibit
register (PDRR)
[DMA prohibit circuit]
Reset cause register (RSRR)
Timebase timer
Count clock
Watchdog reset
postpone register
[Watchdog control block]
Timebase timer clear
register (CTBR)
Watchdog reset generation
postpone register (WPR)
[Reset cause circuit]
DSP Macros clock
MB91121
57
Register configuration
Address
Initial value
bit 15
bit 8
bit 0
00000480
H
RSRR/WTCR
1 X X X X
-
0 0
B
(R/W)
00000481
H
STCR
0 0 0 1 1 1
- -
B
(R/W)
00000482
H
PDRR
- - - -
0 0 0 0
B
(R/W)
00000483
H
CDBR
X X X X X X X X
B
(W)
00000484
H
GCR
1 1 0 0 1 1
-
1
B
(R/W)
00000485
H
WPR
X X X X X X X X
B
(W)
(
) : Access
R/W : Readable and writable
R
: Read only
: Unused
X
: Indeterminate
MB91121
58
13. External Bus Interface
The external bus interface controls the interface between the device and the external memory and also the
external I/O, and has the following features.
25-bit (32 Mbytes) address output
6 independent banks owing to the chip select function.
Can be set to anywhere on the logical address space for minimum unit 64 Kbytes.
Total 32 Mbytes
6 area setting is available by the address pin and the chip select pin.
8/16-bit bus width setting are available for every chip select area.
Programmable automatic memory wait (max. for 7 cycles) can be inserted.
DRAM interface support
Three kinds of DRAM interface : Double CAS DRAM (normally DRAM I/F)
Single CAS DRAM
Hyper DRAM
2 banks independent control (RAS, CAS, etc. control signals)
DRAM select is available from 2CAS/1WE and 1CAS/2WE.
Hi-speed page mode supported
CBR/self refresh supported
Programmable wave form
Unused address/data pin can be used for I/O port.
Little endian mode supported
Clock doublure : Internal bus 50 MHz, external bus 25 MHz
MB91121
59
Block diagram
A-OUT
Write buffer
Read buffer
Switch
MUX
Switch
+
1 or
+
2
Inpage
DMCR
DRAM control
Refresh counter
ASR
AMR
DATA BLOCK
ADDRESS BLOCK
Address buffer
Shifter
Comparator
CS0 to CS5
RAS0, RAS1
CS0L, CS1L
CS0H, CS1H
DW0, DW1
Underflow
Registers & control
RD
WR0, WR1
BRQ
BGRNT
CLK
RDY
32
6
8
3
4
32
Address bus
Data bus
External data bus
External address bus
To TBT
External pin control block
All blocks control
MB91121
60
Register configuration
Address
Initial value
bit 31
bit 16
bit 0
0000060C
H
ASR1
0 0 0 0 0 0 0 0
B
(W)
0000060D
H
0 0 0 0 0 0 0 1
B
0000060E
H
AMR1
0 0 0 0 0 0 0 0
B
(W)
0000060F
H
0 0 0 0 0 0 0 0
B
00000610
H
ASR2
0 0 0 0 0 0 0 0
B
(W)
00000611
H
0 0 0 0 0 0 1 0
B
00000612
H
AMR2
0 0 0 0 0 0 0 0
B
(W)
00000613
H
0 0 0 0 0 0 0 0
B
00000614
H
ASR3
0 0 0 0 0 0 0 0
B
(W)
00000615
H
0 0 0 0 0 0 1 1
B
00000616
H
AMR3
0 0 0 0 0 0 0 0
B
(W)
00000617
H
0 0 0 0 0 0 0 0
B
00000618
H
ASR4
0 0 0 0 0 0 0 0
B
(W)
00000619
H
0 0 0 0 0 1 0 0
B
0000061A
H
AMR4
0 0 0 0 0 0 0 0
B
(W)
0000061B
H
0 0 0 0 0 0 0 0
B
0000061C
H
ASR5
0 0 0 0 0 0 0 0
B
(W)
0000061D
H
0 0 0 0 0 1 0 1
B
0000061E
H
AMR5
0 0 0 0 0 0 0 0
B
(W)
0000061F
H
0 0 0 0 0 0 0 0
B
00000620
H
AMD0
- - -
0 0 1 1 1
B
(R/W)
00000621
H
AMD1
0
- -
0 0 0 0 0
B
(R/W)
00000622
H
AMD32
0 0 0 0 0 0 0 0
B
(R/W)
00000623
H
AMD4
0
- -
0 0 0 0 0
B
(R/W)
00000624
H
AMD5
0
- -
0 0 0 0 0
B
(R/W)
00000625
H
DSCR
0 0 0 0 0 0 0 0
B
(W)
00000626
H
RFCR
- -
X X X X X X
B
(R/W)
00000627
H
0 0
- - -
0 0 0
B
00000628
H
EPCR0
- - -
1 1 0 0 0
B
(W)
00000629
H
-
1 1 1 1 1 1 1
B
0000062B
H
EPCR1
1 1 1 1 1 1 1 1
B
(W)
0000062C
H
DMCR4
0 0 0 0 0 0 0 0
B
(R/W)
0000062D
H
0 0 0 0 0 0 0
-
B
0000062E
H
DMCR5
0 0 0 0 0 0 0 0
B
(R/W)
0000062F
H
0 0 0 0 0 0 0
-
B
000007FE
H
LER
- - - - -
0 0 0
B
(W)
000007FF
H
MODR
X X X X X X X X
B
(W)
(
) : Access
R/W : Readable and writable
W
: Write only
: Unused
X
: Indeterminate
MB91121
61
s
ELECTRICAL CHARACTERISTICS
1.
Absolute Maximum Ratings
*1 : Make sure that the voltage does not exceed V
CC
5
+
0.3 V, such as when turning on the device.
*2 : Maximum output current is a peak current value measured at a corresponding pin.
*3 : Average output current is an average current for a 100 ms period at a corresponding pin.
*4 : Average total output current is an average current for a 100 ms period for all corresponding pins.
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.
(V
SS
=
AV
SS
=
0.0 V)
Parameter Symbol
Value
Unit
Remarks
Min.
Max.
Power supply voltage
V
CC
V
SS
-
0.3
V
SS
+
3.6
V
Analog supply voltage
AV
CC
V
SS
-
0.3
V
SS
+
3.6
V
*1
Analog reference voltage
AVRH
V
SS
-
0.3
V
SS
+
3.6
V
*1
Input voltage
V
I
V
SS
-
0.3
V
CC
+
0.3
V
Analog pin input voltage
V
IA
V
SS
-
0.3
AV
CC
+
0.3
V
Output voltage
V
O
V
SS
-
0.3
V
CC
+
0.3
V
"L" level maximum output current
I
OL
10
mA
*2
"L" level average output current
I
OLAV
4
mA
*3
"L" level maximum total output current
I
OL
100
mA
"L" level average total output current
I
OLAV
50
mA
*4
"H" level maximum output current
I
OH
-
10
mA
*2
"H" level average output current
I
OHAV
-
4
mA
*3
"H" level maximum total output current
I
OH
-
50
mA
"H" level average total output current
I
OHAV
-
20
mA
*4
Power consumption
P
D
600
mW
Operating temperature
T
A
0
+
70
C
Storage temperature
Tstg
-
55
+
150
C
MB91121
62
2.
Recommended Operating Conditions
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
FUJITSU representatives beforehand.
(V
SS
=
AV
SS
=
0.0 V)
Parameter Symbol
Value
Unit
Remarks
Min.
Max.
Power supply voltage
V
CC
3.0
3.6
V
Analog supply voltage
AV
CC
V
SS
+
0.3
V
SS
+
3.6
V
Analog reference voltage
AVRH
AV
SS
AV
CC
V
Operating temperature
T
A
0
+
70
C
MB91121
63
3.
DC Characteristics
*1 : Hysteresis input pin : NMI, RST, P60 to P67, PA1 to PA6, PB0 to PB7, PE0 to PE7, PF0 to PF7, PG0 to PG7,
PI0, PI1
*2 : V
CC
3 = 3.3
0.2 V (internal regulator output voltage) when using 5 V power supply, V
CC
3 = power supply voltage
when using 3V power supply (internal regulator unused)
(V
CC
=
3.0 V to 3.6 V, V
SS
=
AV
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin name
Condition
Value
Unit
Remarks
Min.
Typ.
Max.
"H" level
input voltage
V
IH
Input pin
except for
hysteresis
input
0.65
V
CC
V
CC
+
0.3
V
*2
V
IHS
*1
0.8
V
CC
V
CC
+
0.3
V
Hysteresis
input*2
"L" level
input voltage
V
IL
Input pin
except for
hysteresis
input
V
SS
-
0.3
0.25
V
CC
V
*2
V
ILS
*1
V
SS
-
0.3
0.2
V
CC
V
Hysteresis
input*2
"H" level
output voltage
V
OH
D16 to D31
A00 to A24
P6 to PF
V
CC
=
3.0 V
I
OH
=
-
4.0 mA
V
CC
-
0.5
V
"L" level
output voltage
V
OL
D16 to D31
A00 to A24
P6 to PF
V
CC
=
3.0 V
I
OL
=
4.0 mA
0.4
V
Input leakage
current
(Hi-Z output
leakage current)
I
LI
D00 to D31
A00 to A23
P8 to PF
V
CC
=
3.6 V
0.45 V< V
I
< V
CC
-
5
+
5
A
Pull-up
resistance
R
PULL
RST
V
CC
=
3.6 V
V
I
=
0.45 V
25
50
100
k
Power supply
current
I
CC
V
CC
F
C
=
12.5 MHz
V
CC
=
3.3 V
130
180
mA
(4 multipli-
cation)
Operation at
50 MHz
I
CCS
F
C
=
12.5 MHz
V
CC
=
3.3 V
85
120
mA Sleep mode
I
CCH
T
A
=
+
25
C
V
CC
=
3.3 V
15
150
A
Stop mode
Input
capacitance
C
IN
Except for
V
CC
, AV
CC
,
AV
SS
, V
SS
10
pF
MB91121
64
4.
AC Characteristics
(1) Measurement Conditions
The following conditions apply to AC characteristics unless otherwise specified.
V
CC
0 V
H
IH
V
IL
V
OH
V
OL
Input
Output
Output pin
C = 50 pF
(V
CC
: 3.0 V to 3.6 V)
Measurement conditions for AC standards
V
CC
: 3.0 V to 3.6 V
(The input rise/fall time is 10 ns or less.)
V
IH
1/2
V
CC
V
OH
1/2
V
CC
V
IL
1/2
V
CC
V
OL
1/2
V
CC
Load condition
MB91121
65
(2) Clock Timing Rating
*1 : Frequency shift ratio stands for deviation ratio of the operating clock from the center frequency in the clock
multiplication system.
*2 : These values are for a minimum clock of 10 MHz input to X0, a divide-by-2 system of the source oscillation and
a 1/8 gear.
*3 : Values when using the doublure and CPU operation at 50 MHz.
(V
CC
=
3.0 V to 3.6 V, V
SS
=
AV
SS
=
0 .0V, T
A
=
0
C to
+
70
C)
Parameter
Symbol Pin name Condition
Value
Unit
Remarks
Min.
Max.
Clock frequency (1)
F
C
X0, X1
10
12.5
MHz
When using PLL
Clock cycle time
t
C
X0, X1
80
100
ns
Frequency shift ratio*
1
(when locked)
f
5
%
Clock frequency (2)
F
C
X0, X1
10
25
MHz
Self-oscillation
(divide-by-2 input)
Clock frequency (3)
F
C
X0, X1
10
25
MHz
External clock
(divide-by-2 input)
Clock cycle time
t
C
X0, X1
40
100
ns
Input clock pulse width
P
WH
, P
WL
X0, X1
25
ns
Input to X0 only
10
ns
Input to X0, X1
Input clock rising/falling time
t
CR
, t
CF
X0, X1
8
ns
(t
CR
+
t
CF
)
Internal operating clock
frequency
f
CP
0.625*
2
50
MHz
CPU system
f
CPB
0.625*
2
25*
3
MHz
Bus system
f
CPP
0.625*
2
25
MHz
Peripheral system
Internal operating clock
cycle time
t
CP
20
1600*
2
ns
CPU system
t
CPB
40*
3
1600*
2
ns
Bus system
t
CPP
40
1600*
2
ns
Peripheral system
f
=
100 (%)
|
|
f
0
f
0
+
-
+
-
Center frequency
MB91121
66
Clock timing rating measurement conditions
Guaranteed operating range
External/internal clock setting range
0.8 V
CC
0.2 V
CC
t
CF
t
CR
t
C
P
WH
P
WL
3.3 V
0.3 V
Guaranteed operating range (T
A
=
0
C to
+
70
C)
f
CPP
falls within the shaded range.
Internal clock
Power supply
V
CC
(V)
3.6
3.0
0
0.625
25
50
f
CP
/ f
CPP
[MHz]
CPU
External clock
Internal oscillation
Oscillation input clock
PLL system
(4 multiplication)
Divide-by-2 system
Peripheral
Internal clock setting upper limit
f
CP
f
CPP
50
40
25
20
12.5
5
0
0
10 12.5
25
50
F
C
[MHz]
Note1 : If the PLL is used, the external clock input should be 10.0 MHz to 12.5 MHz.
Note2 : The PLL oscillation settling time must be longer than 300
s.
Note3 : The internal clock gear setting must fall within the above range.
MB91121
67
(3) Clock Output Timing
*1 : t
CYC
is a frequency for 1 clock cycle including a gear cycle.
Use the doublure when CPU frequency is above 25 MHz.
*2 : Rating at a gear cycle of
1.
When a gear cycle of 1/2, 1/4, 1/8 is selected, substitute "n" in the following equations with 1/2, 1/4, 1/8,
respectively.
Min. : (1
-
n
/
2)
t
CYC
-
10
Max. : (1
-
n
/
2)
t
CYC
+
10
Select a gear cycle of
1 when using the doublure.
*3 : Rating at a gear cycle of
1.
When a gear cycle of 1/2, 1/4, 1/8 is selected, substitute "n" in the following equations with 1/2, 1/4, 1/8,
respectively.
Min. : n
/
2
t
CYC
-
10
Max. : n
/
2
t
CYC
+
10
Select a gear cycle of
1 when using the doublure.
(V
CC
=
3.0 V to 3.6 V, V
SS
=
AV
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin
name
Condition
Value
Unit
Remarks
Min.
Max.
Cycle time
t
CYC
CLK
t
CP
--
ns
*1
t
CPB
--
Using the
doublure
CLK
CLK
t
CHCL
CLK
1
/
2
t
CYC
-
10
1
/
2
t
CYC
+
10
ns
*2
CLK
CLK
t
CLCH
CLK
1
/
2
t
CYC
-
10
1
/
2
t
CYC
+
10
ns
*3
CLK
V
OH
V
OL
V
OH
t
CYC
t
CLCH
t
CHCL
MB91121
68
The relation between source oscillation input and CLK pin for configured by CHC/CCK1/CCK0 settings of GCR
(gear control register) is as follows:
However, in this chart source oscillation input means X0 input clock.
t
CYC
t
CYC
t
CYC
t
CYC
t
CYC
t
CYC
CCK1/0: "00"
Source oscillation input
(when using the doublure)
Source oscillation input
(1) PLL system
(CHC bit of GCR set to "0")
(2) 2 dividing system
(CHC bit of GCR set to "1")
(a) Gear
1 CLK pin
CCK1/0: "00"
(b) Gear
1/2 CLK pin
CCK1/0: "01"
(c) Gear
1/4 CLK pin
CCK1/0: "10"
(d) Gear
1/8 CLK pin
CCK1/0: "11"
(a) Gear
1 CLK pin
MB91121
69
Ceramc oscillator applications
Discrete type
*1 : Feedback resistor Rf is built in the LSI.
*2 : No dumping resistor is required.
( ) : C
1
and C
2
integrated
Oscillation frequency
[MHz]
Model name
Circuit constants
Pin type
C1[pF]
C1[pF]
Rf[
]*
1
Rd[
]*
2
10.00 to 13.00
CSA
MTZ
30
30
0
Two-pin
CST
MTW
(30)
(30)
0
Three-pin
13.01 to 15.99
CSA
MXZ040
15
15
0
Two-pin
CST
MXW0C3
(15)
(15)
0
Three-pin
16.00 to 19.99
CSA
MXZ040
(10)
(10)
0
Two-pin
Three-pin
20.00 to 25.00
CSA
MXZ004
None
None
0
Two-pin
Three-pin
C
2
C
1
X0
X1
X0
X1
C
1
C
2
*
Recommended circuit (2 contacts)
Recommended circuit (3 contacts)
*
C
1
, C
2
internally
connected.
* : Murata Mfg. Co., Ltd.
MB91121
70
SMD type
*1 : Feedback resistor Rf is built in the LSI.
*2 : No dumping resistor is required.
( ) : C
1
and C
2
integrated
Oscillation frequency
[MHz]
Model name
Circuit constants
Pin type
C1[pF]
C1[pF]
Rf[
]*
1
Rd[
]*
2
10.00 to 13.00
CSACS
MT
30
30
0
Two-pin
CSTCS
MT
(30)
(30)
0
Three-pin
13.01 to 15.99
CSACS
MX040
15
15
0
Two-pin
CSTCS
MX0C3
(15)
(15)
0
Three-pin
16.00 to 19.99
CSACS
MX040
10
10
0
Two-pin
CSTCS
MX0C2
(10)
(10)
0
Three-pin
20.00 to 25.00
CSACS
MX040
None
None
0
Two-pin
Three-pin
MB91121
71
(4) Reset input ratings
(V
CC
=
3.0 V to 3.6 V, V
SS
=
AV
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin
name
Condition
Value
Unit
Remarks
Min.
Max.
Reset input time
t
RSTL
RST
t
CP
5
ns
RST
0.2 V
CC
t
RSTL
,
t
HSTL
MB91121
72
(5) Power-on Reset
(V
CC
=
3.0 V to 3.6 V, V
SS
=
AV
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin
name
Condition
Value
Unit
Remarks
Min.
Max.
Power supply rising time
t
R
V
CC
V
CC
=
3.3 V
50
s
18
ms
V
CC
< 0.2 V
before the
power supply
rising
Power supply shut off time
t
OFF
V
CC
1
ms
Repeated
operations
Oscillation stabilizing time
t
OSC
2
t
C
2
21
+
300
s
ns
0.2 V
t
R
0.9
V
CC
V
CC
V
SS
V
CC
RST
V
CC
t
OFF
t
OSC
t
RSTL
A voltage rising rate of 50 mV/ms or
less is recommended.
Sudden change in supply voltage during operation may initiate a power-on sequence.
To change supply voltage during operation, it is recommended to smoothly raise the voltage to avoid rapid
fluctuations in the supply voltage.
Note:
(Oscillation stabilizing time)
Note: Set RST pin to "L" level when turning on the device, at least the described above duration after the
supply voltage reaches Vcc is necessary before turning the RST to "H" level.
336 ms approx. (@12.5 MHz)
MB91121
73
(6) Normal Bus Access Read/write Operation
*1 : When bus timing is delayed by automatic wait insertion or RDY input, add (t
CYC
extended cycle number for
delay) to this rating.
*2 : Rating at a gear cycle of
1.
When a gear cycle of 1/2, 1/4, 1/8 is selected, substitute "n" in the following equation with 1/2, 1/4, 1/8, respectively.
Equation : (2
-
n
/
2)
t
CYC
-
40
(V
CC
=
3.0 V to 3.6 V, V
SS
=
AV
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin name
Condition
Value
Unit Remarks
Min.
Max.
CS0 to CS5 delay time
t
CHCSL
CLK
CS0 to CS5
15
ns
t
CHCSH
15
ns
Address delay time
t
CHAV
CLK
A24 to A00
15
ns
Data delay time
t
CHDV
CLK
D31 to D16
15
ns
RD delay time
t
CLRL
CLK
RD
10
ns
t
CLRH
10
ns
WR0, WR1 delay time
t
CLWL
CLK
WR0, WR1
10
ns
t
CLWH
10
ns
Valid address
valid data input time
t
AVDV
A24 to A00
D31 to D16
3
/
2
t
CYC
-
40
ns
*1
*2
RD
valid data input time
t
RLDV
RD
D31 to D16
t
CYC
-
25
ns
*1
Data set up
RD
time
t
DSRH
25
ns
RD
data hold time
t
RHDX
0
ns
MB91121
74
V
OH
V
OL
V
OH
V
OL
BA2
V
OH
t
CHAV
V
OL
V
OH
V
OL
t
CLRL
V
OL
t
CLWL
t
CLWH
V
OL
t
CHDV
V
OL
V
OH
V
OL
V
OH
t
CLRH
V
OH
V
IH
V
IL
V
IH
V
IL
t
DSRH
t
RHDX
V
OH
V
OH
V
OL
t
CHCSH
V
OH
BA1
t
CYC
t
CHCSL
t
RLDV
t
AVDV
CLK
Write
Read
CS0 to CS5
A24 to A00
RD
D31 to D16
WR0 , WR1
D31 to D16
MB91121
75
(7) Ready Input Timing
(V
CC
=
3.0 V to 3.6 V, V
SS
=
AV
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin
name
Condition
Value
Unit
Remarks
Min.
Max.
RDY set up time
CLK
t
RDYS
RDY
CLK
20
ns
CLK
RDY hold time
t
RDYH
CLK
RDY
0
ns
V
OH
V
OH
V
OL
V
OL
V
IL
V
IH
V
IH
V
IL
t
RDYH
t
RDYH
t
CYC
t
RDYS
t
RDYS
CLK
RDY
When wait(s)
is inserted.
RDY
When no wait
is inserted.
MB91121
76
(8) Hold Timing
Note : There is a delay time of more than 1 cycle from BRQ input to BGRNT change.
(V
CC
=
3.0 V to 3.6 V, V
SS
=
AV
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin
name
Condition
Value
Unit
Remarks
Min.
Max.
BGRNT delay time
t
CHBGL
CLK
BGRNT
10
ns
t
CHBGH
10
ns
Pin floating
BGRNT
time
t
XHAL
BGRNT
t
CYC
-
10
t
CYC
+
10
ns
BGRNT
pin valid time
t
HAHV
t
CYC
-
10
t
CYC
+
10
ns
V
OH
t
CHBGL
V
OL
V
OH
V
OH
V
OH
V
OH
t
CHBGH
t
CYC
t
HAHV
t
XHAL
CLK
Each pin
High impedance
BRQ
BGRNT
MB91121
77
(9) Normal DRAM Mode Read/Write Cycle
*1 : When Q1 cycle or Q4 cycle is extended for 1 cycle, add t
CYC
time to this rating.
*2 : Rating at a gear cycle of
1.
When a gear cycle of 1/2, 1/4, 1/8 is selected, substitute "n" in the following equation with 1/2, 1/4, 1/8,
respectively.
Equation : (3
-
n
/
2)
t
CYC
-
20
(V
CC
=
3.0 V to 3.6 V, V
SS
=
AV
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin name
Condition
Value
Unit
Remarks
Min.
Max.
RAS delay time
t
CLRAH
CLK
RAS
10
ns
t
CHRAL
10
ns
CAS delay time
t
CLCASL
CLK
CAS
10
ns
t
CLCASH
10
ns
ROW address delay time
t
CHRAV
CLK
A24 to A00
15
ns
COLUMN address delay time
t
CHCAV
15
ns
DW delay time
t
CHDWL
CLK
DW
15
ns
t
CHDWH
15
ns
Output data delay time
t
CHDV1
CLK
D31 to D16
15
ns
RAS
valid data input time
t
RLDV
RAS
D31 to D16
5
/
2
t
CYC
-
20
ns
*1
*2
CAS
valid data input time
t
CLDV
CAS
D31 to D16
t
CYC
-
17
ns
*1
CAS
data hold time
t
CADH
0
ns
MB91121
78
V
OL
V
OH
V
OL
V
OH
V
OL
V
OH
V
OL
V
OH
V
OL
V
OH
V
OH
V
OL
Q2
Q1
Q3
Q4
Q5
V
OH
V
OH
V
OL
V
OL
V
OL
V
OH
t
CHRAL
V
OL
t
CLCASL
V
OH
t
CHRAV
V
IL
V
IH
V
IL
V
IH
t
CADH
V
OL
V
OH
t
CHDWL
t
CHDWH
t
CHDV1
t
CYC
t
CLRAH
t
CHCAV
t
CLCASH
t
RLDV
t
CLDV
V
OL
V
OH
Write
D31 to D16
COLUMN address
CLK
ROW address
Read
D31 to D16
RAS
CAS
A24 to A00
DW
MB91121
79
(10) Normal DRAM Mode Fast Page Read/Write Cycle
* : When Q4 cycle is extended for 1 cycle, add t
CYC
time to this rating.
(V
CC
=
3.0 V to 3.6 V, V
SS
=
AV
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin name
Condition
Value
Unit
Remarks
Min.
Max.
RAS delay time
t
CLRAH
CLK, RAS
10
ns
CAS delay time
t
CLCASL
CLK
CAS
10
ns
t
CLCASH
10
ns
COLUMN address delay time
t
CHCAV
CLK
A24 to A00
15
ns
DW delay time
t
CHDWH
CLK, DW
15
ns
Output data delay time
t
CHDV1
CLK
D31 to D16
15
ns
CAS
valid data input time
t
CLDV
CAS
D31 to D16
t
CYC
-
17
ns
*
CAS
data hold time
t
CADH
0
ns
MB91121
80
V
OL
V
OH
V
OL
V
OH
t
CLCASH
V
OL
V
OH
V
OH
V
OL
V
OH
V
OL
V
OH
t
CHDWH
t
CHDV1
V
IL
V
IH
Q4
Q5
V
OH
V
OL
Q5
V
OL
Q4
Q5
V
OH
V
OL
t
CLRAH
V
OH
V
OH
V
OL
t
CLCASL
V
IL
V
IH
t
CADH
t
CHCAV
t
CLDV
COLUMN address
COLUMN address
COLUMN address
Write
Read
Read
Read
D31 to D16
CLK
D31 to D16
RAS
CAS
A24 to A00
DW
Write
MB91121
81
(11) Single DRAM Timing
(V
CC
=
3.0 V to 3.6 V, V
SS
=
AV
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin name
Condition
Value
Unit
Remarks
Min.
Max.
RAS delay time
t
CLRAH2
CLK
RAS
10
ns
t
CHRAL2
10
ns
CAS delay time
t
CHCASL2
CLK
CAS
n
/
2
t
CYC
+
8
ns
t
CHCASH2
10
ns
ROW address delay time
t
CHRAV2
CLK
A24 to A00
15
ns
COLUMN address delay time
t
CHCAV2
15
ns
DW delay time
t
CHDWL2
CLK
DW
15
ns
t
CHDWH2
15
ns
Output data delay time
t
CHDV2
CLK
D31 to D16
15
ns
CAS
Valid data input time
t
CLDV2
CAS
D31 to D16
(1
-
n
/
2)
t
CYC
-
17
ns
CAS
data hold time
t
CADH2
0
--
ns
MB91121
82
COLUMN-2
t
CHCASH2
t
CHRAL2
t
CHDWH2
t
CHDWL2
t
CHDV2
t
CHDV2
Q2
Q3
V
OH
V
OH
V
OH
V
OH
V
OH
V
OH
V
OH
V
OH
V
OL
V
OL
V
OL
V
OL
V
OL
V
OH
V
OL
V
OH
V
OL
V
OH
V
OL
V
OH
V
OL
V
OH
V
OL
V
OH
V
OL
Q1
Q4S
Q4S
Q4S
t
CADH2
t
CLDV2
t
CHRAV2
t
CHCAV2
t
CHCASL2
t
CYC
V
OH
V
OH
t
CLRAH2
V
OH
V
OL
V
OL
V
IH
V
IL
V
IH
V
IL
COLUMN-0
ROW address
COLUMN-1
*1
2
Write-0
Write-1
Write-2
Read-1
Read-2
Read-0
D31 to D16
CLK
D31 to D16
RAS
CAS
A24 to A00
DW
*
*1 : Q4S indicates Q4SR (Read) of Single DRAM cycle or Q4SW (Write) cycle.
*2 :
indicates the timing when the bus cycle begins from the high spead page mode.
MB91121
83
(12) Hyper DRAM Timing
(V
CC
=
3.0 V to 3.6 V, V
SS
=
AV
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin name
Condition
Value
Unit Remarks
Min.
Max.
RAS delay time
t
CLRAH3
CLK
RAS
10
ns
t
CHRAL3
10
ns
CAS delay time
t
CHCASL3
CLK
CAS
n
/
2
t
CYC
+
8
ns
t
CHCASH3
10
ns
ROW address delay time
t
CHRAV3
CLK
A24 to A00
15
ns
COLUMN address delay time
t
CHCAV3
15
ns
RD delay time
t
CHRL3
CLK
RD
15
ns
t
CHRH3
15
ns
t
CLRL3
15
ns
DW delay time
t
CHDWL3
CLK
DW
15
ns
t
CHDWH3
15
ns
Output data delay time
t
CHDV3
CLK
D31 to D16
15
ns
CAS
valid data input time
t
CLDV3
CAS
D31 to D16
t
CYC
-
20
ns
CAS
data hold time
t
CADH3
0
ns
MB91121
84
t
CHCASH3
t
CHRAL3
t
CHDWH3
t
CHDWL3
t
CHDV3
t
CHDV3
Q2
Q3
V
OH
V
OH
V
OH
V
OH
V
OH
V
OH
V
OH
V
OH
V
OL
V
OL
V
OL
V
OL
V
OL
V
OH
V
OL
V
OH
V
OL
V
OH
V
OL
V
OH
V
OL
V
OH
V
OL
V
OH
V
OL
Q1
Q4H
Q4H
Q4H
V
OL
t
CADH3
t
CLDV3
t
CHRAV3
t
CLRL3
V
OL
t
CHRL3
t
CHCASL3
t
CYC
V
OH
V
OL
t
CLRAH3
V
OH
V
OL
V
OL
V
IH
V
IL
V
IH
V
IL
COLUMN-0
COLUMN-1
*1
V
OH
V
OL
COLUMN-2
t
CHRH3
t
CHCAV3
*2
*2
ROW address
Write-0
Write-1
Write-2
Read-1
Read-0
D31 to D16
CLK
D31 to D16
RAS
CAS
A24 to A00
DW
RD
*1 : Q4H indicates Q4HR (Read) of Hyper DRAM cycle or Q4HW (Write) cycle.
*2 :
indicates the timing when the bus cycle begins from the high spead page mode.
MB91121
85
(13) CBR Refresh
(V
CC
=
3.0 V to 3.6 V, V
SS
=
AV
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin name
Condition
Value
Unit
Remarks
Min.
Max.
RAS delay time
t
CLRAH
CLK
RAS
10
ns
t
CHRAL
10
ns
CAS delay time
t
CLCASL
CLK
CAS
10
ns
t
CLCASH
10
ns
t
CLCASH
CLK
RAS
CAS
V
OL
V
OL
R4
V
OH
V
OL
t
CLRAH
R3
R2
R1
V
OL
V
OH
V
OH
V
OH
V
OL
t
CHRAL
t
CLCASL
DW
t
CYC
MB91121
86
(14) Self Refresh
(V
CC
=
3.0 V to 3.6 V, V
SS
=
AV
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin name
Condition
Value
Unit
Remarks
Min.
Max.
RAS delay time
t
CLRAH
CLK
RAS
10
ns
t
CHRAL
10
ns
CAS delay time
t
CLCASL
CLK
CAS
10
ns
t
CLCASH
10
ns
CLK
RAS
CAS
V
OL
t
CHRAL
SR1
V
OH
t
CHCASL
t
CLRAH
V
OH
SR2
V
OH
SR3
V
OL
V
OL
SR3
V
OL
V
OH
V
OH
t
CLCASH
t
CYC
MB91121
87
(15) UART Timing
Note : This rating is for AC characteristics in CLK synchronous mode.
t
CYCP
is a cycle time of peripheral system clock
(V
CC
=
3.0 V to 3.6 V, V
SS
=
AV
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin name
Condition
Value
Unit
Remarks
Min.
Max.
Serial clock cycle time
t
SCYC
Internal
shift clock
mode
8t
CYCP
ns
SCLK
SOUT delay time
t
SLOV
-
80
80
ns
Valid SIN
SCLK
t
IVSH
100
ns
SCLK
valid SIN hold time
t
SHIX
60
ns
Serial clock "H" pulse width
t
SHSL
External
shift clock
mode
4t
CYCP
ns
Serial clock "L" pulse width
t
SLSH
4t
CYCP
ns
SCLK
SOUT delay time
t
SLOV
150
ns
Valid SIN
SCLK
t
IVSH
60
ns
SCLK
valid SIN hold time
t
SHIX
60
ns
SCLK
SOUT
SIN
SCLK
SOUT
SIN
t
SCYC
t
SLOV
t
IVSH
t
SHIX
t
SLOV
t
SLSH
t
SHSL
t
IVSH
t
SHIX
V
OL
V
OH
V
OL
V
IL
V
IL
V
IH
V
IH
V
OH
V
OL
V
IH
V
IL
V
OH
V
OL
V
IH
V
IL
V
IH
V
IL
V
IH
V
IL
Internal shift clock mode
External shift clock mode
MB91121
88
(16) Trigger System Input Timing
Note : t
CYCP
is a cycle time of peripheral system clock
(V
CC
=
3.0 V to 3.6 V, V
SS
=
AV
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin name
Condition
Value
Unit
Remarks
Min.
Max.
A/D start trigger input time
t
TRGH
t
TRGL
ATG
5t
CYCP
ns
External interrupt input time
TRG0 to TRG3
ATG
TRG0
to TRG3
t
TRGH
t
TRGL
V
IL
V
IL
V
IH
V
IH
MB91121
89
(17) DMA Controller Timing
(V
CC
=
3.0 V to 3.6 V, V
SS
=
AV
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin name
Condition
Value
Unit
Remarks
Min.
Max.
DREQ input pulse width
t
DRWH
DREQ0 to DREQ2
2t
CYC
ns
DACK delay time
(Normal bus)
(Normal DRAM)
t
CLDL
CLK
DACK0 to DACK2
6
ns
t
CLDH
6
ns
EOP delay time
(Normal bus)
(Normal DRAM)
t
CLEL
CLK
EOP0 to EOP2
6
ns
t
CLEH
6
ns
DACK delay time
(Single DRAM)
(Hyper DRAM)
t
CHDL
CLK
DACK0 to DACK2
n
/
2
t
CYC
ns
t
CHDH
6
ns
EOP delay time
(Single DRAM)
(Hyper DRAM)
t
CHEL
CLK
EOP0 to EOP2
n
/
2
t
CYC
ns
t
CHEH
6
ns
CLK
DREQ0 to DREQ2
V
OH
V
OH
V
IH
V
IH
V
OL
V
OL
V
OL
V
OL
V
OH
V
OH
DACK0 to DACK2
EOP0 to EOP2
(Normal bus)
(Normal DRAM)
DACK0 to DACK2
EOP0 to EOP2
(Single DRAM)
(Hyper DRAM)
t
CYC
t
DRWH
t
CLDL
t
CLEL
t
CHDL
t
CHEL
t
CLDH
t
CLEH
t
CHDH
MB91121
90
5.
A/D Converter Block Electrical Characteristics
*1 : Machine clock
=
25 MHz
*2 : Current value for A/D converters not in operation, CPU stop mode (V
CC
=
AV
CC
=
AVRH
=
3.3 V)
Note :
As the absolute value of AVRH decreases, relative error increases.
Output impedance of external circuit of analog input under following conditions;
Output impedance of external circuit < 5 k
If output impedance of external circuit is too high, analog voltage sampling time may be too short for
accurate sampling.
Analog input circuit example
(V
CC
=
AV
CC
=
AVRH
=
3.3 V, AV
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin name
Value
Unit
Min.
Typ.
Max.
Resolution
10
10
BIT
Total error
5.0
LSB
Linearity error
3.5
LSB
Differentiation linearity error
2.0
LSB
Zero transition voltage
V
OT
AN0 to AN7
-
1.5
+
0.5
+
2.5
LSB
Full-scale transition voltage
V
FST
AN0 to AN7 AVRH
-
4.5 AVRH
-
1.5 AVRH
+
0.5 LSB
Conversion time
5.6*
1
s
Analog port input current
I
AIN
AN0 to AN7
0.1
10
A
Analog input voltage
V
AIN
AN0 to AN7
AV
SS
AVRH
V
Reference voltage
AVRH
AV
SS
AV
CC
V
Power supply current
I
A
AV
CC
4
mA
I
AH
5*
2
A
Reference voltage supply current
I
R
AVRH
200
A
I
RH
5*
2
A
Conversion variance between channels
AN0 to AN7
5
LSB
R
ON1
R
ON1
:
0. 2 k
R
ON2
:
1. 4 k
R
ON3
:
1. 4 k
R
ON4
:
0. 2 k
C
0
:
16.6 pF
C
1
:
4.0 pF
R
ON2
R
ON3
R
ON4
C
1
C
0
Sample-and-hold circuit
Analog input
Comparator
Note : These values are given for reference purposes.
MB91121
91
6.
A/D Converter Glossary
Resolution
The smallest change in analog voltage detected by A/D converter.
Linearity error
A deviation of actual conversion characteristic from a line connecting the zero-traction point (between "00 0000
0000"
"00 0000 0001") to the full-scale transition point (between "11 1111 1110"
"11 1111 1111") .
Differential linearity error
A deviation of a step voltage for changing the LSB of output code from ideal input voltage.
3FF
3FE
3FD
004
003
002
001
AVRL
AVRH
{1 LSB
(N
-
1)
+
V
OT
}
V
NT
V
FST
N
-
1
AVRL
AVRH
N
-
2
N
N
+
1
V
NT
V
(N
+
1)T
Linearity error
Analog input
Actual conversion
characteristic
Actual conversion
characteristic
Ideal characteristic
(measured value)
(measured
value)
V
OT
(measured value)
Differential linearity error
Analog input
Actual conversion
characteristic
Ideal characteristic
Actual conversion characteristic
(measured value)
(measured value)
Digital output
Digital output
1 LSB =
[V]
V
FST
-
V
OT
1022
Linearity error of digital output N =
V
NT
-
{1 LSB
(N
-
1) + V
OT
}
1 LSB
V
OT
: A voltage for causing transition of digital output from (000)
H
to (001)
H
[LSB]
Differential linearity error
of digital output N =
V
(N + 1)T
-
V
NT
1 LSB
[LSB]
-
1
V
FST
: A voltage for causing transition of digital output from (3FE)
H
to (3FF)
H
V
NT
: A voltage for causing transition of digital output from (N
-
1)
H
to N
MB91121
92
Total error
A difference between actual value and theoretical value. The overall error includes zero-transition error, full-
scale transition error and linearity error.
3FF
3FE
3FD
004
003
002
001
AVRL
AVRH
1.5 LSB
0.5 LSB
V
NT
{1 LSB
(N
-
1)
+
0.5 LSB}
V
NT
: A voltage for causing transition of digital output from (N
-
1) to N
Total error
Analog input
Actual conversion
characteristic
(measured value)
Actual conversion
characteristic
Ideal characteristic
(ideal value) = AVRL + 0.5 LSB
[LSB]
V
OT
(ideal value) = AVRL
-
1.5 LSB [V]
[V]
V
FST
Total error of digital output N =
V
NT
-
{1 LSB
(N
-
1) + 0.5 LSB}
1 LSB
Digital output
1 LSB (ideal value) =
[V]
AVRH
-
AVRL
1024
MB91121
93
s
ORDERING INFORMATION
Part number
Package
Remarks
MB91121PFV
120-pin Plastic LQFP
(FPT-120P-M21)
MB91121
94
s
PACKAGE DIMENSION
C
1998 FUJITSU LIMITED F120033S-2C-2
1
30
60
31
90
61
120
91
16.000.10(.630.004)SQ
18.000.20(.709.008)SQ
0.50(.020)
0.220.05
(.009.002)
M
0.08(.003)
INDEX
.006
.001
+.002
0.03
+0.05
0.145
"A"
0.08(.003)
LEAD No.
.059
.004
+.008
0.10
+0.20
1.50
Details of "A" part
0~8
(Mounting height)
0.45/0.75
(.018/.030)
0.25(.010)
(.004.002)
0.100.05
(Stand off)
Dimensions in mm (inches)
120-pin plastic LQFP
(FPT-120P-M21)
MB91121
FUJITSU LIMITED
For further information please contact:
Japan
FUJITSU LIMITED
Corporate Global Business Support Division
Electronic Devices
KAWASAKI PLANT, 4-1-1, Kamikodanaka
Nakahara-ku, Kawasaki-shi
Kanagawa 211-8588, Japan
Tel: 81(44) 754-3763
Fax: 81(44) 754-3329
http://www.fujitsu.co.jp/
North and South America
FUJITSU MICROELECTRONICS, INC.
Semiconductor Division
3545 North First Street
San Jose, CA 95134-1804, USA
Tel: (408) 922-9000
Fax: (408) 922-9179
Customer Response Center
Mon. - Fri.: 7 am - 5 pm (PST)
Tel: (800) 866-8608
Fax: (408) 922-9179
http://www.fujitsumicro.com/
Europe
FUJITSU MICROELECTRONICS EUROPE GmbH
Am Siebenstein 6-10
D-63303 Dreieich-Buchschlag
Germany
Tel: (06103) 690-0
Fax: (06103) 690-122
http://www.fujitsu-ede.com/
Asia Pacific
FUJITSU MICROELECTRONICS ASIA PTE LTD
#05-08, 151 Lorong Chuan
New Tech Park
Singapore 556741
Tel: (65) 281-0770
Fax: (65) 281-0220
http://www.fmap.com.sg/
F9909
FUJITSU LIMITED Printed in Japan
All Rights Reserved.
The contents of this document are subject to change without
notice. Customers are advised to consult with FUJITSU sales
representatives before ordering.
The information and circuit diagrams in this document are
presented as examples of semiconductor device applications,
and are not intended to be incorporated in devices for actual use.
Also, FUJITSU is unable to assume responsibility for
infringement of any patent rights or other rights of third parties
arising from the use of this information or circuit diagrams.
FUJITSU semiconductor devices are intended for use in
standard applications (computers, office automation and other
office equipment, industrial, communications, and
measurement equipment, personal or household devices, etc.).
CAUTION:
Customers considering the use of our products in special
applications where failure or abnormal operation may directly
affect human lives or cause physical injury or property damage,
or where extremely high levels of reliability are demanded
(such as aerospace systems, atomic energy controls, sea floor
repeaters, vehicle operating controls, medical devices for life
support, etc.) are requested to consult with FUJITSU sales
representatives before such use. The company will not be
responsible for damages arising from such use without prior
approval.
Any semiconductor devices have an inherent chance of
failure. You must protect against injury, damage or loss from
such failures by incorporating safety design measures into your
facility and equipment such as redundancy, fire protection, and
prevention of over-current levels and other abnormal operating
conditions.
If any products described in this document represent goods or
technologies subject to certain restrictions on export under the
Foreign Exchange and Foreign Trade Law of Japan, the prior
authorization by Japanese government will be required for
export of those products from Japan.