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

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

Скачать:  PDF   ZIP

Document Outline

DS07-16305-2E
FUJITSU SEMICONDUCTOR
DATA SHEET
32-bit RISC Microcontroller
CMOS
FR Series
MB91107/108
MB91107/108
s
DESCRIPTION
The MB91107 is a standard single-chip microcontroller constructed around the 32-bit RISC CPU (FR* family)
core with abundant I/O resources and bus control functions optimized for high-performance/high-speed CPU
processing for embedded controller applications. To support the vast memory space accessed by the 32-bit CPU,
the MB91107 normally operates in the external bus access mode and executes instructions on the internal
1 Kbyte cache memory and RAM (MB91107: 128 Kbytes, MB91108: 160 Kbytes) for enhanced performance.
The MB91107 is optimized for applications requiring high-performance CPU processing such as navigation sys-
tems, high-performance FAXs and printer controllers.
*: FR Family stands for FUJITSU RISC controller.
s
FEATURES
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
Function entrance/exit instructions, multiple load/store instructions of register contents, instruction systems
supporting high level languages
(Continued)
s
PACKAGE
120-pin Plastic LQFP
(FPT-120P-M21)
MB91107/108
2
(Continued)
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
Bus interface
Clock doubler: 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: 8
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)
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
Cache memory
1-Kbyte instruction cache memory
2 way set associative
32 block/way, 4 entry(4 word)/block
Lock function: For specific program code to be resident in cache memory
DMAC (DMA controller)
8 channels
Transfer incident/external pins/internal resource interrupt requests
Transfer sequence: Step transfer/block transfer/burst transfer/continuous transfer
Transfer data length: 8 bits/16 bits/32 bits selective
NMI/interrupt request enables temporary stop operation
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
(Continued)
MB91107/108
3
(Continued)
Use external clock can be used as a transfer clock
Error detection: Parity, frame, overrun
10-bit A/D converter (successive approximation conversion type)
10-bit resolution, 4 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
16-bit reload timer
16-bit timer: 3 channels
Internal clock: 2 clock cycle resolution, divide by 2/8/32 selective
Other interval timers
16-bit timer: 3 channels (U-TIMER)
PWM timer: 4 channels
Watchdog timer: 1 channel
Bit search module
First bit transition "1" or "0" from MSB can be detected in 1 cycle
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 and delayed interrupt
module
Priority levels of interrupts are programmable except for non-maskable interrupt (in 16 levels)
Others
Reset cause: Power-on reset/hardware standby/watchdog timer/software reset/external reset
Low-power consumption mode: Sleep mode/stop mode
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.
Packages: LQFP-120
CMOS technology (0.35
m): MB91V108 (0.25
m)
Development model
MB91107 (0.25
m)
Production model
MB91108 (0.25
m)
Production model
Power supply voltage: 3.3 V
0.3 V (internal regulator)
MB91107/108
4
s
PIN ASSIGNMENT
(TOP VIEW)
(FPT-120P-M21)
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
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
C
CS0
PA1/CS1
PA2/CS2
PA3/CS3
PA4/CS4
PA5/CS5
PA6/CLK
NMI
HST
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
PG5/INT5
PG4/INT4
PG3/INT3
PG2/INT2
PG1/INT1
PG0/INT0
V
CC
PH7/OCPA3
PH6/OCPA2
PH5/OCPA1
PH4/OCPA0
PH3/TRG3/CS7
PH2/TRG2/CS6
PH1/TRG1
PH0/TRG0
AN3
AN2
AN1
AN0
AV
SS
/AVRL
AVRH
AV
CC
A24/P70
A23/P67
A22/P66
A21/P65
A20/P64
A19/P63
A18/P62
A17/P61
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
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
CS0H/PB2
CS0L/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
PG6/INT6
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
MB91107/108
5
s
PIN DESCRIPTION
(Continued)
Pin no.
Pin name
Circuit
type
Function
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
Bit 16 to bit 23 of external data bus.
Can be configured as ports (P20 to P27) when external data bus width is
set to 8-bit.
93
94
95
96
97
98
99
100
D24
D25
D26
D27
D28
D29
D30
D31
C
Bit 24 to bit 31 of external data bus.
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
Bit 00 to bit 15 of external address bus.
120
1
2
3
4
5
6
7
A16/P60
A17/P61
A18/P62
A19/P63
A20/P64
A21/P65
A22/P66
A23/P67
F
Bit 16 to bit 23 of external address bus.
Can be configured as ports(P60 to P67) when not used as address bus.
8
A24/P70
F
Bit 24 of external address bus.
Can be configured as a port(P70) when not used as address bus.
79
RDY/P80
C
External ready input.
Inputs "0" when bus cycle is being executed and not completed.
Can be configured as a port when this pin is not used.
MB91107/108
6
(Continued)
Pin no.
Pin name
Circuit
type
Function
80
BGRNT/P81
F
External bus release acknowledge output.
Outputs "L" level when external bus is released.
Can be configured as a port when this pin is not used.
81
BRQ/P82
P
External bus release request input.
Inputs "1" when release of external bus is required.
Can be configured as a port when this pin is not used.
82
RD
M
Read strobe output pin for external bus.
83
WR0
M
Write strobe output pin for external bus. Relation between control signals
and effective byte locations is as follows:
Note: WR1 is Hi-Z during resetting. Attach an external pull-up resister
when using at 16-bit bus width.
84
WR1/P85
F
65
CS0
M
Chip select 0 output ("L" active).
66
67
68
69
70
CS1/PA1
CS2/PA2
CS3/PA3
CS4/PA4
CS5/PA5
F
Chip select 1 output ("L" active).
Chip select 2 output ("L" active).
Chip select 3 output ("L" active).
Chip select 4 output ("L" active).
Chip select 5 output ("L" active).
Can be configured as ports when PA1 to PA5 are not used.
71
CLK/PA6
F
System clock output.
Outputs clock signal of external bus operating frequency.
Can be configured as a port when PA6 is not used.
56
57
58
59
60
61
62
63
RAS0/PB0
CS0L/PB1
CS0H/PB2
DW0/PB3
RAS1/PB4
CS1L/PB5
CS1H/PB6
DW1/PB7
F
RAS output for DRAM bank 0.
CASL output for DRAM bank 0.
CASH output for DRAM bank 0.
WE output for DRAM bank 0 ("L" active).
RAS output for DRAM bank 1.
CASL output for DRAM bank 1.
CASH output for DRAM bank 1.
WE output for DRAM bank 1 ("L" active)
Can be configured as a port when PB0 to PB7 are not used.
76
77
78
MD0
MD1
MD2
G
Mode pins 0 to 2.
MCU basic operation mode is set by these pins.
Directly connect these pins with V
CC
or V
SS
for use.
53
54
X1
X0
A
Clock (oscillator) output.
Clock (oscillator) input.
74
RST
B
External reset input.
73
HST
H
Hardware standby input ("L" active).
16-bit bus width
8-bit bus width
D31 to
D24
WR0
WR0
D23 to
D16
WR1
(I/O port enabled)
Refer to the
DRAM interface
for details.
MB91107/108
7
(Continued)
Pin no.
Pin name
Circuit
type
Function
72
NMI
H
NMI (non-maskable interrupt pin) input ("L" active).
42
SC2/PE0
F
(SC2)
Clock I/O pin for UART2.
Clock output is available when clock output of UART2 is enabled.
(PE0) General purpose I/O port.
This function is available when UART2 clock output is disabled.
43
DREQ0/PE1
F
(DREQ0)
External transfer request input pins for DMA. This pin is used
for input when external trigger is selected to cause DMAC operation, and
it is necessary to disable output for other functions from this pin unless
such output is made intentionally.
(PE1) General purpose I/O port.
44
DACK0/PE2
F
(DACK0) External transfer request acknowledge output pin for DMAC
(ch. 0). This function is available when transfer request output for DMAC
is enabled.
(PE2) General purpose I/O port.
This function is available when transfer request acknowledge output for
DMAC or DACK0 output is disabled.
45
EOP0/PE3
F
(EOP0) Can be configured as DMAC EOP OUTPUT (ch.0) when DMAC
EOP output is enable.
(PE3) General purpose I/O port.
46
DREQ1/PE4
F
(DREQ1) External transfer request input pins for DMA. This pin is used
for input when external trigger is selected to cause DMAC operation, and
it is necessary to disable output for other functions from this pin unless
such output is made intentionally.
(PE4) General purpose I/O port.
47
DACK1/PE5
F
(DACK1) External transfer request acknowledge output pin for DMAC
(ch. 1). This function is available when transfer request output for DMAC
is enabled.
(PE5) General purpose I/O port.
This function is available when transfer request acknowledge output for
DMAC or DACK1 output is disabled.
48
EOP1/PE6
F
(EOP1) Can be configured as DMAC EOP OUTPUT (ch.1) when DMAC
EOP output is enable.
(PE6) General purpose I/O port.
49
DREQ2/PE7
F
(DREQ2) External transfer request input pins for DMA.
This pin is used for input when external trigger is selected to cause
DMAC operation, and it is necessary to disable output for other functions
from this pin unless such output is made intentionally.
(PE7) General purpose I/O port.
MB91107/108
8
(Continued)
Pin no.
Pin name
Circuit
type
Function
33
SI0/PF0
F
(SI0) UART0 data input pin.
This pin is used for input during UART0 is in input operation, and it is
necessary to disable output for other functions from this pin unless such
output is made intentionally.
(PF0) General purpose I/O port.
35
SO0/PF1
F
(SO0) UART0 data output pin.
This function is available when UART0 data output is enabled.
(PF1) General purpose I/O port.
This function is available when UART0 data output is disabled.
36
SC0/PF2
F
(SC0) UART0 clock I/O pin.
Clock output is available when UART0 clock output is enabled.
(PF2) General purpose I/O port.
This function is available when UART0 clock output is disabled.
37
SI1/PF3
F
(SI1) UART1 data input pin.
This pin is used for input during UART1 is in input operation, and it is
necessary to disable output for other functions from this pin unless such
output is made intentionally.
(PF3) General purpose I/O port.
38
SO1/PF4
F
(SO1) UART1 data output pin.
This function is available when UART1 data output is enabled.
(PF4) General purpose I/O port.
This function is available when UART1 data output is disabled.
39
SC1/PF5
F
(SC1) Clock I/O pin for UART1.
Clock output is available when clock output of UART1 is enabled.
(PF5) General purpose I/O port.
This function is available when UART1 clock output is disabled.
40
SI2/PF6
F
(SI2) UART2 data input pin.
This pin is used for input during UART2 is in input operation, and it is
necessary to disable output for other functions from this pin unless such
output is made intentionally.
(PF6) General purpose I/O port.
41
SO2/PF7
F
(SO2) UART2 data output pin.
This function is available when UART2 data output is enabled.
(PF7) General purpose I/O port.
This function is available when UART2 data output is disabled.
MB91107/108
9
(Continued)
Pin no.
Pin name
Circuit
type
Function
25
26
27
28
29
30
31
32
INT0/PG0
INT1/PG1
INT2/PG2
INT3/PG3
INT4/PG4
INT5/PG5
INT6/PG6
INT7/PG7
I
(INT0 to INT7) External interrupt request input pin.
This pin is used for input during corresponding interrupt is enabled, and
it is necessary to disable output for other functions from this pin unless
such output is made intentionally.
(PG0 and PG7) General purpose I/O port.
16
17
TRG0/PH0
TRG1/PH1
F
(TRG0 and TRG1) PWM timer external trigger input pin.
This function is available when PH0 and PH1 data outputs are disabled.
(PH0 and PH1) General purpose I/O port.
18
19
TRG2/PH2/
CS6
TRG3/PH3/
CS7
F
(TRG2 and TRG3) PWM timer external trigger input pin.
This function is available when PH2 and PH3 data outputs are disabled.
(PH2 and PH3) Can be configured as a I/O port when TRG2, TRG3,
CS6 and CS7 are not used.
Chip select 6 output ("L" active).
Chip select 7 output ("L" active).
20
21
22
23
OCPA0/PH4
OCPA1/PH5
OCPA2/PH6
OCPA3/PH7
F
(OCPA0 to OCPA3) PWM timer output pin.
This function is available when PWM timer output is enabled.
(PH4 to PH7) General purpose I/O port.
50
DACK2/PI0
F
(DACK2) External transfer request acknowledge output pin for DMAC
(ch. 2). This function is available when transfer request output for DMAC
is enabled.
(PI0) General purpose I/O port.
This function is available when transfer request acknowledge output for
DMAC or DACK2 output is disabled.
51
EOP2/PI1/
ATG
F
(EOP2) EOP output pin for DMAC (ch.1).
This function is available when EOP output for DMAC is enabled.
(PI1) General purpose I/O port.
This function is available when transfer complete acknowledge output
for DMAC output is disabled.
(ATG)External trigger input pin for A/D converter.
This pin is used for input when external trigger is selected to cause A/D
converter operation, and it is necessary to disable output for other func-
tions from this pin unless such output is made intentionally.
12 to 15
AN0 to AN3
N
(AN0 to AN3) Analog input pins of A/D converter.
This function is available when AIC register is set to specify analog input
mode.
9
AV
CC
Power supply pin (V
CC
) for A/D converter.
10
AVRH
Reference voltage input (high) for A/D converter.
Make sure to turn on and off this pin with potential of AVRH or more ap-
plied to V
CC
.
MB91107/108
10
(Continued)
Note : In most of the above pins, I/O port and resource I/O are multiplexed e.g. xxx/Pxxx. 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.
s
DRAM CONTROL REGISTER
Pin no.
Pin name
Circuit
type
Function
11
AV
SS
/ AVRL
Power supply pin (V
SS
) for A/D converter and reference voltage input pin
(low).
24, 55,
110
V
CC
Power supply pin (V
CC
) for digital circuit.
Always three pins must be connected to the power supply
64
C
Bypass capacitor pin for internal capacitor.
Refer to the HANDLING DEVICES.
34, 52, 75,
101, 119
V
SS
Earth level (V
SS
) for digital circuit.
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 ad-
dress 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"
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 WEL
Area 4 WE
DW1
Area 5 WE
Area 5 WEL
Area 5 WE
MB91107/108
11
s
I/O CIRCUIT TYPE
(Continued)
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
X1
STANDBY
CONTROL
X0
Clock input
V
SS
V
CC
Diffused
resistor
P-channel type Tr.
N-channel type Tr.
Digital input
STANDBY
CONTROL
Digital output
Digital input
Digital output
Analog input
MB91107/108
12
(Continued)
Type
Circuit
Remarks
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
I
CMOS level output
CMOS level
Hysteresis input
Without standby control
STANDBY
CONTROL
Digital output
Digital output
Digital input
Digital input
Digital input
Digital input
Digital output
Digital output
MB91107/108
13
(Continued)
Type
Circuit
Remarks
M
CMOS level output
P
CMOS level output
CMOS level input
With standby control
With pull-down resistance
Digital output
Digital output
STANDBY
CONTROL
Pull-down
resistor control
Digital output
Digital output
Digital input
MB91107/108
14
s
HANDLING DEVICES
1.
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.
2.
Treatment of Pins
Treatment of unused pins
Unused pins left open may cause malfunctions. Make sure to connect them to pull-up or pull-down resistors.
Handling the output pins
Connecting an output pin to the power supply, to another output pin, or to a large-capacitance load may cause
a large current to flow. Since letting it flow for an extended period of time degrades the device, be careful in
using the device not to exceed the maximum rating.
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 MB91107 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 MB91107.
Mode setting
p
ins (MD0 to MD2)
Connect mode setting pins (MD0 to MD2) 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.
Crystal oscillator circuit
Noises around X0 and X1 pins may cause malfunctions of MB91101. 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.
3.
Notes on Use
External reset input
The RST pin requires "L" level input for at least five machine cycles before the the internal circuitry can be
completely reset.
External clock
To use an external clock, in principle, supply the X0 and X1 pins with a clock signal opposite in phase to the X0.
To use the STOP mode (oscillation stop mode) along with the external clock, in which the X1 pin stops with "H"
output, you should insert an external resistor of about 1 kilohm to prevent a collision between outputs.
Given the next page is an example of using an external clock.
MB91107/108
15
4.
Notes on Internal DC-DC Regulator
Since this product contains a regulator, be sure to supply current at 3.3 V to the VCC pin and insert a bypass
capacitor of about 0.1
F to the C pin for the regulator.
The A/D converter requires a 3.3-V power supply separately.
Notes on using the STOP mode
The regulator built in this product stops in the STOP mode. If the regulator stops due to a malfunction caused
by noise or a fault in the power supply during normal operation, the internal 2.5-V power supply may go below
the lower limit of the guaranteed operating voltage range. When using the STOP mode with the internal regulator,
therefore, be sure to supply an auxiliary external power to prevent the 3.3-V power supply from coming down.
Even in that case, the internal regulator can be restarted by input of a reset signal (To restart the regulator, keep
the reset pin at the L level for at least the oscillation settling time).
Using an external clock (for normal use)
X0
X1
Note: To use the STOP mode (oscillation stop mode), insert a resistor to the X1 pin.
MB91108
MB91107
3.3 V
GND
V
CC
AV
CC
AVRH
AV
SS
V
SS
C
Connecting to power supply
MB91107/108
16
5.
Turning on the Power Supply
RST pin
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 cycles, 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 of the internal regulator becomes stable.
So it takes about 42 ms for the pin to be initialized from the oscillation starting at the source oscillation 12.5 MHz.
Take care that the pin condition may be output condition at initial unstable condition.
(With the MB91107, however, initalization can be achieved in less than about 42 ms after turning on the internal
power supply by maintaining the RST pin at "L" level.)
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.
Hardware Stand-by at Turning on the Power Supply
When turning on the power supply with the HST pin being set to "L" level, the hardware doesn't stand by. However
the HST pin becomes available after the reset cancellation, the HST pin must once be back to "H" level.
Power on Reset
Make sure to make power on reset at turning on the power supply or returning on the power supply when the
power supply voltage is below the warranty range for normal operation.
Using STOP mode with 3.3 V power supply
3.3 V
V
CC
V
SS
C
2.4 k
7.6 k
0.1
F
MB91107/108
17
s
BLOCK DIAGRAM
FR CPU
I-bus
(16 bit)
D-bus (32 bit)
Instruction Cache
1 KB
Harvard
Princeton
Bus Converter
Bit Search Module
DMAC (8 ch)
DREQ0
DACK0
EOP0
DREQ1
DACK1
EOP1
DREQ2
DACK2
EOP2
32 bit 16 bit
Bus Converter
X0 X1
RST
HST
Clock Control Unit
(Watch Dog Timer)
INT0
INT7
NMI
Interrupt Control Unit
AN0
AN3
AV
CC
AVRH
AV
SS
AVRL
ATG
10 bit A/D
Converter (4 ch)
Reload Timer (3 ch)
Port
R-bus (16 bit)
UART (3 ch)
with
Baud Rate Timer
PWM Timer (4 ch)
SI0 SI1 SI2
SO0 SO1 SO2
SC0 SC1 SC2
OCPA0
OCPA3
TRG0
TRG3
(32 bit)
C-bus
Port 0
Port B
DRAM Controller
RAM 128 KB (MB91107)
RAM 160 KB (MB91108)
Bus Controller
RAS0
CS0L
CS0H
DW0
RAS1
CS1L
CS1H
DW1
D31
D16
A24
A00
RD
WR0
WR1
RDY
CLK
CS0
CS7
BRQ BGRNT
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.
MB91107/108
18
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.
0000 0000
H
0000 0400
H
0000 0800
H
0001 0000
H
000C 0000
H
000E 0000
H
0010 0000
H
FFFF FFFF
H
I/O
I/O
I/O
I/O
000E 8000
H
Access inhibited
External ROM/external
bus mode
Access inhibited
Direct addressing area*
1
See "
s
I/O MAP"
*1:
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.
*2: Access inhibited of MB91107
Note : Only the above mode exist in this product.
byte data access
0-0FF
H
half word data access
0-1FF
H
word data access
0-3FF
H
External area
External area
Internal RAM
External area
Internal RAM
External area
External area
Internal 32KB-RAM *
2
(MB91108 only)
Internal 128 KB-RAM
Internal ROM/external
bus mode
Access inhibited
MB91107/108
19
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 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).
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.
32 bit
32 bit
Initial value
Program counter
PC
XXXX XXXX Indeterminate
Program status
PS
ILM
SCR CCR
Table base register
TBR
0
0
0F FC
0
0
Return pointer
RP
XXXX XXXX Indeterminate
System stack pointer
SSP
0
0
0
0 0
0
0
0
User's stack pointer
USP
XXXX XXXX Indeterminate
Multiplication/division re-
sult register
MDH
XXXX XXXX Indeterminate
MDL
XXXX XXXX Indeterminate
31
20
19
18
17
16
10
9
8
7
6
5
4
3
2
1
0
PS
ILM4 to ILM0
D1
D0
T
S
I
N
Z
V
C
ILM
SCR
CCR
MB91107/108
20
Condition code register (CCR)
System condition code register (SCR)
Interrupt level mask register (ILM)
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.
T-flag : Specifies whether or not to enable step trace trap.
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
1
1
1
15
1
1
1
1
1
31
Low
MB91107/108
21
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.
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).
32 bit
Initial value
R0
XXXX XXXX
H
R1
:
:
:
:
:
:
R12
:
R13
AC
:
R14
FP
XXXX XXXX
H
R15
SP
0 0 0 0 0 0 0 0
H
MB91107/108
22
s
SETTING MODE
1.
Pin
Mode setting pins and modes
2.
Registers
Mode data
Bus mode setting bits and functions
Note : MB91107 places 128-KB internal RAM in the internal ROM area.
To use the 128-KB internal RAM, be sure to set '01'.
Mode setting pins
Mode name
Reset vector
access area
External data bus
width
Bus mode
MD2
MD1
MD0
0
0
0
External vector
mode 0
External
8 bits
External ROM/external
bus mode
0
0
1
External vector
mode 1
External
16 bits
0
1
0
--
--
--
Inhibited
0
1
1
Internal vector mode
Internal
(Mode register)
Inhibited
1
--
--
--
--
--
Inhibited
M1
M0
Functions
Note
0
0
Single-chip mode
0
1
Internal ROM/external bus mode
Inhibited
1
0
External ROM/external bus mode
1
1
--
Inhibited
MODR
Initial value
Access
Address : 0000 07FFH
M1
M0
XXXX XXXX
B
W
Bus mode setting bit
Always write "0" except for M1 and M0.
MB91107/108
23
s
I/O MAP
The remainder of this section contains a list of the registers for peripheral resources in memory space.
Note : Do not execute an RMW-type instruction for any register containing a write-only bit.
(Continued)
Address
Register
name
Register name
Access
Resource name
Initial value
000001
H
PDR2
Port 2 data registe
R/W
Port Data Register
XXXXXXXX
B
000004
H
PDR7
Port 7 data registe
R/W
-
-
-
-
-
-
-
X
B
000005
H
PDR6
Port 6 data registe
R/W
XXXXXXXX
B
000008
H
PDRB
Port B data registe
R/W
XXXXXXXX
B
000009
H
PDRA
Port A data registe
R/W
-
XXXXXX
-
B
00000B
H
PDR8
Port 8 data registe
R/W
-
-
X
-
-
XXX
B
000012
H
PDRE
Port E data registe
R/W
XXXXXXXX
B
000013
H
PDRF
Port F data registe
R/W
XXXXXXXX
B
000014
H
PDRG
Port G data registe
R/W
XXXXXXXX
B
000015
H
PDRH
Port H data registe
R/W
XXXXXXX0
B
000016
H
PDRI
Port I data registe
R/W
-
-
-
-
-
-
XX
B
00001C
H
SSR0
Serial status register 0
R/W
UART0
0 0 0 0 1
-
0 0
B
00001D
H
SIDR0/
SODR0
Serial input data register 0/
Serial output data register
R/W
XXXXXXXX
B
00001E
H
SCR0
Serial control register 0
R/W
0 0 0 0 0 1 0 0
B
00001F
H
SMR0
Serial mode register 0
R/W
0 0
-
-
0
-
0 0
B
000020
H
SSR1
Serial status register 1
R/W
UART1
0 0 0 0 1
-
0 0
B
000021
H
SIDR1/
SODR1
Serial input data register 1/
Serial output data register
R/W
XXXXXXXX
B
000022
H
SCR1
Serial control register 1
R/W
0 0 0 0 0 1 0 0
B
000023
H
SMR1
Serial mode register 1
R/W
0 0
-
-
0
-
0 0
B
000024
H
SSR2
Serial status register 2
R/W
UART2
0 0 0 0 1
-
0 0
B
000025
H
SIDR2/
SODR2
Serial input data register 2/
Serial output data register
R/W
XXXXXXXX
B
000026
H
SCR2
Serial control register 2
R/W
0 0 0 0 0 1 0 0
B
000027
H
SMR2
Serial mode register 2
R/W
0 0
-
-
0
-
0 0
B
000028
H
TMRLR0
16-bit reload register 0
W
Reload Timer 0
XXXXXXXX
B
000029
H
XXXXXXXX
B
00002A
H
TMR0
16-bit timer register 0
R
XXXXXXXX
B
00002B
H
XXXXXXXX
B
00002E
H
TMCSR0
16-bit reload timer
control status register 0
R/W
-
-
-
-
0 0 0 0
B
00002F
H
0 0 0 0 0 0 0 0
B
MB91107/108
24
Note : Do not execute an RMW-type instruction for any register containing a write-only bit.
(Continued)
Address
Register
name
Register name
Access
Resource name
Initial value
000030
H
TMRLR1
16-bit reload register 1
W
Reload Timer 1
XXXXXXXX
B
000031
H
XXXXXXXX
B
000032
H
TMR1
16-bit timer register 1
R
XXXXXXXX
B
000033
H
XXXXXXXX
B
000036
H
TMCSR1
16-bit reload timer
control status register 1
R/W
-
-
-
-
0 0 0 0
B
000037
H
0 0 0 0 0 0 0 0
B
000038
H
ADCR
A/D converter data register
R
A/D Converter
(Successive
approximation type)
-
-
-
-
-
-
XX
B
000039
H
XXXXXXXX
B
00003A
H
ADCS
A/D converte control status register
R/W
0 0 0 0 0 0 0 0
B
00003B
H
0 0 0 0 0 0 0 0
B
00003C
H
TMRLR2
16-bit reload register 2
W
Reload Timer 2
XXXXXXXX
B
00003D
H
XXXXXXXX
B
00003E
H
TMR2
16-bit timer register 2
R
XXXXXXXX
B
00003F
H
XXXXXXXX
B
000042
H
TMCSR2
16-bit reload timer control status
register 2
R/W
-
-
-
-
0 0 0 0
B
000043
H
0 0 0 0 0 0 0 0
B
000050
H
ASR6
Area select register 6
W
External Bus Interface
1 1 1 1 1 1 1 1
B
000051
H
1 1 1 1 1 1 1 1
B
000052
H
AMR6
Area mask register 6
W
0 0 0 0 0 0 0 0
B
000053
H
0 0 0 0 0 0 0 0
B
000054
H
ASR7
Area select register 7
W
1 1 1 1 1 1 1 1
B
000055
H
1 1 1 1 1 1 1 1
B
000056
H
AMR7
Area mask register 7
W
0 0 0 0 0 0 0 0
B
000057
H
0 0 0 0 0 0 0 0
B
000059
H
CS67
Output enable
R/W
-
-
-
-
0 0 1 1
B
000078
H
UTIM0/
UTIMR0
U-TIMER register ch.0
U-TIMER reload register ch.0
R/W
U-TIMER 0
0 0 0 0 0 0 0 0
B
000079
H
0 0 0 0 0 0 0 0
B
00007B
H
UTIMC0
U-TIMER control register ch.0
R/W
0
-
-
0 0 0 0 1
B
MB91107/108
25
Note : Do not execute an RMW-type instruction for any register containing a write-only bit.
(Continued)
Address
Register
name
Register name
Access
Resource name
Initial value
00007C
H
UTIM1/
UTIMR1
U-TIMER register ch.1
U-TIMER reload register ch.1
R/W
U-TIMER 1
0 0 0 0 0 0 0 0
B
00007D
H
0 0 0 0 0 0 0 0
B
00007F
H
UTIMC1
U-TIMER control register ch.1
R/W
0
-
-
0 0 0 0 1
B
000080
H
UTIM2/
UTIMR2
U-TIMER register ch.2
U-TIMER reload register ch.2
R/W
U-TIMER 2
0 0 0 0 0 0 0 0
B
000081
H
0 0 0 0 0 0 0 0
B
000083
H
UTIMC2
U-TIMER control register ch.2
R/W
0
-
-
0 0 0 0 1
B
000094
H
EIRR
External interrup request register
R/W
External Interrupt/NMI
0 0 0 0 0 0 0 0
B
000095
H
ENIR
Interrupt enabble register
R/W
0 0 0 0 0 0 0 0
B
000098
H
ELVR
External interrup request level
setup register
R/W
0 0 0 0 0 0 0 0
B
000099
H
0 0 0 0 0 0 0 0
B
0000D2
H
DDRE
Port E data direction register
W
Port E-I Data Direction
Register
0 0 0 0 0 0 0 0
B
0000D3
H
DDRF
Port F data direction register
W
0 0 0 0 0 0 0 0
B
0000D4
H
DDRG
Port G data direction register
W
0 0 0 0 0 0 0 0
B
0000D5
H
DDRH
Port H data direction register
W
0 0 0 0 0 0 0 1
B
0000D6
H
DDRI
Port I data direction register
W
-
-
-
-
-
-
0 0
B
0000DC
H
GCN1
General control register 1
R/W
PWM
0 0 1 1 0 0 1 0
B
0000DD
H
0 0 0 1 0 0 0 0
B
0000DF
H
GCN2
General control register 2
R/W
0 0 0 0 0 0 0 0
B
0000E0
H
PTMR0
PWM timer register 0
R
1 1 1 1 1 1 1 1
B
0000E1
H
1 1 1 1 1 1 1 1
B
0000E2
H
PCSR0
PWM cycle setting register 0
W
XXXXXXXX
B
0000E3
H
XXXXXXXX
B
0000E4
H
PDUT0
PWM duty setting register 0
W
XXXXXXXX
B
0000E5
H
XXXXXXXX
B
0000E6
H
PCNH0
Control status register H 0
R/W
0 0 0 0 0 0 0
-
B
0000E7
H
PCNL0
Control status register L 0
R/W
0 0 0 0 0 0 0 0
B
0000E8
H
PTMR1
PWM timer register 1
R
1 1 1 1 1 1 1 1
B
0000E9
H
1 1 1 1 1 1 1 1
B
0000EA
H
PCSR
PWM cycle setting register 1
W
XXXXXXXX
B
0000EB
H
XXXXXXXX
B
0000EC
H
PDUT
PWM duty setting register 1
W
XXXXXXXX
B
0000ED
H
XXXXXXXX
B
0000EE
H
PCNH
Control status register H 1
R/W
0 0 0 0 0 0 0
-
B
0000EF
H
PCNL
Control status register L 1
R/W
0 0 0 0 0 0 0 0
B
MB91107/108
26
Note : Do not execute an RMW-type instruction for any register containing a write-only bit.
(Continued)
Address
Register
name
Register name
Access
Resource name
Initial value
0000F0
H
PTMR2
PWM timer register 2
R
PWM
1 1 1 1 1 1 1 1
B
0000F1
H
1 1 1 1 1 1 1 1
B
0000F2
H
PCSR2
PWM cycle setting register 2
W
XXXXXXXX
B
0000F3
H
XXXXXXXX
B
0000F4
H
PDUT2
PWM duty setting register 2
W
XXXXXXXX
B
0000F5
H
XXXXXXXX
B
0000F6
H
PCNH2
Control status register H 2
R/W
0 0 0 0 0 0 0
-
B
0000F7
H
PCNL2
Control status register L 2
R/W
0 0 0 0 0 0 0 0
B
0000F8
H
PTMR3
PWM timer register 3
R
1 1 1 1 1 1 1 1
B
0000F9
H
1 1 1 1 1 1 1 1
B
0000FA
H
PCSR3
PWM cycle setting register 3
W
XXXXXXXX
B
0000FB
H
XXXXXXXX
B
0000FC
H
PDUT3
PWM duty setting register 3
W
XXXXXXXX
B
0000FD
H
XXXXXXXX
B
0000FE
H
PCNH3
Control status register H 3
R/W
0 0 0 0 0 0 0
-
B
0000FF
H
PCNL3
Control status register L 3
R/W
0 0 0 0 0 0 0 0
B
000200
H
DPDP
DMAC parameter descriptor point
R/W
DMAC
XXXXXXXX
B
000201
H
XXXXXXXX
B
000202
H
XXXXXXXX
B
000203
H
X 0 0 0 0 0 0 0
B
000204
H
DACSR
DMAC control status register
R/W
0 0 0 0 0 0 0 0
B
000205
H
0 0 0 0 0 0 0 0
B
000206
H
0 0 0 0 0 0 0 0
B
000207
H
0 0 0 0 0 0 0 0
B
000208
H
DATCR
DMAC pin control register
R/W
XXXXXXXX
B
000209
H
XX 0 0 0 0 0 0
B
00020A
H
XX 0 0 0 0 0 0
B
00020B
H
XX 0 0 0 0 0 0
B
0003E4
H
ICHCR
Instruction cache
R/W
Instruction Cache
-
-
-
-
-
-
-
-
B
0003E5
H
-
-
-
-
-
-
-
-
B
0003E6
H
-
-
-
-
-
-
-
-
B
0003E7
H
-
-
0 0 0 0 0 0
B
MB91107/108
27
Note : Do not execute an RMW-type instruction for any register containing a write-only bit.
(Continued)
Address
Register
name
Register name
Access
Resource name
Initial value
0003F0
H
BSD0
Bit search module
zero-detection data register
W
Bit Search Module
XXXXXXXX
B
0003F1
H
XXXXXXXX
B
0003F2
H
XXXXXXXX
B
0003F3
H
XXXXXXXX
B
0003F4
H
BSD1
Bit search module
single-detection data register
R/W
XXXXXXXX
B
0003F5
H
XXXXXXXX
B
0003F6
H
XXXXXXXX
B
0003F7
H
XXXXXXXX
B
0003F8
H
BSDC
Bit search module
transition-detection data register
W
XXXXXXXX
B
0003F9
H
XXXXXXXX
B
0003FA
H
XXXXXXXX
B
0003FB
H
XXXXXXXX
B
0003FC
H
BSRR
Bit search module result register
R
XXXXXXXX
B
0003FD
H
XXXXXXXX
B
0003FE
H
XXXXXXXX
B
0003FF
H
XXXXXXXX
B
000400
H
ICR00
Interrupt control register 0
R/W
Interrupt Controller
-
-
-
1 1 1 1 1
B
000401
H
ICR01
Interrupt control register 1
-
-
-
1 1 1 1 1
B
000402
H
ICR02
Interrupt control register 2
-
-
-
1 1 1 1 1
B
000403
H
ICR03
Interrupt control register 3
-
-
-
1 1 1 1 1
B
000404
H
ICR04
Interrupt control register 4
-
-
-
1 1 1 1 1
B
000405
H
ICR05
Interrupt control register 5
-
-
-
1 1 1 1 1
B
000406
H
ICR06
Interrupt control register 6
-
-
-
1 1 1 1 1
B
000407
H
ICR07
Interrupt control register 7
-
-
-
1 1 1 1 1
B
000408
H
ICR08
Interrupt control register 8
-
-
-
1 1 1 1 1
B
000409
H
ICR09
Interrupt control register 9
-
-
-
1 1 1 1 1
B
00040A
H
ICR10
Interrupt control register 10
-
-
-
1 1 1 1 1
B
00040B
H
ICR11
Interrupt control register 11
-
-
-
1 1 1 1 1
B
00040C
H
ICR12
Interrupt control register 12
-
-
-
1 1 1 1 1
B
00040D
H
ICR13
Interrupt control register 13
-
-
-
1 1 1 1 1
B
00040E
H
ICR14
Interrupt control register 14
-
-
-
1 1 1 1 1
B
00040F
H
ICR15
Interrupt control register 15
-
-
-
1 1 1 1 1
B
000410
H
ICR16
Interrupt control register 16
-
-
-
1 1 1 1 1
B
MB91107/108
28
Note : Do not execute an RMW-type instruction for any register containing a write-only bit.
(Continued)
Address
Register
name
Register name
Access
Resource name
Initial value
000411
H
ICR17
Interrupt control register17
R/W
Interrupt Controller
-
-
-
1 1 1 1 1
B
000412
H
ICR18
Interrupt control register 18
-
-
-
1 1 1 1 1
B
000413
H
ICR19
Interrupt control register 19
-
-
-
1 1 1 1 1
B
000414
H
ICR20
Interrupt control register 20
-
-
-
1 1 1 1 1
B
000415
H
ICR21
Interrupt control register 21
-
-
-
1 1 1 1 1
B
000416
H
ICR22
Interrupt control register 22
-
-
-
1 1 1 1 1
B
000417
H
ICR23
Interrupt control register 23
-
-
-
1 1 1 1 1
B
000418
H
ICR24
Interrupt control register 24
-
-
-
1 1 1 1 1
B
000419
H
ICR25
Interrupt control register 25
-
-
-
1 1 1 1 1
B
00041A
H
ICR26
Interrupt control register 26
-
-
-
1 1 1 1 1
B
00041B
H
ICR27
Interrupt control register 27
-
-
-
1 1 1 1 1
B
00041C
H
ICR28
Interrupt control register 28
-
-
-
1 1 1 1 1
B
00041D
H
ICR29
Interrupt control register 29
-
-
-
1 1 1 1 1
B
00041E
H
ICR30
Interrupt control register 30
-
-
-
1 1 1 1 1
B
00041F
H
ICR31
Interrupt control register 31
-
-
-
1 1 1 1 1
B
000420
H
ICR32
Interrupt control register 32
-
-
-
1 1 1 1 1
B
000421
H
ICR33
Interrupt control register 33
-
-
-
1 1 1 1 1
B
000422
H
ICR34
Interrupt control register 34
-
-
-
1 1 1 1 1
B
000423
H
ICR35
Interrupt control register 35
-
-
-
1 1 1 1 1
B
000424
H
ICR36
Interrupt control register 36
-
-
-
1 1 1 1 1
B
000425
H
ICR37
Interrupt control register 37
-
-
-
1 1 1 1 1
B
000426
H
ICR38
Interrupt control register 38
-
-
-
1 1 1 1 1
B
000427
H
ICR39
Interrupt control register 39
-
-
-
1 1 1 1 1
B
000428
H
ICR40
Interrupt control register 40
-
-
-
1 1 1 1 1
B
000429
H
ICR41
Interrupt control register 41
-
-
-
1 1 1 1 1
B
00042A
H
ICR42
Interrupt control register 42
-
-
-
1 1 1 1 1
B
00042B
H
ICR43
Interrupt control register 43
-
-
-
1 1 1 1 1
B
00042C
H
ICR44
Interrupt control register 44
-
-
-
1 1 1 1 1
B
00042D
H
ICR45
Interrupt control register 45
-
-
-
1 1 1 1 1
B
00042E
H
ICR46
Interrupt control register 46
-
-
-
1 1 1 1 1
B
00042F
H
ICR47
Interrupt control register 47
-
-
-
1 1 1 1 1
B
000430
H
DICR
Delayed interrupt
R/W
Delayed Interrupt Controller
Register
-
-
-
-
-
-
-
0
B
000431
H
HRCL
Holding request withdrawal
request level set register
R/W
-
-
-
1 1 1 1 1
B
MB91107/108
29
Note : Do not execute an RMW-type instruction for any register containing a write-only bit.
(Continued)
Address
Register
name
Register name
Access
Resource name
Initial value
000480
H
RSRR/
WTCR
Reset cause register/watchdog
cycle control register
R/W
Clock Controller
1 XXXX
-
0 0
B
000481
H
STCR
Stand-by controller register
R/W
0 0 0 1 1 1
-
-
B
000482
H
PDRR
DMA controller request prohibit
resister
R/W
-
-
-
-
0 0 0 0
B
000483
H
CTBR
Timebase timer clear register
W
XXXXXXXX
B
000484
H
GCR
Gear controller register
R/W
1 1 0 0 1 1
-
1
B
000485
H
WPR
Watchdog reset generation
postpone register
W
XXXXXXXX
B
000488
H
PCTR
PLL controller register
W
PLL Controller
0 0
-
-
0
-
-
-
B
000601
H
DDR2
Port 2 data direction register
W
Port Direction Register
0 0 0 0 0 0 0 0
B
000604
H
DDR7
Port 7 data direction register
W
-
-
-
-
-
-
-
0
B
000605
H
DDR6
Port 6 data direction register
W
0 0 0 0 0 0 0 0
B
000608
H
DDRB
Port B data direction register
W
0 0 0 0 0 0 0 0
B
000609
H
DDRA
Port A data direction register
W
-
0 0 0 0 0 0
-
B
00060B
H
DDR8
Port 8 data direction register
W
-
-
0 0 0 0 0 0
B
00060C
H
ASR1
Area selection register 1
W
External Bus Interface
0 0 0 0 0 0 0 0
B
00060D
H
0 0 0 0 0 0 0 1
B
00060E
H
AMR1
Area mask register 1
W
0 0 0 0 0 0 0 0
B
00060F
H
0 0 0 0 0 0 0 0
B
000610
H
ASR2
Area selection register 2
W
0 0 0 0 0 0 0 0
B
000611
H
0 0 0 0 0 0 1 0
B
000612
H
AMR2
Area mask register 2
W
0 0 0 0 0 0 0 0
B
000613
H
0 0 0 0 0 0 0 0
B
000614
H
ASR3
Area selection register 3
W
0 0 0 0 0 0 0 0
B
000615
H
0 0 0 0 0 0 11
B
000616
H
AMR3
Area mask register 3
W
0 0 0 0 0 0 0 0
B
000617
H
0 0 0 0 0 0 0 0
B
000618
H
ASR4
Area selection register 4
W
0 0 0 0 0 0 0 0
B
000619
H
0 0 0 0 0 1 0 0
B
00061A
H
AMR4
Area mask register 4
W
0 0 0 0 0 0 0 0
B
00061B
H
0 0 0 0 0 0 0 0
B
00061C
H
ASR5
Area selection register 5
W
0 0 0 0 0 0 0 0
B
00061D
H
0 0 0 0 0 1 0 1
B
MB91107/108
30
(Continued)
Note: Do not execute an RMW-type instruction for any register containing a write-only bit.
Note : RMW-type instructions (RMW: Read modify write)
Address
Register
name
Register name
Access
Resource name
Initial value
00061E
H
AMR5
Area mask register 5
W
External Bus Interface
0 0 0 0 0 0 0 0
B
00061F
H
0 0 0 0 0 0 0 0
B
000620
H
AMD0
Area mode register 0
R/W
-
-
-
0 0 1 1 1
B
000621
H
AMD1
Area mode register 1
R/W
0
-
-
0 0 0 0 0
B
000622
H
AMD32
Area mode register 32
R/W
0 0 0 0 0 0 0 0
B
000623
H
AMD4
Area mode register 4
R/W
0
-
-
0 0 0 0 0
B
000624
H
AMD5
Area mode register 5
R/W
0
-
-
0 0 0 0 0
B
000625
H
DSCR
DRAM signal control register
W
0 0 0 0 0 0 0 0
B
000626
H
RFCR
Refresh control register
R/W
-
-
XXXXXX
B
000627
H
0 0
-
-
-
0 0 0
B
000628
H
EPCR0
External pin control register 0
W
-
-
-
-
1 1 0 0
B
000629
H
-
1 1 1 1 1 1 1
B
00062A
H
EPCR1
External pin control register 1
W
-
-
-
-
-
-
-
1
B
00062B
H
1 1 1 1 1 1 1 1
B
00062C
H
DMCR4
DRAM control register 4
R/W
0 0 0 0 0 0 0 0
B
00062D
H
0 0 0 0 0 0 0
-
B
00062E
H
DMCR5
DRAM control register 5
R/W
0 0 0 0 0 0 0 0
B
00062F
H
0 0 0 0 0 0 0
-
B
0007FE
H
LER
Little endian register
W
Little Endian Registor
Mode Register
-
-
-
-
-
0 0 0
B
0007FF
H
MODR
Mode register
W
XXXXXXXX
B
AND
Rj, @Ri
OR
Rj, @Ri
EOR
Rj, @Ri
ANDH
Rj, @Ri
ORH
Rj, @Ri
EORH
Rj, @Ri
ANDB
Rj, @Ri
ORB
Rj, @Ri
EORB
Rj, @Ri
BANDL
#u4, @Ri
BORL #u4, @Ri
BEORL
#u4, @Ri
BANDH
#u4, @Ri
BORH #u4, @Ri
BEORH
#u4, @Ri
MB91107/108
31
s
INTERRUPT CAUSES, INTERRUPT VECTORS
AND INTERRUPT CONTROL REGISTER ALLOCATIONS
(Continued)
Interrupt causes
Interrupt number
Interrupt level
TBR default
address
Decimal Hexadecimal
Register
Offset
Reset
0
00
3FC
H
0FFFFC
H
Reserved for system
1
01
3F8
H
0FFFF8
H
Reserved for system
2
02
3F4
H
0FFFF4
H
Reserved for system
3
03
3F0
H
0FFFF0
H
Reserved for system
4
04
3EC
H
0FFFEC
H
Reserved for system
5
05
3E8
H
0FFFE8
H
Reserved for system
6
06
3E4
H
0FFFE4
H
Reserved for system
7
07
3E0
H
0FFFE0
H
Reserved for system
8
08
3DC
H
0FFFDC
H
Reserved for system
9
09
3D8
H
0FFFD8
H
Reserved for system
10
0A
3D4
H
0FFFD4
H
Reserved for system
11
0B
3D0
H
0FFFD0
H
Reserved for system
12
0C
3CC
H
0FFFCC
H
Reserved for system
13
0D
3C8
H
0FFFC8
H
Exception for undefined instruction
14
0E
3C4
H
0FFFC4
H
NMI request
15
0F
F
H
fixed
3C0
H
0FFFC0
H
External interrupt 0
16
10
ICR00
3BC
H
0FFFBC
H
External interrupt 1
17
11
ICR01
3B8
H
0FFFB8
H
External interrupt 2
18
12
ICR02
3B4
H
0FFFB4
H
External interrupt 3
19
13
ICR03
3B0
H
0FFFB0
H
UART0 receive complete
20
14
ICR04
3AC
H
0FFFAC
H
UART1 receive complete
21
15
ICR05
3A8
H
0FFFA8
H
UART2 receive complete
22
16
ICR06
3A4
H
0FFFA4
H
UART0 transmit complete
23
17
ICR07
3A0
H
0FFFA0
H
UART1 transmit complete
24
18
ICR08
39C
H
0FFF9C
H
UART2 transmit complete
25
19
ICR09
398
H
0FFF98
H
DMAC0 (complete, error)
26
1A
ICR10
394
H
0FFF94
H
DMAC1 (complete, error)
27
1B
ICR11
390
H
0FFF90
H
DMAC2 (complete, error)
28
1C
ICR12
38C
H
0FFF8C
H
DMAC3 (complete, error)
29
1D
ICR13
388
H
0FFF88
H
DMAC4 (complete, error)
30
1E
ICR14
384
H
0FFF84
H
DMAC5 (complete, error)
31
1F
ICR15
380
H
0FFF80
H
DMAC6 (complete, error)
32
20
ICR16
37C
H
0FFF7C
H
DMAC7 (complete, error)
33
21
ICR17
378
H
0FFF78
H
MB91107/108
32
(Continued)
*: When using in REALOS/FR, interrupt 0x40, 0x41 for system code.
Interrupt causes
Interrupt number
Interrupt level
TBR default
address
Decimal Hexadecimal
Register
Offset
A/D converter (successive
approximation conversion type)
34
22
ICR18
374
H
0FFF74
H
Reload timer 0
35
23
ICR19
370
H
0FFF70
H
Reload timer 1
36
24
ICR20
36C
H
0FFF6C
H
Reload timer 2
37
25
ICR21
368
H
0FFF68
H
PWM0
38
26
ICR22
364
H
0FFF64
H
PWM1
39
27
ICR23
360
H
0FFF60
H
PWM2
40
28
ICR24
35C
H
0FFF5C
H
PWM3
41
29
ICR25
358
H
0FFF58
H
U-TIMER0
42
2A
ICR26
354
H
0FFF54
H
U-TIMER1
43
2B
ICR27
350
H
0FFF50
H
U-TIMER2
44
2C
ICR28
34C
H
0FFF4C
H
Reserved for system
45
2D
ICR29
348
H
0FFF48
H
Reserved for system
46
2E
ICR30
344
H
0FFF44
H
Reserved for system
47
2F
ICR31
340
H
0FFF40
H
Reserved for system
48
30
ICR32
33C
H
0FFF3C
H
Reserved for system
49
31
ICR33
338
H
0FFF38
H
Reserved for system
50
32
ICR34
334
H
0FFF34
H
Reserved for system
51
33
ICR35
330
H
0FFF30
H
Reserved for system
52
34
ICR36
32C
H
0FFF2C
H
Reserved for system
53
35
ICR37
328
H
0FFF28
H
Reserved for system
54
36
ICR38
324
H
0FFF24
H
Reserved for system
55
37
ICR39
320
H
0FFF20
H
Reserved for system
56
38
ICR40
31C
H
0FFF1C
H
Reserved for system
57
39
ICR41
318
H
0FFF18
H
Reserved for system
58
3A
ICR42
314
H
0FFF14
H
Reserved for system
59
3B
ICR43
310
H
0FFF10
H
Reserved for system
60
3C
ICR44
30C
H
0FFF0C
H
Reserved for system
61
3D
ICR45
308
H
0FFF08
H
Reserved for system
62
3E
ICR46
304
H
0FFF04
H
Delayed interrupt cause bit
63
3F
ICR47
300
H
0FFF00
H
Reserved for system (used in REALOS*)
64
40
2FC
H
0FFEFC
H
Reserved for system (used in REALOS*)
65
41
2F8
H
0FFEF8
H
Used in INT instructions
66 to 255
42 to FF
2F4
H
to
000
H
0FFEF4
H
to
0FFC00
H
MB91107/108
33
s
PERIPHERAL RESOURCES
1.
I/O Ports
There are 2 types of I/O port register structure; PDR (port data register) and DDR (data direction register) .
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.
(1) Register configuration
Port Data Register (PDR)
Address
bit 7
bit 0
Initial value
Access
000001
H
PDR2
XXXXXXXX
B
R/W
000005
H
PDR6
XXXXXXXX
B
R/W
000004
H
PDR7
- - - - - - - X
B
R/W
00000B
H
PDR8
- - X - - XXX
B
R/W
000009
H
PDRA
- XXXXXX -
B
R/W
000008
H
PDRB
XXXXXXXX
B
R/W
000012
H
PDRE
XXXXXXXX
B
R/W
000013
H
PDRF
XXXXXXXX
B
R/W
000014
H
PDRG
XXXXXXXX
B
R/W
000015
H
PDRH
XXXXXXX0
B
R/W
000016
H
PDRI
- - - - - - XX
B
R/W
R/W : Readable and writable
-
: Unused
X
: Indeterminate
MB91107/108
34
Data Direction Register (DDR)
Address
bit 7
bit 0
Initial value
Access
000601
H
DDR2
0
0
0
0
0
0
0
0
B
W
000605
H
DDR6
0
0
0
0
0
0
0
0
B
W
000604
H
DDR7
- - - - - - - 0
B
W
00060B
H
DDR8
- - 0 - - 0
0
0
B
W
000609
H
DDRA
- 0
0
0
0
0
0 -
B
W
000608
H
DDRB
0
0
0
0
0
0
0
0
B
W
0000D2
H
DDRE
0
0
0
0
0
0
0
0
B
W
0000D3
H
DDRF
0
0
0
0
0
0
0
0
B
W
0000D4
H
DDRG
0
0
0
0
0
0
0
0
B
W
0000D5
H
DDRH
0
0
0
0
0
0
0
1
B
W
0000D6
H
DDRI
- - - - - - 0
0
B
W
W
: Write only
-
: Unused
MB91107/108
35
(2) Block diagram
PDR
DDR
1
0
1
0
Data Bus
pin
PDR read
PDR : Port Data Register
DDR : Data Direction Register
Resource input
Resource output enable
Resource
output
MB91107/108
36
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 en-
hanced 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
(1) Register configuration
DMAC (DMAC internal registers)
RAM (DMA descriptor)
Address
bit 31
bit 0
DMAC parameter descriptor point
000200
H
DPDP
DPDP
DMAC control status register
000204
H
DACSR
DACSR
DMAC pin control register
000208
H
DATCR
DATCR
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
MB91107/108
37
(2) Block diagram
DREQ0
DREQ2
DACK0
DACK2
EOP0
EOP2
BLK DEC
INC / DEC
BLK
3
3
3
3
8
5
DPDP
DACSR
DATCR
DMACT
SADR
DADR
Edge/level
detection circuit
Sequencer
Switcher
Data buffer
Mode
Data bus
Inner resource
Transfer request
Interrupt request
MB91107/108
38
3.
UART
The UART is a serial I/O port for supporting asynchronous (start-stop system) communication or CLK synchro-
nous communication, and it has the following features.
The MB91107 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.
(1) Register configuration
Serial control register
Address
bit 15
bit 8 bit 7
bit 0
Initial value
Access
SCR0 :
SCR1 :
SCR2 :
00001E
H
000022
H
000026
H
SCR0 to SCR2
(SMR)
0
0
0
0
010
0
B
R/W
Serial mode register
Address
bit 15
bit 8 bit 7
bit 0
Initial value
Access
SMR0 :
SMR1 :
SMR2 :
00001F
H
000023
H
000027
H
(SCR)
SMR0 to SMR2
0
0 - - 0 - 0
0
B
R/W
Serial status register
Address
bit 15
bit 8 bit 7
bit 0
Initial value
Access
SSR0 :
SSR1 :
SSR2 :
00001C
H
000020
H
000024
H
SSR0 to SSR2
(SIDR/SODR)
0
0
0
01 - 0
0
B
R/W
Serial input data register
Address
bit 15
bit 8 bit 7
bit 0
Initial value
Access
SIDR0 :
SIDR1 :
SIDR2 :
00001D
H
000021
H
000025
H
(SSR)
(SIDR/SODR)
XXXXXXXX
B
R
Serial output data register
Address
bit 15
bit 8 bit 7
bit 0
Initial value
Access
SIDR0 :
SIDR1 :
SIDR2 :
00001D
H
000021
H
000025
H
(SSR)
(SIDR/SODR)
XXXXXXXX
B
R
R/W : Readable and writable
-
: Unused
R
: Read only
X
: Indeterminate
W
: Write only
MB91107/108
39
(2) Block diagram
SI
MD1
MD0
CS0
SCKE
SOE
PEN
P
SBL
CL
A/D
REC
RXE
TXE
PE
ORE
FRE
RDRF
TDRE
RIE
TIE
SC
R - BUS
SIDR
SODR
Control signal
From U-TIMER
From external clock
(Receive data)
Clock
select
circuit
Receive status
judge circuit
Receive error
generate sig-
nal for DMA
( to DMAC)
Receive control
circuit
Start bit detect
circuit
Receive bit
counter
Receive parity
counter
Receive shifter
Receive
complete
Receive interrupt
( to CPU)
SC (clock)
Transmit interrupt
( to CPU)
Transmit start
circuit
Transmit bit
counter
Transmit parity
counter
Transmit shifter
Transmit
start
SO
(Transmit data)
SMR
Register
Control signals
SCR
Regis
t
er
SSR
Register
Receive clock
Transmit control
circuit
Transmit clock
MB91107/108
40
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 MB91107 has 3 channel U-TIMER embedded on the chip. An interval of up to 2
16
can be counted.
(1) Register configuration
U-TIMER register ch 0 to ch 2
Address
bit 15
bit 0
Initial value
Access
UTIM0 :
UTIM1 :
UTIM2 :
000078
H
00007C
H
000080
H
UTIM0 to UTIM2
0
0
0
0
0
0
0
0
B
0
0
0
0
0
0
0
0
B
R
U-TIMER reload register ch 0 to ch 2
Address
bit 15
bit 0
Initial value
Access
UTIM0 :
UTIM1 :
UTIM2 :
000078
H
00007C
H
000080
H
UTIM0 to UTIM2
0
0
0
0
0
0
0
0
B
0
0
0
0
0
0
0
0
B
W
U-TIMER control register ch 0 to ch 2
Address
bit 15
bit 0
Initial value
Access
UTIM0 :
UTIM1 :
UTIM2 :
00007B
H
00007F
H
000083
H
(Vacancy)
UTIMC0 to UTIMC2
0 - - 0
0
0
0
1
B
R/W
R/W : Readable and writable
R
: Read only
W
: Write only
-
: Unused
MB91107/108
41
(2) Block diagram
15
0
15
0
f.f.
clock
UTIMR (reload register)
UTIM (timer)
load
underflow
control
to UART
(Peripheral clock)
MB91107/108
42
5.
PWM Timer
The PWM timer can output high accurate PWM waves efficiently.
MB91101 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
Cycle setting register: Reload data register with a buffer
Duty factor setting register: Compare register with a buffer
Transfer from the buffers uses the counter borrow method.
Pin control outline
Set to '1' at a duty factor match. (Preferential)
Set to '0' at a counter borrow.
The output value fixed mode is available, which makes all 'L' (or 'H') output easy.
The polarity can also be specified.
Interrupt requests can be generated by selected a combination of events:
This timer is activated.
A counter borrow is generated (cycle match).
A duty factor match is generated.
A counter borrow is generated (cycle match) or a duty factor match is generated.
DMA transfer can be invoked by the above interrupt request.
Simultaneous activation of multiple channels of the PWM timer can be set by software or by using another
interval timer. Restarting the PWM timer during operation can also be set.
MB91107/108
43
(1) Register configuration
Address
bit 15
bit 0
Initial value
Access
0000DC
H
GCN1
0
0
1
1
0
0
1
0
B
0
0
0
1
0
0
0
0
B
R/W
General control register 1
0000DF
H
GCN2
0
0
0
0
0
0
0
0
B
R/W
General control register 2
0000E0
H
PTMR
1
1
1
1
1
1
1
1
B
1
1
1
1
1
1
1
1
B
R
ch0 timer register
0000E2
H
PCSR
XXXXXXXX
B
XXXXXXXX
B
W
ch0 cycle setting register
0000E4
H
PDUT
XXXXXXXX
B
XXXXXXXX
B
W
ch0 duty setting register
0000E6
H
PCNH
PCNL
0
0
0
0
0
0
0
-
B
0
0
0
0
0
0
0
0
B
R/W
ch0 control status register
0000E8
H
PTMR
1
1
1
1
1
1
1
1
B
1
1
1
1
1
1
1
1
B
R
ch1 timer register
0000EA
H
PCSR
XXXXXXXX
B
XXXXXXXX
B
W
ch1 cycle setting register
0000EC
H
PDUT
XXXXXXXX
B
XXXXXXXX
B
W
ch1 duty setting register
0000EE
H
PCNH
PCNL
0
0
0
0
0
0
0
-
B
0
0
0
0
0
0
0
0
B
R/W
ch1 control status register
0000F0
H
PTMR
1
1
1
1
1
1
1
1
B
1
1
1
1
1
1
1
1
B
R
ch2 timer register
0000F2
H
PCSR
XXXXXXXX
B
XXXXXXXX
B
W
ch2 cycle setting register
0000F4
H
PDUT
XXXXXXXX
B
XXXXXXXX
B
W
ch2 duty setting register
0000F6
H
PCNH
PCNL
0
0
0
0
0
0
0
-
B
0
0
0
0
0
0
0
0
B
R/W
ch2 control status register
0000F8
H
PTMR
1
1
1
1
1
1
1
1
B
1
1
1
1
1
1
1
1
B
R
ch3 timer register
0000FA
H
PCSR
XXXXXXXX
B
XXXXXXXX
B
(W) ch3 cycle setting register
0000FC
H
PDUT
XXXXXXXX
B
XXXXXXXX
B
W
ch3 duty setting register
0000FE
H
PCNH
PCNL
0
0
0
0
0
0
0
-
B
0
0
0
0
0
0
0
0
B
R/W
ch3 control status register
R/W : Readable and writable
-
: Unused
R
: Read only
X
: Indeterminate
W
: Write only
MB91107/108
44
(2) Block Diagram
General construction
For one channel
4
4
PWM0
PWM1
PWM2
PWM3
16-bit reload
timer ch0
16-bit reload
timer ch1
General con-
trol register 2
External TRG0 to TRG3
General control
register 1
(cause
selection)
TRG input
PWM timer ch0
TRG input
PWM timer ch1
TRG input
PWM timer ch2
TRG input
PWM timer ch3
1/1
ck
cmp
S
R
Q
IRQ
1/4
1/16
1/64
PCSR
PDUT
Prescaler
Peripheral clock
16-bit down counter
Load
Start
Borrow
PPG
mask
PWM output
Reverse
bit
Edge
detect
Enable
Soft trigger
TRG input
Interrupt
selection
MB91107/108
45
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 MB91107 consists of 3 channels of the 16-bit reload timer.
(1) Register configuration
Control status register
Address
bit 15
bit 0
Initial value
Access
TMCSR0 :
TMCSR1 :
TMCSR2 :
00002E
H
000036
H
000042
H
TMCSR0 to TMCSR2
- - - - 0
0
0
0
B
0
0
0
0
0
0
0
0
B
R/W
16-bit timer register
Address
bit 15
bit 0
Initial value
Access
TMR0 :
TMR1 :
TMR2 :
00002A
H
000032
H
00003E
H
TMR0 to TMR2
XXXXXXXX
B
XXXXXXXX
B
R
16-bit reload register
Address
bit 15
bit 0
Initial value
Access
TMRLR0 :
TMRLR1 :
TMRLR2 :
000028
H
000030
H
00003C
H
TMRLR0 to TMRLR2
XXXXXXXX
B
XXXXXXXX
B
W
R/W : Readable and writable
-
: Unused
R
: Read only
X
: Indeterminate
W
: Write only
MB91107/108
46
(2) 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
R
|
B
U
S
UF
PWM (ch 0
,
ch 1)
A/D (ch 2)
16-bit reload register
Reload
16-bit down counter
Retrigger
Clock selector
Prescaler
clear
Internal clock
MB91107/108
47
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.
(1) Register configuration
(2) Block diagram
Address
bit 31
bit 0
Initial value
Access
0003F0
H
BSD0
XXXXXXXXXXXXXXXX
B
XXXXXXXXXXXXXXXX
B
W
Zero-detection data register
0003F4
H
BSD1
XXXXXXXXXXXXXXXX
B
XXXXXXXXXXXXXXXX
B
R/W
Single-detection data register
0003F8
H
BSDC
XXXXXXXXXXXXXXXX
B
XXXXXXXXXXXXXXXX
B
W
Detection data register
0003FC
H
BSRR
XXXXXXXXXXXXXXXX
B
XXXXXXXXXXXXXXXX
B
R
Search result register
R/W : Readable and writable
R
: Read only
W
: Write only
X
: Indeterminate
D-BUS
Address
decoder
Input latch
Detection
mode
Single-detection data register
Bit search circuit
Search result
MB91107/108
48
8.
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).
(1) Register configuration
A/D converter control register
Address
bit 15
bit 0
Initial value
Access
00003A
H
ADCS
0
0
0
0
0
0
0
0
B
0
0
0
0
0
0
0
0
B
R/W
A/D converter data register
Address
bit 15
bit 0
Initial value
Access
000038
H
ADCR
- -
-
- - -XX
B
XXXXXXXX
B
R
R/W : Readable and writable
R
: Read only
X
: Indeterminate
MB91107/108
49
(2) Block diagram
AV
CC
AVRH
AV
SS
MPX
AN0
AN1
AN2
AN3
ATG
ADCR
ADCS
R
|
B
U
S
Internal voltage
generator
A/D control register
Trigger start
TIM0
(Internal connection)
(Reload timer ch2)
(Peripheral clock)
Operating clock
Prescaler
Input circuit
Decoder
Data register
Successive approxi-
mation register
Comparator
Sample & hold circuit
Timer start
MB91107/108
50
9.
Interrupt Controller
The interrupt controller processes interrupt acknowledgments and arbitration between interrupts.
Hardware configuration
This module consists of the following components:
ICR register
Interrupt priority evaluation circuit
Interrupt level/interrupt number (vector) generator
HOLD request cancel request generator
Main Features
The major functions of this module are listed below:
NMI request/interrupt request detection
Priority evaluation (interrupt level and number)
Transfer of interrupt level as evaluation factor (to the CPU)
Transfer of interrupt number as evaluation factor (to the CPU)
Instruction of returning from the stop mode by NMI/interrupt generation
Generating a request to cancel the HOLD request to the bus master
MB91107/108
51
(1) Register configuration
Interrupt control
register 0 to 47
Address
bit 7
bit 0
Initial value Access
Address
bit 7
bit 0
Initial value Access
000400
H
ICR00
- - - 11111
B
R/W
000419
H
ICR25
- - - 11111
B
R/W
000401
H
ICR01
- - - 11111
B
R/W
00041A
H
ICR26
- - - 11111
B
R/W
000402
H
ICR02
- - - 11111
B
R/W
00041B
H
ICR27
- - - 11111
B
R/W
000403
H
ICR03
- - - 11111
B
R/W
00041C
H
ICR28
- - - 11111
B
R/W
000404
H
ICR04
- - - 11111
B
R/W
00041D
H
ICR29
- - - 11111
B
R/W
000405
H
ICR05
- - - 11111
B
R/W
00041E
H
ICR30
- - - 11111
B
R/W
000406
H
ICR06
- - - 11111
B
R/W
00041F
H
ICR31
- - - 11111
B
R/W
000407
H
ICR07
- - - 11111
B
R/W
000420
H
ICR32
- - - 11111
B
R/W
000408
H
ICR08
- - - 11111
B
R/W
000421
H
ICR33
- - - 11111
B
R/W
000409
H
ICR09
- - - 11111
B
R/W
000422
H
ICR34
- - - 11111
B
R/W
00040A
H
ICR10
- - - 11111
B
R/W
000423
H
ICR35
- - - 11111
B
R/W
00040B
H
ICR11
- - - 11111
B
R/W
000424
H
ICR36
- - - 11111
B
R/W
00040C
H
ICR12
- - - 11111
B
R/W
000425
H
ICR37
- - - 11111
B
R/W
00040D
H
ICR13
- - - 11111
B
R/W
000426
H
ICR38
- - - 11111
B
R/W
00040E
H
ICR14
- - - 11111
B
R/W
000427
H
ICR39
- - - 11111
B
R/W
00040F
H
ICR15
- - - 11111
B
R/W
000428
H
ICR40
- - - 11111
B
R/W
000410
H
ICR16
- - - 11111
B
R/W
000429
H
ICR41
- - - 11111
B
R/W
000411
H
ICR17
- - - 11111
B
R/W
00042A
H
ICR42
- - - 11111
B
R/W
000412
H
ICR18
- - - 11111
B
R/W
00042B
H
ICR43
- - - 11111
B
R/W
000413
H
ICR19
- - - 11111
B
R/W
00042C
H
ICR44
- - - 11111
B
R/W
000414
H
ICR20
- - - 11111
B
R/W
00042D
H
ICR45
- - - 11111
B
R/W
000415
H
ICR21
- - - 11111
B
R/W
00042E
H
ICR46
- - - 11111
B
R/W
000416
H
ICR22
- - - 11111
B
R/W
00042F
H
ICR47
- - - 11111
B
R/W
000417
H
ICR23
- - - 11111
B
R/W
000418
H
ICR24
- - - 11111
B
R/W
Request level register for canceling hold request
Address
bit 7
bit 0
Initial value Access
00000431
H
HRCL
- - - 11111
B
R/W
R/W : Readable and writable
-
: Unused
MB91107/108
52
(2) Block diagram
*1 : DLY I 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 : LEVEL 4 to LEVEL 0 are interrupt level outputs.
*5 : VCT5 to VCT0 are interrupt vector outputs.
INT0
2
OR
NMI
RI00
RI47
(DLYIRQ)
DLYI
1
4
5
6
LEVEL
4
0
4
HLDCAN
3
VCT5
0
5
R-BUS
IM
ICR00
ICR47
Priority judgment
NMI
processing
LEVEL judgment
VECTOR
judgment
LEVEL,
VECTOR
generation
HLDREQ
cancel
request
MB91107/108
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
INT7 pins.
Detecting levels can be selected from "H", "L", rising edge and falling edge (not for NMI pin).
(1) Register configuration
(2) Block diagram
Interrupt enable register
Address
bit 15
bit 8 bit 7
bit 0
Initial value
Access
000095
H
EIRR
ENIR
00000000
B
R/W
External interrupt cause register
bit 15
bit 8 bit 7
bit 0
000094
H
EIRR
ENIR
00000000
B
R/W
Request level setting register
bit 15
bit 8 bit 7
bit 0
000099
H
EIRR
ENIR
00000000
B
R/W
9
9
INT0 ~ INT7
NMI
8
8
8
R BUS
Interrupt
request
Interrupt enable register
Gate
Cause F/
Request level setting register
Interrupt cause register
Edge detection
circuit
MB91107/108
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
Delayed interrupt
control register
Address
bit 7
bit 0
Initial value Access
000430
H
DICR
- - - - - - - 0
B
R/W
R/W : Readable and writable
-
: Unused
MB91107/108
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
(1) Register configuration
Reset cause register/watchdog cycle control register
Address
bit 15
bit 10
bit 8
bit 0
Initial value
Access
000480
H
RSRR
WTCR
(STCR)
1XXXX - 0
0
B
R/W
Stand-by controled register
Address
bit 15
bit 10
bit 8
bit 0
Initial value
000481
H
(RSRR/WTCR)
STCR
0
0
0
111 - -
B
R/W
DMA controlerrequest prohibit resister
Address
bit 15
bit 8
bit 0
Initial value
000482
H
PDRR
(CTBR)
- - - - 0
0
0
0
B
R/W
Timebase timer clear resister
Address
bit 15
bit 8
bit 0
Initial value
000483
H
PDRR
(CTBR)
XXXXXXXX
B
W
Gear control resister
Address
bit 15
bit 8
bit 0
Initial value
000484
H
GCR
(WPR)
- - - - 0
0
0
0
B
R/W
Watchdog reset generation postpone resister
Address
bit 15
bit 8
bit 0
Initial value
000485
H
(GCR)
WPR
XXXXXXXX
B
W
PLL control resister
Address
bit 15
bit 8
bit 0
Initial value
000488
H
PCTR
Vacancy
0
0 - - 0 - - -
B
W
R/W : Readable and writable
W
: Write only
-
: Unused
X
: Indeterminate
MB91107/108
56
(2) Block diagram
X0
X1
PLL
1/2
R
|
B
U
S
Internal reset
CPU hold enable
DMA request
Power on cell
RST pin
GCR register
CPU gear
Status
transition
control
circuit
PDRR register
(Watchdog control section)
Timebase timer
CPU clock
Internal bus clock
External bus clock
Internal bus
peripheral clock
STOP state
SLEEP state
CPU hold request
HST pin
Gear control
block
Peripheral
gear
Peripheral DMA clock
PCTR register
STCR register
Count clock
Watchdog F/F
(Reset cause circuit)
(DNA prohibit
circuit)
RSRR register
WPR register
CTBR register
Internal interrupt
Oscil-
lator
Selection
circuit
(Stop/sleep control section)
Reset
generation
F/F
Internal
clock
generator
circuit
Internal reset
MB91107/108
57
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.
Areas 6 and 7 allow the inclusive areas to be set.
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 doubler: Internal bus 50 MHz, external bus 25 MHz
(1) Register configuration
(Continued)
Area selection
resister
1 to 5
Address
bit 15
bit 0
Initial value
Access
00060C
H
ASR1
0
0
0
0
0
0
0
0
B
0
0
0
0
0
0
0
1
B
W
000610
H
ASR2
0
0
0
0
0
0
0
0
B
0
0
0
0
0
0
1
0
B
W
000614
H
ASR3
0
0
0
0
0
0
0
0
B
0
0
0
0
0
0
1
1
B
W
000618
H
ASR4
0
0
0
0
0
0
0
0
B
0
0
0
0
0
1
0
0
B
W
00061C
H
ASR5
0
0
0
0
0
0
0
0
B
0
0
0
0
0
1
0
1
B
W
Area mask
resister
1 to 5
Address
bit 15
bit 0
Initial value
00060E
H
AMR1
0
0
0
0
0
0
0
0
B
0
0
0
0
0
0
0
0
B
W
000612
H
AMR2
0
0
0
0
0
0
0
0
B
0
0
0
0
0
0
0
0
B
W
000616
H
AMR3
0
0
0
0
0
0
0
0
B
0
0
0
0
0
0
0
0
B
W
00061A
H
AMR4
0
0
0
0
0
0
0
0
B
0
0
0
0
0
0
0
0
B
W
00061E
H
AMR5
0
0
0
0
0
0
0
0
B
0
0
0
0
0
0
0
0
B
W
MB91107/108
58
(Continued)
Area mode
resister
0, 1, 32, 4, 5
Address
bit 15
bit 8 bit 7
bit 0
Initial value
Access
AMD0
AMD1
: 000620
H
: 000621
H
AMD0
AMD1
- - - 0
0
1
1
1
B
0
- -
0
0
0
0
0
B
R/W
AMD32
AMD4
: 000622
H
: 000023
H
AMD32
AMD4
0
0
0
0
0
0
0
0
B
0 - - 0
0
0
0
0
B
R/W
AMD5
: 000624
H
AMD5
(DSCR)
0 - - 0
0
0
0
0
B
R/W
DRAM signal control
resister
Address
bit 15
bit 8 bit 7
bit 0
Initial value
000625
H
AMD5
DSCR
0
0
0
0
0
0
0
0
B
W
Refresh control
resister
Address
bit 15
bit 0
Initial value
000626
H
RFCR
- - XXXXXX
B
R/W
0
0
- - - 0
0
0
B
External pin control
resister
Address
bit 15
bit 0
Initial value
000628
H
EPCR0
- - - - 1
1
0
0
B
- 1
1
1
1
1
1
1
B
W
00062A
H
EPCR1
- - - - - - - 1
B
1
1
1
1
1
1
1
1
B
W
DRAM control
resister
4, 5
Address
bit 15
bit 0
Initial value
00062C
H
DMCR4
0
0
0
0
0
0
0
0
B
0
0
0
0
0
0
0
-
B
R/W
00062E
H
DMCR5
0
0
0
0
0
0
0
0
B
0
0
0
0
0
0
0
-
B
R/W
Little endian resister
Address
bit 15
bit 8 bit 7
bit 0
Initial value
0007FE
H
LER
(MODR)
- - - - - 0
0
0
B
W
Mode
resister
Address
bit 15
bit 8 bit 7
bit 0
Initial value
0007FF
H
(MODR)
LER
XXXXXXXX
B
W
R/W : Readable and writable
W
: Write only
-
: Unused
X
: Indeterminate
MB91107/108
59
(2) Block diagram
A-OUT
MUX
inpage
CS0
CS7
RAS0, RAS1
CS0L, CS1L
CS0H, CS1H
DW0, DW1
RD
WR0, WR1
BRQ
BGRNT
CLK
RDY
32
32
ADDRESS BUS DATA BUS
write buffer
read buffer
switch
switch
EXTERNAL
DATA BUS
+
1or
+
2
address buffer
ASR
AMR
shifter
comparator
DATA BLOCK
ADDRESS BLOCK
EXTERNAL
ADDRESS BUS
DRAM control
underflow
DMCR
from TBT
refresh counter
registers & control
All blocks control
External pin control block
MB91107/108
60
s
ELECTRICAL CHARACTERISTICS
1.
Absolute Maximum Ratings
(AV
SS
=
V
SS
=
0.0 V)
*1 : V
CC
must not be less than V
SS
0.3 V.
*2 : Make sure that the voltage does not exceed V
CC
+ 0.3 V, such as when turning on the device.
*3 : Maximum output current is a peak current value measured at a corresponding pin.
*4 : Average output current is an average current for a 100 ms period at a corresponding pin.
*5 : 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.
Parameter
Symbol
Value
Unit
Remarks
Min.
Max.
Power supply voltage
V
CC
V
SS
-
0.3
V
SS
+
4.0
V
*1
Analog supply voltage
AV
CC
V
SS
-
0.3
V
SS
+
4.0
V
*2
Analog reference voltage
AVRH
V
SS
-
0.3
V
SS
+
4.0
V
*2
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
*3
"L" level average output current
I
OLAV
8
mA
*4
"L" level total maximum output current
I
OL
100
mA
"L" level total average output current
I
OLAV
50
mA
*5
"H" level maximum output current
I
OH
-
10
mA
*3
"H" level average output current
I
OHAV
-
4
mA
*4
"H" level total maximum output
current
I
OH
-
50
mA
"H" level total average output current
I
OHAV
-
20
mA
*5
Power consumption
P
D
500
mW
Operating temperature
T
A
0
+
70
C
Storage temperature
Tstg
-
55
+
150
C
MB91107/108
61
2.
Recommended Operating Conditions
(AV
SS
=
V
SS
=
0.0 V)
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.
Parameter
Symbol
Value
Unit
Remarks
Min.
Max.
Power supply voltage
V
CC
3.0
3.6
V
Normal operation
V
CC
3.0
3.6
Retaining the RAM state in
stop mode
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
MB91107/108
62
3.
DC Characteristics
(V
CC
=
3.0 V to 3.6 V, AV
SS
=
V
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
*
1
: Hysteresis input pin : NMI, RST, P40
to
P47, P50
to
P57, P60
to
P67, P70, P81, P85, PA1
to
PA6, PB0
to
PB7,
PE0
to
PE7, PF0
to
PF7, PG0
to
PG7, PH0
to
PH7, PI0, PI1
*2 : The MB91V107 (development model) has larger supply current than the production models because it contains
an development tool interface circuit.
Parameter
Symbol
Pin name
Condition
Value
Unit
Remarks
Min.
Typ.
Max.
"H" level input
voltage
V
IH
Input pin ex-
cept for hys-
teresis input
0.7
V
CC
V
CC
+
0.3
V
"L" level input
voltage
V
IHS
*1
0.8
V
CC
V
CC
+
0.3
V
Hysteresis
input
V
IL
Input pin ex-
cept for hys-
teresis input
V
SS
-
0.3
0.25
V
CC
V
V
ILS
*1
V
SS
-
0.3
0.2
V
CC
V
Hysteresis
input
"H" level output
voltage
V
OH
All output pins
V
CC
=
3.0 V
I
OH
=
-
4.0 mA
V
CC
-
0.5
V
"L" level output
voltage
V
OL
All output pins
V
CC
=
3.0 V
I
OL
=
8.0 mA
0.4
V
Input leak
current (Hi-Z Out-
put leak current)
I
LI
All output pins
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
12
25
100
k
Pull-down
resistance
R
DOWN
BRQ
V
CC
=
3.6 V
V
I
=
3.3 V
12
25
100
k
Power supply
current
*
2
I
CC
V
CC
F
C
=
12.5 MHz
V
CC
=
3.3 V
80
150
mA
(Four
multiplication
)
Operation
at 50 MHz
I
CCS
F
C
=
12.5 MHz
V
CC
=
3.3 V
40
120
mA
Sleep
mode
I
CCH
T
A
=
+
25
C
V
CC
=
3.3 V
5
A
Stop mode
Input
capacitance
C
IN
Except for V
CC
,
AV
CC
, AV
SS
,
V
SS
10
pF
MB91107/108
63
4.
AC Characteristics
Measurement Conditions
The following conditions applies to measurement items unless otherwise specified.
V
OH
V
OL
V
IH
V
IL
V
CC
0 V
Input
Output
V
CC
= 3.0 V to 3.6 V
Note: The rise/fall time of input 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
AC characteristics measurement conditions
C
=
50 pF
Output pin
Load conditions
MB91107/108
64
(1) Clock Timings
(V
CC
=
3.0 V to 3.6 V, AV
SS
=
V
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
*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.
Parameter
Sym-
bol
Pin
name
Condition
Value
Unit
Remarks
Min.
Max.
Clock frequency (1)
F
C
X0
X1
12.5
12.5
MHz
Self-oscillation 12.5 MHz
Internal operation at 50 MHz
(Using PLL, 4 multiplication)
Clock cycle time
t
C
X0
X1
80
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
12.5 to
25 MHz
20
ns
Input to X0, X1
P
WH
X0
Less than
12.5 MH
25
ns
Input to X0 only
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
CPP
0.625
2
25
MHz Peripheral system
Internal operating clock
cycle time
t
CP
20
1600*
2
ns
CPU system
t
CPP
40
1600*
2
ns
Peripheral system
f =
100 (
%
)
f
0
f
0
+
-
+
-
Center frequency
MB91107/108
65
0
50
25
(MHz)
50
12.5
0
0
25
f
C
(MHz)
0.625
3.6
3.0
(V)
f
CP
/ f
CPP
(MHz)
5
f
CP
f
CP
/ f
CPP
V
CC
25
10
f
CPP
CPU
0.8 V
CC
0.2 V
CC
t
CF
t
CR
t
C
P
WH
P
WL
Clock timing rating measurement conditions
Operation warranty range
External / internal clock setting range
Power supply
Internal clock
Normal operation warranty range (T
A
= 0
C to +70
C).
Net masked area are f
CPP
.
Max. internal clock frequency setting
LL system
(12.5 MHz / 4 multiplication)
Peripheral
divide-by-2 system
External clock
Self-oscillation
Note:
When using PLL, the external clock must be used need 12.5 MHz.
PLL oscillation stabilizing period
>
100
s
The setting of internal clock must be within above ranges.
General oscillation input clock
MB91107/108
66
(2) Clock Output Timing
(V
CC
=
3.0 V to 3.6 V, AV
SS
=
V
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
*1 : t
CYC
is a frequency for 1 clock cycle including a gear cycle.
*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 doubler.
*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 doubler.
Parameter
Symbol
Pin
name
Condi-
tion
Value
Unit
Remarks
Min.
Max.
Cycle time
t
CYC
CLK
t
CP
ns
*1
2
t
CP
Using the doubler
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
MB91107/108
67
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
Source oscillation input
(When using the dou-
blure)
PLL system
(CHC bit of GCR set
to "0")
(a) Gear
1 CLK pin
CCK1/0 : "00"
Source oscillation input
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"
MB91107/108
68
(3) Reset Input Ratings
(V
CC
=
3.0 V to 3.6 V, AV
SS
=
V
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
MB91107/108
69
(4) Power-on Reset
(V
CC
=
3.0 V to 3.6 V, AV
SS
=
V
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
18
ms
V
CC
< 0.2 V
before the power
supply rising
Power supply shut
off time
t
OFF
V
CC
1
ms
Repeated opera-
tions
Oscillation stabilizing
time
t
OSC
2
t
C
2
20
+
100
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
Notes
1) Sudden change in supply voltage during operation may initiate a power-on sequence. To change supply volt-
age during operation, it is recommended to smoothly raise the voltage to avoid rapid fluctuations in the supply
voltage.
A voltage rising rate of 50 mV/
ms or less is recommended.
(Oscillation stabilizing
2) Set RST pin to "L" level when turning on the device, at least the t
RSTL
duration after the supply voltage reaches
V
CC
is necessary before turning the RST to "H" level.
Not less than 3 V
3) If the supply voltage goes below the lower limit of the guaranteed operating voltage range, be sure to restart
the power supply from the V
SS
level. This is because an internal power-on reset must be generated to restart
operation without allowing the internal circuit to run out of control.
The guaranteed operating voltage range of MB91107 is from 3.0 to 3.6 V.
MB91107/108
70
(5) Normal Bus Access Read/write Operation
(V
CC
=
3.0 V to 3.6 V, AV
SS
=
V
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
*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
25
Parameter
Sym-
bol
Pin name
Condi-
tion
Value
Unit
Remarks
Min.
Max.
CS0 to CS7 delay time
t
CHCSL
CLK
CS0 to CS7
15
ns
CS0 to CS7 delay time
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
15
ns
RD delay time
t
CLRH
15
ns
WR0, WR1 delay time
t
CLWL
CLK
WR0 to WR1
15
ns
WR0, WR1 delay time
t
CLWH
15
ns
Valid address
valid data
input time
t
AVDV
A24 to A00
D31 to D16
3
/
2
t
CYC
-
25
ns
*1
*2
RD
valid data input time
t
RLDV
RD
D31 to D16
t
CYC
-
10
ns
*1
Data set up
RD
time
t
DSRH
10
ns
RD
data hold time
t
RHDX
0
ns
MB91107/108
71
2.4 V
CLK
0.8 V
2.4 V
0.8 V
BA2
2.4 V
0.8 V
2.4 V
0.8 V
t
CLRL
0.8 V
t
CLWL
0.8 V
t
CHDV
0.8 V
2.4 V
0.8 V
2.4 V
t
CLRH
2.4 V
2.4 V
0.8 V
2.4 V
0.8 V
t
DSRH
t
RHDX
t
CLWH
2.4 V
2.4 V
0.8 V
t
CHCSH
2.4 V
CS0
CS7
A24
A00
RD
D31
D16
WR0
WR1
D31
D16
BA1
t
CYC
t
CHCSL
t
RLDV
t
AVDV
t
CHAV
Read
Write
MB91107/108
72
(6) Ready Input Timing
(V
CC
=
3.0 V to 3.6 V, AV
SS
=
V
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
15
ns
CLK
RDY hold time
t
RDYH
CLK
RDY
0
ns
CLK
2.4 V
2.4 V
0.8 V
0.8 V
0.8 V
2.4 V
2.4 V
0.8 V
t
RDYH
t
RDYH
RDY
RDY
t
CYC
t
RDYS
t
RDYS
(When wait
is inserted.)
(When no wait
is inserted.)
MB91107/108
73
(7) Hold Timing
(V
CC
=
3.0 V to 3.6 V, AV
SS
=
V
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Note : There is a delay time of more than 1 cycle from BRQ input to BGRNT change.
Parameter
Symbol
Pin name
Condi-
tion
Value
Unit
Remarks
Min.
Max.
BGRNT delay time
t
CHBGL
CLK
BGRNT
6
ns
BGRNT delay time
t
CHBGH
6
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
CLK
2.4 V
t
CHBGL
0.8 V
2.4 V
2.4 V
2.4 V
2.4 V
t
CHBGH
BRQ
BGRNT
t
CYC
t
HAHV
t
XHAL
Each pin
High impedance
MB91107/108
74
(8) Normal DRAM Mode Read/Write Cycle
(V
CC
=
3.0 V to 3.6 V, AV
SS
=
V
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
*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
16
Parameter
Symbol
Pin name
Condi-
tion
Value
Unit Remarks
Min.
Max.
RAS delay time
t
CLRAH
CLK
RAS
15
ns
RAS delay time
t
CHRAL
15
ns
CAS delay time
t
CLCASL
CLK
CAS
15
ns
CAS delay time
t
CLCASH
15
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
DW delay time
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
-
16
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
MB91107/108
75
0.8 V
2.4 V
0.8 V
2.4 V
D31 to D16
0.8 V
2.4 V
0.8 V
2.4 V
0.8 V
2.4 V
2.4 V
CLK
0.8 V
Q2
Q1
Q3
Q4
Q5
2.4 V
2.4 V
0.8 V
0.8 V
0.8 V
2.4 V
t
CHRAL
0.8 V
t
CLCASL
2.4 V
t
CHRAV
0.8 V
2.4 V
0.8 V
2.4 V
t
CADH
0.8 V
2.4 V
t
CHDWL
t
CHDWH
t
CHDV1
D31 to D16
RAS
CAS
A24 to A00
DW
t
CYC
t
CLRAH
t
CHCAV
t
CLCASH
t
RLDV
t
CLDV
0.8 V
2.4 V
ROW address
COLUMN address
Read
Write
MB91107/108
76
(9) Normal DRAM Mode Fast Page Read/Write Cycle
(V
CC
=
3.0 V to 3.6 V, AV
SS
=
V
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
* : When Q4 cycle is extended for 1 cycle, add t
CYC
time to this rating.
Parameter
Symbol
Pin name
Condi-
tion
Value
Unit
Remarks
Min.
Max.
RAS delay time
t
CLRAH
CLK, RAS
15
ns
CAS delay time
t
CLCASL
CLK
CAS
15
ns
CAS delay time
t
CLCASH
15
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
MB91107/108
77
0.8 V
2.4 V
0.8 V
2.4 V
t
CLCASH
0.8 V
2.4 V
2.4 V
0.8 V
2.4 V
0.8 V
2.4 V
t
CHDWH
t
CHDV1
0.8 V
2.4 V
D31 to D16
CLK
D31 to D16
RAS
CAS
A24 to A00
DW
Q4
Q5
2.4 V
0.8 V
Q5
0.8 V
Q4
Q5
2.4 V
0.8 V
t
CLRAH
2.4 V
2.4 V
0.8 V
t
CLCASL
0.8 V
2.4 V
t
CADH
t
CHCAV
t
CLDV
COLUMN address
COLUMN address
COLUMN address
Read
Read
Read
Write
Write
MB91107/108
78
(10) Single DRAM Timing
(V
CC
=
3.0 V to 3.6 V, AV
SS
=
V
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin name
Condi-
tion
Value
Unit Remarks
Min.
Max.
RAS delay time
t
CLRAH2
CLK
RAS
15
ns
RAS delay time
t
CHRAL2
15
ns
CAS delay time
t
CHCASL2
CLK
CAS
n
/
2
t
CYC
+
t
CHCASH2
ns
CAS delay time
t
CHCASH2
15
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
DW delay time
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
MB91107/108
79
COLUMN-2
t
CHCASH2
t
CHRAL2
t
CHDWH2
t
CHDWL2
t
CHDV2
t
CHDV2
D31 to D16
CLK
D31 to D16
RAS
CAS
A24 to A00
DW
Q2
Q3
2.4 V
2.4 V
2.4 V
2.4 V
2.4 V
2.4 V
2.4 V
0.8 V
0.8 V
0.8 V
2.4 V
0.8 V
2.4 V
0.8 V
2.4 V
0.8 V
2.4 V
0.8 V
2.4 V
0.8 V
2.4 V
0.8 V
Q1
Q4S
Q4S
Q4S
t
CADH2
t
CLDV2
t
CHRAV2
t
CHCAV2
t
CHCASL2
t
CYC
2.4 V
2.4 V
t
CLRAH2
2.4 V
2.4 V
0.8 V
0.8 V
0.8 V
2.4 V
0.8 V
2.4 V
0.8 V
COLUMN-0
COLUMN-1
2
1
(Read)
(Read)
(Write)
ROW address
Read
-0
Read
-1
Read
-2
Write-0
Write-1
Write-2
*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 speed page mode.
MB91107/108
80
(11) Hyper DRAM Timing
(V
CC
=
3.0 V to 3.6 V, AV
SS
=
V
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin name
Condi-
tion
Value
Unit Remarks
Min.
Max.
RAS delay time
t
CLRAH3
CLK
RAS
15
ns
RAS delay time
t
CHRAL3
15
ns
CAS delay time
t
CHCASL3
CLK
CAS
n
/
2
t
CYC
+
t
CHCASH3
ns
CAS delay time
t
CHCASH3
15
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
RD delay time
t
CHRH3
15
ns
RD delay time
t
CLRL3
15
ns
DW delay time
t
CHDWL3
CLK
DW
15
ns
DW delay time
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
-
17
ns
CAS
data hold time
t
CADH3
0
ns
MB91107/108
81
t
CHCASH3
t
CHRAL3
t
CHDWH3
t
CHDWL3
t
CHDV3
t
CHDV3
D31 to D16
CLK
D31 to D16
RAS
CAS
RD
A24 to A00
DW
Q2
Q3
2.4 V
2.4 V
2.4 V
2.4 V
2.4 V
2.4 V
2.4 V
0.8 V
0.8 V
0.8 V
0.8 V
2.4 V
0.8 V
2.4 V
0.8 V
2.4 V
0.8 V
2.4 V
0.8 V
2.4 V
0.8 V
2.4 V
0.8 V
Q1
Q4H
Q4H
Q4H
0.8 V
t
CADH3
t
CLDV3
t
CHRAV3
t
CLRL3
0.8 V
t
CHRL3
t
CHCASL3
t
CYC
2.4 V
t
CLRAH3
2.4 V
2.4 V
0.8 V
0.8 V
0.8 V
2.4 V
2.4 V
0.8 V
COLUMN-0
COLUMN-1
2
2
1
COLUMN-2
t
CHRH3
t
CHCAV3
0.8 V
2.4 V
0.8 V
0.8 V
(Read)
(Read)
(Read)
(Write)
ROW address
Read
-0
Read
-1
Write-0
Write-1
Write-2
*1 : Q4S indicates Q4HR (Read) of Single DRAM cycle or Q4HW (Write) cycle.
*2 :
indicates the timing when the bus cycle begins from the high speed page mode.
MB91107/108
82
(12) CBR Refresh
(V
CC
=
3.0 V to 3.6 V, AV
SS
=
V
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin name
Condi-
tion
Value
Unit
Remarks
Min.
Max.
RAS delay time
t
CLRAH
CLK
RAS
15
ns
RAS delay time
t
CHRAL
15
ns
CAS delay time
t
CLCASL
CLK
CAS
15
ns
CAS delay time
t
CLCASH
15
ns
t
CLCASH
CLK
RAS
CAS
0.8 V
0.8 V
R4
2.4 V
0.8 V
t
CLRAH
R3
R2
R1
0.8 V
2.4 V
2.4 V
2.4 V
0.8 V
t
CHRAL
t
CLCASL
DW
t
CYC
MB91107/108
83
(13) Self Refresh
(V
CC
=
3.0 V to 3.6 V, AV
SS
=
V
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin name
Condi-
tion
Value
Unit Remarks
Min.
Max.
RAS delay time
t
CLRAH
CLK
RAS
15
ns
RAS delay time
t
CHRAL
15
ns
CAS delay time
t
CLCASL
CLK
CAS
15
ns
CAS delay time
t
CLCASH
15
ns
CLK
RAS
CAS
0.8 V
t
CHRAL
SR1
2.4 V
t
CHCASL
t
CLRAH
2.4 V
SR2
2.4 V
SR3
0.8 V
0.8 V
SR3
0.8 V
2.4 V
2.4 V
t
CLCASH
t
CYC
MB91107/108
84
(14) UART Timing
(V
CC
=
3.0 V to 3.6 V, AV
SS
=
V
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Notes: This rating is for AC characteristics in CLK synchronous mode.
t
CYCP
: A cycle time of peripheral system clock
Parameter
Symbol Pin name
Condition
Value
Unit Remarks
Min.
Max.
Serial clock cycle time
t
SCYC
Internal shift
clock mode
8 t
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
4 t
CYCP
ns
Serial clock "L" pulse width
t
SLSH
4 t
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
MB91107/108
85
SCLK
SOUT
SIN
SCLK
SOUT
SIN
t
SCYC
t
SLOV
t
IVSH
t
SHIX
t
SLOV
t
SLSH
t
SHSL
t
IVSH
t
SHIX
2.4 V
0.8 V
2.4 V
0.8 V
2.4 V
0.8 V
0.8 V
CC
0.8 V
CC
0.2 V
CC
0.2 V
CC
0.2 V
CC
0.8 V
CC
Internal shift clock mode
External shift clock mode
MB91107/108
86
(15) Trigger System Input Timing to
(V
CC
=
3.0 V to 3.6 V, AV
SS
=
V
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Note : t
CYCP
: A cycle time of peripheral system clock
Parameter
Symbol
Pin name
Condi-
tion
Value
Unit Remarks
Min.
Max.
A/D start trigger input time
t
ATGX
ATG
5 t
CYCP
ns
PPG start trigger input time
t
PTGR
TRG0 to
TRG3
5 t
CYCP
ns
ATG
TRG0 to TRG3
t
ATGX
0.2 V
CC
MB91107/108
87
(16) DMA Controller Timing
(V
CC
=
3.0 V to 3.6 V, AV
SS
=
V
SS
=
0.0 V, T
A
=
0
C to
+
70
C)
Parameter
Symbol
Pin name
Condi-
tion
Value
Unit
Remarks
Min.
Max.
DREQ input pulse
width
t
DRWH
DREQ0 to
DREQ2
2 t
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
2.4 V
2.4 V
2.4 V
2.4 V
0.8 V
0.8 V
0.8 V
0.8 V
2.4 V
2.4 V
DACK0 to DACK2
EOP0 to EOP2
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
t
CHEH
(Normal bus)
(Normal DRAM)
MB91107/108
88
5.
A/D Converter Block Electrical Characteristics
(AV
CC
=
V
CC
=
+
3.0 V to
+
3.6 V, AV
SS
=
V
SS
=
0.0 V, AVRH
=
+
3.0 V to
+
3.6 V, T
A
=
0
C to
+
70
C)
*1: AV
CC
= V
CC
= 3.0 V to 3.6 V(for a machine clock of 25 MHz).
*2: Current value for A/D converters not in operation, CPU stop mode (V
CC
= AV
CC
= AVRH = 3.6 V)
Notes: 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 < 7 k
.
If output impedance of external circuit is too high, analog voltage sampling time may be too short for
accurate sampling.
Parameter
Symbol
Pin name
Value
Unit
Min.
Typ.
Max.
Resolution
10
10
bit
Total error
4.0
LSB
Linearity error
3.0
LSB
Differentiation linearity error
2.5
LSB
Zero transition voltage
V
OT
AN0 to AN3
-
1.5
+
0.5
+
2.5
LSB
Full-scale transition voltage
V
FST
AN0 to AN3
AVRH
-
4.5
AVRH
-
1.5
AVRH
+
0.5
LSB
Conversion time
5.6*
1
s
Analog port input current
I
AIN
AN0 to AN3
0.1
10
A
Analog input voltage
V
AIN
AN0 to AN3
AV
SS
AVRH
V
Reference voltage
AVRH
AV
SS
AV
CC
V
Power supply current
I
A
AV
CC
500
A
I
AH
5*
2
A
Reference voltage supply
current
I
R
AVRH
500
A
I
RH
5*
2
A
Conversion variance between
channels
AN0 to AN3
4
LSB
Analog input circuit model plan
R
ON1
: 5 k
R
ON2
: 620
R
ON3
: 620
R
ON4
: 480
C
0
: 2 pF
C
1
: 2 pF
R
ON1
R
ON2
R
ON3
R
ON4
C
0
C
1
Sample and hold circuit
Analog input
Comparator
Note: Listed values are for reference purposes only.
R
ONX
, C
X
are preliminary value.
MB91107/108
89
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
V
OT
N
-
1
AVRL
AVRH
N
-
2
N
N
+
1
V
NT
V
(N
+
1)T
Linearity error
Differential linearity error
Digital output
Digital output
Actual conversion characteristic
Analog input
Analog input
Linearity error of digital output N
=
V
NT
-
{1 LSB
(N
-
1)
+
V
OT
}
1 LSB
[LSB]
Differential linearity error of digital output N
=
V (
N
+
1
)
T
-
V
NT
1 LSB
-
1
1 LSB
=
V
FST
-
V
OT
1022
[V]
1 LSB (Ideal value)
=
AVRH
-
AVRL
1024
[V]
V
OT
: A voltage for causing transition of digital output from (000)
H
to (001)
H
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) to N
[LSB]
Actual conversion
characteristic
Actual conversion
characteristic
Actual conversion
character
istic
(Measured
value)
(Measured
val
ue)
(Measured
value)
(Measured
value)
(Measured
value)
Ideal val
ue
Ideal valu
e
MB91107/108
90
Total error
A difference between actual value and theoretical value. The overall error includes zero-transition error, full-
scale transition error and linearity error.
V
NT
-
{1 LSB
(N
-
1)
+
0.5 LSB}
1 LSB
3FF
3FE
3FD
004
003
002
001
AVRL
AVRH
1.5 LSB
V
NT
0.5 LSB
{1 LSB
(N
-
1)
+
0.5 LSB}
Total error
Digital output
Analog input
Total error of digital output N
=
[LSB]
V
OT
(Ideal value)
=
AVRL
+
0.5 LSB [V]
V
FST
(Ideal value)
=
AVRH
-
1.5 LSB [V]
V
NT
: A voltage for causing transition of digital output from (N
-
1) to N
Ideal value
Actual conversion
characteristic
(Measured
value)
Actual conversion
characteristic
MB91107/108
91
s
REFERENCE DATA
(1) "H" level output voltage
(2) "L" level output voltage
"H" level output voltage vs. power supply voltage
"L" level output voltage vs. power supply voltage
(3) "H" level input / "L" level input voltage
(CMOS input)
(4) "H"level input / "L" level input voltage
(Hysteresys input)
Input level vs. power supply voltage
(CMOS )
Input level vs. power supply voltage
(Hysteresys )
4.00
3.80
3.60
3.40
3.20
3.00
2.80
2.60
2.40
2.20
2.00
2.7
3.0
3.3
3.6
3.9
V
OH
(V)
V
CC
(V)
140.0
135.0
130.0
125.0
120.0
150.0
110.0
105.0
100.0
2.7
3.0
3.3
3.6
3.9
V
OL
(V)
V
CC
(V)
3.0
2.8
2.6
2.4
2.2
2.0
1.8
1.6
1.4
1.2
1.0
0.8
0.6
2.7
3.0
3.3
3.6
3.9
V
IH
V
IL
V
CC
(V)
V
IN
(V)
3.0
2.8
2.6
2.4
2.2
2.0
1.8
1.6
1.4
1.2
1.0
0.8
0.6
2.7
3.0
3.3
3.6
3.9
V
IH
V
IL
V
CC
(V)
V
IN
(V)
MB91107/108
92
(5) Power supply current
100.0
90.0
80.0
70.0
60.0
50.0
40.0
30.0
20.0
10.0
0.0
2.7
3.0
3.3
3.6
3.9
50 MHz
25 MHz
I
CC
(mA)
V
CC
(V)
Power supply current vs. voltage
60.0
50.0
40.0
30.0
20.0
10.0
0.0
2.7
3.0
3.3
3.6
3.9
50 MHz
25 MHz
I
CCS
(mA)
V
CC
(V)
Power supply current (sleep mode) vs.
power supply current
100.0
90.0
80.0
70.0
60.0
50.0
40.0
30.0
20.0
10.0
0.0
2.7
3.0
3.3
3.6
3.9
V
CC
(V)
I
CCH
(
A)
Power supply current (stop mode) vs.
power supply voltage
450
400
350
300
250
200
150
100
50
0
2.7
3.0
3.3
3.6
3.9
AV
CC
(V)
I
A
(
A)
A/D conversion block Power supply current
vs. power supply voltage (25 MHz)
300
280
260
240
220
200
180
160
2.7
3.0
3.3
3.6
3.9
AVRH (V)
I
R
(
A)
A/D conversion block reference voltage supply
current vs. voltage (25 MHz)
MB91107/108
93
(6) Pull-up / pull-down resistance
100.0
10.0
2.7
3.0
3.3
3.6
3.9
V
CC
(V)
R (
)
Pull-down resistance vs. power supply voltage
100.0
10.0
2.7
3.0
3.3
3.6
3.9
V
CC
(V)
R (
)
Pull-up resistance vs. power supply voltage
MB91107/108
94
s
INSTRUCTIONS (165 INSTRUCTIONS)
1.
How to Read Instruction Set Summary
(1) Names of instructions
Instructions marked with * are not included in CPU specifications. These are extended instruction codes
added/extended at assembly language levels.
(2) Addressing modes specified as operands are listed in symbols.
Refer to "2. Addressing mode symbols" for further information.
(3) Instruction types
(4) Hexa-decimal expressions of instructions
(5) The number of machine cycles needed for execution
a: Memory access cycle and it has possibility of delay by Ready function.
b: Memory access cycle and it has possibility of delay by Ready function.
If an object register in a LD operation is referenced by an immediately following instruction, the interlock
function is activated and number of cycles needed for execution increases.
c: If an immediately following instruction operates to an object of R15, SSP or USP in read/write mode or
if the instruction belongs to instruction format A group, the interlock function is activated and number of
cycles needed for execution increases by 1 to make the total number of 2 cycles needed.
d: If an immediately following instruction refers to MDH/MDL, the interlock function is activated and number
of cycles needed for execution increases by 1 to make the total number of 2 cycles needed.
For a, b, c and d, minimum execution cycle is 1.
(6) Change in flag sign
Flag change
C : Change
: No change
0 : Clear
1 : Set
Flag meanings
N : Negative flag
Z : Zero flag
V : Over flag
C : Carry flag
(7) Operation carried out by instruction
Mnemonic
Type
OP
CYC
NZVC
Operation
Remarks
ADD
Rj,
Ri
* ADD
#s5,
Ri
,
,
A
C
,
,
A6
A4
,
,
1
1
,
,
CCCC
CCCC
,
,
Ri + Rj
Ri
Ri + s5
Ri
,
,
(1)
(2)
(3)
(4)
(5)
(6)
(7)
MB91107/108
95
2. Addressing Mode Symbols
Ri
: Register direct (R0 to R15, AC, FP, SP)
Rj
: Register direct (R0 to R15, AC, FP, SP)
R13
: Register direct (R13, AC)
Ps
: Register direct (Program status register)
Rs
: Register direct (TBR, RP, SSP, USP, MDH, MDL)
CRi
: Register direct (CR0 to CR15)
CRj
: Register direct (CR0 to CR15)
#i8
: Unsigned 8-bit immediate (128 to 255)
Note: 128 to 1 are interpreted as 128 to 255
#i20
: Unsigned 20-bit immediate (0X80000 to 0XFFFFF)
Note: 0X7FFFF to 1 are interpreted as 0X7FFFF to 0XFFFFF
#i32
: Unsigned 32-bit immediate (0X80000000 to 0XFFFFFFFF)
Note: 0X80000000 to 1 are interpreted as 0X80000000 to 0XFFFFFFFF
#s5
: Signed 5-bit immediate (16 to 15)
#s10
: Signed 10-bit immediate (512 to 508, multiple of 4 only)
#u4
: Unsigned 4-bit immediate (0 to 15)
#u5
: Unsigned 5-bit immediate (0 to 31)
#u8
: Unsigned 8-bit immediate (0 to 255)
#u10
: Unsigned 10-bit immediate (0 to 1020, multiple of 4 only)
@dir8
: Unsigned 8-bit direct address (0 to 0XFF)
@dir9
: Unsigned 9-bit direct address (0 to 0X1FE, multiple of 2 only)
@dir10
: Unsigned 10-bit direct address (0 to 0X3FC, multiple of 4 only)
label9
: Signed 9-bit branch address (0X100 to 0XFC, multiple of 2 only)
label12
: Signed 12-bit branch address (0X800 to 0X7FC, multiple of 2 only)
label20
: Signed 20-bit branch address (0X80000 to 0X7FFFF)
label32
: Signed 32-bit branch address (0X80000000 to 0X7FFFFFFF)
@Ri
: Register indirect (R0 to R15, AC, FP, SP)
@Rj
: Register indirect (R0 to R15, AC, FP, SP)
@(R13, Rj)
: Register relative indirect (Rj: R0 to R15, AC, FP, SP)
@(R14, disp10) : Register relative indirect (disp10: 0X200 to 0X1FC, multiple of 4 only)
@(R14, disp9) : Register relative indirect (disp9: 0X100 to 0XFE, multiple of 2 only)
@(R14, disp8) : Register relative indirect (disp8: 0X80 to 0X7F)
@(R15, udisp6) : Register relative (udisp6: 0 to 60, multiple of 4 only)
@Ri+
: Register indirect with post-increment (R0 to R15, AC, FP, SP)
@R13+
: Register indirect with post-increment (R13, AC)
@SP+
: Stack pop
@SP
: Stack push
(reglist)
: Register list
MB91107/108
96
3.
Instruction Types
ADD, ADDN, CMP, LSL, LSR and ASR instructions only
MSB
Type A
Ri
LSB
Rj
OP
Type B
Type C
Type *C'
Type D
Type E
Type F
16 bits
4
4
8
OP
i8/o8
Ri
4
8
4
Ri
u4/m4
OP
4
4
8
OP
s5/u5
Ri
7
5
4
OP
u8/rel8/dir/reglist
8
8
OP
SUB-OP
Ri
8
4
4
OP
rel11
5
11
MB91107/108
97
4.
Detailed Description of Instructions
Add/subtract operation instructions (10 instructions)
Compare operation instructions (3 instructions)
Logical operation instructions (12 instructions)
Mnemonic
Type
OP
Cycle N Z V C
Operation
Remarks
ADD
Rj, Ri
* ADD
#s5, Ri
ADD
#i4, Ri
ADD2
#i4, Ri
A
C'
C
C
A6
A4
A4
A5
1
1
1
1
C C C C
C C C C
C C C C
C C C C
Ri + Rj
Ri
Ri + s5
Ri
Ri + extu (i4)
Ri
Ri + extu (i4)
Ri
MSB is interpreted as
a sign in assembly
language
Zero-extension
Sign-extension
ADDC
Rj, Ri
A
A7
1
C C C C Ri + Rj + c
Ri
Add operation with
sign
ADDN
Rj, Ri
* ADDN
#s5, Ri
ADDN
#i4, Ri
ADDN2
#i4, Ri
A
C'
C
C
A2
A0
A0
A1
1
1
1
1


Ri + Rj
Ri
Ri + s5
Ri
Ri + extu (i4)
Ri
Ri + extu (i4)
Ri
MSB is interpreted as
a sign in assembly
language
Zero-extension
Sign-extension
SUB
Rj, Ri
A
AC
1
C C C C Ri Rj
Ri
SUBC
Rj, Ri
A
AD
1
C C C C Ri Rj c
Ri
Subtract operation with
carry
SUBN
Rj, Ri
A
AE
1
Ri Rj
Ri
Mnemonic
Type
OP
Cycle N Z V C
Operation
Remarks
CMP
Rj, Ri
* CMP
#s5, Ri
CMP
#i4, Ri
CMP2
#i4, Ri
A
C'
C
C
AA
A8
A8
A9
1
1
1
1
C C C C
C C C C
C C C C
C C C C
Ri Rj
Ri s5
Ri + extu (i4)
Ri + extu (i4)
MSB is interpreted as
a sign in assembly
language
Zero-extension
Sign-extension
Mnemonic
Type
OP
Cycle N Z V C
Operation
Remarks
AND
Rj, Ri
AND
Rj, @Ri
ANDH
Rj, @Ri
ANDB
Rj, @Ri
A
A
A
A
82
84
85
86
1
1 + 2a
1 + 2a
1 + 2a
C C
C C
C C
C C
Ri & = Rj
(Ri) & = Rj
(Ri) & = Rj
(Ri) & = Rj
Word
Word
Half word
Byte
OR
Rj, Ri
OR
Rj, @Ri
ORH
Rj, @Ri
ORB
Rj, @Ri
A
A
A
A
92
94
95
96
1
1 + 2a
1 + 2a
1 + 2a
C C
C C
C C
C C
Ri | = Rj
(Ri) | = Rj
(Ri) | = Rj
(Ri) | = Rj
Word
Word
Half word
Byte
EOR
Rj, Ri
EOR
Rj, @Ri
EORH
Rj, @Ri
EORB
Rj, @Ri
A
A
A
A
9A
9C
9D
9E
1
1 + 2a
1 + 2a
1 + 2a
C C
C C
C C
C C
Ri ^ = Rj
(Ri) ^ = Rj
(Ri) ^ = Rj
(Ri) ^ = Rj
Word
Word
Half word
Byte
MB91107/108
98
Bit manipulation arithmetic instructions (8 instructions)
*1: Assembler generates BANDL if result of logical operation "u8&0x0F" leaves an active (set) bit and generates
BANDH if "u8&0xF0" leaves an active bit. Depending on the value in the "u8" format, both BANDL and BANDH
may be generated.
*2: Assembler generates BORL if result of logical operation "u8&0x0F" leaves an active (set) bit and generates
BORH if "u8&0xF0" leaves an active bit.
*3: Assembler generates BEORL if result of logical operation "u8&0x0F" leaves an active (set) bit and generates
BEORH if "u8&0xF0" leaves an active bit.
Add/subtract operation instructions (10 instructions)
*1: DIVOS, DIV1
32, DIV2, DIV3 and DIV4S are generated. A total instruction code length of 72 bytes.
*2: DIVOU and DIV1
32 are generated. A total instruction code length of 66 bytes.
Mnemonic
Type
OP
Cycle N Z V C
Operation
Remarks
BANDL
#u4, @Ri
(u4: 0 to 0F
H
)
BANDH
#u4, @Ri
(u4: 0 to 0F
H
)
* BAND
#u8, @Ri
*
1
C
C
80
81
1 + 2a
1 + 2a
(Ri) & = (F0
H
+ u4)
(Ri) & = ((u4<<4) + 0F
H
)
(Ri) & = u8
Manipulate lower 4 bits
Manipulate upper 4 bits
BORL
#u4, @Ri
(u4: 0 to 0F
H
)
BORH
#u4, @Ri
(u4: 0 to 0F
H
)
* BOR
#u8, @Ri
*
2
C
C
90
91
1 + 2a
1 + 2a
(Ri) | = u4
(Ri) | = (u4<<4)
(Ri) | = u8
Manipulate lower 4 bits
Manipulate upper 4 bits
BEORL
#u4, @Ri
(u4: 0 to 0F
H
)
BEORH
#u4, @Ri
(u4: 0 to 0F
H
)
* BEOR
#u8, @Ri
*
3
C
C
98
99
1 + 2a
1 + 2a
(Ri) ^ = u4
(Ri) ^ = (u4<<4)
(Ri) ^ = u8
Manipulate lower 4 bits
Manipulate upper 4 bits
BTSTL
#u4, @Ri
(u4: 0 to 0F
H
)
BTSTH
#u4, @Ri
(u4: 0 to 0F
H
)
C
C
88
89
2 + a
2 + a
0 C
C C
(Ri) & u4
(Ri) & (u4<<4)
Test lower 4 bits
Test upper 4 bits
Mnemonic
Type
OP
Cycle N Z V C
Operation
Remarks
MUL
Rj, Ri
MULU
Rj, Ri
MULH
Rj, Ri
MULUH
Rj, Ri
A
A
A
A
AF
AB
BF
BB
5
5
3
3
C C C
C C C
C C
C C
Rj
Ri
MDH, MDL
Rj
Ri
MDH, MDL
Rj
Ri
MDL
Rj
Ri
MDL
32-bit
32-bit = 64-bit
Unsigned
16-bit
16-bit = 32-bit
Unsigned
DIVOS
Ri
DIVOU
Ri
DIV1
Ri
DIV2
Ri
DIV3
DIV4S
* DIV
Ri
*
1
* DIVU
Ri
*
2
E
E
E
E
E
E
97 4
97 5
97 6
97 7
9F 6
9F 7
1
1
d
1
1
1


C C
C C


C C
C C
MDL/Ri
MDL,
MDL%Ri
MDH
MDL/Ri
MDL,
MDL%Ri
MDH
Step calculation
32-bit/32-bit = 32-bit
Unsigned
MB91107/108
99
Shift arithmetic instructions (9 instructions)
Immediate value data transfer instruction (immediate value set/16-bit/32-bit immediate value transfer
instruction) (3 instructions)
*1: If an immediate value is given in absolute, assembler automatically makes i8, i20 or i32 selection.
If an immediate value contains relative value or external reference, assembler selects i32.
Memory load instructions (13 instructions)
NoteThe relations between o8 field of TYPE-B and u4 field of TYPE-C in the instruction format and assembler
description from disp8 to disp10 are as follows:
disp8
o8 = disp8:Each disp is a code extension.
disp9
o8 = disp9>>1:Each disp is a code extension.
disp10
o8 = disp10>>2:Each disp is a code extension.
udisp6
u4 = udisp6>>2:udisp4 is a 0 extension.
Mnemonic
Type
OP
Cycle N Z V C
Operation
Remarks
LSL
Rj, Ri
* LSL
#u5, Ri
LSL
#u4, Ri
LSL2
#u4, Ri
A
C'
C
C
B6
B4
B4
B5
1
1
1
1
C C C
C C C
C C C
C C C
Ri<<Rj
Ri
Ri<<u5
Ri
Ri<<u4
Ri
Ri<<(u4 + 16)
Ri
Logical shift
LSR
Rj, Ri
* LSR
#u5, Ri
LSR
#u4, Ri
LSR2
#u4, Ri
A
C'
C
C
B2
B0
B0
B1
1
1
1
1
C C C
C C C
C C C
C C C
Ri>>Rj
Ri
Ri>>u5
Ri
Ri>>u4
Ri
Ri>>(u4 + 16)
Ri
Logical shift
ASR
Rj, Ri
* ASR
#u5, Ri
ASR
#u4, Ri
ASR2
#u4, Ri
A
C'
C
C
BA
B8
B8
B9
1
1
1
1
C C C
C C C
C C C
C C C
Ri>>Rj
Ri
Ri>>u5
Ri
Ri>>u4
Ri
Ri>>(u4 + 16)
Ri
Logical shift
Mnemonic
Type
OP
Cycle N Z V C
Operation
Remarks
LDI: 32
#i32, Ri
LDI: 20
#i20, Ri
LDI: 8
#i8, Ri
* LDI
# {i8 | i20 | i32}, Ri
*
1
E
C
B
9F 8
9B
C0
3
2
1

i32
Ri
i20
Ri
i8
Ri
{i8 | i20 | i32}
Ri
Upper 12 bits are zero-
extended
Upper 24 bits are zero-
extended
Mnemonic
Type
OP
Cycle N Z V C
Operation
Remarks
LD
@Rj, Ri
LD
@(R13, Rj), Ri
LD
@(R14, disp10), Ri
LD
@(R15, udisp6), Ri
LD
@R15 +, Ri
LD
@R15 +, Rs
LD
@R15 +, PS
A
A
B
C
E
E
E
04
00
20
03
07 0
07 8
07 9
b
b
b
b
b
b
1 + a + b





C C C C
(Rj)
Ri
(R13 + Rj)
Ri
(R14 + disp10)
Ri
(R15 + udisp6)
Ri
(R15)
Ri, R15 + = 4
(R15)
Rs, R15 + = 4
(R15)
PS, R15 + = 4
Rs: Special-purpose
register
LDUH
@Rj, Ri
LDUH
@(R13, Rj), Ri
LDUH
@(R14, disp9), Ri
A
A
B
05
01
40
b
b
b


(Rj)
Ri
(R13 + Rj)
Ri
(R14 + disp9)
Ri
Zero-extension
Zero-extension
Zero-extension
LDUB
@Rj, Ri
LDUB
@(R13, Rj), Ri
LDUB
@(R14, disp8), Ri
A
A
B
06
02
60
b
b
b


(Rj)
Ri
(R13 + Rj)
Ri
(R14 + disp8)
Ri
Zero-extension
Zero-extension
Zero-extension
MB91107/108
100
Memory store instructions (13 instructions)
NoteThe relations between o8 field of TYPE-B and u4 field of TYPE-C in the instruction format and assembler
description from disp8 to disp10 are as follows:
disp8
o8 = disp8:Each disp is a code extension.
disp9
o8 = disp9>>1:Each disp is a code extension.
disp10
o8 = disp10>>2:Each disp is a code extension.
udisp6
u4 = udisp6>>2:udisp4 is a 0 extension.
Transfer instructions between registers/special-purpose registers transfer instructions
(5 instructions)
Mnemonic
Type
OP
Cycle N Z V C
Operation
Remarks
ST
Ri, @Rj
ST
Ri, @(R13, Rj)
ST
Ri, @(R14, disp10)
ST
Ri, @(R15, udisp6)
ST
Ri, @R15
ST
Rs, @R15
ST
PS, @R15
A
A
B
C
E
E
E
14
10
30
13
17 0
17 8
17 9
a
a
a
a
a
a
a





Ri
(Rj)
Ri
(R13 + Rj)
Ri
(R14 + disp10)
Ri
(R15 + usidp6)
R15 = 4, Ri
(R15)
R15 = 4, Rs
(R15)
R15 = 4, PS
(R15)
Word
Word
Word
Rs: Special-purpose
register
STH
Ri, @Rj
STH
Ri, @(R13, Rj)
STH
Ri, @(R14, disp9)
A
A
B
15
11
50
a
a
a


Ri
(Rj)
Ri
(R13 + Rj)
Ri
(R14 + disp9)
Half word
Half word
Half word
STB
Ri, @Rj
STB
Ri, @(R13, Rj)
STB
Ri, @(R14, disp8)
A
A
B
16
12
70
a
a
a


Ri
(Rj)
Ri
(R13 + Rj)
Ri
(R14 + disp8)
Byte
Byte
Byte
Mnemonic
Type
OP
Cycle N Z V C
Operation
Remarks
MOV
Rj, Ri
MOV
Rs, Ri
MOV
Ri, Rs
MOV
PS, Ri
MOV
Ri, PS
A
A
A
E
E
8B
B7
B3
17 1
07 1
1
1
1
1
c
C C C C
Rj
Ri
Rs
Ri
Ri
Rs
PS
Ri
Ri
PS
Transfer between
general-purpose
registers
Rs: Special-purpose
register
Rs: Special-purpose
register
MB91107/108
101
Non-delay normal branch instructions (23 instructions)
Notes: "2/1" in cycle sections indicates that 2 cycles are needed for branch and 1 cycle needed for non-branch.
The relations between rel8 field of TYPE-D and rel11 field of TYPE-F in the instruction format and
assembler discription label9 and label12 are as follows.
label9
rel8 = (label9 PC 2)/2
label12
rel11 = (label12 PC 2)/2
RETI must be operated while S flag = 0.
Mnemonic
Type
OP
Cycle N Z V C
Operation
Remarks
JMP
@Ri
E
97 0
2
Ri
PC
CALL
label12
CALL
@Ri
F
E
D0
97 1
2
2
PC + 2
RP,
PC + 2 + rel11
2
PC
PC + 2
RP, Ri
PC
RET
E
97 2
2
RP
PC
Return
INT
#u8
D
1F
3+3a
SSP = 4, PS
(SSP),
SSP = 4,
PC + 2
(SSP),
0
I flag,
0
S flag,
(TBR + 3FC u8
4)
PC
INTE
E
9F 3 3 + 3a SSP = 4, PS
(SSP),
SSP = 4,
PC + 2
(SSP),
0
S flag,
(TBR + 3D8 u8
4)
PC
For emulator
RETI
E
97 3 2 + 2a C C C C (R15)
PC, R15 = 4,
(R15)
PS, R15 = 4
BNO
label9
BRA
label9
BEQ
label9
BNE
label9
BC
label9
BNC
label9
BN
label9
BP
label9
BV
label9
BNV
label9
BLT
label9
BGE
label9
BLE
label9
BGT
label9
BLS
label9
BHI
label9
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
E1
E0
E2
E3
E4
E5
E6
E7
E8
E9
EA
EB
EC
ED
EE
EF
1
2
2/1
2/1
2/1
2/1
2/1
2/1
2/1
2/1
2/1
2/1
2/1
2/1
2/1
2/1















Non-branch
PC + 2 + rel8
2
PC
PCif Z = = 1
PCif Z = = 0
PCif C = = 1
PCif C = = 0
PCif N = = 1
PCif N = = 0
PCif V = = 1
PCif V = = 0
PCif V xor N = = 1
PCif V xor N = = 0
PCif (V xor N) or Z = = 1
PCif (V xor N) or Z = = 0
PCif C or Z = = 1
PCif C or Z = = 0
MB91107/108
102
Branch instructions with delays (20 instructions)
Notes: The relations between rel8 field of TYPE-D and rel11 field of TYPE-F in the instruction format and
assembler discription label9 and label12 are as follows.
label9
rel8 = (label9 PC 2)/2
label12
rel11 = (label12 PC 2)/2
Delayed branch operation always executes next instruction (delay slot) before making a branch.
Instructions allowed to be stored in the delay slot must meet one of the following conditions. If the other
instruction is stored, this device may operate other operation than defined.
The instruction described "1" in the other cycle column than branch instruction.
The instruction described "a", "b", "c" or "d" in the cycle column.
Mnemonic
Type
OP
Cycle N Z V C
Operation
Remarks
JMP:D
@Ri
E
9F 0
1
Ri
PC
CALL:D
label12
CALL:D
@Ri
F
E
D8
9F 1
1
1
PC + 4
RP,
PC + 2 + rel11
2
PC
PC + 4
RP, Ri
PC
RET:D
E
9F 2
1
RP
PC
Return
BNO:D
label9
BRA:D
label9
BEQ:D
label9
BNE:D
label9
BC:D
label9
BNC:D
label9
BN:D
label9
BP:D
label9
BV:D
label9
BNV:D
label9
BLT:D
label9
BGE:D
label9
BLE:D
label9
BGT:D
label9
BLS:D
label9
BHI:D
label9
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
F1
F0
F2
F3
F4
F5
F6
F7
F8
F9
FA
FB
FC
FD
FE
FF
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1















Non-branch
PC + 2 + rel8
2
PC
PCif Z = = 1
PCif Z = = 0
PCif C = = 1
PCif C = = 0
PCif N = = 1
PCif N = = 0
PCif V = = 1
PCif V = = 0
PCif V xor N = = 1
PCif V xor N = = 0
PCif (V xor N) or Z = = 1
PCif (V xor N) or Z = = 0
PCif C or Z = = 1
PCif C or Z = = 0
MB91107/108
103
Direct addressing instructions
NoteThe relations between the dir field of TYPE-D in the instruction format and the assembler description from
disp8 to disp10 are as follows:
disp8
dir + disp8:Each disp is a code extension
disp9
dir = disp9>>1:Each disp is a code extension
disp10
dir = disp10>>2:Each disp is a code extension
Resource instructions (2 instructions)
Co-processor instructions (4 instructions)
Mnemonic
Type
OP
Cycle N Z V C
Operation
Remarks
DMOV
@dir10, R13
DMOV
R13, @dir10
DMOV
@dir10, @R13+
DMOV
@R13+, @dir10
DMOV
@dir10, @R15
DMOV
@R15+, @dir10
D
D
D
D
D
D
08
18
0C
1C
0B
1B
b
a
2a
2a
2a
2a





(dir10)
R13
R13
(dir10)
(dir10)
(R13), R13 + = 4
(R13)
(dir10), R13 + = 4
R15 = 4, (dir10)
(R15)
(R15)
(dir10), R15 + = 4
Word
Word
Word
Word
Word
Word
DMOVH
@dir9,
R13
DMOVH
R13, @dir9
DMOVH
@dir9,
@R13+
DMOVH
@R13+, @dir9
D
D
D
D
09
19
0D
1D
b
a
2a
2a



(dir9)
R13
R13
(dir9)
(dir9)
(R13), R13 + = 2
(R13)
(dir9), R13 + = 2
Half word
Half word
Half word
Half word
DMOVB
@dir8,
R13
DMOVB
R13, @dir8
DMOVB
@dir8,
@R13+
DMOVB
@R13+, @dir8
D
D
D
D
0A
1A
0E
1E
b
a
2a
2a



(dir8)
R13
R13
(dir8)
(dir8)
(R13), R13 + +
(R13)
(dir8), R13 + +
Byte
Byte
Byte
Byte
Mnemonic
Type
OP
Cycle N Z V C
Operation
Remarks
LDRES
@Ri+,
#u4
C
BC
a
(Ri)
u4 resource
Ri + = 4
u4: Channel number
STRES
#u4, @Ri+
C
BD
a
u4
resource
(Ri)
Ri + = 4
u4: Channel number
Mnemonic
Type
OP
Cycle N Z V C
Operation
Remarks
COPOP
#u4, #CC, CRj, CRi
COPLD
#u4, #CC, Rj,
CRi
COPST
#u4, #CC, CRj, Ri
COPSV
#u4, #CC, CRj, Ri
E
E
E
E
9F C
9F D
9F E
9F F
2 + a
1 + 2a
1 + 2a
1 + 2a



Calculation
Rj
CRi
CRj
Ri
CRj
Ri
No error traps
MB91107/108
104
Other instructions (16 instructions)
*1: In the ADDSP instruction, the reference between u8 of TYPE-D in the instruction format and assembler
description s10 is as follows.
s10
s8 = s10>>2
*2: In the ENTER instruction, the reference between i8 of TYPE-C in the instruction format and assembler
description u10 is as follows.
u10
u8 = u10>>2
*3: If either of R0 to R7 is specified in reglist, assembler generates LDM0. If either of R8 to R15 is specified,
assembler generates LDM1. Both LDM0 and LDM1 may be generated.
*4: The number of cycles needed for execution of LDM0 (reglist) and LDM1 (reglist) is given by the following
calculation; a
(n 1) + b + 1 when "n" is number of registers specified.
*5: If either of R0 to R7 is specified in reglist, assembler generates STM0. If either of R8 to R15 is specified,
assembler generates STM1. Both STM0 and STM1 may be generated.
*6: The number of cycles needed for execution of STM0 (reglist) and STM1 (reglist) is given by the following
calculation; a
n + 1 when "n" is number of registers specified.
Mnemonic
Type
OP
Cycle N Z V C
Operation
Remarks
NOP
E
9F A
1
No changes
ANDCCR #u8
ORCCR
#u8
D
D
83
93
c
c
C C C C
C C C C
CCR and u8
CCR
CCR or u8
CCR
STILM
#u8
D
87
1
i8
ILM
Set ILM immediate
value
ADDSP
#s10
*
1
D
A3
1
R15 + = s10
ADD SP instruction
EXTSB
Ri
EXTUB
Ri
EXTSH
Ri
EXTUH
Ri
E
E
E
E
97 8
97 9
97 A
97 B
1
1
1
1



Sign extension 8
32 bits
Zero extension 8
32 bits
Sign extension 16
32 bits
Zero extension 16
32 bits
LDM0
(reglist)
LDM1
(reglist)
* LDM
(reglist)
*
3
D
D
8C
8D
*
4
*
4
(R15)
reglist,
R15 increment
(R15)
reglist,
R15 increment
(R15 + +)
reglist,
Load-multi R0 to R7
Load-multi R8 to R15
Load-multi R0 to R15
STM0
(reglist)
STM1
(reglist)
* STM2
(reglist)
*
5
D
D
8E
8F
*
6
*
6
R15 decrement,
reglist
(R15)
R15 decrement,
reglist
(R15)
reglist
(R15 + +)
Store-multi R0 to R7
Store-multi R8 to R15
Store-multi R0 to R15
ENTER
#u10
*
2
D
0F
1+a
R14
(R15 4),
R15 4
R14,
R15 u10
R15
Entrance processing
of function
LEAVE
E
9F 9
b
R14 + 4
R15,
(R15 4)
R14
Exit processing of
function
XCHB
@Rj, Ri
A
8A
2a
Ri
TEMP,
(Rj)
Ri,
TEMP
(Rj)
For SEMAFO
management
Byte data
MB91107/108
105
20-bit normal branch macro instructions
*1: CALL20
(1) If label20 PC 2 is between 0x800 and +0x7fe, instruction is generated as follows;
CALL
label12
(2) If label20 PC 2 is outside of the range given in (1) or includes external reference symbol, instruction is
generated as follows;
LDI:20
#label20, Ri
CALL
@Ri
*2: BRA20
(1) If label20 PC 2 is between 0x100 and +0xfe, instruction is generated as follows;
BRA
label9
(2) If label20 PC 2 is outside of the range given in (1) or includes external reference symbol, instruction is
generated as follows;
LDI:20
#label20, Ri
JMP
@Ri
*3: Bcc20 (BEQ20 to BHI20)
(1) If label20 PC 2 is between 0x100 and +0xfe, instruction is generated as follows;
Bcc
label9
(2) If label20 PC 2 is outside of the range given in (1) or includes external reference symbol, instruction is
generated as follows;
Bxcc
false
xcc is a revolt condition of cc
LDI:20
#label20, Ri
JMP
@Ri
false:
Mnemonic
Operation
Remarks
* CALL20
label20, Ri
Next instruction address
RP, label20
PC
Ri: Temporary register
*
1
* BRA20
label20, Ri
* BEQ20
label20, Ri
* BNE20
label20, Ri
* BC20
label20, Ri
* BNC20
label20, Ri
* BN20
label20, Ri
* BP20
label20, Ri
* BV20
label20, Ri
* BNV20
label20, Ri
* BLT20
label20, Ri
* BGE20
label20, Ri
* BLE20
label20, Ri
* BGT20
label20, Ri
* BLS20
label20, Ri
* BHI20
label20, Ri
label20
PC
if (Z = = 1) then label20
PC
ifs/Z = = 0
ifs/C = = 1
ifs/C = = 0
ifs/N = = 1
ifs/N = = 0
ifs/V = = 1
ifs/V = = 0
ifs/V xor N = = 1
ifs/V xor N = = 0
ifs/(V xor N) or Z = = 1
ifs/(V xor N) or Z = = 0
ifs/C or Z = = 1
ifs/C or Z = = 0
Ri: Temporary register
*
2
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
MB91107/108
106
20-bit delayed branch macro instructions
*1: CALL20:D
(1) If label20 PC 2 is between 0x800 and +0x7fe, instruction is generated as follows;
CALL:D label12
(2) If label20 PC 2 is outside of the range given in (1) or includes external reference symbol, instruction is
generated as follows;
LDI:20
#label20, Ri
CALL:D @Ri
*2: BRA20:D
(1) If label20 PC 2 is between 0x100 and +0xfe, instruction is generated as follows;
BRA:D
label9
(2) If label20 PC 2 is outside of the range given in (1) or includes external reference symbol, instruction is
generated as follows;
LDI:20
#label20, Ri
JMP:D
@Ri
*3: Bcc20:D (BEQ20:D to BHI20:D)
(1) If label20 PC 2 is between 0x100 and +0xfe, instruction is generated as follows;
Bcc:D
label9
(2) If label20 PC 2 is outside of the range given in (1) or includes external reference symbol, instruction is
generated as follows;
Bxcc
false
xcc is a revolt condition of cc
LDI:20
#label20, Ri
JMP:D
@Ri
false:
Mnemonic
Operation
Remarks
* CALL20:D label20, Ri
Next instruction address + 2
RP, label20
PC
Ri: Temporary register
*
1
* BRA20:D label20, Ri
* BEQ20:D label20, Ri
* BNE20:D label20, Ri
* BC20:D
label20, Ri
* BNC20:D label20, Ri
* BN20:D
label20, Ri
* BP20:D
label20, Ri
* BV20:D
label20, Ri
* BNV20:D label20, Ri
* BLT20:D
label20, Ri
* BGE20:D label20, Ri
* BLE20:D
label20, Ri
* BGT20:D label20, Ri
* BLS20:D
label20, Ri
* BHI20:D
label20, Ri
label20
PC
if (Z = = 1) then label20
PC
ifs/Z = = 0
ifs/C = = 1
ifs/C = = 0
ifs/N = = 1
ifs/N = = 0
ifs/V = = 1
ifs/V = = 0
ifs/V xor N = = 1
ifs/V xor N = = 0
ifs/(V xor N) or Z = = 1
ifs/(V xor N) or Z = = 0
ifs/C or Z = = 1
ifs/C or Z = = 0
Ri: Temporary register
*
2
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
MB91107/108
107
32-bit normal macro branch instructions
*1: CALL32
(1) If label32 PC 2 is between 0x800 and +0x7fe, instruction is generated as follows;
CALL
label12
(2) If label32 PC 2 is outside of the range given in (1) or includes external reference symbol, instruction is
generated as follows;
LDI:32
#label32, Ri
CALL
@Ri
*2: BRA32
(1) If label32 PC 2 is between 0x100 and +0xfe, instruction is generated as follows;
BRA
label9
(2) If label32 PC 2 is outside of the range given in (1) or includes external reference symbol, instruction is
generated as follows;
LDI:32
#label32, Ri
JMP
@Ri
*3: Bcc32 (BEQ32 to BHI32)
(1) If label32 PC 2 is between 0x100 and +0xfe, instruction is generated as follows;
Bcc
label9
(2) If label32 PC 2 is outside of the range given in (1) or includes external reference symbol, instruction is
generated as follows;
Bxcc
false
xcc is a revolt condition of cc
LDI:32
#label32, Ri
JMP
@Ri
false:
Mnemonic
Operation
Remarks
* CALL32
label32, Ri
Next instruction address
RP, label32
PC
Ri: Temporary register
*
1
* BRA32
label32, Ri
* BEQ32
label32, Ri
* BNE32
label32, Ri
* BC32
label32, Ri
* BNC32
label32, Ri
* BN32
label32, Ri
* BP32
label32, Ri
* BV32
label32, Ri
* BNV32
label32, Ri
* BLT32
label32, Ri
* BGE32
label32, Ri
* BLE32
label32, Ri
* BGT32
label32, Ri
* BLS32
label32, Ri
* BHI32
label32, Ri
label32
PC
if (Z = = 1) then label32
PC
ifs/Z = = 0
ifs/C = = 1
ifs/C = = 0
ifs/N = = 1
ifs/N = = 0
ifs/V = = 1
ifs/V = = 0
ifs/V xor N = = 1
ifs/V xor N = = 0
ifs/(V xor N) or Z = = 1
ifs/(V xor N) or Z = = 0
ifs/C or Z = = 1
ifs/C or Z = = 0
Ri: Temporary register
*
2
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
MB91107/108
108
32-bit delayed macro branch instructions
*1: CALL32:D
(1) If label32 PC 2 is between 0x800 and +0x7fe, instruction is generated as follows;
CALL:D label12
(2) If label32 PC 2 is outside of the range given in (1) or includes external reference symbol, instruction is
generated as follows;
LDI:32
#label32, Ri
CALL:D @Ri
*2: BRA32:D
(1) If label32 PC 2 is between 0x100 and +0xfe, instruction is generated as follows;
BRA:D
label9
(2) If label32 PC 2 is outside of the range given in (1) or includes external reference symbol, instruction is
generated as follows;
LDI:32
#label32, Ri
JMP:D
@Ri
*3: Bcc32:D (BEQ32:D to BHI32:D)
(1) If label32 PC 2 is between 0x100 and +0xfe, instruction is generated as follows;
Bcc:D
label9
(2) If label32 PC 2 is outside of the range given in (1) or includes external reference symbol, instruction is
generated as follows;
Bxcc
false
xcc is a revolt condition of cc
LDI:32
#label32, Ri
JMP:D
@Ri
false:
Mnemonic
Operation
Remarks
* CALL32:D label32, Ri
Next instruction address + 2
RP, label32
PC
Ri: Temporary register
*
1
* BRA32:D label32, Ri
* BEQ32:D label32, Ri
* BNE32:D label32, Ri
* BC32:D
label32, Ri
* BNC32:D label32, Ri
* BN32:D
label32, Ri
* BP32:D
label32, Ri
* BV32:D
label32, Ri
* BNV32:D label32, Ri
* BLT32:D
label32, Ri
* BGE32:D label32, Ri
* BLE32:D
label32, Ri
* BGT32:D label32, Ri
* BLS32:D
label32, Ri
* BHI32:D
label32, Ri
label32
PC
if (Z = = 1) then label32
PC
ifs/Z = = 0
ifs/C = = 1
ifs/C = = 0
ifs/N = = 1
ifs/N = = 0
ifs/V = = 1
ifs/V = = 0
ifs/V xor N = = 1
ifs/V xor N = = 0
ifs/(V xor N) or Z = = 1
ifs/(V xor N) or Z = = 0
ifs/C or Z = = 1
ifs/C or Z = = 0
Ri: Temporary register
*
2
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
Ri: Temporary register
*
3
MB91107/108
109
s
ORDERING INFORMATION
Part number
Package
Remarks
MB91107PFV
MB91108PFV
120-pin Plastic LQFP
(FPT-120P-M21)
MB91107/108
110
s
PACKAGE DIMENSIONS
120-pin Plastic LQFP
(FPT-120P-M21)
Dimensions in mm (inches)
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)
MB91107/108
FUJITSU LIMITED
For further information please contact:
Japan
FUJITSU LIMITED
Corporate Global Business Support Division
Electronic Devices
Shinjuku Dai-Ichi Seimei Bldg. 7-1,
Nishishinjuku 2-chome, Shinjuku-ku,
Tokyo 163-0721, Japan
Tel: +81-3-5322-3347
Fax: +81-3-5322-3386
http://edevice.fujitsu.com/
North and South America
FUJITSU MICROELECTRONICS, INC.
3545 North First Street,
San Jose, CA 95134-1804, U.S.A.
Tel: +1-408-922-9000
Fax: +1-408-922-9179
Customer Response Center
Mon. - Fri.: 7 am - 5 pm (PST)
Tel: +1-800-866-8608
Fax: +1-408-922-9179
http://www.fujitsumicro.com/
Europe
FUJITSU MICROELECTRONICS EUROPE GmbH
Am Siebenstein 6-10,
D-63303 Dreieich-Buchschlag,
Germany
Tel: +49-6103-690-0
Fax: +49-6103-690-122
http://www.fujitsu-fme.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/
Korea
FUJITSU MICROELECTRONICS KOREA LTD.
1702 KOSMO TOWER, 1002 Daechi-Dong,
Kangnam-Gu,Seoul 135-280
Korea
Tel: +82-2-3484-7100
Fax: +82-2-3484-7111
F0101
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.
The contents of this document may not be reproduced or copied
without the permission of FUJITSU LIMITED.
FUJITSU semiconductor devices are intended for use in standard
applications (computers, office automation and other office
equipments, industrial, communications, and measurement
equipments, 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 inherently a certain rate 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 Control Law of Japan, the
prior authorization by Japanese government should be required for
export of those products from Japan.