The FUJITSU MB90470 Series is a 16-bit general-purpose microcontroller designed for consumer products and
other process control applications requiring high-speed and 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 use with high-level languages, expanded addressing mode, enhanced multiply and divide instructions,
and full bit processing. Also included is a built-in 32-bit accumulator for long-word processing.
Peripheral resources built into the MB90470 ser ies include 8/16-bit PPG, expanded I/O serial interface, UART,
10-bit A/D converter, 16-bit input-output timer, 8/16-bit up-counter, PWC timer, I
interrupt, chip select, and 16-bit reload timer.
2
*1 : F
MC is an abbreviation for FUJITSU Flexible Microcontroller, and is a registered trademark of FUJITSU, Ltd.
2
*2 : I
C license :
This product includes licensing of Philips I
standard specifications established by Philips.
PACKAGES
■
100-pin plastic QFP100-pin plastic LQFP
(FPT-100P-M06) (FPT-100P-M05)
2
C patents if used by the customer in an I2C system subject to the I2C
2C*2
interface, DTP/exter nal
MB90470 Series
FEATURES
■
•
Clocks
Minimum instruction execution time :
50.0 ns at 5 MHz base oscillation with 4 × multiplier (internal operation at 20 MHz/3.3 V ± 0.3 V)
62.5 ns at 4 MHz base oscillation with 4 × multiplier (internal operation at 16 MHz/3.0 V ± 0.3 V)
Uses PLL clock multiplier.
•
Maximum memory size
16 Mbytes
•
Instruction set optimized for control applications
Handles bit, byte, word, long-word data
23 standard addressing modes
32-bit accumulator for enhanced high-precision calculation
Signed multiply-divide and expanded RETI instructions
•
Instruction system compatible with high-level language (C) multitasking
System stack pointer
Instruction set correlation and barrel shift instructions
• Non-multi bus or multi-bus compatible
• Program patch function (for two address pointers)
•
Improved execution speed
4-byte queue
•
Powerful interrupt functions
8 external interrupt functions with 8-level programmable priority
•
Data transfer functions
16 channels maximum
µDMA maximum assured operation frequency : 16 MHz
Extended intelligent I/O service maximum assured operation frequency : 20 MHz
DTP/external interrupt circuitExternal interrupt pins : 8 channels (set to edge or level correlation)
I/O expansion serial interface2-channel, built-in
2
I
Time base timer
A/D converter
Watchdog timer
Low power (standby) modesSleep, stop, CPU intermittent, watch mode
ProcessCMOS
Notes
Emulator dedicated power supply
16
Output compare
Input capture (ICU)
C interface1-channel, built-in
(OCU)
MB90F474LMB90F474HMB90473MB90474
MASKROM
128 KB
Basic instructions
Instruction bit length
Instruction length
Data bit length
Minimum instruction execution time
General purpose input/output ports : 84 Max
General purpose input/output ports (CMOS output)
General purpose input/output ports (built-in pull-up resistance)
General purpose input/output ports (N-ch open drain)
Two 8-bit up-down counters with 6 event input pins
Two 8-bit reload/compare registers
Channel : 1
Overflow interrupt
Channels : 6
Pin input source : from compare register match signal
Channels : 2
Register rewritten from pin input (rising/falling/both edges)
18-bit counter
Interrupt cycle : 1.0 ms, 4.1 ms, 16.4 ms, 131.1 ms
(minimum times, at base oscillator frequency 4 MHz)
Conversion accuracy : 8/10-bit switchable
Single conversion mode (converts selected channel 1 time only)
Scan conversion mode
(converts multiple consecutive channels, programmable up to 8 channels)
Continuous conversion mode (converts selected channels continuously)
Stop conversion mode (converts selected channel, stops and repeats)
Reset interval : 3.58 ms, 14.33 ms, 57.23 ms, 458.75 ms
(minimum times, at base oscillator frequency 4 MHz)
DTP/external interrupt circuitExternal interrupt pins : 8 channels (set to edge or level correlation)
I/O expansion serial interface2-channel, built-in
2
I
C interface1-channel, built-in
Time base timer
A/D converter
Watchdog timer
Low power (standby) modesSleep, stop, CPU intermittent, watch mode
ProcessCMOS
NotesMask version
Emulator dedicated power supplyIncluded
Output compare (OCU)
Input capture (ICU)
Instruction length
Data bit length
Minimum instruction execution time
General purpose input/output ports : 84 Max
General purpose input/output ports (CMOS output)
General purpose input/output ports (built-in pull-up resistance)
General purpose input/output ports (N-ch open drain)
Two 8-bit up-down counters with 6 event input pins
Two 8-bit reload/compare registers
Channel : 1
Overflow interrupt
Channels : 6
Pin input source : from compare register match signal
Channels : 2
Register rewritten from pin input (rising/falling/both edges)
18-bit counter
Interrupt cycle : 1.0 ms, 4.1 ms, 16.4 ms, 131.1 ms
(minimum times, at base oscillator frequency 4 MHz)
Conversion accuracy : 8/10-bit switchable
Single conversion mode (converts selected channel 1 time only)
Scan conversion mode
(converts multiple consecutive channels, programmable up to 8 channels)
Continuous conversion mode (converts selected channels continuously)
Stop conversion mode (converts selected channel, stops and repeats)
Reset interval : 3.58 ms, 14.33 ms, 57.23 ms, 458.75 ms
(minimum times, at base oscillator frequency 4 MHz)
General purpose input/output ports. Set the pull-up resistance
setting register (RDR0) to add pull-up resistance (RD00-RD07
= “1” ) . (Not valid when set for output)
C
(CMOS)
C
(CMOS)
E
(CMOS/H)
E
(CMOS/H)
In multiplex mode, these pins function as external address/
data bus lower input/output pins.
In non-multiplex mode, these pins function as external data
bus lower output pins.
General purpose input/output ports. Set the pull-up resistance
setting register (RDR1) to add pull-up resistance (RD10-RD17
= “1” ) . (Not valid when set for output)
In multiplex mode, these pins function as external address/
data bus higher input/output pins.
In non-multiplex mode, these pins function as external data
bus higher output pins.
General purpose input/output ports. In external bus mode, pins
for which the corresponding bit in the external address output
control register (HACR) is “1” function as the general purpose
input/output ports.
In multiplex mode, pins for which the corresponding bit in the
external address output control register (HACR) is “0” function
as the upper address output pins (A16 to A19) .
In non-multiplex mode, pins for which the corresponding bit in
the external address output control register (HACR) is “0”
function as the upper address output pins (A16 to A19) .
General purpose input/output ports. In external bus mode, pins
for which the corresponding bit in the external address output
control register (HACR) is “1” function as the general purpose
input/output ports.
In multiplex mode, pins for which the corresponding bit in the
external address output control register (HACR) is “0” function
as the upper address output pins (A20 to A23) .
In non-multiplex mode, pins for which the corresponding bit in
the external address output control register (HACR) is “0”
function as the upper address output pins (A20 to A23) .
General purpose input/output port. In external bus mode, this
pin functions as the WRL
register is set to “1”.
In external bus mode, this pin functions as the lower data write
strobe output (WRL
register is set to “0”,this pin functions as a general purpose
input/output port.
General purpose input/output port. In external bus mode with
16-bit bus width, this pin functions as the WRH
WRE bit in the EPCR register is set to “1”.
In external bus mode with 16-bit bus width, this pin functions
as the higher data write strobe output (WRH
WRE bit in the EPCR register is set to “0”,this pin functions as
a general purpose input/output port.
pin when the WRE bit in the EPCR
) pin. When the WRE bit in the EPCR
pin when the
) pin. When the
(Continued)
MB90470 Series
Pin no.
LQFPQFP
7274
7375
7476
7678
36 to 39 38 to 41
41 to 44 43 to 46
2527
2628
2729
2830
2931
Pin name
P54
HRQ
P55
HAK
P56
RDY
P57
CLK
P60 to P63
AN0 to AN3Analog input pins.
P64 to P67
AN4 to AN7Analog input pins.
P70
SIN0UART data input pin.
P71
SOT0UART data output pin.
P72
SCK0UART clock input pin.
P73
TIN016-bit reload timer event input pin.
P74
TOT016-bit reload timer output pin.
Circuit
type
D
(CMOS)
D
(CMOS)
D
(CMOS)
D
(CMOS)
H
(CMOS)
H
(CMOS)
G
(CMOS/H)
F
(CMOS)
G
(CMOS/H)
G
(CMOS/H)
F
(CMOS)
Description
General purpose input/output port. In external bus mode, this
pin functions as the HRQ pin when the HDE bit in the EPCR
register is set to “1”.
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 input/output port.
General purpose input/output port. In external bus mode, this
pin functions as the HAK
register is set to “1”.
In external bus mode, this pin functions as the hold acknowledge output (HAK
is set to “0”,this pin functions as a general purpose input/output
port.
General purpose input/output port. In external bus mode, this
pin functions as the DRY pin when the RYE bit in the EPCR
register is set to “1”.
In external bus mode, this pin functions as the external ready
input (RDY) pin. When the RYE bit in the EPCR register is set
to “0”,this pin functions as a general purpose input/output port.
General purpose input/output port. In external bus mode, this
pin functions as the CLK pin when the CKE bit in the EPCR
register is set to “1”.
In external bus mode, this pin functions as the machine cycle
clock output (CLK) pin. When the CKE bit in the EPCR register
is set to “0”,this pin functions as a general purpose input/output
port.
Notes : • For use as a 3.3 V single supply de vice, apply the same v oltage to the V
• For use with a dual power supply, apply the respective voltages to the V
CC3 and VCC5 power supply pins.
CC3 and VCC5 power supply pins.
• In use with a dual power supply, a total of 32 pins (P20/A16 to P27/A23/PPG3, P30/A00/AIN0 to P37/
A07/PWC1, P40/A08/SIN2 to P47/A15/OUT5 and P70/SIN0 to P77/SDA) can be used in a 5 V interf ace .
Note that all other pins must be used in 3 V interface.
• In use with a dual power supply, it is not possible to turn on only the 5 V or the 3 V power supply
independently . Alw ays turn on both power supplies simultaneously. (It is recommended that the 3 V power
to the MB90470 series be turned on first.)
13
MB90470 Series
I/O CIRCUIT TYPES
■
TypeCircuitRemarks
X1, X1A
Oscillator feedback resistance :
A
X0, X0A
Includes standby control
Standby control
signal
X1,X0 1 MΩ approx.
X1A,X0A 10 MΩ approx.
B
HYS
CTL
Hysteresis with pull-up resistance
Input resistance 50 kΩ approx.
CMOS level input/output
Includes open drain control
CMOS level output
Hysteresis input
Includes open drain control
H
CMOS
Analog input
Digital output
I
HYS
CMOS level input/output
Analog input
Hysteresis input
N-ch open drain output
(Flash model)
Flash model
CMOS level input
J
Control signal
Mode input
Spreading resistance
Includes high voltage control for FLASH
test
(Mask version)
HYS
Mask version
Hysteresis input port
15
MB90470 Series
HANDLING DEVICES
■
(1) Strictly observe maximum rated voltages (prevent latchup)
When CMOS integrated circuit devices are subjected to applied voltages higher than V
pins other than medium- and high-withstand voltage pins, or to voltages lower than V
excess of rated le vels are applied between V
CC and VSS, a phenomenon known as latchup can occur . In a latchup
condition, supply current can increase dramatically and may destroy semiconductor elements. In using
semiconductor devices, always take sufficient care to avoid exceeding maximum ratings.
Also care must be taken when power to analog systems is switched on or off, to ensure that the analog power
supply (AV
CC, AVRH) and analog input do not exceed the digital power supply (VCC) .
(2) Treatment of unused pins
If unused input pins are left open, abnormal operation or latchup may cause permanent damage to the
semiconductor. Any such pins should be pulled up or pulled down through resistance of at least 2 kΩ.
Also any unused input/output pins should be left open in output status, or if set to input status should be treated
in the same way as input pins.
(3) Precautions for use of external clock signals
CC at input and output
SS, or when voltages in
Even when an external clock is used, a stabilization period is required following a power-on reset or release
from sub clock mode or stop mode. Also, when an e xternal clock is used 20 MHz should be used as a guideline
for an upper frequency limit.
The following figure shows a sample use of external clock signals.
X0
X1OPEN
(4) Power supply pins
When using multiple V
CC/VSS sources, always mak e sure to design devices with e xternal connections of all power
supply pins to supply or ground elements, in order to prevent latchup, reduce unwanted radiation, and prevent
abnormal strobe signal operation due to rise in ground level, as well as to maintain total rated output current. In
addition, care must be given to connecting the V
CC and VSS pins of this device to a current source with as little
impedance as possible. It is recommended that a bypass capacitor of 1.0 µF be connected between V
V
SS as close to the pins as possible.
CC and
(5) Crystal oscillator circuits
Abnormal operation of this device can result from noise in the proximity of the X0/X1 and X0A/X1A pins. For
stable operation, it is strongly recommended that the printed circuit artwork provide capacitors placed as close
as possible between the X0/X1, X0A/X1A and crystal oscillator (or ceramic oscillator) as well as ground, and be
wired so as to avoid crossing other wiring wherever possible.
16
MB90470 Series
(6) Precautions for use of external oscillators (crystals)
The target value for the upper limit of oscillator (crystals) frequencies should be 20 MHz. Also, when operating
at internal frequencies of 16 MHz, the PLL multiplier should be used.
(7) Proper power-on/off sequence
The A/D converter power (A V
supply (V
CC) is turned on. The A/D converter power (AVCC, AVRH) and analog input (AN0 to AN7) must be shut
off before the digital power supply (V
CC, A VRH) and analog input (AN0 to AN7) must be turned on after the digital power
CC) is shut off. Care should be taken that AVRH does not exceed AVCC. Even
when pins used as analog input pins are doubled as input ports, be sure that the input voltage does not exceed
AV
CC.
Note : VCC= VCC3 = VCC5
(8) Treatment of A/D converter power supply pins
Even if the A/D converter is not used, pins should be connected so that AV
CC= AVRH = VCC, and AVSS= VSS.
(9) Power-on procedures
In order to prevent abnormal operation of the internal built-in step-down circuits, voltage r ise during power-on
should be attained within 50 µs (0.2 V to 2.7 V) .
(10) Stable power supply
Even within the operating range of the V
CC supply voltage, rapid changes in supply v oltage may cause abnormal
operation. As a basis for stab le operation, it is recommended that v oltage variation be restricted in order to limit
V
CC ripple fluctuations (P-P values) to 10% at commercial frequencies of 50 Hz to 60 Hz, and transient fluctuations
to 0.1 V/ms at instantaneous points such as power switching.
(11) Precautions for use of two power supplies
The MB90470 series usually uses the 3-V power supply as the main power source. With V
V
CC5 = 5 V, however, it can interface with P20/A16 to P27/A23/PPG3, P30/A00/AIN0 to P37/A07/PWC1,
CC3 = 3 V and
P40/A08/SIN2 to P47/A15/OUT5, P70/SIN0 to P77/SDA f or the 5-V power supply separetely from the 3-V pow er
supply at all operation mode.
(Caution) The analog power supply for the A/D conver ter (AV
CC, AVSS etc.) can only operate with the
3 V system.
(12) Crystal oscillator circuits during power-saving operation
When the power supply is lower than 2.0 V, the external crystal oscillator may not operate even when power is
on. For this reason, the use of an external clock signal is recommended.
(13) Caution : low-voltage flash models (2.4 V to 3.6 V/10 MHz) do not have security functions
(14) Treatment of unused input pins
N.C. (internally connected) pins should always be left open.
(15) When the dual-supply MB90470 series is used as a 1-supply device, use connections so that
X0A
SS
====
V
, and X1A
====
Open.
17
MB90470 Series
CC
(16) For serial writing to flash memory, always make sure that the operating voltage V
and 3.6 V.
For normal writing to flash memory, always make sure that the operating voltage V
3.0 V and 3.6 V.
(17) Caution on Operations during PLL Clock Mode
If the PLL clock mode is selected, the microcontroller attempt to be working with the self-oscillating circuit ev en
when there is no external oscillator or external clock input is stopped. Performance of this operation, however,
cannot be guaranteed.
is between 3.13 V
CC
is between
18
BLOCK DIAGRAM
■
MB90470 Series
X0, X1, RST
X0A, X1A
MD2, MD1, MD0
SIN0
SOT0
SCK0
SIN1, SIN2
SOT1, SOT 2
SCK1, SCK2
AVCC
AVRH
AVSS
ADTG
AN0 to AN7
8
Communication prescaler
I/O expansion serial
interface × 2 channels
Clock
control circuit
RAM
ROM
µDMA
UART
A/D converter
(10-bit)
CPU
FMC-16LX
series core
Interrupt controller
PPG0, PPG1
8/16-bit PPG
8/16-bit
up/down counter
2
F
2
MC-16LX BUS
16-bit input capture × 2
16-bit output compare × 6
µPG
Chip select
Input/output timer
16-bit free-run timer
16-bit reload timer
PPG2, PPG3
PPG4, PPG5
AIN0, AIN1
BIN0, BIN1
ZIN0, ZIN1
EXTC
MT00
MT01
CS0, CS1,
CS2, CS3
IN0, IN1
OUT0, OUT1,
OUT2, OUT3,
OUT4, OUT5
TIN0
TOT0
PWC0
PWC1
PWC2
16-bit PWC
3 channels
External interrupt
I/O ports
888888888
P00
P10
P20
P30
P40
P50
P60
P70
∼
P07
∼
P17
∼
P27
∼
P37
∼
P47
∼
P57
∼
P67
∼
P77
P80
∼
P87
2
I
C interface
8
P90
∼
P97
4
PA0
PA3
∼
SCL
SDA
8
IRQ0 to IRQ7
P00 to P07 (8 pins) : Input pull-up resistance setting register provided.
P10 to P17 (8 pins) : Input pull-up resistance setting register provided.
P40 to P47 (8 pins) : Open drain setting register provided.
P70 to P75 (6 pins) : Open drain setting register provided.
P76, P77 (2 pins) : Open drain
Note : In the above diagram, I/O ports are shown sharing pin numbers with the built-in function blocks. However
pins may not be used as I/O ports when they are in use as pins for build-in function modules.
19
MB90470 Series
MEMORY MAP
■
FFFFFFH
Address 1#
010000H
004000H
Address 2#
000100H
0000D0H
Single chipInternal ROM external bus
ROM areaROM area
ROM area
FF bank image
ROM area
FF bank image
*
RAMRAM
External ROM external bus
RAMRegisterRegisterRegister
PeripheralPeripheralPeripheral
000000H
: Internal: External: Access not available
* : In models where address 2# coincides with 004000H, there is no external area.
ModelAddress 1#Address 2#
MB90473FE0000
MB90474FC0000H004000H
MB90477/478FC0000H002100H
MB90F474FC0000H004000H
MB90V470 (FC0000H) 004000H
The image of FF bank ROM is reflected in the top of the 00 bank, for greater efficiency in using the C compiler
for small models. The lower 16-bit address on the FF bank is the same as the lower 16-bit address on the 00
bank, so that it is possible to reference tables in ROM without using the pointer for a far specification.
For example, when accessing 00C000
H, it is actually the content of ROM at FFC000H that is accessed. Here,
because the ROM area on the FF bank exceeds 48 KB, it is not possib le to vie w the entire area in the image on
the 00 bank. Therefore, the image from FF4000
H to FFFFFFH is visible on the 00 bank, and FF0000H to FF3FFFH
is visible only on the FF bank.
H002900H
20
2
F
MC-16L CPU PROGRAMMING MODEL
■
•
Special purpose registers
MB90470 Series
AHAL
USP
SSP
PS
PC
16 bit
32 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
Interrupt symbols :
R/W : Read/write enabled
R : Read only
W : Write only
Default value symbols :
0 : This bit initialized to “0”
1 : This bit initialized to “1”
* : This bit initialized to “0” or “1”
X : Default value undefined
- : This bit is not used.
Program address detection resister1
(Low order address)
Program address detection resister1
(Middle order address)
Program address detection resister1
(High order address)
PADR1R/W
Address Match
Detection Function
XXXXXXXX1FF4
28
MB90470 Series
INTERRUPT SOURCES, INTERRUPT VECTORS & INTERRUPT CONTROL REGISTERS
A/D15#40FFFF5CH
Flash write/erase, time base timer,
watch timer*
××#41FFFF58H
ICR150000BFH
Delay interrupt generator module××#42FFFF54H
: Interrupt request flag cleared by the interrupt clear signal. The stop request is available.
: Interrupt request flag cleared by the interrupt clear signal.
× : Interrupt request flag not cleared by the interrupt clear signal.
* : Note that flash write/erase cannot be used at the same time as the time base timer or watch timer.
Note : • If two or more interrupt sources have the same interrupt number, the resource will clear both interrupt
request flags at the EI
2
OS/DMAC interrupt clear signal. Thus when EI2OS/µDMA function of two sources
is used, the other interrupt function cannot be used. The interrupt request enable bit of the corresponding
resource should be set to “0” for software polling processing.
• Maximum assured operation frequency of µDMA is 16 MHz.
30
Loading...
+ 88 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.