The MB90480/485 series is a 16-bit general-purpose FUJITSU microcontroller designed for process control in
consumer devices and other applications requiring high-speed real-time processing.
2
The F
MC-16LX CPU core instruction set retains the AT architecture of the F2MC*1 family, with additional instructions for high-level languages, expanded addressing mode, enhanced multiply-drive instructions, and complete
bit processing. In addition, a 32-bit accumulator is provided to enable long-word processing.
DS07-13722-8E
The MB90480/485 series features embedded peripheral resources including 8/16-bit PPG, expanded I/O serial
interface, UART, 10-bit A/D converter, 16-bit I/O timer, 8/16-bit up/down-counter, PWC timer, I
external interrupt, chip select, and 16-bit reload timer.
2
*1 : F
MC is the abbreviation for FUJITSU Flexible Microcontroller.
*2 : Purchase of Fujitsu I
components in an I
by Philips.
2
C components conveys a license under the Philips I2C Patent Rights to use, these
2
C system provided that the system conforms to the I2C standard a Specification as defined
2C*2
interface, DTP/
■ FEATURES
•Clock
Minimum instruction execution time: 40.0 ns/6.25 MHz base frequency multiplied × 4 (25 MHz internal operating
• Maximum memory space: 16 Mbytes
frequency/3.3 V ± 0.3 V)
62.5 ns/4 MHz base frequency multiplied × 4 (16 MHz internal operating
frequency/3.0 V ± 0.3 V) PLL clock multiplier
(Continued)
Be sure to refer to the “Check Sheet” for the latest cautions on development.
“Check Sheet” is seen at the following support page
URL : http://www.fujitsu.com/global/services/microelectronics/product/micom/support/index.html
“Check Sheet” lists the minimal requirement items to be checked to prevent problems beforehand in system
development.
• Instruction set optimized for controller applications
Supported data types (bit, byte, word, or long word)
Typical addressing modes (23 types)
32-bit accumulator for enhanced high-precision calculation
Enhanced signed multiplication/division instruction and RETI instruction functions
• Instruction set designed for high-level programming language (C) and multi-task operations
System stack pointer adopted
Instruction set symmetry and barrel shift instructions
programmable up to 8 channels)
Continuous conversion mode (repeated conversion of selected channels)
Stop conversion mode (conversion of selected channels with repeated pause)
* : These are the pins for MB90485 series. The pins for MB90480 series are P36/A06, P37/A07, P43/
A11, P44/A12, P45/A13, P75 to P77.
Note : MB90485 series only
2
• I
C pin P77 and P76 are N-ch open drain pin (without P-ch) . However, MB90V485B uses
the N-ch open drain pin (with P-ch) .
• P20 to P27, P30 to P37, P40 to P47 and P70 to P77 are also used as 3 V/5 V I/F pin.
• As for MB90V485B, input pins (PWC0, PWC1, PWC2/EXTC/SCL and SDA pins) for PWC/
2
µPG/I
C become CMOS input.
7
MB90480/485 Series
■ PIN DESCRIPTIONS
QFP*
Pin No.
1
LQFP*
Pin name
2
I/O
circuit
3
type*
8280X0AClock (oscillator) input pin
8381X1AClock (oscillator) output pin
8078X0AAClock (32 kHz oscillator) input pin
7977X1AAClock (32 kHz oscillator) output pin
7775RST
BReset input pin
This is a general purpose I/O port. A setting in the port 0 input
P00 to P07
resistance register (RDR0) can be used to apply pull-up resistance
(RD00-RD07 = “1”) . (Disabled when pin is set for output.)
85 to 92 83 to 90
AD00 to
AD07
D00 to D07
C
(CMOS)
In multiplex mode, these pins function as the external address/data
bus low I/O pins.
In non-multiplex mode, these pins function as the external data bus
low output pins.
This is a general purpose I/O port. A setting in the port 1 input
P10 to P17
resistance register (RDR1) can be used to apply pull-up resistance
(RD10-RD17 = “1”) . (Disabled when pin is set for output.)
93 to
100
91 to 98
AD08 to
AD15
D08 to D15
C
(CMOS)
In multiplex mode, these pins function as the external address/data
bus high I/O pins.
In non-multiplex mode, these pins function as the external data bus
high output pins.
Function
1 to 4
99, 100,
1, 2
5 to 83 to 6
97
This is a general purpose I/O port. When the bits of external address
P20 to P23
output control register (HACR) are set to "1" in external bus mode,
these pins function as general purpose I/O ports.
When the bits of external address output control register (HACR) are
set to "0" in multiplex mode, these pins function as address high
output pins (A16-A19).
When the bits of external address output control register (HACR) are
A16 to A19
E
CMOS/H)
(
set to "0" in non-multiplex mode, these pins function as address high
output pins (A16-A19).
This is a general purpose I/O port. When the bits of external address
P24 to P27
output control register (HACR) are set to "1" in external bus mode,
these pins function as general purpose I/O ports.
When the bits of external address output control register (HACR) are
set to "0" in multiplex mode, these pins function as address high
output pins (A20-A23).
When the bits of external address output control register (HACR) are
A20 to A23
E
CMOS/H)
(
set to "0" in non-multiplex mode, these pins function as address high
output pins (A20-A23).
PPG0 to
PPG3
P30
A00
E
CMOS/H)
(
Output pins for PPG.
This is a general purpose I/O port.
In non-multiplex mode, this pin functions as an external address pin.
AIN08/16-bit up/down timer input pin (ch.0) .
(Continued)
8
MB90480/485 Series
Pin No.
1
QFP*
LQFP*
108
1210
1311
1412
1513
16, 1714, 15
Pin
name
2
P31
A01In non-multiplex mode, this pin functions as an external address pin.
I/O
circuit
3
type*
E
( CMOS/H)
Function
This is a general purpose I/O port.
BIN08/16-bit up/down timer input pin (ch.0) .
P32
A02In non-multiplex mode, this pin functions as an external address pin.
E
(
CMOS/H)
This is a general purpose I/O port.
ZIN08/16-bit up/down timer input pin (ch.0)
P33
A03In non-multiplex mode, this pin functions as an external address pin.
E
(
CMOS/H)
This is a general purpose I/O port.
AIN18/16-bit up/down timer input pin (ch.1) .
P34
A04In non-multiplex mode, this pin functions as an external address pin.
E
(
CMOS/H)
This is a general purpose I/O port.
BIN18/16-bit up/down timer input pin (ch.1) .
P35
A05In non-multiplex mode, this pin functions as an external address pin.
E
(
CMOS/H)
This is a general purpose I/O port.
ZIN18/16-bit up/down timer input pin (ch.1)
P36, P37
A06, A07
P36, P37
A06, A07
PWC0,
PWC1*
(
4
D
(CMOS)
E
CMOS/H)
MB90480
series
MB90485
series
This is a general purpose I/O port.
In non-multiplex mode, this pin functions as an external
address pin.
This is a general purpose I/O port.
In non-multiplex mode, this pin functions as an external
address pin.
This is a PWC input pin.
1816
1917
2018
P40
A08In non-multiplex mode, this pin functions as an external address pin.
G
CMOS/H)
(
This is a general purpose I/O port.
SIN2Extended I/O serial interface input pin.
P41
A09In non-multiplex mode, this pin functions as an external address pin.
F (CMOS)
This is a general purpose I/O port.
SOT2Extended I/O serial interface output pin.
P42
A10In non-multiplex mode, this pin functions as an external address pin.
G
(
CMOS/H)
This is a general purpose I/O port.
SCK2Extended I/O serial interface clock input/output pin.
(Continued)
9
MB90480/485 Series
Pin No.
1
QFP*
LQFP*
21, 22 19, 20
2422
25, 26 23, 24
I/O
Pin name
2
P43, P44
A11, A12
P43, P44
A11, A12
MT00,
MT01
P45
A13
P45
A13
EXTC*
P46, P47
A14, A15In non-multiplex mode, this pin functions as an external address pin.
OUT4/
OUT5
circuit
F (CMOS)
F (CMOS)
(CMOS)
CMOS/H)
(
4
(CMOS)
type*
F
G
F
3
This is a general purpose I/O port.
MB90480
series
In non-multiplex mode, this pin functions as an external
address pin.
This is a general purpose I/O port.
MB90485
series
In non-multiplex mode, this pin functions as an external
address pin.
µPG output pin.
This is a general purpose I/O port.
MB90480
series
In non-multiplex mode, this pin functions as an external
address pin.
This is a general purpose I/O port.
MB90485
series
In non-multiplex mode, this pin functions as an external
address pin.
µPG input pin.
This is a general purpose I/O port.
Output compare event output pins.
Function
7068
7169
7270
7371
P50
ALE
P51
RD
P52
WRL
P53
WRH
D
(CMOS)
D
(CMOS)
D
(CMOS)
D
(CMOS)
This is a general purpose I/O port. In external bus mode, this pin
functions as the ALE pin.
In external bus mode, this pin functions as the address load enable
(ALE) signal pin.
This is a general purpose I/O port. In external bus mode, this pin
functions as the RD
pin.
In external bus mode, this pin functions as the read strobe output (RD)
signal pin.
This is a general purpose I/O port. In external bus mode, when the WRE
bit in the EPCR register is set to “1”, this pin functions as the WRL
pin.
In external bus mode, this pin functions as the lower data write strobe
output (WRL
) pin. When the WRE bit in the EPCR register is set to “0”,
this pin functions as a general purpose I/O port.
This is a general purpose I/O port. In external bus mode with 16-bit bus
width, when the WRE bit in the EPCR register is set to “1”, this pin
functions as the WRH
pin.
In external bus mode with 16-bit bus width, this pin functions as the
upper data write strobe output (WRH
) pin. When the WRE bit in the
EPCR register is set to “0”, this pin functions as a general purpose I/O
port.
(Continued)
10
MB90480/485 Series
Pin No.
1
QFP*
7472
7573
7674
7876
38 to
41
LQFP*
36 to 39
I/O
Pin name
2
circuit
3
type*
Function
This is a general purpose I/O port. In external bus mode, when the
P54
D
(CMOS)
HRQ
HDE bit in the EPCR register is set to “1”, this pin functions as the
HRQ pin.
In external bus mode, this pin functions as the hold request input
(HRQ) pin. When the HDE bit in the EPCR register is set to “0”, this
pin functions as a general purpose I/O port.
This is a general purpose I/O port. In external bus mode, when the
P55
D
(CMOS)
HAK
HDE bit in the EPCR register is set to “1”, this pin functions as the HAK
pin.
In external bus mode, this pin functions as the hold acknowledge output (HAK
) pin. When the HDE bit in the EPCR register is set to “0”, this
pin functions as a general purpose I/O port.
This is a general purpose I/O port. In external bus mode, when the
P56
D
(CMOS)
RDY
RYE bit in the EPCR register is set to “1”, this pin functions as the RDY
pin.
In external bus mode, this pin functions as the external ready (RDY)
input pin. When the RYE bit in the EPCR register is set to “0”, this pin
functions as a general purpose I/O port.
This is a general purpose I/O port. In external bus mode, when the
P57
D
(CMOS)
CLK
CKE bit in the EPCR register is set to “1”, this pin functions as the CLK
pin.
In external bus mode, this pin functions as the machine cycle clock
(CLK) output pin. When the CKE bit in the EPCR register is set to
“0”, this pin functions as a general purpose I/O port.
P60 to P63
AN0 to AN3These are the analog input pins for A/D converter.
H
(CMOS)
These are general purpose I/O ports.
43 to
46
41 to 44
2725
2826
2927
3028
3129
P64 to P67
AN4 to AN7These are the analog input pins for A/D converter.
P70
SIN0This is the UART serial data input pin.
P71
SOT0This is the UART serial data output pin.
P72
SCK0This is the UART serial communication clock I/O pin.
P73
TIN0This is the 16-bit reload timer event input pin.
P74
TOT0This is the 16-bit reload timer output pin.
H
(CMOS)
G
(
CMOS/H)
F
(CMOS)
G
CMOS/H)
(
G
(
CMOS/H)
F
(CMOS)
These are general purpose I/O ports.
This is a general purpose I/O port.
This is a general purpose I/O port.
This is a general purpose I/O port.
This is a general purpose I/O port.
This is a general purpose I/O port.
(Continued)
11
MB90480/485 Series
Pin No.
1
QFP*
LQFP*
3230
3331
3432
47, 4845, 46
I/O
2
Pin name
P75
P75
PWC2*
P76
P76
4
SCL*
4
circuit
3
type*
F
(CMOS)
G
CMOS/H)
(
F
(CMOS)
I
(NMOS/H)
MB90480
series
MB90485
series
MB90480
series
MB90485
series
This is a general purpose I/O port.
This is a general purpose I/O port.
This is a PWC input pin.
This is a general purpose I/O port.
This is a general purpose I/O port.
Serves as the I2C interface data I/O pin. During operation of the I
impedance state.
P77
P77
SDA*
4
F
(CMOS)
I
(NMOS/H)
MB90480
series
MB90485
series
This is a general purpose I/O port.
This is a general purpose I/O port.
Serves as the I2C interface data I/O pin. During operation of the I
impedance state.
P80, P81
IRQ0, IRQ1External interrupt input pins.
E
(
CMOS/H)
These are general purpose I/O ports.
Function
2
C interface, leave the port output in a high
2
C interface, leave the port output in a high
52 to 57 50 to 55
5856
5957
6058
6159
6260
P82 to P87
IRQ2 to IRQ7External interrupt input pins.
E
CMOS/H)
(
P90
SIN1Extended I/O serial interface data input pin.
E
CMOS/H)
(
These are general purpose I/O ports.
This is a general purpose I/O port.
CS0Chip select 0.
P91
SOT1Extended I/O serial interface data output pin.
D
(CMOS)
This is a general purpose I/O port.
CS1Chip select 1.
P92
SCK1Extended I/O serial interface clock input/output pin.
E
(
CMOS/H)
This is a general purpose I/O port.
CS2Chip select 2.
P93
FRCK
ADTG
E
(
CMOS/H)
This is a general purpose I/O port.
When the free run timer is in use, this pin functions as the external
clock input pin.
When the A/D converter is in use, this pin functions as the external
trigger input pin.
CS3Chip select 3.
P94
PPG4PPG timer output pin.
D
(CMOS)
This is a general purpose I/O port.
(Continued)
12
(Continued)
Pin No.
1
QFP*
LQFP*
2
Pin name
I/O
circuit
type*
MB90480/485 Series
Function
3
6361
6462
6563
66 to 69 64 to 67
OUT0 to OUT3
3533AV
P95
PPG5PPG timer output pin.
P96
IN0Input capture ch.0 trigger input pin.
P97
IN1Input capture ch.1 trigger input pin.
PA0 to PA3
D
(CMOS)
E
(
CMOS/H)
E
(
CMOS/H)
D
(CMOS)
CC⎯A/D converter analog power supply input pin.
This is a general purpose I/O port.
This is a general purpose I/O port.
This is a general purpose I/O port.
These are general purpose I/O ports.
Output compare event output pins.
3634AVRH⎯A/D converter reference voltage input pin.
3735AV
49 to 51 47 to 49MD0 to MD2
8482V
SS⎯A/D converter GND pin.
J
CMOS/H)
(
CC3⎯3.3 V ± 0.3 V power supply pins (VCC3) .
Operating mode selection input pins.
MB90480
series
3.3 V ± 0.3 V power supply pin.
Usually, use VCC= VCC3 = VCC5 as a 3 V power supply.
3 V/5 V power supply pin.
2321V
CC5⎯
MB90485
series
5 V power supply pin when P20 to P27, P30 to P37,
P40 to P47, P70 to P77 are used as 5 V I/F pins.
Usually, use V
CC= VCC3 = VCC5 as a 3 V power supply
(when the 3 V power supply is used alone) .
11, 42, 819, 40,
79
SS⎯GND pins.
V
*1 : QFP : FPT-100P-M06
*2 : LQFP : FPT-100P-M05
*3 : For the I/O circuit type, refer to “■ I/O CIRCUIT TYPES”.
*4 : As for MB90V485B, input pins become CMOS input.
13
MB90480/485 Series
■ I/O CIRCUIT TYPES
TypeCircuitRemarks
• Feedback resistance
X1, X1A
X0, X0A
• With standby control
A
Standby
control signal
Hysteresis input with pull-up resistance
X1, X0 : approx. 1 MΩ
X1A, X0A : approx. 10 MΩ
B
Hysteresis input
• With input pull-up resistance
CTL
P-chP-ch
C
N-ch
CMOS
control
• CMOS level input/output
CMOS level input/output
P-ch
N-ch
D
CMOS
14
• Hysteresis input
P-ch
N-ch
• CMOS level output
E
CMOS
(Continued)
MB90480/485 Series
(Continued)
TypeCircuitRemarks
• CMOS level input/output
P-ch
Open drain
control signal
F
N-ch
P-ch
CMOS
Open drain
control signal
G
N-ch
Hysteresis input
• With open drain control
• CMOS level output
• Hysteresis input
• With open drain control
• CMOS level input/output
P-ch
N-ch
• Analog input
H
CMOS
Analog input
• Hysteresis input
N-ch
Digital output
• N-ch open drain output
I
(Flash memory product)
(Flash memory product)
• CMOS level input
• With high voltage control for flash
testing
Control signal
J
Mode input
Diffusion resistance
(MASK ROM product)
(MASK ROM product)
Hysteresis input
Hysteresis input
15
MB90480/485 Series
■ HANDLING DEVICES
1.Be careful never to exceed maximum rated voltages (preventing latch-up)
In CMOS IC devices, a condition known as latch-up may occur if voltages higher than VCC or lower than VSS are
applied to input or output pins other than medium-or high-voltage pins, or if the voltage applied between V
V
SS pins exceeds the rated voltage level.
When latch-up occurs, the power supply current increases rapidly causing the possibility of thermal damage to
circuit elements. Therefore it is necessary to ensure that maximum ratings are not exceeded in circuit operation.
Similarly, when turning the analog power supply on or off, it is necessary to ensure that the analog power supply
voltages (AV
2.Treatment of unused pins
Leaving unused input pins unconnected can cause abnormal operation or latch-up, leading to permanent
damage. Unused input pins should always be pulled up or down through resistance of at least 2 kΩ. Any unused
input/output pins may be set to output mode and left open, or set to input mode and treated the same as unused
input pins.
3.Treatment of Power Supply Pins (VCC/VSS)
When multiple VCC/VSS pins are present, device design considerations for prevention of latch-up and unwanted
electromagnetic interference, abnormal strobe signal operation due to ground level rise, and conformity with
total output current ratings require that all power supply pins must be externally connected to power supply or
ground.
Consideration should be given to connecting power supply sources to the V
impedance as possible. It is also recommended that a bypass capacitor of approximately 0.1 µF be placed
between the V
CC and AVRH) and analog input voltages do not exceed the digital power supply (VCC) .
CC/VSS pins of this device with as low
CC and VSS lines as close to this device as possible.
CC and
4.Crystal Oscillator Circuits
Noise around the X0/X1, or X0A/X1A pins may cause this device to operate abnormally. In the interest of stable
operation it is strongly recommended that printed circuit board artwork places ground bypass capacitors as close
as possible to the X0/X1, X0A/X1A and crystal oscillator (or ceramic oscillator) and that oscillator lines do not
cross the lines of other circuits.
5.Precautions when turning the power supply on
In order to prevent abnormal operation in the chip’s internal step-down circuits, a voltage rise time during poweron of 50 µs (0.2 V to 2.7 V) or greater should be assured.
6.Supply Voltage Stabilization
Even within the operating range of VCC supply voltage, rapid voltage fluctuations may cause abnormal operation.
As a standard for power supply voltage stability, it is recommended that the peak-to-peak V
commercial supply frequency (50 MHz to 60 MHz) be 10 % or l es s o f V
CC, and that the transient voltage fluctuation
CC ripple voltage at
be no more than 0.1 V/ms or less when the power supply is turned on or off.
7.Proper power-on/off sequence
The A/D converter power (AVCC, AVRH) and analog input (AN0 to AN7) must be turned on after the digital power
supply (V
off before the digital power supply (V
when pins used as analog input pins are doubled as input ports, be sure that the input voltage does not exceed
AV
CC) is turned on. The A/D converter power (AVCC, AVRH) and analog input (AN0 to AN7) must be shut
CC) is shut off. Care should be taken that AVRH does not exceed AVCC. Even
CC.
16
MB90480/485 Series
8.Treatment of power supply pins on models with A/D converters
Even when the A/D converters are not in use, be sure to make the necessary connections AVCC= AVRH = VCC,
and AV
9.Notes on Using Power Supply
Only the MB90485 series usually uses a 3 V power supply. By setting VCC3 = 3 V power supply and VCC5 = 5 V
power supply, P20 to P27, P30 to P37, P40 to P47 and P70 to P77 can be interfaced as 5 V power supplies
separately from the main 3 V power supply. Note that the analog power supplies (such as AV
the A/D converter can be used only as 3 V power supplies.
10. Notes on Using External Clock
Even when using an external clock signal, an oscillation stabilization delay is applied after a power-on reset or
when recovering from sub-clock or stop mode. When using an external clock, 25 MHz should be the upper
frequency limit.
The following figure shows a sample use of external clock signals.
SS= VSS.
CC and AVSS) for
X0
OPEN
X1
11. Treatment of NC pins
NC (internally connected) pins should always be left open.
12. Notes on during operation of PLL clock mode
On this microcontroller, if in case the crystal oscillator breaks off or an external reference clock input stops while
the PLL clock mode is selected, a self-oscillator circuit contained in the PLL may continue its operation at its
self-running frequency. However, Fujitsu will not guarantee results of operation if such failure occurs.
13. When the MB90480/485 series microcontroller is used as a single system
When the MB90480/485 series microcontroller is used as a single system, use connections so the X0A = VSS,
and X1A = Open.
14. Writing to Flash memory
For writing to Flash memory, always ensure that the operating voltage VCC is between 3.0 V and 3.6 V.
17
MB90480/485 Series
■ BLOCK DIAGRAM
X0, X1, RST
X0A, X1A
MD2, MD1, MD0
SIN0
SOT0
SCK0
SIN1, SIN2
SOT1, SOT 2
SCK1, SCK2
AV
CC
AVR H
AV
SS
ADTG
AN0
to
AN7
PWC0
PWC1
PWC2
Clock control
8
Circuit
RAM
ROM
µDMAC
Communication
prescaler
UART
Extended I/O serial
interface × 2 channels
A/D converter
( 10-bit )
PWC ×3 channels
F2MC16LX series core
2
CPU
Interrupt controller
8/16-bit PPG
8/16-bit
up/down
counter/timer
µPG
MC-16LX Bus
2
F
Chip select
PPG0, PPG1
PPG2, PPG3
PPG4, PPG5
AIN0, AIN1
BIN0, BIN1
ZIN0, ZIN1
EXTC
MT00
MT01
CS0, CS1,
CS2, CS3
Input/output timer
16-bit input capture ×
2 channels
16-bit output compare
×
6 channels
16-bit free-run timer
16-bit reload timer
2
I
C interface
External interrupt
IN0, IN1
OUT0, OUT1,
OUT2, OUT3,
OUT4, OUT5
TIN0
TOT0
SCL
SDA
8
IRQ0
to
IRQ7
18
I/O port
888888888
P00
P10
P20
P30
P40
P50
P60
tototototototototototo
P07
P17
P27
P37
P47
P57
P67
P70
P77
P80
P87
8
P90
P97
4
PA 0
PA 3
: Only MB90485 series
P00 to P07 (8 pins) : with an input pull-up resistance setting register.
P10 to P17 (8 pins) : with an input pull-up resistance setting register.
P40 to P47 (8 pins) : with an open drain setting register.
P70 to P77 (8 pins) : with an open drain setting register.
MB90485 series only
2
• I
C pin P77 and P76 are N-ch open drain pin (without P-ch) . However, MB90V485B uses
the N-ch open drain pin (with P-ch) .
• P20 to P27, P30 to P37, P40 to P47 and P70 to P77 are also used as 3 V/5 V I/F pin.
• As for MB90V485B, input pins (PWC0, PWC1, PWC2/EXTC/SCL and SDA pins) for PWC/
2
µPG/I
C become CMOS input.
Note : In the above diagram, I/O ports share internal function blocks and pins. However, when a
set of pins is used with an internal module, it cannot also be used as an I/O port.
004000H or 008000H,
selected by the MS bit in
the ROMM register
MB90V480 (FC0000H) 004000H
MB90V485B (FC0000H) 004000H
MB90483CFB0000H*
MB90F489BF90000H *
*1 : No memory cells from FC0000
4
2
H to FC7FFFH and FE0000H to FE7FFFH.
0080000H fixed006100H*
004000H
3
The upper part of the 00 bank is set up to mirror the image of FF bank ROM, to enable efficient use of small
model C compilers. Because the lower 16-bit address of the FF bank and the lower 16-bit address of the 00
bank are the same, enabling reference to tables in ROM without using the for specification in the pointer
declaration.
For example, in accessing address 00C000
H it is actually the contents of ROM at FFC000H that are accessed.
If the MS bit in the ROMM register is set to “0”, the ROM area in the FF bank will exceed 48 Kbytes and it is
not possible to reflect the entire area in the image in the 00 bank. Therefore the image from FF4000H to FFFFFFH
is reflected in the 00 bank and the area from FF0000
H to FF3FFFH can be seen in the FF bank only.
(Continued)
19
MB90480/485 Series
(Continued)
*2 : In MB90F489B, there is no access to F8 bank and FC bank on the single-chip mode or the internal-ROM
external-bus mode.
*3 : Because installed-RAM area is larger than MB90V485B, MB90F489B should execute emulation in an area
that is larger than 004000
*4 : In MB90483C, there is no access to F8 bank to FA bank and FC bank on the single-chip mode or the internal-
ROM external-bus mode.
H by the emulation memory area setting on the tool side.
20
• MB90F489B
MB90480/485 Series
FFFFFF
FF0000
FEFFFF
FE0000
FDFFFF
FD0000
FCFFFF
FC0000
FBFFFF
FB0000
FAFFFF
FA0000
F9FFFF
F90000
F8FFFF
F80000
F7FFFF
Single chip
H
ROM (FF bank)
H
H
ROM (FE bank)
H
H
ROM (FD bank)
H
H
H
H
ROM (FB bank)
H
H
ROM (FA bank)
H
H
ROM (F9 bank)
H
H
H
H
Internal ROM
external bus
ROM (FF bank)
ROM (FE bank)
ROM (FD bank)
ROM (FB bank)
ROM (FA bank)
ROM (F9 bank)
External ROM
external bus
010000
00FFFF
008000
007FFF
006100
0060FF
000100
0000FF
0000D0
0000CF
000000
H
H
ROM area
FF bank image
H
H
H
H
H
H
H
H
PeripheralPeripheralPeripheral
H
: Internal : External : Access inhibited
Register
ROM area
FF bank image
RAMRAM
Register
RAM
Register
21
MB90480/485 Series
• MB90483C
FFFFFF
FF0000
FEFFFF
FE0000
FDFFFF
FD0000
FCFFFF
FC0000
FBFFFF
FB0000
FAFFFF
FA0000
F9FFFF
F90000
F8FFFF
F80000
F7FFFF
Single chip
H
ROM (FF bank)
H
H
ROM (FE bank)
H
H
ROM (FD bank)
H
H
H
H
ROM (FB bank)
H
H
H
H
H
H
H
H
Internal ROM
external bus
ROM (FF bank)
ROM (FE bank)
ROM (FD bank)
ROM (FB bank)
External ROM
external bus
010000
00FFFF
004000
or
008000
004000
003FFF
000100
0000FF
0000D0
0000CF
000000
H
H
H
H
H
H
H
H
H
H
H
ROM area
FF bank image
Peripheral
ROM area
FF bank image
RAMRAM
RegisterRegister
Peripheral
RAM
Peripheral
Register
: Internal : External : Access inhibited
22
■ F2MC-16L CPU PROGRAMMING MODEL
•Dedicated registers
MB90480/485 Series
AHAL
•General purpose registers
32-bit
USP
SSP
PS
PC
16-bit
DPR
PCB
DTB
USB
SSB
ADB
8-bit
Accumulator
User stack pointer
System stack pointer
Processor status
Program counter
Direct page register
Program bank register
Data bank register
User stack bank register
System stack bank register
Additional data bank register
•Processor status
PSRPCCR
000180
H+ RP × 10H
1513
ILM
MSBLSB
128 70
16-bit
RW0
RW1
RW2
RW3
R1R0
R3R2
R5
R7R6
R4
RL0
RL1
RW4
RL2
RW5
RW6
RL3
RW7
23
MB90480/485 Series
■ I/O MAP
AddressRegister name
00
HPort 0 data registerPDR0R/WPort 0XXXXXXXXB
Abbreviated
register name
Read/
Write
Resource nameInitial value
01HPort 1 data registerPDR1R/WPort 1XXXXXXXXB
02HPort 2 data registerPDR2R/WPort 2XXXXXXXXB
03HPort 3 data registerPDR3R/WPort 3XXXXXXXXB
04HPort 4 data registerPDR4R/WPort 4XXXXXXXXB
05HPort 5 data registerPDR5R/WPort 5XXXXXXXXB
06HPort 6 data registerPDR6R/WPort 6XXXXXXXXB
XXXXXXXX
07HPort 7 data registerPDR7R/WPort 7
(MB90480 series)
11XXXXXX
(MB90485 series)
HPort 8 data registerPDR8R/WPort 8XXXXXXXXB
08
09HPort 9 data registerPDR9R/WPort 9XXXXXXXXB
0AHPort A data registerPDRAR/WPort A----XXXXB
10HPort 0 direction registerDDR0R/WPort 000000000B
11HPort 1 direction registerDDR1R/WPort 100000000B
12HPort 2 direction registerDDR2R/WPort 200000000B
13HPort 3 direction registerDDR3R/WPort 300000000B
14HPort 4 direction registerDDR4R/WPort 400000000B
15HPort 5 direction registerDDR5R/WPort 500000000B
16HPort 6 direction registerDDR6R/WPort 600000000B
00000000
17HPort 7 direction registerDDR7R/WPort 7
(MB90480 series)
XX000000
(MB90485 series)
HPort 8 direction registerDDR8R/WPort 800000000B
18
19HPort 9 direction registerDDR9R/WPort 900000000B
1AHPort A direction registerDDRAR/WPort A----0000B
21HSerial control registerSCRW, R/W00000100B
22HSerial input/output registerSIDR/SODRR/WXXXXXXXXB
Read/
Write
Resource nameInitial value
00000X00B
UART
23HSerial status registerSSRR, R/W00001000B
24H (Reserved area)
25
26H
27H00000010B
register
Serial mode control status register 0SMCS0R/W
Communication prescaler control
H
CDCRR/W
Communication
prescaler (UART)
SIO1 (ch.0)
00--0000B
----0000
28HSerial data register 0SDR0R/WXXXXXXXXB
29H
2AH
2BH00000010B
Communication prescaler control
register 0
Serial mode control status register 1SMCS1R/W
SDCR0R/W
Communication
prescaler
SIO1 (ch.0)
SIO2 (ch.1)
0---0000B
----0000
2CHSerial data register 1SDR1R/WXXXXXXXXB
Communication
prescaler
SIO2 (ch.1)
0---0000B
XXXXXXXXB
2DH
Communication prescaler control
register 1
SDCR1R/W
2EHReload register L (ch.0) PPLL0R/W
2FHReload register H (ch.0) PPLH0R/WXXXXXXXXB
30HReload register L (ch.1) PPLL1R/WXXXXXXXXB
31HReload resister H (ch.1) PPLH1R/WXXXXXXXXB
32HReload register L (ch.2) PPLL2R/WXXXXXXXXB
33HReload register H (ch.2) PPLH2R/WXXXXXXXXB
34HReload register L (ch.3) PPLL3R/WXXXXXXXXB
35HReload register H (ch.3) PPLH3R/WXXXXXXXXB
36HReload register L (ch.4) PPLL4R/WXXXXXXXXB
37HReload register H (ch.4) PPLH4R/WXXXXXXXXB
8/16-bit PPG
(ch.0 to ch.5)
38HReload register L (ch.5) PPLL5R/WXXXXXXXXB
39HReload register H (ch.5) PPLH5R/WXXXXXXXXB
3AHPPG0 operating mode control registerPPGC0R/W0X000XX1B
3BHPPG1 operating mode control registerPPGC1R/W0X000001B
3CHPPG2 operating mode control registerPPGC2R/W0X000XX1B
3DHPPG3 operating mode control registerPPGC3R/W0X000001B
3EHPPG4 operating mode control registerPPGC4R/W0X000XX1B
3FHPPG5 operating mode control registerPPGC5R/W0X000001B
40HPPG0, PPG1 output control registerPPG01R/W8/16-bit PPG00000000B
41H (Reserved area)
HPPG2, PPG3 output control registerPPG23R/W8/16-bit PPG00000000B
42
43H (Reserved area)
B
B
(Continued)
25
MB90480/485 Series
AddressRegister name
44
H
PPG4, PPG5 output control registerPPG45R/W8/16-bit PPG00000000B
56HOutput control register (ch.0) OCS0R/W0000--00B
57HOutput control register (ch.1) OCS1R/W---00000B
58HOutput control register (ch.2) OCS2R/W0000--00B
59HOutput control register (ch.3) OCS3R/W---00000B
5AHOutput control register (ch.4) OCS4R/W0000--00B
5BHOutput control register (ch.5) OCS5R/W---00000B
5CH
5DH
5EH
5FH
Input capture data register (ch.0) lower
digits
Input capture data register (ch.0) upper
digits
Input capture data register (ch.1) lower
digits
Input capture data register (ch.1) upper
digits
IPCP0
IPCP1
R
RXXXXXXXXB
16-bit
XXXXXXXX
input/output
RXXXXXXXX
timer input
capture
(ch.0, ch.1)
RXXXXXXXXB
60HInput capture control status registerICS01R/W00000000B
61H (Reserved area)
B
B
B
B
B
26
(Continued)
MB90480/485 Series
Abbreviated
AddressRegister name
HTimer counter data register lower digitsTCDTR/W
62
register
name
Read/
Write
Resource nameInitial value
00000000B
63HTimer counter data register upper digitsTCDTR/W00000000B
64HTimer control status registerTCCSR/W00000000B
65HTimer control status registerTCCSR/W0--00000B
66HCompare clear register lower digits
67HCompare clear register upper digitsXXXXXXXXB
XXXX0111B
B1HInterrupt control register 01ICR01W, R/WXXXX0111B
B2HInterrupt control register 02ICR02W, R/WXXXX0111B
B3HInterrupt control register 03ICR03W, R/WXXXX0111B
B4HInterrupt control register 04ICR04W, R/WXXXX0111B
Interrupt controller
B5HInterrupt control register 05ICR05W, R/WXXXX0111B
B6HInterrupt control register 06ICR06W, R/WXXXX0111B
B7HInterrupt control register 07ICR07W, R/WXXXX0111B
B8HInterrupt control register 08ICR08W, R/WXXXX0111B
B
B
B
28
(Continued)
MB90480/485 Series
(Continued)
Abbreviated
AddressRegister name
B9
HInterrupt control register 09ICR09W, R/W
register
name
BAHInterrupt control register 10ICR10W, R/WXXXX0111B
BBHInterrupt control register 11ICR11W, R/WXXXX0111B
BCHInterrupt control register 12ICR12W, R/WXXXX0111B
BDHInterrupt control register 13ICR13W, R/WXXXX0111B
BEHInterrupt control register 14ICR14W, R/WXXXX0111B
BFHInterrupt control register 15ICR15W, R/WXXXX0111B
C0HChip select area mask register 0CMR0R/W
C1HChip select area register 0CAR0R/W11111111B
C2HChip select area mask register 1CMR1R/W00001111B
C3HChip select area register 1CAR1R/W11111111B
C4HChip select area mask register 2CMR2R/W00001111B
C5HChip select area register 2CAR2R/W11111111B
C6HChip select area mask register 3CMR3R/W00001111B
C7HChip select area register 3CAR3R/W11111111B
C8HChip select control registerCSCRR/W----000*B
C9HChip select active level registerCALRR/W----0000B
CAH
CBH----0000B
CCH
CDH
Timer control status registerTMCSRR/W
16-bit timer register/
16-bit reload register
TMR/TMRLR
CEH (Reserved area)
CF
HPLL output control registerPLLOSW
D0H to FFH (External area)
100
H to #H (RAM area)
1FF0
1FF2
1FF3
1FF5
Program address detection register 0
H
(Low order address)
Program address detection register 0
(Middle order address)
Program address detection register 0
H
(High order address)
Program address detection register 1
H
(Low order address)
Program address detection register 1
(Middle order address)
Program address detection register 1
H
(High order address)
PADR0R/W
PADR1R/W
Read/
Write
Resource nameInitial value
XXXX0111B
Interrupt controller
00001111B
Chip select
function
00000000
16-bit reload timer
R/WXXXXXXXXB
Low-power
consumption
Address match
detection function
Address match
detection function
------X0B
XXXXXXXX
XXXXXXXX
B
B1FF1H
B1FF4H
* : These registers are only for MB90485 series.
They are used as the reserved area on MB90480 series.
(Continued)
29
MB90480/485 Series
(Continued)
Descriptions for read/write
R/W : Readable and writable
R : Read only
W : Write only
Descriptions for initial value
0 : The initial value of this bit is “0”.
1 : The initial value of this bit is “1”.
X : The initial value of this bit is undefined.
- : This bit is not used.
* : The initial value of this bit is “1” or “0”.
The value depends on the mode pin (MD2, MD1 and MD0) .
+ : The initial value of this bit is “1” or “0”.
The value depends on the RAM area of device.
30
Loading...
+ 90 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.