The MB90242A is a 16-bit microcontroller optimized for “mechatronics” control applications such as hard disk
drive unit control.
The instruction set is based on the AT architecture of the F
language supporting instruction, expanded addressing modes, enhanced multiplication and division instructions,
and improved bit processing instructions. In addition, long-word data can now be processed due to the inclusion
of a 32-bit accumulator.
2
MC*-16, 16H family, with additional high-level
DS07-13506-1E
The MB90242A has a multiply/accumulate unit as a peripheral resource, allowing easy realization of digital
filters such as IIR or FIR. The MB90242A has abundant embedded peripheral features, such as 6-channel 8/
10-bit A/D converter, UART, 2-channel + 1-channel timer, 4-channel input capture and 4-channel external
interrupt.
2
*1: F
MC stands for FUJITSU Flexible Microcontroller.
FEATURES
2
•F
MC-16F CPU
Minimum execution time: 62.5 ns (32 MHz oscillation: 5.0 V ± 10%)
Instruction set optimized for controller applications
Improved instruction set applicable to high-level language (C) and multitasking
Improved execution speed: 8-byte queue
Powerful interrupt fuctions (interrupt processing time: 1.0 µ s 32 MHz oscillation)
Automatic transfer function independent of instructions
Extended intelligent I/O Service
(Continued)
PACKAGE
80-pin Plastic LQFP
(FPT-80P-M05)
To Top / Lineup / Index
MB90242A Series
(Continued)
• DSP unit
Specific function for calculations of IIR
A maximum of 8 product resulted from signed 16-bit × 16-bit multiplications can be accumulated.
N
Yk = Σ bn Yk-n + Σ am Xk-m is executed in 0.625 µs (at oscillation of 32 MHz, N = M = 3)
n = 0
M
m = 0
The N and M value is set to a maximum of 3, independently.
• Internal RAM: 2 Kbytes (MB90242A)
Depending on mode settings, data stored on RAM can be executed as CPU instructions.
• General-purpose ports: max. 38 channels
• A/D converter (analog inputs: 6 channels)
Resolution: 10 bits
Conversion time: min. 1.25 µ s
Switchable to 8/10 bits
Number of registers for storing conversion results: 4
1 to 8P20 to P27FThese pins cannot be used as general-purpose ports.
10 to 17P30 to P37FThese pins cannot be used as general-purpose ports.
18P40FGeneral-purpose I/O port
19P41FGeneral-purpose I/O port
20P42FGeneral-purpose I/O port
21P43FGeneral-purpose I/O port
Pin nameCircuit typeFunction
A00 to A07Output pins for the lower 8 bits of the external address bus
A08 to A15Output pins for the middle 8 bits of the external address bus
This function is available when corresponding bit of the upper
address control register specifies port.
A16External address bus output pin bit 16
This function is available when corresponding bit of the upper
address control register specifies address.
This function is available when corresponding bit of the upper
address control register specifies port.
A17External address bus output pin bit 17
This function is available when corresponding bit of the upper
address control register specifies address.
This function is available when corresponding bit of the upper
address control register specifies port.
A18External address bus output pin bit 18
This function is available when corresponding bit of the upper
address control register specifies address.
SID0UART #0 data input pin
This pin, as required, is used for input during UART #0 input
operation, and it is necessary to disable input/output for other
functions from this pin unless such input/output is made
intentionally.
This function is available when data output of UART #0 is disabled
and corresponding bit of the upper address control register
specifies port.
A19External address bus output pin bit 19
This function is available when data output of UART #0 is disabled
and corresponding bit of the upper address control register
specifies address.
SOD0UART #0 data output pin
This function is available when data output of UART #0 is enabled.
* :FPT-80P-M05
(Continued)
5
MB90242A Series
To Top / Lineup / Index
Pin no.
LQFP*
22P44FGeneral-purpose I/O port
23P45FGeneral-purpose I/O port
24P46FGeneral-purpose I/O port
Pin nameCircuit typeFunction
This function is available when clock output of UART #0 and SSI #2
are disabled and corresponding bit of the upper address control
register specifies port.
A20External address bus output pin bit 20
This function is available when clock output of UART #0 is disabled
and corresponding bit of the upper address control register
specifies address.
SCK0UART #0 clock input pin
This function is available when the UART #0 clock output is
enabled.
This function is available when data output of SSI #2 is disabled
and corresponding bit of the upper address control register
specifies port.
A21External address bus output pin bit 21
This function is available when data output of SSI #2 is disabled
and corresponding bit of the upper address control register
specifies address.
ASR0Input capature #0 data input pin
This pin, as required, is used for input during input capture #0 input
operation, and it is necessary to disable input/output for other
functions from this pin unless such input/output is made
intentionally.
TIN016-bit timer #0 data input pin
This pin, as required, is used for input during 16-bit timer #0 input
operation, and it is necessary to disable input/output for other
functions from this pin unless such input/output is made
intentionally.
This function is available when corresponding bit of the upper
address control register specifies port.
A22External address bus output pin bit 22
This function is available when corresponding bit of the upper
address control register specifies address.
ASR1Input capature #1 data input pin
This pin, as required, is used for input during input capture #1 input
operation, and it is necessary to disable input/output for other
functions from this pin unless such input/output is made
intentionally.
TIN116-bit timer #1 data input pin
This pin, as required, is used for input during 16-bit timer #1 input
operation, and it is necessary to disable input/output for other
functions from this pin unless such input/output is made
intentionally.
* :FPT-80P-M05
6
(Continued)
To Top / Lineup / Index
MB90242A Series
Pin no.
Pin nameCircuit typeFunction
LQFP*
25P47FGeneral-purpose I/O port
This function is available when corresponding bit of the upper
address control register specifies port.
A23External address bus output pin bit 23
This function is available when corresponding bit of the upper
address control register specifies address.
ASR2Input capature #2 data input pin
This pin, as required, is used for input during input capture #2 input
operation, and it is necessary to disable input/output for other
functions from this pin unless such input/output is made
intentionally.
26AV
CC
Power supply Analog circuit power supply pin
This power supply must only be turned on or off when electric
potential of AV
or greater is applied to V
CC
CC
27AVRHPower supply A/D converter external reference voltage input pin
This pin must only be trendy on or off when electric potential of
AVRH or greater is applied to AV
Power supply Analog circuit power supply (GND) pin
30, 31P60, P61HN-ch open-drain I/O ports
When corresponding bit of the ADER are set to “0,” reading data
register with an instruction other than read-modify-write group
instructions reads the level on these pins, while data written on the
data register is output on these pins directly.
AN0, AN1A/D converter analog input pins
Set corresponding bit of the ADER to “1,” and corresponding bit of
the data register to “1.”
33, 34P62, P63HN-ch open-drain I/O ports
When corresponding bit of the ADER are set to “0,” reading data
register with an instruction other than read-modify-write group
instructions reads the level on these pins, while data written on the
data register is output on these pins directly.
AN2, AN3A/D converter analog input pins
Set corresponding bit of the ADER to “1,” and corresponding bit of
the data register to “1.”
35, 36P66, P67HN-ch open-drain I/O ports
When corresponding bit of the ADER are set to “0,” reading data
register with an instruction other than read-modify-write group
instructions reads the level on these pins, while data written on the
data register is output on these pins directly.
AN6, AN7A/D converter analog input pins
Set corresponding bit of the ADER to “1,” and corresponding bit of
the data register to “1.”
37, 38OPEN—Open pins
No internal connections are made.
.
* :FPT-80P-M05
(Continued)
7
MB90242A Series
To Top / Lineup / Index
Pin no.
LQFP*
39 to 41MD0 to MD2COperating mode selection input pins
42HST
43, 44P70, P71FGeneral-purpose I/O ports
45P72FGeneral-purpose I/O port
46P73FGeneral-purpose I/O port
47P74FGeneral-purpose I/O port
48P75FGeneral-purpose I/O port
49, 50P80, P81GGeneral-purpose I/O ports
51P82FGeneral-purpose I/O port
Pin nameCircuit typeFunction
or V
SS
.
Connect directly to V
DHardware standby input pin
This function is available when neither output of 16-bit timer #0 nor
#1 is enabled.
TOT0, TOT116-bit timer output pins
This function is available when outputs of both 16-bit timer #0 and
#1 are enabled.
This function is available when clock output of SSI #1 is disabled.
SCK1SSI #1 clock I/O pin
This function is always valid.
SID1SSI #1 data input pin
This pin, as required, is used for input during SSI #1 input
operation, and it is necessary to disable input/output for other
functions from this pin unless such input/output is made
intentionally.
This function is available when data output of SSI #1 is disabled.
SOD1SSI #1 data output pin
This function is available when data output of SSI #1 is enabled.
This function is always valid.
INT0, INT1External interrupt input pins
These pins, as required, are used for input while external interrupt is
enabled, and it is necessary to disable input/output for other
functions from these pins unless such input/output is made
intentionally.
This function is always valid.
INT2External interrupt input pin
This pin, as required, is used for input while external interrupt is
enabled, and it is necessary to disable input/output for other
functions from this pin unless such input/output is made
intentionally.
This pin is clamped to “LOW” level when CPU is in the “STOP”
status. Use INT0 or INT1 to resume operation.
ATGA/D converter activation trigger input pin
This pin, as required, is used for input while A/D conv erter is waiting
for activation, and it is necessary to disable input/output for other
functions from this pin unless such input/output is made
intentionally.
CC
* :FPT-80P-M05
8
(Continued)
To Top / Lineup / Index
MB90242A Series
Pin no.
LQFP*
52P50FGeneral-purpose I/O port
53P51EGeneral-purpose I/O port
54P52EGeneral-purpose I/O port
55P53EGeneral-purpose I/O port
56P54FGeneral-purpose I/O port
57P55FGeneral-purpose I/O port
58P56FThis pin cannot be used as a general-purpose port.
59P57FGeneral-purpose I/O port
60RSTBExternal reset request input pin
62, 63X0, X1ACrystal oscillator pins (32 MHz)
* :FPT-80P-M05
Pin nameCircuit typeFunction
This function is available when CLK output is disabled.
CLKCLK output pin
This function is available when CLK output is enabled.
This function is available when ready function is disabled.
RDYReady input pin
This function is available when ready function is enabled.
This function is available when hold function is disabled.
HAK
HRQHold request input pin
WRHWrite strobe output pin for the upper eight bits of the data bus
WRLWrite strobe output pin for the lower eight bits of the data bus
RDRead strobe output pin for the data bus
ASR3Input capture #3 data input pin
INT3External interrupt #3 data input pin
Hold acknowledge output pin
This function is available when hold function is enabled.
This function is available when hold function is disabled.
This function is available when hold function is enabled.
This function is available when the external bus 8-bit mode is
selected or WRH pin output is disabled.
This function is available when the external bus 16-bit mode is
selected and WRH pin output is enabled.
This function is available when WRL pin output is disabled.
This function is available when WRL pin output is enabled.
This pin, as required, is used for input during input capture #3 input
operation, and it is necessary to disable input/output for other
functions from this pin unless such input/output is made
intentionally.
This pin, as required, is used for input during external interrupt #3
input operation, and it is necessary to disable input/output for other
functions from this pin unless such input/output is made
intentionally.
(Continued)
9
To Top / Lineup / Index
MB90242A Series
(Continued)
Pin no.
LQFP*
64V
9, 32, 61V
65 to 72P00 to P07EThese pins cannot be used as general-purpose ports.
73 to 80P10 to P17EGeneral-purpose I/O ports
Pin nameCircuit typeFunction
CC
SS
D00 to D07I/O pins for the lower 8 bits of the external data bus
D08 to D15I/O pins for the upper 8 bits of the external data bus
Power supply Digital circuit power supply pin
Power supply Digital circuit power supply (GND) pins
This function is available when the external bus 8-bit mode is
selected.
This function is available when the 16-bit bus mode is selected.
* :FPT-80P-M05
10
■
To Top / Lineup / Index
MB90242A Series
I/O CIRCUIT TYPE
TypeCircuitRemarks
A• 32 MHz
• Oscillation feedback resistor:
approx. 1 M Ω
Clock stop input
X0
X1
Clock input
B• CMOS-level hysteresis input
(without standby control)
Pull-up resistor: approx. 50 k Ω
Diffused resistor
VCC
V
CMOS
P-channel-type Tr
N-channel-type Tr
SS
Digital input
C• CMOS-level input
VCC
(without standby control)
P-channel-type Tr
N-channel-type Tr
Diffused resistor
VSS
Digital input
CMOS
D• CMOS-level hysteresis input
(without standby control)
VCC
P-channel-type Tr
N-channel-type Tr
Diffused resistor
VSS
Digital input
CMOS
(Continued)
11
MB90242A Series
TypeCircuitRemarks
E• CMOS-level output
• TTL-Level input
Digital output
(with standby control)
To Top / Lineup / Index
Digital output
Digital input
TTL
Standby control signal
F• CMOS-level input
CMOS-level hysteresis input
Digital output
Digital output
Digital input
CMOS
Standby control signal
(with standby control)
G• CMOS-level output
CMOS-level hysteresis input
Digital output
Standby control (when interrupt disabled)
available
12
Digital output
Digital input
CMOS
Standby interrupt disabled
⊃
H• N-ch open-drain
CMOS-level output
Digital output
CMOS-level hysteresis input
Analog input
(with analog input control)
Latchup may occur on CMOS ICs if voltage higher than V
CC
or lower than V
pins other than medium-and high voltage pins or if higher than the voltage is applied between V
SS
is applied to the input or output
and V
CC
When latchup occurs, power supply current increases rapidly might thermally damage elements. When using,
take great care not to exceed the absolute maximum ratings.
In addition, for the same reasons take care to prevent the analog power supply from exceeding the digital power
supply.
2. Treatment of Unused Pins
Leaving unused input pins open could cause malfunctions. They should be connected to a pull-up or pull-down
resistors.
3. Precautions when Using an External Clock
When an external clock is used, drive X0 only and X1 should be left open.
• Using an External Clock
X0
MB90242A
X1
SS
.
4. Power Supply Pins
When there are several V
within the device when the device is designed in order to prevent misoperation, such as latchup. However, all
of those pins must be connected to the power supply and ground externally in order to reduce unnecessary
emissions, prevent misoperation of strobe signals due to an increase in the ground level, and to observe the
total output current standards.
In addition, give a due consideration to the connection in that current supply be connected to V
the lowest possible impedance.
Finally, it is recommended to connect a capacitor of about 0.1 µ F between V
bypass capacitor.
14
CC
and V
SS
pins, those pins that should have the same electric potential are connected
CC
and V
CC
SS
near this device as a
and V
SS
with
To Top / Lineup / Index
MB90242A Series
5. Crystal Oscillation Circuit
Noise in the vicinity of the X0 and X1 pins will cause this device to operate incorrectly. Design the printed circuit
board so that the bypass capacitor connecting X0, X1 and the crystal oscillator (or ceramic oscillator) to ground
is located as close to the device as possible.
In addition, because printed circuit board artwork in which the area around the X0 and X1 pins is surrounded
by ground provides stable operation, such an arrangement is strongly recommended.
6. CLK Pin
ex. 32 MHz
* : In the external bus mode, the P50/CLK pin is initially configured as a CLK output pin.
X1
X0
Divide by 2 circuit
P50/CLK*
STOP
P50 output
P50 input
7. Cautions in Applying Power Supply
Hold the HST
When the RST pin is in the “L” level, do not hold the HST pin to “L” level.
pin to the “H” level when applying power supply.
to internal blocks
CLK output
15
MB90242A Series
BLOCK DIAGRAM
To Top / Lineup / Index
■
SCK0
SID0
SOD0
SCK1
SID1
SOD1
CC
AV
AVRH
AVRL
SS
AV
AN0 to AN3
AN6
AN7
ATG
TIN0, TIN1
TOT0, TOT1
3
UART
Simple serial
11
2
2
A/D converter
Multiply/accumulate
module
16-bit
timer × 3
MC-16F bus
2
F
16-bit timer
ICU × 4
I/O port × 38
External bus interface
2
MC-16F
F
CPU
63
16
24
4
ASR0 to ASR3
P00 to P07
P10 to P17
P20 to P27
P30 to P37
P40 to P47
P50 to P57
P60 to P63,
P66, P67,
P70 to P75
P80 to P82
D00 to D15
A00 to A23
CLK
RDY
HAK
4
HRQ
WRH
WRL
RD
16
INT0 to INT3
X0
X1
RST
HST
MD2 to MD0
RAM
4
External interrupt
timer × 4
7
Clock controller
ELECTRICAL CHARACTERISTICS
1. Absolute Maximum Ratings
To Top / Lineup / Index
MB90242A Series
■
SS
(V
= AV
Value
Parameter
Symbol
UnitRemarks
Min.Max.
CCVSS – 0.3VSS + 7.0V
V
Power supply voltage
AVCCVCC – 0.3VCC + 7.0V
Input voltage VI*VSS – 0.3VCC + 0.3V
Output voltageVO*VSS – 0.3VCC + 0.3V
“L” level output current IOL10mA
“L” level average output current IOLAV4mA
“L” level total average output currentΣIOLAV50mA
“H” level output currentIOH–10mA
“H” level average output currentIOHAV–4mA
“H” level total average output currentΣIOHAV–48mA
Power consumptionPD600mW
Operating temperatureTA–30+70°C
Storage temperatureTstg–55+150°C
* :V
and V
I
must not exceed V
O
+ 0.3 V.
CC
SS
= 0.0 V)
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.
2. Recommended Operating Conditions
(VSS = AVSS = 0.0 V)
Parameter
Power supply voltageV
Operating temperatureT
Symbol
CC
A–30+70°CExternal bus mode
WARNING: Recommended operating conditions are normal operating ranges for the semiconductor device. All
the device’s electrical characteristics are warranted when operated within these ranges.
Always use semiconductor de vices within the recommended operating conditions . 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 representative beforehand.
Value
Min.Max.
4.5
2.0
5.5
5.5
UnitRemarks
V
V
For retaining RAM data in the stop
mode
17
To Top / Lineup / Index
MB90242A Series
3. DC Characteristics
(VCC = 5.0 V ±10%, VSS = AVSS = 0.0 V, TA = –30°C to +70°C)