The MB90335 series are 16-bit microcontrollers designed for applications, such as personal computer peripheral
devices, that require USB communications. The USB feature supports not only 12-Mbps Function operation but
also MiniHost operation. It is equipped with functions that are suitable for personal computer peripheral devices
such as displays and audio devices, and control of mobile devices that support USB communications. While
inheriting the AT architecture of the F
addressing modes and contains enhanced signed multiplication and division instructions as well as a substantial
collection of improved bit manipulation instructions. In addition, long word processing is now available by introducing a 32-bit accumulator.
2
* : F
MC stands for FUJITSU Flexible Microcontroller, a registered trademark of FUJITSU LIMITED.
2
MC* family, the instruction set supports the C language and extended
FEATURES
■
••••
Clock
• Built-in oscillation circuit and PLL clock frequency multiplication circuit
• Oscillation clock
The machine clock is the oscillation clock divided into 2 (for oscillation 6 MHz : 3 MHz)
Clock for USB is 48 MHz
Machine clock frequency of 6 MHz, 12 MHz or 24 MHz selectable
• Minimum execution time of instruction : 41.6 ns (6 MHz oscillation clock, 4-time multiplied : machine clock
24 MHz and at operating V
••••
The maximum memory space:16 MB
••••
24-bit addressing
••••
Bank addressing
PACKAGE
■
CC= 3.3 V)
(Continued)
64-pin plastic LQFP
(FPT-64P-M09)
MB90335 Series
(Continued)
••••
Instruction system
Data types: Bit, Byte, Word, Long word
Addressing mode (23 types)
Enhanced high-precision computing with 32-bit accumulator
Enhance Multiply/Divide instructions with sign and the RETI instruction
••••
Instruction system compatible with high-level language (C language) and multitask
• Employing system stack pointer
• Instruction set symmetry and barrel shift instructions
••••
Program Patch Function (2 address pointer)
••••
4-byte instruction queue
••••
Interrupt function
• Priority levels are programmable
• 20 interrupts
••••
Data transfer function
• Expanded intelligent I/O service function (EI
• µDMAC : Maximum 16 channels
2
OS) : Maximum of 16 channels
••••
Low Power Consumption Mode
• Sleep mode (with the CPU operating clock stopped)
• Time - base timer mode (with the oscillator clock and time - base timer operating)
• Stop mode (with the oscillator clock stopped)
• CPU intermittent operation mode (with the CPU operating at fixed intervals of set cycles)
••••
Package
• LQFP-64P (FPT-64P-M09 : 0.65 mm pin pitch)
••••
Process : CMOS technology
••••
Operation guaranteed temperature:
−−−−
40
°°°°
C to
++++
85
°°°°
C (0
°°°°
C to
++++
°°°°
70
C when USB is in use)
2
MB90335 Series
INTERNAL PERIPHERAL FUNCTION (RESOURCE)
■■■■
••••
I/O port: Max 45 ports
••••
Time-base timer : 1channel
••••
Watchdog timer : 1 channel
••••
16-bit reload timer : 1 channel
••••
Multi-functional timer
• 8/16-bit PPG timer (8-bit × 4 channels or 16-bit × 2 channels) the period and duty of the output pulse can be
set by the program.
• 16-bit PWC timer : 1 channel
Timer function and pulse width measurement function
••••
UART : 2 channels
• Equipped with Full duplex double buffer with 8-bit lenghth
• Asynchronous transfer or clock-synchronous serial (I/O extended serial) transfer can be set.
••••
Extended I/O serial interface: 1 channel
••••
DTP/External interrupt circuit (8 channels)
• Activate the extended intelligent I/O service by external interrupt input
• Interrupt output by external interrupt input
••••
Delayed interrupt output module
• Output an interrupt request for task switching
••••
USB : 1 channel
• USB function (conform to USB 2.0 Full Speed)
• Supports for Full Speed/Endpoint are specifiable up to six.
• Dual port RAM (The FIFO mode is supported).
• Transfer type: Control, Interrupt, Bulk or Isochronous transfer possible
• USB Mini Host function
2
••••
I
C Interface : 1 channel
• Supports Intel SM bus standards and Phillips I
2
C bus standards
• Two-wire data transfer protocol specification
• Master and slave transmission/reception
Note : I
2
C licenae :
Purchase of Fujitsu I
2
C components conveys a license under the Philips I2C Patent Rights to use,
these components in an I
2
C system provided that the system conforms to the I2C Standard Specification as
defined by Phillips.
3
MB90335 Series
PRODUCT LINEUP
■■■■
1.MB90335 Series
Part numberMB90V330AMB90F337MB90337
TypeFor evaluationBuilt-in FLASH MEMORYBuilt-in Mask ROM
ROM capacityNo64 Kbyte
RAM capacity28 Kbyte4 Kbyte
Emulator-specific
power supply *
Number of basic instructions
Minimum instruction execu-
CPU functions
PortsI/O Ports(CMOS) 45 ports
UART
16-bit reload timer
Multi-functional timer
DTP/External interrupt
2
I
C1 channel
Extended I/O serial interface1 channel
USB
Withstand voltage of 5 V6 ports (Excluding VBUS and I/O for I
Low Power Consumption
Mode
ProcessCMOS
Operating voltage VCC3.3 V ± 0.3 V (at maximum machine clock 24 MHz)
tion time
Addressing type
Program Patch Function
maximum memory space
Equipped with full-duplex double buffer
Clock synchronous or asynchronous operation selectable.
It can also be used for I/O serial.
Built-in special baud-rate generator
Built-in 2 channels
Note : For detailed information on each package, see “■ PACKAGE DIMENSIONS”.
4
PIN ASSIGNMENT
■■■■
(TOP VIEW)
P51
P41/TOT0
P40/TIN0
P67/INT7/SDA0
P66/INT6/SCL0
P65/INT5/PWC
P64/INT4/SCK
P63/INT3/SOT
P62/INT2/SIN
P61/INT1
P60/INT0
P27/PPG3
P26/PPG2
P25/PPG1
P50
646362616059585756555453525150
MB90335 Series
Vcc
49
VBUS
Vss
DVM
DVP
Vcc
Vss
HVM
HVP
Vcc
HCONX
P42/SIN0
P43/SOT0
P44/SCK0
P45/SIN1
P46/SOT1
P47/SCK1
10
11
12
13
14
15
16
48
1
2
3
4
5
6
7
8
9
171819202122232425262728293031
Vss
P52
P53
MD2
MD1
MD0
RST
P54
P00
P01
P02
P03
P04
P05
P06
32
P07
Vss
47
X1
46
X0
45
P24/PPG0
44
P23
43
P22
42
P21
41
P20
40
P17
39
P16
38
P15
37
P14
36
P13
35
P12
34
P11
33
P10
(FPT-64P-M09)
5
MB90335 Series
PIN DESCRIPTION
■■■■
Pin no.
QFPM09
46 , 47X0, X1A
23RST
25 to 32P00 to P07I
33 to 40P10 to P17I
41 to 44P20 to P23DGeneral purpose input/output port.
45
51 to 53
62
63
11
12
13
14
15
16
50P50KGeneral purpose input/output port.
64P51KGeneral purpose input/output port.
17, 18P52, P53KGeneral purpose input/output port.
24P54KGeneral purpose input/output port.
Pin name
P24
PPG0Functions as output pins of PPG timers ch0.
P25 to P27
PPG1 to
PPG3
P40
TIN0Function as event input pin of 16-bit reload timer.
P41
TOT0Function as output pin of 16-bit reload timer.
P42
SIN0Functions as a data input pin for UART ch0.
P43
SOT0Functions as a data output pin for UART ch0.
P44
SCK0Functions as a clock I/O pin for UART ch0.
P45
SIN1Functions as a data input pin for UART ch1.
P46
SOT1Functions as a data output pin for UART ch1.
P47
SCK1Functions as a clock I/O pin for UART ch1.
Circuit
type*
D
D
H
H
H
H
H
H
H
H
Status at
reset/
function
Oscillation
status
FReset input External reset input pin.
Port input
(High-Z)
It is a terminal which connects the oscillator.
When connecting an external clock, leave the X1 pin side unconnected.
General purpose input/output port.
The ports can be set to be added with a pull-up resistor (RD00 to
RD07 = 1) by the pull-up resistor setting register (RDR0). (When
the power output is set, it is invalid.)
General purpose input/output port.
The ports can be set to be added with a pull-up resistor (RD10 to
RD17 = 1) by the pull-up resistor setting register (RDR1). (When
the power output is set, it is invalid.)
General purpose input/output port.
General purpose input/output port.
Functions as output pins of PPG timers ch1 to ch3.
General purpose input/output port.
General purpose input/output port.
General purpose input/output port.
General purpose input/output port.
General purpose input/output port.
General purpose input/output port.
General purpose input/output port.
General purpose input/output port.
Function
* : For circuit information, see “■ I/O CIRCUIT TYPE”.
6
(Continued)
MB90335 Series
(Continued)
Pin no.
QFPM09
54, 55
Pin name
P60, P61
INT0, INT1Functions as the input pin for external interrupt ch0 and ch1.
Circuit
type*
C
P62
56
INT2Functions as the input pin for external interrupt ch2.
C
SINData input pin for simple serial IO.
P63
57
INT3Functions as the input pin for external interrupt ch3.
C
SOTData output pin for simple serial IO
P64
58
INT4Functions as the input pin for external interrupt ch4.
C
SCKClock I/O pin for simple serial IO.
P65
59
INT5Functions as the input pin for external interrupt ch5.
C
PWCFunctions as the PWC input pin.
P66
INT6Functions as the input pin for external interrupt ch6.
60
C
SCL0
P67
61
INT7Functions as the input pin for external interrupt ch7.
C
SDA0
1VBUSCVBUS input Status detection pin of USB cable.
3DVMJ
4DVPJUSB function D + pin.
7HVMJUSB Mini Host D − pin.
8HVPJUSB Mini Host D + pin.
General purpose input/output port. (withstand voltage of 5 V)
General purpose input/output port. (withstand voltage of 5 V)
General purpose input/output port. (withstand voltage of 5 V)
General purpose input/output port. (withstand voltage of 5 V)
General purpose input/output port. (withstand voltage of 5 V)
General purpose input/output port.
Functions as the input/output pin for I
output must be placed in High-Z state during I
operation.
General purpose input/output port.
2
Functions as the I
C interface data input/output pin. The port out-
put must be placed in High-Z state during I
USB function D − pin.
Input pin for selecting operation mode.
Power supply pin.
2
C interface clock. The port
2
C interface
2
C interface operation.
* : For circuit information, see “■ I/O CIRCUIT TYPE”.
7
MB90335 Series
I/O CIRCUIT TYPE
■■■■
TypeCircuitRemarks
X1
Clock input
A
X0
Standby control signal
B
Hysteresis input
NoutNch
C
Hysteresis input
• Oscillation feedback resistance :
approx. 1 MΩ
• With standby control
• CMOS hysteresis input
• Hysteresis input
• Nch open drain output
Standby control signal
• CMOS output
• CMOS hysteresis input
Pch
Pout
(With input interception function at
standby)
Nch
D
Nout
Note : • The I/O ports and internal
resources share one output
buffer for their outputs.
Hysteresis input
Standby control signal
• The I/O port and internal
resources share one input buffer
for their input.
• CMOS output
Pch
Pout
E
Nch
Nout
• CMOS hysteresis input with pull-up
• Resistor approx. 50 kΩ
F
Hysteresis input
• CMOS hysteresis input with pull-down
• Resistor approx. 50 kΩ
G
Hysteresis input
• FLASH product is not provided with
pull-down resistor.
(Continued)
8
MB90335 Series
(Continued)
TypeCircuitRemarks
• CMOS output
Open drain control
Pch
H
Nch
Pout
Nout
signal
Hysteresis input
Standby control signal
CTL
Pch
I
Nch
Pout
Nout
• CMOS hysteresis input
(With input interception function at
standby)
With open drain control signal
• CMOS output
•CMOS input
(With input interception function at
standby)
Programmable pull-up
Resistor approx. 50 kΩ
CMOS input
Standby control signal
• USB I/O pin
D + input
+
D
D-input
Differential input
−
D
Full D + output
J
Full D-output
Low D + output
Low D-output
Direction
Speed
• CMOS output
Pch
Pout
•CMOS input
(With input interception function at
K
Nch
Nout
standby)
CMOS input
Standby control signal
9
MB90335 Series
HANDLING DEVICES
■■■■
1.Preventing latchup and turning on power supply
Latchup may occur on CMOS IC under the following conditions:
1. If a voltage higher than VCC or lower than VSS is applied to input and output pins.
2. A voltage higher than the rated voltage is applied between V
When latchup occurs, power supply current increases rapidly and might thermally damage elements. When
using CMOSICs, take great care to prevent the occurrence of latchup.
CC and VSS.
2.Treatment of unused pins
Leaving unused input pins open ma y cause a malfunction. These pins must theref ore be set to a pull-up or pulldown state.
3.About the attention when the external clock is used
• Using external clock
X0
X1OPEN
4.Treatment of power supply pins (VCC/VSS)
When the device is provided with multiple VCC and VSS pins, be sure to connect all of the po wer pins to the power
supply and ground outside the device to reduce latch-up and unwanted r adiation, pre vent the strobe signal from
malfunctioning due to a rise of grand level, and to follow the standards of total output current for device design
reasons. The power supply source should be connected to the V
impedance. It is also advisable to connect a bypass capacitor of appro ximately 0.1 µF between V
this device.
CC and VSS of this device at the lowest possib le
CC and VSS near
5.About crystal oscillator circuit
Noise near the X0/X1 pin may cause the device to malfunction. When designing the ar twork for a PC board
using the microcontroller, it is strongly advisable to place the X0/X1 and cr ystal (ceramic) oscillator, and the
bypass capacitor leading to the ground as close to one another as possible and prevent their writing patterns
from crossing other patterns as possible be cause stable operation can be expected with such a layout.
6.Caution on Operations during PLL Clock Mode
Even if the oscillator comes off or the clock input stops with the PLL clock selected for this microcontroller, the
microcontroller may continue to operate at the free-running frequency of the PLL internal automatic oscillator
circuit.Performance of this operation, however, cannot be guaranteed.
10
MB90335 Series
7.Stabilization of supply voltage
A sudden change in the supply voltage may cause the device to malfunction even within the VCC supply voltage
operating range. F or stabilization ref erence, the supply v oltage should be controlled so that V
(peak-to-peak values) at commercial frequencies (50 MHz to 60 MHz) fall belo w 10% of the standard V
voltage and the transient regulation does not exceed
0.1 V/ms at temporary changes such as power supply switching.
8.Writing to flash memory
For serial writing to flash memory , alwa ys mak e sure that the operating v oltage VCC is between 3.13 V and 3.6 V.
CC ripple variations
CC supply
For normal writing to flash memory , alwa ys make sure that the operating v oltage V
CC is between 3.0 V and 3.6 V.
11
MB90335 Series
BLOCK DIAGRAM
■■■■
X0, X1
RST
MD0 to MD2
SIN0, SIN1
SOT0, SOT1
SCK0, SCK1
SCL0
SDA0
TOT0
TIN0
DVP
DVM
HVP
HVM
HCONX
VBUS
INT0 to INT7
Clock control
circuit
Interrupt
controller
RAM
ROM
UART/SIO
ch0, ch1
I2C
16-bit reload
timer
USB
(Function)
(Mini-HOST)
External interrupt
F2MC-16LX
CPU
Internal data bus
8/16-bit PPG
timer
ch0 to ch3*
16-bit PWC
SIO
µDMAC
PPG0 to PPG3
PWC
SIN
SOT
SCK
12
I/O port (port 0, 1, 2, 4, 5, 6)
P00
P07
P10
P17
P20
P27
P40
P47
P50
P54
P60
P67
* : Channel for use in 8-bit mode. Two channels (ch1, ch3) are used in 16-bit mode.
Note : I/O ports share pins with peripheral resources.
For details, see “■ PIN ASSIGNMENT” and “■ PIN DESCRIPTION”.
Note also that pins used for peripheral resources cannot serve as I/O ports.
MEMORY MAP
■■■■
Single chip mode (ROM mirror function)
MB90V330AMB90F337MB90337
FFFFFFH
FF0000H
ROM (FF bank)
FFFFFFH
FF0000H
ROM (FF bank)
MB90335 Series
FFFFFFH
FF0000H
ROM (FF bank)
00FFFFH
008000H
007FFFH
007900H
007100H
000100H
0000FBH
000000H
ROM area
(image of FF bank)
Peripheral area
RAM area
(28 Kbytes)
Register
Peripheral area
00FFFFH
008000H
007FFFH
007900H
001100H
000100H
0000FBH
000000H
ROM area
(image of FF bank)
Peripheral area
RAM area
(4 Kbytes)
Register
Peripheral area
00FFFFH
008000H
007FFFH
007900H
001100H
000100H
0000FBH
000000H
ROM area
(image of FF bank)
Peripheral area
RAM area
(4 Kbytes)
Register
Peripheral area
Memory Map of MB90335 Series
Notes : • When the ROM mirror function register has been set, the mirror image data at higher addresses (“FF8000
to FFFFFF
H” ) of bank FF is visible from the higher addresses (“008000H to 00FFFFH”) of bank 00.
• For setting the ROM mirror function, see “16. ROM mirror function select module” in “■ PERIPHERAL
RESOURCES”.
Reference : • The ROM mirror function is for using the C compiler small model.
• The lower 16-bit addresses of bank FF are equivalent to those of bank 00. Since the ROM area in
bank FF exceeds 48 Kbytes, however, the mirror image of all the data in the ROM area cannot be
reproduced in bank 00.
• When the C compiler small model is used, the data tab le mirror image can be shown at “008000
00FFFF
H” by storing the data table at “FF8000H to FFFFFFH”.
H to
Therefore, data tab les in the ROM area can be ref erenced without declaring the f ar addressing with
the pointer.
H
13
MB90335 Series
2
F
MC-16L CPU PROGRAMMING MODEL
■■■■
• Dedicated register
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
14
I/O MAP
■■■■
MB90335 Series
Address
000000
Register
abbreviation
HPDR0Port 0 Data RegisterR/WPort 0XXXXXXXXB
Register
Read/
Write
Resource nameInitial Value
000001HPDR1Port 1 Data RegisterR/WPort 1XXXXXXXXB
000002HPDR2Port 2 Data RegisterR/WPort 2XXXXXXXXB
000003HProhibited
000004HPDR4Port 4 Data RegisterR/WPort 4XXXXXXXXB
000005HPDR5Port 5 Data RegisterR/WPort 5- - - XXXXXB
000006HPDR6Port 6 Data RegisterR/WPort 6XXXXXXXXB
000007H
There is a stop demand.)
: Available (The interrupt request flag is cleared by the interrupt clear signal).
: Available when any interrupt source sharing ICR is not used.
× : Unavailable
• If the same interrupt control register (ICR) has two interrupt factors and the use of the EI
2
EI
OS is activated when either of the factors is detected. As any interr upt other than the activation factor is
masked while the EI
when using the EI
• The interrupt flag is cleared by the EI
in the same interrupt control register (ICR).
Note : If a resource has two interrupt sources for the same interrupt number , both of the interrupt request flags are
cleared by the µDMAC interrupt clear signal. Theref ore, when y ou use either of two interrupt f actors f or the
DMAC function, another interrupt function is disabled. Set the interrupt request permission bit to " 0 " in the
appropriate resource, and take measures by software polling.
USB INTERRUPT FACTOR CONTENTS
■■■■
OS stop function provided (The interrupt request flag is cleared by the interrupt clear signal.
2
OS is permitted, the
2
OS is running, it is recommended that you should mask either of the interrupt requests
2
OS.
2
OS interrupt clear signal for the resource that has two interrupt factors
USB interrupt factorDetails
USB function 1End Point0-IN, EndPoint 0-OUT
USB function 2End Point 1-5
USB function 3VOFF, VON, SUSP, SOF, BRST, WKOP, COHF
USB function 4SPIT
USB Mini-HOST1DIRQ, CHHIRQ, URIRQ, RWKIRQ
USB Mini-HOST2SOFIRQ, CMPIRQ
23
MB90335 Series
PERIPHERAL RESOURCES
■■■■
1.I/O port
• The I/O ports are used as general-purpose input/output por ts (parallel I/O por ts). MB90335 series model is
provided with 6 ports (45 inputs) . The ports function as input/output pins for peripheral functions also.
• An I/O port, using port data register (PDR) , outputs the output data to I/O pin and input a signal input to I/O
port. The port direction register (DDR) specifies direction of input/output of I/O pins on a bit-by-bit basis.
• The following table lists the I/O ports and the peripheral functions with which they share pins.
Port pin namePin Name (Peripheral) Peripheral Function that Shares Pin
Port 0P00 to P07
Port 1P10 to P17
Port 2
Port 4
Port 5P50 to P54
Port 6
P20 to P23
P24 to P27PPG0 to PPG38/16 bit PPG timer 0, 1
P40, P41TIN0, TOT016-bit reload timer
P42 to P47
P60, P61INT0, INT1External interrupt
P62 to P64
P65INT5, PWCExternal interrupt, PWC
P66, P67INT6, INT7, SCL0, SDA0 External interrupt, I
SIN0, SOT0, SCK0,
SIN1, SOT1, SCK1
INT2 to INT4,
SIN, SOT, SCK
UART0, 1
External interrupt, serial IO
2
C
24
• Register list (port data register)
MB90335 Series
PDR0Initial ValueAccess
Address : 000000
PDR1
Address : 000001
PDR2
Address : 000002
PDR4
Address : 000004
PDR5
Address : 000005
PDR6
Address : 000006
76543210
HXXXXXXXXBR/W*
15141312111098
HXXXXXXXXBR/W*
76543210
HXXXXXXXXBR/W*
76543210
HXXXXXXXXBR/W*
15141312111098
H- - - XXXXXBR/W*
76543210
HXXXXXXXXBR/W*
P67
P06P07P05P04P03P02P01P00
P16P17P15P14P13P12P11P10
P26P27P25P24P23P22P21P20
P46P47P45P44P43P42P41P40
P54P53P52P51P50
P66P65P64P63P62P61P60
* : R/W access to I/O ports is a bit different in behavior from R/W access to memory as follows:
• Input mode
Read : The level at the relevant pin is read.
Write : Data is written to the output latch.
• Output mode
Read : The data register latch value is read.
Write : Data is output to the relevant pin.
25
MB90335 Series
• Register list (port direction register)
DDR0Initial Value Access
Address : 000010
DDR1
Address : 000011
DDR2
Address : 000012
DDR4
Address : 000014
DDR5
Address : 000015
DDR6
Address : 000016
76543210
H00000000BR/W
15141312111098
H00000000BR/W
H00000000BR/W
H00000000BR/W
15141312111098
H- - - 00000BR/W
76543210
H00000000BR/W
D06D07D05D04D03D02D01D 00
D16D17D15D14D13D12D11D10
76543210
D26D27D25D24D23D22D21D20
76543210
D46D47D45D44D43D42D41D40
D54D53D52D51D50
D66D67D65D64D63D62D61D60
•When each pin is serving as a port, the corresponding pin is controlled as follows:
0 : Input mode
1 : Output mode
This bit becomes 0 after a reset.
Note : If these registers are accessed by a read modify write instruction (such as a bit set instruction) , the bits
manipulated by the instruction are set to prescribed values but those other bits in output registers which
have been set f or input are re written to the current input values of the pins . When s witching a pin from input
port to output port, therefore, write a desired value in the PDR first, then set the DDR to switch the pin for
output.
• Register list (Port pull-up register)
RDR0Initial Value Access
Address : 00001C
RDR1
Address : 00001D
76543210
H00000000BR/W
H00000000BR/W
RD06RD07RD05RD04RD03RD02RD01RD00
15141312111098
RD16RD17RD15RD14RD13RD12RD11RD10
Controls the pull-up resistor in input mode.
0 : Without pull-up resistor in input mode.
1 : With Pull-up resistor in input mode.
Meaningless in output mode (without pull-up resistor) ./ The input/output register is decided by the setting of the
direction register (DDR) .
No pull-up resistor is used in stop mode (SPL = 1).
26
• Register list (output pin register)
MB90335 Series
ODR4Initial Value Access
Address : 00001B
76543210
H00000000BR/W
OD46OD47OD45OD44OD43OD42OD41OD40
Controls open-drain output in output mode.
0 : Serves as a standard output port in output mode.
1 : Serves as an open-drain output port in output mode.
Meaningless in input mode. (output High-Z) / The input/output register is decided by the setting of the direction
register (DDR) .
• Block diagram of port 0 pin and port1 pin
Pull-up resistor
setting register
(RDRx)
Built-in pull-up
resistor
PDRx read
Input
buffer
Output
buffer
Port
pin
Standby control (LPMCR : SPL = “1”)
Internal data bus
PDRx
Write
Port data
register
(PDRx)
Port direction
register
(DDRx)
I/O
decision circuit
• Block diagram of port 2 pin, port 4 pin, port 5 pin and port 6 pin
Resource input
PDRx read
PDRx
Internal data bus
write
Port data
register
(PDRx)
Port direction
register
(DDRx)
I/O
decision circuit
Resource output control signal
Release output
input
buffer
Output
buffer
Port
pin
Standby control (LPMCR : SPL = “1”)
27
MB90335 Series
2.Time-base timer
• The time-base timer is an 18-bit free-running counter (time-base timer counter) that counts in synchronization
with the main clock (2 cycles of the oscillation clock HCLK).
• Four different time intervals can be selected, for each of which an interrupt request can be generated.
• Operating clock signals are supplied to peripheral resources such as the oscillation stabilization wait timer and
watchdog timer.
••••
Interval time of time-base timer
Internal count clock cycleInterval time
12
2
/HCLK (Approx. 0.68 ms)
14
2
2/HCLK (0.33 µs)
Notes : • HCLK : Oscillation clock frequency
• The parenthesized values assume an oscillator clock frequency of 6 MHz.
/HCLK (Approx. 2.7 ms)
16
2
/HCLK (Approx. 10.9 ms)
19
/HCLK (Approx. 87.4 ms)
2
••••
Clock cycles supplied from time-base timer
Where to supply clockClock cycle
13
2
/HCLK (Approx. 1.36 ms)
Oscillation stabilization wait of
main clock
Watch dog timer
15
/HCLK (Approx. 5.46 ms)
2
17
2
/HCLK (Approx. 21.84 ms)
12
2
/HCLK (Approx. 0.68 ms)
14
/HCLK (Approx. 2.7 ms)
2
16
2
/HCLK (Approx. 10.9 ms)
19
2
/HCLK (Approx. 87.4 ms)
Notes : • HCLK : Oscillation clock frequency
• The parenthesized values assume an oscillator clock frequency of 6 MHz.
•
Register list
Time-base timer control register (TBTC)
15141312111098
Address : 0000A9H1--00100B
RESVTBIETBOFTBRTBC1TBC0
( R/W )
( )( )( R/W ) ( R/W )( W )( R/W ) ( R/W )
Initial Value
Note : F or the conditions for clearing the time-base timer, ref er to the chapter for the time-base timer in the hardware
manual.
28
• Block Diagram
MB90335 Series
Time-base timer counter
Dividing HCLK by 2
Power-on reset
Stop mode start
CKSCR : MCS = 1→0*
Time-base timer control register (TBTC)
Time-base timer interrupt signal
:Unused
OF:Overflow
HCLK :Oscillation clock
*1:Switching the machine clock from main clock to PLL clock
Notes : • The maximum and minimum time intervals for the watchdog timer depend on the counter clear timing.
• The watchdog timer contains a 2-bit counter that counts the carry signals of the time-base timer. When
the device is operating with HCLK, theref ore, clearing the time-base timer lengthens the watchdog reset
generation time interval.
14
± 211 / HCLK
16
± 213 / HCLK
18
± 215 / HCLK
21
± 218 / HCLK
Event that stop the watchdog timer
•
1 : Stop due to a Power-on reset
2 : watchdog reset
• Clear factor of watch dog timer
1 : External reset input by RST pin
2 : Writing “0” to the software reset bit
3 : Writing “0” to the watchdog control bit (second and subsequent times)
4 : Transition to sleep mode (Clearing the watchdog timer, and suspend counting)
5 : Transition to time-base timer mode (Clearing the watchdog timer, and suspend counting)
6 : Transition to stop mode (Clearing the watchdog timer, and suspend counting)
The 16-bit reload timer has the internal clock mode to be decrement in synchronization with three different
internal clocks and the event count mode to decrement upon detection of an arbitrary edge of the pulse input
to the external pin. Either can be selected. This timer defines when the count value changes from 0000
FFFF
H as an underflow. The timer therefore causes an underflow when the count reaches [reload register
setting +1]. Either mode can be selected for the count operation from the reload mode which repeats the count
by reloading the count setting value at the underflow occurrence or the one-shot mode which stops the count
at the underflow occurrence. The interrupt can be generated at the counter underflow occurrence so as to
correspond to the DTC.
CSL1 CSL0 MOD2MOD1MOD0OUTE OUTL RELDUFINTECNTE TRG
Timer control status register (TMCSR0)
*1 : Interrupt number
*2 : Underflow
Pin
Operating
Control
circuit
Interrupt
request output
#23 (17
H)*1
33
MB90335 Series
5.Multifunction timer
• The multifunction timer can be used for waveform output, input pulse width measurement, and ex ternal clock
cycle measurement.
••••
Configuration of a multi-functional timer
8/16 bit PPG timer16 bit PWC timer
8 bit × 4 ch
(16 bit × 2 ch)
• 8/16 bit PPG timer (8 bit : 4 channels, 16 bit : 2 channels)
8/16 bit PPG timer consists of a 8 bit down counter (PCNT) , PPG control register (PPGC0 to PPGC3) , PPG
clock control register (PCS01, PCS23) and PPG reload register (PRLL0 to PRLL3, PRLH0 to PRLH3) .
When used as an 8/16 bit reload timer, the PPG timer serves as an event timer. It can also output pulses of an
arbitrary duty ratio at an arbitrary frequency.
• 8 bit PPG mode
Each channel operates as an independent 8 bit PPG.
• 8 bit prescaler + 8 bit PPG mode
Operates as an arbitrary-cycle 8 bit PPG with ch0 (ch2) operating as an 8 bit prescaler and ch2 (ch3) counted
by the borrow output of ch0 (ch2).
• 16 bit PPG mode
Operates as a 16 bit PPG with ch0 (ch2) and ch1 (ch3) connected.
• PPG Operation
The PPG timer outputs pulses of an arbitrary duty ratio (the ratio between the High and Low level periods of
pulse waveform) at an arbitrary frequency. Can also be used as a D/A converter by an external circuit.
: Setting disabled
*1 : + 1 is an address/data setting bit (A/D) which is used for communication control.
*2 : Only one bit can be detected as a stop bit at reception.
Special-purpose
baud-rate generator
(UART prescaler
control register
UTCR0, 1)
Pin
SCK0, SCK1
Clock
selector
Reception
clock
Start bit
detection circuit
Control bus
Reception
control
circuit
Transmission
clock
Transmission
start circuit
Transmission
control circuit
Reception interrupt
signal
#39 (27
Send interrupt signal
#37 (25
∗
H)
∗
H)
Pin
SIN0, SIN1
Receive status
decision circuit
SMR0,
SMR1
Reception bit
counter
Reception parity
counter
Shift register for
reception
SIDR0, SIDR1
MD1
MD0
SCKL
M2L2
M2L1
M2L0
SCKE
SOE
Reception
complete
Internal data bus
SCR0,
SCR1
Transmission bit
counter
Transmission
parity counter
Shift register for
transmission
SODR0, SODR1
PEN
P
SBL
CL
A/D
REC
RXE
TXE
SSR0,
SSR1
Pin
SOT0, SOT1
Start
transmission
Reception error
occurrence signal for
2
EI
OS (to CPU)
PE
ORE
FRE
RDRF
TDRE
BDS
RIE
TIE
42
* : Interrupt number
MB90335 Series
7.Extended I/O serial interface
The extended I/O serial interface is a serial I/O interface that can transfer data through the adoption of 8-bit ×
1 channel configured clock synchronization scheme. LSB-first or MSB-first transfer mode can be selected for
data transfer.
There are two serial I/O operation modes available:
• Internal shift clock mode: Transfer data in synchronization with the internal clock.
• External shift clock mode: T r ansfer data in synchronization with the cloc k supplied via the e xternal pin (SCK).
By manipulating the general-purpose por t sharing the external pin (SCK) in this
mode, data can also be transferred by a CPU instruction.
• Register list
Serial mode control status register (SMCS)
Initial Value
Address : 000059
15141312111098
H00000010 B
SMD1SMD2SMD0SIESIRBUSYSTOPSTRT
( R/W )( R/W )( R/W )
( R/W )
( R/W )
( R/W )
( R/W ) ( R/W )
76543210
Address : 000058
HXXXX0000 B
( )
MODEBDSSOESCOE
( )
( )
Serial data register (SDR)
76543210
Address : 00005A
HXXXXXXXXB
( R/W )
D6D7D5D4D3D2D1D0
Communication prescaler control register (SDCR)
15141312111098
Address : 00005B
H0XXX0000B
MDDIV3DIV2DIV1DIV0
( R/W )
( )( )( )( R/W ) ( R/W ) ( R/W ) ( R/W )
( )
( R/W )
( R/W )
( R/W )
( R/W )
( R/W )
( R/W )
( R/W ) ( R/W )( R/W )( R/W )
Initial Value
( R/W )
Initial Value
Initial Value
43
MB90335 Series
• Block Diagram
Internal data bus
(MSB first) D0 to D7
SIN
SOT
SCK
Internal clock
SMD2
D7 to D0 (LSB first)
Transfer direction selection
SDR (serial data register)
Control circuit
21 0
SMD1 SMD0 SIESIR BUSY STOP STRT MODE BDS
Shift clock counter
Interrupt
request
Internal data bus
Initial Value
Read
Write
SOE SCOE
44
MB90335 Series
8.I2C Interface
The I2C interface is a serial I/O port suppor ting the Inter IC BUS. It serves as a master/slave device on the I2C
bus and has the following features.
• Master/slave sending and receiving
• Arbitration function
• Clock synchronization function
• Slave address and general call address detection function
• Detecting transmitting direction function
• Start condition repeated generation and detection function
The USB is an interface supporting the USB (Universal Serial Bus) communications protocol.
Feature of USB function
• Conform to USB 2.0 Full Speed
• FULL speed (12 Mbps) is supported.
• The device status is auto-answer.
• Bit stripping, bit stuffing, and automatic generation and check of CRC5 and CRC16.
• Toggle check by data synchronization bit.
• Automatic response to all standard commands except Get/SetDescriptor and SynchFrame commands (these
three commands can be processed the same way as the class vendor commands).
• The class vendor commands can be received as data and responded via firmware.
• Supports up to maximum six EndPoints (EndPoint0 is fixed to control transfer).
• Two transfer data buffers integrated for each end point (one IN buffer and one OUT buffer for end point 0).
• Supports automatic transfer mode for transfer data via DMA (except buffers for EndPoint0).
• Capable of detection of connection and disconnection by monitoring the USB bus power line.
USB Mini-HOST provides minimal host operations required and is a function that enables data to be transf erred
to and from Device without PC intervention.
Feature of USB Mini-HOST
• Automatic detection of Low Speed/Full Speed transfer
• Low Speed/Full Speed transfer support
• Automatic detection of connection and cutting device
DTP (Data Transfer Peripheral)/external interrupt circuit detects the interrupt request input from the external
interrupt input terminal INT7 to INT0, and outputs the interrupt request.
• DTP/external interrupt circuit function
The DTP/external interrupt function outputs an interrupt request upon detection of the edge or level signal input
to the external interrupt input pins (INT7 to INT0).
If CPU accept the interrupt request, and if the extended intelligent I/O service (EI
the interrupt handling routine after completing the automatic data transfer (DTP function) performed by EI
And if EI
(DTP function) performed by EI
••••
Feature of DTP/external interrupt circuit
2
OS is disabled, it branches to the interrupt handling routine without activating the automatic data transf er
The interrupt control register is located inside the interrupt controller, it exists for every I/O having an interrupt
function. This register has the following functions.
• Setting of the interrupt levels of relevant peripheral
Note : Do not access interrupt control registers using any read modify write instruction because it causes a
malfunction.
• Block Diagram
3
3
3
3
3
3
3
3
3
3
MC-16LX bus
3
2
F
3
3
3
3
3
IL2IL1IL0
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
Determine
priority
of
interrupt
32
Interrupt request
(peripheral resource)
3
(CPU)
Interrupt level
55
MB90335 Series
13. µµµµDMAC
µDMAC is simple DMA with the function equal with EI2OS. It has 16 channels DMA transfer channels with the
following features.
• Performs automatic data transfer between the peripheral resource (I/O) and memory
• The program execution of CPU stops in the DMA startup
• Capable of selecting whether to increment the transfer source and destination addresses
• DMA transfer is controlled by the DMA enable register, DMA stop status register, DMA status register and
descriptor
• A STOP request is available for stopping DMA transfer from the resource
• Upon completion of DMA transfer, the flag bit corresponding to the transfer completed channel in the DMA
status register is set and a termination interrupt is output to the transfer controller.
Note : The above register is switched for each channel depending on the DCSR.
Initial Value
Initial Value
Initial Value
Initial Value
57
MB90335 Series
14. Address matching detection function
When the address is equal to the value set in the address detection register , the instruction code to be read into
the CPU is forcibly replaced with the INT9 instruction code (01H). As a result, the CPU executes the INT9
instruction when executing the set instruction. By perfor ming processing by the INT#9 interrupt routine, the
program patch function is enabled.
T wo address detection registers are pro vided, for each of which there is an interrupt enable bit. When the address
matches the value set in the address detection register with the interrupt enable bit set to 1, the instruction code
to be read into the CPU is forcibly replaced with the INT9 instruction code.
• Register list
• Program address detect register 0 to 2 (PADR0)
PADR0 (lower)Initial Value
Address : 001FF0
76543210
HXXXXXXXXB
(R/W)
PADR0 (middle)Initial Value
Address : 001FF1
HXXXXXXXXB
(R/W)
PADR0 (higher)Initial Value
Address : 001FF2
HXXXXXXXXB
(R/W)
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
15141312111098
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
76543210
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
• Program address detect register 3 to 5 (PADR1)
PADR1 (lower)Initial Value
Address : 001FF3
PADR1 (middle)Initial Value
Address : 001FF4
15141312111098
HXXXXXXXXB
(R/W)
HXXXXXXXXB
(R/W)
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
76543210
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
PADR1 (higher)Initial Value
15141312111098
Address : 001FF5HXXXXXXXXB
(R/W)
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
• Program address detect control status register (PACSR)
PACSRInitial Value
Address : 00009EH00000000B
76543 210
Reserved
Reserved Reserved ReservedReservedReserved
(R/W)
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
R/W : Readable and Writable
X : Undefined
58
AD1EAD0E
MB90335 Series
15. Delay interrupt generator module
• The delay interrupt generation module is a module that generates interrupts for switching tasks. A hardware
interrupt can be generated by software.
•
Function of delay interrupt generator module
Function and control
• Setting the R0 bit in the delayed interrupt request generate/cancel register to
Interrupt source
Interrupt control• No setting of permission register is provided.
Interrupt flag• Set in bit R0 of the delayed interrupt request generation/clear register (DIRR : R0)
2
OS support• Not ready for expanded intelligent I/O service (EI2OS).
EI
• Block Diagram
1 (DIRR: R0 = 1) generates a interrupt request.
• Setting the R0 bit in the delayed interrupt request generate/cancel register to
0 (DIRR: R0 = 0) cancels the interrupt request.
Internal data bus
Delayed Interrupt source/release register (DIRR)
: Undefined bit
R0
S Interrupt request
R Latch
Interrupt
request
signal
59
MB90335 Series
16. ROM mirroring function selection module
• The ROM mirror function select module can make a setting so that ROM data located in bank FF can be read
by accessing bank 00.
•
ROM mirroring function selection module
Description
Mirror setting address
Interrupt source• None
2
EI
OS support• Not ready for extended intelligent I/O service (EI2OS).
• Block Diagram
FFFFFF
the 00 bank.
H to FF8000H in the FF bank can be read through 00FFFFH to 008000H in
ROM mirror function selection register (ROMM)
Address
Internal data bus
Data
FF bank
Address area
ROM
00 bank
Re-
served
MI
60
MB90335 Series
17. Low power consumption (standby) mode
•The F2MC-16LX can be set to save power consumption by selecting and setting the low power consumption
mode.
•
CPU operation mode and functional description
CPU
operating clock
Operation
mode
Description
PLL clock
Main clock
CPU intermittent
operation mode
• Register list
Normally
run
Sleep
Time-base
timer
Stop
normally
run
Sleep
Time-base
timer
Stop
Normally
run
The CPU and peripheral resources operate at the clock frequency obtained by
PLL multiplication of the oscillator clock (HCLK) frequency.
Only peripheral resources operate at the clock frequency obtained by PLL
multiplication of the oscillator clock (HCLK) frequency.
Only the time-base timer operates at the clock frequency obtained by PLL
multiplication of the oscillator clock (HCLK) frequency.
The CPU and peripheral resources are suspended with the oscillator clock
stopped.
The CPU and peripheral resources operate at the clock frequency obtained by
dividing the oscillator clock (HCLK) frequency by two.
Only peripheral resources operate at the clock frequency obtained by dividing the
oscillator clock (HCLK) frequency by two.
Only the time-base timer operates at the clock frequency obtained by dividing the
oscillator clock (HCLK) frequency by two.
The CPU and peripheral resources are suspended with the oscillator clock
stopped.
The halved or PLL-multiplied oscillator clock (HCLK) frequency is used for
operation while being decimated in a certain period.
Lowe power consumption mode control register (LPMCR)
76543210
Address : 0000A0H00011000B
STPSPLRSTTMD CG1CG0
( W )
SLP
( W )( R/W )( W )( R/W ) ( R/W ) ( R/W ) ( R/W )
Reserved
Initial Value
61
MB90335 Series
18. Clock
The clock generator controls the internal clock as the operating clock f or the CPU and peripheral resources. The
internal clock is referred to as machine clock whose one cycle is defined as machine cycle . The cloc k based on
source oscillation is referred to as oscillator clock while the cloc k based on internal PLL oscillation as PLL clock.
The description that follows applies to the flash memory built in the MB90F334; it is not applicable to e v aluation
ROM or masked ROM.
The method of data write/erase to flash memory is following three types.
• Parallel writer
• Serial dedicated writer
• Write/erase by executing program
• Description of 512 Kbits flash memory
512 Kbits flash memory is located in FF
circuit enables read and program access from CPU.
Write/erase to flash interface is executed by instruction from CPU via flash memory interface, so rewrite of
program and data is carried on in the mounting state effectively.
Data can be reprogrammed not only by program execution in existing RAM but by program execution in flash
memory by dual operation. The different banks (the upper and lower banks) can be used to execute an erase/
program and a read concurrently.
Also, erase/write and read in the defferent bank (Upper Bank/Lower Bank) is executed simultaneously.
* : Flash memory writer address indicates the address equivalent to the CPU address when data is written
to the flash memory using a parallel writer. Programming and erasing by the general-purpose parallel
programmer are executed based on writer addresses.
∗ When writing to SSR0 register, write “0” except for SEN0.
Initial Value
65
MB90335 Series
• Standard configuration for Fujitsu standard serial on-board writing
The flash microcontroller programmer (AF220/AF210/AF120/AF110) made by Yokogawa Digital Computer Corp .
is used for Fujitsu standard serial onboard writing.
Host interface cable (AZ201)
Flash
RS232C
microcontroller
programmer
+
Memory card
General-purpose common cable (AZ210)
CLK synchronous
serial
MB90F337
user system
Can operate standalone
Note : Inquire of Yokogawa Digital Computer Corporation for details about the functions and operations of the
flash microcontroller programmer (AF220, AF210, AF120 and AF110) , general-purpose common cable for
connection (AZ210) and connectors.
•
Pins Used for Fujitsu Standard Serial On-board Programming
PinFunctionDescription
MD2,
MD1, MD0
Mode input pin
The device enters the serial program mode by setting MD2 = 1,
MD1 = 1 and MD0 = 0.
Because the internal CPU operation clock is set to be the 1 multiplication
X0, X1Oscillation pin
PLL clock in the serial write mode, the internal operation clock frequency
is the same as the oscillation clock frequency.
P60, P61Write program start pinsInput a Low level to P60 and a High level to P61.
RST
SIN0Serial data input pin
SOT0Serial data output pin
SCK0Serial clock input pin
Reset input pin
UART0 is used as CLK synchronous mode.
In write mode, the pins used for the UART0 CLK synchronous mode are
SIN0, SOT0, and SCK0.
When supplying the write voltage (MB90F337 : 3.3 V±0.3 V) from the
V
CCPower source input pin
user system, connection with the flash microcontroller programmer is
not necessary.
When connecting, do not short-circuit with the user power supply.
V
SSGND PinShare GND with the flash microcontroller programmer.
66
MB90335 Series
The control circuit shown in the diagram is required for using the P60, P61, SIN0, SOT0 and SCK0 pins on the
user system. Isolate the user circuit during serial on-board writing, with the /TICS signal of the flash microcontroller programmer.
AF220/AF210/AF120/AF110
Write control pin
10 kΩ
AF220/AF210/AF120/AF110
/TICS pin
User
Control circuit
The MB90F337 serial clock frequency that can be input is determined by the following expression • Use the
flash microcontroller programmer to change the serial clock input frequency setting depending on the oscillator
clock frequency to be used.
Imputable serial clock frequency = 0.125 × oscillation clock frequency.
• Maximum serial clock frequency
Oscillation
clock
frequency
At 6 MHz750 kHz500 kHz500 kHz
•
System configuration of the flash microcontroller programmer (AF220/AF210/AF120/AF110) (made by Yokogawa
Digital Computer Corp.)
Part numberFunction
AF220/AC4PModel with internal Ethernet interface/100 V to 220 V power adapter
Maximum serial clock
frequency acceptable to the
microcontroller
Maximum serial clock
frequency that can be set
with the AF220/AF210/
AF120/AF110
MB90F337 write control pin
Maximum serial clock
frequency that can be set
with the AF200
AF210/AC4PStandard model/100 V to 220 V power adapter
Unit
AF120/AC4PSingle key internal Ethernet interface mode/100 V to 220 V power adapter
AF110/AC4PSingle key model/100 V to 220 V power adapter
AZ221PC/AT RS232C cable for writer
AZ210Standard target probe (a) length : 1 m
FF201Control module for Fujitsu F
AZ290Remote controller
/P22 MB PC Card (option) FLASH memory capacity to respond to 128 KB
/P44 MB PC Card (option) FLASH memory capacity to respond to 512 KB
Contact to : Yokogawa Digital Computer Corp. TEL : (81)-42-333-6224
Note : The AF200 flash micon programmer is a retired product, but it can be supported using control module FF201.
2
MC-16LX flash microcontroller control module
67
MB90335 Series
ELECTRICAL CHARACTERISTICS
■■■■
1.Absolute Maximum Ratings
ParameterSymbol
(VCC= 3.3 V, VSS= 0.0 V)
Rating
UnitRemarks
MinMax
Power supply voltageV
Input voltageV
Output voltageV
L level maximum output
current
L level average output current
L level maximum total output current
L level average total
output current
H level maximum output
current
H level average output current
H level maximum total output current
I
IOL243mAUSB I/O*
IOLAV3mA*3
ΣI
ΣIOLAV30mA*4
I
IOH2− 43mAUSB I/O*
IOHAV− 3mA*3
ΣIOH− 60mA
CCVSS− 0.3VSS+ 4.0V
VSS− 0.3VSS+ 4.0V*1
I
V
SS− 0.3VSS+ 6.0V
− 0.5V
SS+ 4.5VUSB I/O
Nch0.D
(Withstand voltage I/O of 5 V)
VSS− 0.3VSS+ 4.0V*1
O
OL110mAOther than USB I/O*
OL60mA
OH1 − 10mAOther than USB I/O*
− 0.5V
SS+ 4.5VUSB I/O
2
2
2
2
H level average total
output current
ΣI
OHAV − 30mA*4
Power consumptionPd351mWTarget value
Operating temperatureT
A− 40+ 85°C
− 55+ 150°C
Storage temperatureTstg
− 55+ 125°CUSB I/O
*1 : V
I and VO must not exceed VCC+ 0.3 V. However, if the maximum current to/from an input is limited by some
means with external components, the I
CLAMP rating supersedes the VI rating.
*2 : A peak value of an applicable one pin is specified as a maximum output current.
*3 : The average output current specifies the mean value of the current flowing in the relevant single pin during a
period of 100 ms.
*4 : The average total output current specifies the mean value of the currents flowing in all of the relevant pins
during a period of 100 ms.
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.
68
2.Recommended Operating Conditions
ParameterSymbol
Power supply voltageV
Input H level voltage
V
V
Input L level voltage
VILUSBVSS0.8VUSB input pin
CC
V
IH0.7 VCCVCC+ 0.3VCMOS input pin
VIHS0.8 VCCVCC+ 0.3VCMOS hysteresis input pin
IHMVCC− 0.3VCC+ 0.3VMD input pin
IHUSB2.0VCC+ 0.3VUSB input pin
VILVSS− 0.30.3 VCCVCMOS input pin
V
ILSVSS− 0.30.2 VCCVCMOS hysteresis input pin
V
ILMVSS− 0.3VSS+ 0.3VMD input pin
Value
MinMax
3.03.6VAt normal operation (At USB is used)
2.73.6VAt normal operation (At USB is unused)
1.83.6VHold state of stop operation
MB90335 Series
(VSS= 0.0 V)
UnitRemarks
Differential input
sensitivity
V
DI0.2VUSB input pin
Differential common
mode input voltage
V
CM0.82.5VUSB input pin
range
Series resistanceR
Operating
temperature
S2530ΩRecommended value = 27 Ω at using USB
− 40+ 85°CAt USB is unused
A
T
0 + 70 °CAt USB is used
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.
69
MB90335 Series
3.DC Characteristics
Parameter
Output
H level
voltage
Output
L level
voltage
Input leak
current
Pull-up
resistor
Open drain
output
current
Power
supply
current
Input
capacitance
Pull-up
resistor
Sym-
bol
Pin nameConditions
Output pin of other
than P60 to P67, HVP,
OH
V
HVM, DVP, DVM
HVP, HVM, DVP, DVM RL = 15 kΩ ± 5%2.83.6V
Output pin of other
than HVP, HVM, DVP,
OL
V
DVM
HVP, HVM, DVP, DVM RL = 1.5 kΩ ± 5%00.3V
Output pin of other
(TA=− 40 °C to +85 °C, VCC= 3.3 V ± 0.3 V, VSS= 0.0 V)
Value
MinTypMax
OH=−4.0 mA
I
OL= 4.0 mAVss
I
CC= 3.3 V,
V
Vss < V
I < VCC
VCC= 3.3 V,
Ta = + 25 °C
VCC− 0.5
− 1010µA
2550100kΩ
VCC= 3.3 V,
Internal frequency 24 MHz,
TBDmA
At normal operating
VCC= 3.3 V,
Internal frequency 24 MHz,
70 mA
At normal operating
VCC= 3.3 V,
Internal frequency 24 MHz,
TBD mA
At normal operating
VCC= 3.3 V,
Internal frequency 24 MHz,
27mA
At sleep mode
VCC= 3.3 V,
Internal frequency 24 MHz,
3.5mA
At timer mode
CC= 3.3 V,
V
Internal frequency 3 MHz,
1mA
At timer mode
Ta = +25 °C,
At Stop mode
1µA
515pF
Unit Remarks
VccV
Vss + 0.4
V
At USB
operating
Max 90 mA
(Target)
At nonoperating
USB
(USTP = 0)
At nonoperating
USB
(USTP = 1)
Note : P60 to P67 are N-ch open-drain pins usually used as CMOS.
70
4.AC Characteristics
(1) Clock input timing
Parameter
Sym-
bol
Pin
name
(T
A=−40 °C to +85 °C, VCC= 3.3 V ± 0.3 V, VSS= 0.0 V)
Value
MinTypMax
MB90335 Series
UnitRemarks
Clock frequencyf
Clock cycle timet
Input clock pulse width
Input clock rise time and fall
time
Internal operating clock
frequency
Internal operating clock
cycle time
• Clock timing
X0
CHX0, X1
624MHz External clock input
166.7nsExternal crystal oscillation
6MHz External crystal oscillation
HCYLX0, X1
166.741.7nsExternal clock input
WH
P
PWL
tcr
tcf
f
CP324MHz At main clock is used
t
CP42333nsAt main clock is used
X010ns
X0 5nsAt external clock
tHCYL
A reference duty ratio is
30% to 70%.
0.8 VCC
0.2 VCC
PWHPWL
tcf
tcr
71
MB90335 Series
• PLL operation guarantee range
Relation between internal operation clock frequency and power supply voltage
3.6
3.0
2.7
Power supply voltage VCC (V)
361224
PLL operation guarantee range
Normal operation
assurance range
Internal clock fCP (MHz)
* : When the USB is used, operation is guaranteed at voltages between 3.0 V to 3.6 V.
Relation between oscillation frequency and internal operation clock frequency
24
12
6
Internal clock fCP (MHz)
3
Multiply by 4
Multiply by 2
Multiply by 1
6
The AC standards provide that the following measurement reference voltages.
•
• Input signal waveform
Hysteresis input pin
Output signal waveform
Output pin
External clock
24
Oscillation clock FC (MHz)
72
0.8 VCC
0.2 VCC
Hysteresis input/other than MD input pin
0.7 V
CC
0.3 VCC
2.4 V
0.8 V
MB90335 Series
(2) Reset
(V
CC= 3.3 V ± 0.3 V, VSS= 0.0 V, TA=−40 °C to +85 °C)
Parameter
Reset input
time
Sym-
bol
t
RSTLRST
Pin
name
Condi-
tions
Oscillation time of
oscillator* + 500 ns
* : Oscillation time of oscillator is the time that the amplitude reaches 90 %. It takes sev eral milliseconds to several
dozens of milliseconds on a crystal oscillator, several hundreds of microseconds to several milliseconds on a
FAR/ceramic oscillator, and 0 milliseconds on an external clock.
• During normal operation, in time-base timer mode, in main sleep mode and in PLL sleep mode
Value
UnitRemarks
MinMax
500ns
µsAt stop mode
At normal operating,
At time base timer mode,
At main sleep mode,
At PLL sleep mode
RST
• In stop mode
RST
X0
Internal
operation
clock
90% of
amplitude
tRSTL
0.2 VCC
tRSTL
0.2 VCC
Oscillation time
of oscillator
0.2 VCC
0.2 VCC
500 ns
Oscillation stabilization wait time
Internal reset
Execute instruction
73
MB90335 Series
(3) Power-on reset
ParameterSymbolPin name
(T
A=−40 °C to +85 °C, VCC= 3.3 V ± 0.3 V, VSS= 0.0 V)
Condi-
tions
Value
UnitRemarks
MinMax
Power supply rising timet
Power supply shutdown timet
Notes : • V
CC must be lower than 0.2 V before the power supply is turned on.
• The above standard is a value for performing a power - on reset.
• In the device, there are internal registers which is initialized only by a power-on reset. When the initial
ization of these items is expected, turn on the power supply according to the standards.
VCC
Sudden change of power supply voltage may activate the power-on reset function.
When changing the power supply voltage during operation as illustrated below, voltage fluctuation
should be minimized so that the voltage rises as smoothly as possible. When raising the power,
do not use PLL clock. However, if voltage drop is 1 V/s or less, use of PLL clock is allowed during
operation.
VCC
3.0 V
V
SS
RVCC
30ms
OFFVCC1ms
tR
2.7 V
0.2 V0.2 V
t
0.2 V
OFF
The rising edge should be 50 mV/ms
or less.
RAM data hold
For repeated
operation
74
(4) UART0, UART1 I/O extended serial timing
Parameter
Serial clock cycle timet
SCK ↓ → SOT delay timet
Valid SIN → SCK ↑t
SCK ↑ → valid
SIN hold time
Serial clock H pulse widtht
Serial clock L pulse widtht
SCK ↓ → SOT delay timet
Valid SIN → SCK ↑t
SCK ↑ → valid
SIN hold time
Sym-
bol
SCYCSCKx
SLOV
IVSH
SHIX
t
SHSLSCKx, SINx
SLSHSCKx, SINx4 tCPns
SLOV
IVSH
SHIX
t
Pin nameConditions
SCKx
SOTx
SCKx
SINx
SCKx
SINx
SCKx
SOTx
SCKx
SINx
SCKx
SINx
MB90335 Series
(T
A=−40 °C to +85 °C, VCC= 3.3 V ± 0.3 V, VSS= 0.0 V)
Internal shiftc lock
Mode output pin is
C
L= 80 pF + 1 TTL
External shift clock
Mode output pin is
C
L= 80 pF + 1 TTL
Value
MinMax
CPns
8 t
− 8080ns
100ns
60ns
CPns
4 t
150ns
60ns
60ns
Unit Remarks
Notes : • AC rating in CLK synchronous mode.
L is a load capacitance value on pins for testing.
• C
• t
CP is the machine cycle period (unit : ns) .
• Internal shift clock mode
SCK
SOT
SIN
• External shift clock mode
SCK
SOT
tSCYC
2.4 V
0.8 V0.8 V
tSLOV
2.4 V
0.8 V
tIVSHtSHIX
0.8 V
CC
0.2 VCC
tSLSHtSHSL
0.8 VCC0.8 VCC
0.2 VCC0.2 VCC
tSLOV
2.4 V
0.8 V
0.8 VCC
0.2 VCC
SIN
tIVSHtSHIX
0.8 V
CC
0.2 VCC
0.8 VCC
0.2 VCC
75
MB90335 Series
2
C timing
(5) I
Parameter
Sym-
bol
Pin
name
Condi-
tions
(V
CC= 3.3 V ± 0.3 V, VSS= 0.0 V, TA=−40 °C to +85 °C)
Value
UnitRemarks
MinMax
SCL clock frequencyf
Bus-free time between stop
and start conditions
SCL
t
BUS4.7µs
0100kHz
Hold time (resend) starttHDSTA4.0µs
SCL clock “L” status hold timet
SCL clock “H” status hold timet
Resend start condition setup
time
Data hold timet
Data set-up timet
LOW4.7µs
HIGH4.0µs
tSUSTA4.7µs
HDDAT0µs
SUDAT40ns
SDA and SCL signal rise timetR1000ns
SDA and SCL signal fall timet
Stop condition setup timet
0.8 VCC
SDA
tBUS
0.2 VCC
F300ns
SUSTO4.0µs
tRtF
tLOWtHIGHtHDSTA
The first clock pulse is generated
immediately after the period.
76
SCL
0.8 VCC
0.2 VCC
tHDSTAtHDDATtSUDATtSUSTAtSUSTO
fSCL
(6) Timer Input Timing
ParameterSymbolPin name
Input pulse width
PWC
(7) Timer output timing
Parameter
(T
Condi-
tions
t
TIWH
tTIWL
0.8 VCC0.8 VCC
PWC4 tCPns
0.2 VCC0.2 VCC
tTIWHtTIWL
(T
Sym-
bol
Pin name
Condi-
MB90335 Series
A=−40 °C to +85 °C, VCC= 3.3 V ± 0.3 V, VSS= 0.0 V)
Value
MinMax
A=−40 °C to +85 °C, VCC= 3.3 V ± 0.3 V, VSS= 0.0 V)
Value
tions
MinMax
UnitRemarks
UnitRemarks
CLK ↑ → T
OUT change time
PPG0 to PPG3 change time
CLK
PPGx
(8) Trigger Input Timing
ParameterSymbolPin name
Input pulse width
INTx
tTOPPGx30ns
2.4 V
t
TO
2.4 V
0.8 V
(T
Condi-
tions
TRGH
t
tTRGL
0.8 VCC0.8 VCC
INTx
0.2 VCC0.2 VCC
A=−40 °C to +85 °C, VCC= 3.3 V ± 0.3 V, VSS= 0.0 V)
Value
UnitRemarks
MinMax
5 t
CPnsAt normal operating
1µsAt Stop mode
tTRGHtTRGL
77
MB90335 Series
5.USB characteristics
ParameterSymbol
(TA= 0 °C to +70 °C, VCC= 3.3 V ± 0.3 V, VSS= 0.0 V)
Sym
bol
Value
UnitRemarks
MinMax
Input High level voltageV
Input
characteristics
Input Low level voltageV
Differential input sensitivityV
Differential common mode range VCM0.82.5V
Output High level voltageV
Output Low level voltageV
Cross over voltageVCRS1.32.0V
Rise time
Output
characteristics
Fall time
Rising/falling time matching
Output registanceZ
• Data signal timing (Full Speed)
DVP/HVP
DVM/HVM
Vcrs
Rise time
10%
IH2.0V
IL0.8V
DI0.2V
OH2.83.6VIOH=−200 µA
OL0.00.3VIOL= 2 mA
FR420nsFull Speed
t
t
LR75300nsLow Speed
tFF420nsFull Speed
t
LF75300nsLow Speed
RFM90111.11% (TFR/TFF)
t
tRLM80125% (TLR/TLF)
DRV2844ΩIncluding Rs = 27 Ω
Fall time
90%
90%
10%
• Data signal timing (Low Speed)
HVP
HVM
78
Vcrs
tFR
Rise time
10%
tLR
90%
tFF
Fall time
90%
10%
tLF
• Load condition (Full Speed)
MB90335 Series
• Load condition (Low Speed)
HVP
HVM
DVP/HVP
DVM/HVM
RS= 27 Ω
RS = 27 Ω
RS= 27 Ω
RS= 27 Ω
Testing point
C
L= 50 pF
Testing point
C
L= 50 pF
Testing point
C
L= 50 pF ∼ 150 pF
Testing point
C
L= 50 pF ∼ 150 pF
79
MB90335 Series
ORDERING INFORMATION
■■■■
• MB90335 Series
Part numberPackageRemarks
MB90F337PFM
MB90337PFM
64-pin plastic LQFP
(FPT-64P-M09)
80
PACKAGE DIMENSION
■■■■
MB90335 Series
64-pin plastic LQFP
(FPT-64P-M09)
14.00±0.20(.551±.008)SQ
12.00±0.10(.472±.004)SQ
*
49
INDEX
64
116
0.65(.026)
0.32±0.05
(.013±.002)
Note 1) * : These dimensions do not include resin protrusion.
Note 2) Pins width and pins thickness include plating thickness.
Note 3) Pins width do not include tie bar cutting remainder.
0.145±0.055
3348
32
17
0.13(.005)
M
(.0057±.0022)
0.10(.004)
0.10(.004)
"A"
Details of "A" part
+0.20
–0.10
1.50
+.008
–.004
.059
0.25(.010)
0~8˚
0.50±0.20
(.020±.008)
0.60±0.15
(.024±.006)
(Mounting height)
0.10±0.10
(.004±.004)
(Stand off)
C
2003 FUJITSU LIMITED F64018S-c-3-5
Dimensions in mm (inches)
Note : The values in parentheses are reference values.
FUJITSU MICROELECTRONICS AMERICA, INC.
1250 E. Arques Avenue, M/S 333
Sunnyvale , CA 94088-3470, U.S.A.
Tel: +1-408-737-5600
Fax: +1-408-737-5999
http://www.fma.fujitsu.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.fme.fujitsu.com/
Asia Pacific
FUJITSU MICROELECTRONICS ASIA PTE LTD.
#05-08, 151 Lorong Chuan,
New Tech Park,
Singapore 556741
Tel: +65-6281-0770
Fax: +65-6281-0220
http://www.fmal.fujitsu.com/
Korea
FUJITSU MICROELECTRONICS K OREA LTD.
1702 KOSMO TOWER, 1002 Daechi-Dong,
Kangnam-Gu,Seoul 135-280
Korea
Tel: +82-2-3484-7100
Fax: +82-2-3484-7111
http://www.fmk.fujitsu.com/
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, such as descriptions of function and application
circuit examples, in this document are presented solely for the
purpose of reference to show examples of operations and uses of
Fujitsu semiconductor device; Fujitsu does not warrant proper
operation of the device with respect to use based on such
information. When you develop equipment incorporating the
device based on such information, you must assume any
responsibility arising out of such use of the information. Fujitsu
assumes no liability for any damages whatsoever arising out of
the use of the information.
Any information in this document, including descriptions of
function and schematic diagrams, shall not be construed as license
of the use or exercise of any intellectual property right, such as
patent right or copyright, or any other right of Fujitsu or any third
party or does Fujitsu warrant non-infringement of any third-party’s
intellectual property right or other right by using such information.
Fujitsu assumes no liability for any infringement of the intellectual
property rights or other rights of third parties which would result
from the use of information contained herein.
The products described in this document are designed, developed
and manufactured as contemplated for general use, including
without limitation, ordinary industrial use, general office use,
personal use, and household use, but are not designed, developed
and manufactured as contemplated (1) for use accompanying fatal
risks or dangers that, unless extremely high safety is secured, could
have a serious effect to the public, and could lead directly to death,
personal injury, severe physical damage or other loss (i.e., nuclear
reaction control in nuclear facility, aircraft flight control, air traffic
control, mass transport control, medical life support system, missile
launch control in weapon system), or (2) for use requiring
extremely high reliability (i.e., submersible repeater and artificial
satellite).
Please note that Fujitsu will not be liable against you and/or any
third party for any claims or damages arising in connection with
above-mentioned uses of the products.
Any semiconductor devices have an inherent chance of failure. You
must protect against injury, damage or loss from such failures by
incorporating safety design measures into your facility and
equipment such as redundancy, fire protection, and prevention of
over-current levels and other abnormal operating conditions.
If any products described in this document represent goods or
technologies subject to certain restrictions on export under the
Foreign Exchange and Foreign Trade Law of Japan, the prior
authorization by Japanese government will be required for export
of those products from Japan.
F0312
FUJITSU LIMITED Printed in Japan
Loading...
+ 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.