FUJITSU SEMICONDUCTOR DATA SHEET
DS07-12543-4E
8-bit Proprietary Microcontrollers
CMOS
F2MC-8L MB89580B/580BW Series
MB89583B/585B/589B/P585B/P589B/ MB89583BW/585BW/P585BW
s DESCRIPTION
The MB89580B/BW series is a line of general-purpose, single-chip microcontrollers. In addition to a compact instruction set, these microcontrollers contain a variety of peripheral functions, such as PLL clock control, timers, a serial interface, a PWM timer, and the USB function. In particular, these microcontrollers contain one USB function channel to support both full and low speeds.
s FEATURES
• Package type 64-pin LQFP package (0.5 mm and 0.65 mm pitch) • High-speed operations at low voltage Minimum execution time : 0.33 µs (Automatically generates a 12 MHz main clock and a 48 MHz USB interface synchronization clock with an externally supplied 6 MHz clock and the internal PLL circuit.) • F2MC-8L CPU core Instruction set that is optimum to the controllers -Multiplication and division instructions -16-bit arithmetic operations -branch instructions by bit testing -bit manipulation instructions, etc.
(Continued)
s PACKAGES
64-pin plastic LQFP 64-pin plastic LQFP
(FPT-64P-M03)
(FPT-64P-M09)
MB89580B/580BW series
(Continued) • PLL clock control The internal PLL clock circuit allows the use of low-speed clocks which are advantageous to noise characteristics. (6 MHz externally-supplied clock→12 MHz internal system clock)
• Various timers 8-bit PWM timer (can be used as either 8-bit PWM timer × 2 channels or PPG timer × 1 channel) Internal 21-bit timebase timer • Internal USB transceiver circuit (Compatible with full and low speeds) • USB function Compliant to USB Protocol Revision 1.0 Support for both low and full speeds (selectable) Allows four endpoints to be specified at maximum. Types of transfer supported : control/interrupt/bulk/isochronous Built-in DMAC (Maps the buffer for each endpoint on to the internal RAM to directly access the memory for function’s send and receive data.) • UART/serial interface Built-in UART/SIO function (selectable by switching) • External interrupt External interrupt (level detection × 8 channels) Eight inputs are independent of one another and can also be used for resetting from low-power consumption mode (the L-level detection feature available) . • Low power consumption (standby mode supported) Stop mode (There is almost no current consumption since oscillation stops.) Sleep mode (This mode stops the running CPU.) • A maximum of 53 general-purpose I/O ports General-purpose I/O ports (CMOS) : 34 General-purpose output ports (CMOS) : 8 General-purpose I/O ports (Nch open drain) : 3 General-purpose input ports (CMOS 3.3 V input-compatible) : 8 • Parallel ports Also serve as eight of the general-purpose I/O ports (CMOS) Interrupt function available Allows asynchronous read and write by external signals • Power supply Supply voltage : 3.0 V to 5.5 V
2
MB89580B/580BW series
s PRODUCT LINEUP
Part number
MB89583B MB89585B
MB89P585B
MB89589B
MB89P589B
MB89583BW
MB89585BW
MB89P585BW
Parameter
ROM size RAM size Package Operation at USB reset Others
8 KB 512 B 1 KB
16 KB 18 KB LQFP-64 (FPT-64P-M09)
8 KB 512 B
16 KB 1 KB
LQFP-64 (FPT-64P-M03)
LQFP-64 (FPT-64P-M03) Low-level output
High impedance state MASK product OTP/EVA product MASK product OTP/EVA product
MASK product
OTP/EVA product
CPU functions
Number of instructions Instruction bit length Instruction length Data bit length Minimum execution time Interrupt processing time General-purpose I/O ports General-purpose output ports General-purpose input ports
: 136 : 8 bits : 1 to 3 bytes : 1, 8, and 16 bits : 0. 33 µs (6 MHz) : 3 µs (6 MHz) (34 : CMOS, 3 : Nch open drain) (8 : CMOS) (8 : CMOS 3.3 V input)
Generalpurpose ports Parallel ports
Shares eight (P40 through P47) of the above general-purpose I/O ports. Allows asynchronous read and write by external signals. An interrupt function is available to set data. Can be set to full/low speed. Four endpoints at maximum Power supply mode : Can be set to own power supply/bus power supply mode. FIFO 8 bits × 8 built in Built-in DMAC (Can be set to DMA transfer to the internal RAM or to the external FIFO.)
Periph- USB eral function functions PWM timer 8-bit PWM timer operation × 2 channels (can also be used as a PPG × 1 channel timer) UART SIO Timebase timer Clock output Standby mode
Allows switching between UART (clock-synchronous/asynchronous data transfer allowed) and SIO (simple serial transfer) . 21-bit timebase timer Allows output of two main clock divisions Sleep mode and Stop mode
s PACKAGES AND CORRESPONDING PRODUCTS
Package FPT-64P-M03 FPT-64P-M09 : Available × × : Not available × ×
MB89583B MB89585B
MB89P585B
MB89589B
MB89P589B
MB89583BW MB89585BW
MB89P585BW
×
× × × ×
3
MB89580B/580BW series
s DIFFERENCES AMONG PRODUCTS
1. Memory Size
Before evaluating using the OTP product, verify its differences from the product that will actually be used.
2. Current Consumption
When operated at low speeds, a product mounted with either one-time PROM or EPROM consumes more current than a product mounted with a mask ROM. However, in sleep/stop mode the current consumption is the same. For detailed information on each package, see “s PACKAGE DIMENSIONS.”
3. Differences Between the MB89580B series and the MB89580BW Series
MB89580B series : Remains in high impedance state until USB connection takes place. Before the USB connection, use one general-purpose port output to control pullup resistance connection of this port by software. MB89580BW : Outputs at low level until USB connection takes place.
• Example MB89580B product connection
3.3 V Host PC MB89580B series
General-purpose port 1.5 kΩ D+ RPVP pin
D−
RPVM pin
• Example MB89580BW product connection
Host PC 3.3 V MB89580BW series
1.5 kΩ D+
RPVP pin
D−
RPVM pin
Note : Full speed is assumed in the above examples.
4
MB89580B/580BW series
s PIN ASSIGNMENT
(TOP VIEW)
P43/D3/DO3 P42/D2/DO2 P41/D1/DO1 P40/D0/DO0 P67/DI7 P66/DI6 P65/DI5 P64/DI4 P63/DI3 P62/DI2 P61/DI1 P60/DI0 RPVM RPVP C VCC DO4/P44/UCK/D4 DO5/P45/UO/D5 DO6/P46/UI/PWM1/D6 DO7/P47/PWM2/D7 P30/INT0/CLK P31/INT1 P32/INT2 P33/INT3 P34/INT4 P35/INT5 P36/INT6/WEX P37/INT7/RDX P50/OBF/IBFX/W VSS P51/R P52/EFX 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
P00 P01 P02 P03 P04 P05 P06 P07 P10 P11 P12 P13 P14 P15 P16 P17
P53/A0/FFX P54/CEX RST MOD0 MOD1 X0 X1 VSS P27 P26 P25 P24 P23 P22 P21 P20
(FPT-64P-M03) (FPT-64P-M09)
5
MB89580B/580BW series
s PIN DESCRIPTION
Pin No. Pin name P44/UCK/D4/ DO4 P45/UO/D5/ DO5 P46/UI/ PWM1/D6/ DO6 P47/PWM2/ D7/DO7 Circuit type E Function General-purpose CMOS I/O pin UART/S10 clock I/O This pin also serves as a parallel interface/external FIFO data output pin. General-purpose CMOS I/O pin UART/S10 serial data output This pin also serves as a parallel interface/external FIFO data output pin. General-purpose CMOS I/O pin UART/S10 serial data input PWM timer This pin also serves as a parallel interface/external FIFO data output pin. General-purpose CMOS I/O pin PWM timer This pin also serves as a parallel interface/external FIFO data output pin. General-purpose CMOS I/O pin Clock output pin This pin also serves as an external interrupt input pin. The external interrupt input is a hysteresis input. (Level detection) General-purpose CMOS I/O pin This pin also serves as an external interrupt input pin. The external interrupt input is a hysteresis input. (Level detection) General-purpose CMOS I/O pin This pin also serves as an external interrupt input pin. The external interrupt input is a hysteresis input. (Level detection) General-purpose CMOS I/O pin This pin also serves as an external interrupt input pin. The external interrupt input is a hysteresis input. (Level detection) General-purpose CMOS I/O pin This pin also serves as an external interrupt input pin. The external interrupt input is a hysteresis input. (Level detection) General-purpose CMOS I/O pin This pin also serves as an external interrupt input pin. The external interrupt input is a hysteresis input. (Level detection) General-purpose CMOS I/O pin This pin also serves as an external interrupt input pin. The external interrupt input is a hysteresis input. (Level detection) This pin also serves as the parallel interface write strobe input pin. General-purpose CMOS I/O pin This pin also serves as an external interrupt input pin. The external interrupt input is a hysteresis input. (Level detection) This pin also serves as the parallel interface read strobe input pin. General-purpose CMOS I/O pin Interrupt output to the parallel interface host. This pin also serves the OUT FIFO data strobe pin.
1
2
B
3
E
4
B
5
P30/INT0/ CLK
E
6
P31/INT1
E
7
P32/INT2
E
8
P33/INT3
E
9
P34/INT4
E
10
P35/INT5
E
11
P36/INT6/ WEX
E
12
P37/INT7/ RDX
E
13
P50/OBF/ IBFX/W
B
(Continued)
6
MB89580B/580BW series
Pin No. 14 15 16
Pin name VSS P51/R P52/EFX
Circuit type B K Power supply pin (GND)
Function
General-purpose CMOS I/O pin. This pin also serves the IN FIFO data strobe pin. General-purpose Nch open drain I/O pin. This pin also serves as the IN FIFO data enable input pin. General-purpose Nch open drain I/O pin. Parallel interface’s data select input This pin also serves as the OUT FIFO data enable input pin. General-purpose Nch open drain I/O pin. This pin also serves as the parallel interface device select input pin. Reset pin. (Reset on the negative logic low level.) An operating mode designation pin. Connect directly to Vss. An operating mode designation pin. Connect directly to Vss. Pins for the connection of crystal oscillatoion circuit (6 MHz) Power supply pin (GND) General-purpose CMOS output pin General-purpose CMOS output pin General-purpose CMOS output pin General-purpose CMOS output pin General-purpose CMOS output pin General-purpose CMOS output pin General-purpose CMOS output pin General-purpose CMOS output pin General-purpose CMOS I/O pin General-purpose CMOS I/O pin General-purpose CMOS I/O pin General-purpose CMOS I/O pin General-purpose CMOS I/O pin General-purpose CMOS I/O pin General-purpose CMOS I/O pin General-purpose CMOS I/O pin General-purpose CMOS I/O pin General-purpose CMOS I/O pin General-purpose CMOS I/O pin General-purpose CMOS I/O pin
17
P53/A0/FFX
K
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
P54/CEX RST MOD0 MOD1 X0 X1 VSS P27 P26 P25 P24 P23 P22 P21 P20 P17 P16 P15 P14 P13 P12 P11 P10 P07 P06 P05 P04
K I F F A B B B B B B B B B B B B B B B B B B B B
(Continued)
7
MB89580B/580BW series
(Continued)
Pin No. 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 Pin name P03 P02 P01 P00 VCC C RPVP RPVM P60/DI0 P61/DI1 P62/DI2 P63/DI3 P64/DI4 P65/DI5 P66/DI6 P67/DI7 P40/D0/DO0 P41/D1/DO1 P42/D2/DO2 P43/D3/DO3 Circuit type B B B B Function General-purpose CMOS I/O pin General-purpose CMOS I/O pin General-purpose CMOS I/O pin General-purpose CMOS I/O pin Power supply pin Connect an external capacitor of 0.1 µF. When using with 3.3 V power supply, connect this pin with the Vcc pin to set to 3.3 V input.
USBDRV USB route port + pin USBDRV USB router port − pin F F F F F F F F B B B B General-purpose CMOS input pin (3.3 V input) This pin also serves as an external FIFO data input pin. (LSB) General-purpose CMOS input pin (3.3 V input) This pin also serves as an external FIFO data input pin. General-purpose CMOS input pin (3.3 V input) This pin also serves as an external FIFO data input pin. General-purpose CMOS input pin (3.3 V input) This pin also serves as an external FIFO data input pin. General-purpose CMOS input pin (3.3 V input) This pin also serves as an external FIFO data input pin. General-purpose CMOS input pin (3.3 V input) This pin also serves as an external FIFO data input pin. General-purpose CMOS input pin (3.3 V input) This pin also serves as an external FIFO data input pin. General-purpose CMOS input pin (3.3 V input) This pin also serves as an external FIFO data input pin. (MSB) General-purpose CMOS I/O pin This pin serves as a parallel interface/external FIFO data output pin. General-purpose CMOS I/O pin This pin serves as a parallel interface/external FIFO data output pin. General-purpose CMOS I/O pin This pin serves as a parallel interface/external FIFO data output pin. General-purpose CMOS I/O pin This pin serves as a parallel interface/external FIFO data output pin.
8
MB89580B/580BW series
s I/O CIRCUIT TYPE
Type
X1
Circuit
Remarks • Oscillation feedback resistance : 1 MΩ approx.
A
X0
Standby control signal
• CMOS I/O
R Pch Pch
Pullup control register
B
Nch Standby control signal Input
R Pch Pch Pullup control register
• CMOS I/O • Hysteresis input
E
Nch Standby control signal Port input Resource input
• CMOS input F
Input
R Pch
• Hysteresis I/O • Pullup resistance
I
Nch
Input
(Continued)
9
MB89580B/580BW series
(Continued) Type
Circuit
Remarks • USB I/O
D+ input D– input Differencial input
D+ D–
Full D+ output Full D– output Low D+ output Low D– output Direction
USBDRV
Speed
• Nch open drain I/O
R Pch
Pullup control register
K
Nch Standby control signal Input
10
MB89580B/580BW series
s HANDLING DEVICES
1. Preventing Latchup
Latchup may occur on CMOS ICs if voltage higher than Vcc or lower than Vss is applied to input or output pins other than the medium- and high-voltage pins or if voltage higher than the rating is applied between Vcc and Vss. When latchup occurs, power supply current increases rapidly and might thermally damage elements. When using, take great care not to exceed the absolute maximum ratings. Also take care to prevent the analog input from exceeding the digital power supply (Vcc) when the power supply to the analog power system is turned on and off.
2. Treatment of Unused Input Pins
Leaving unused input pins open could cause malfunctions and latchup leading to permanent damage to the pins. These unused pins should be connected to a pullup or pulldown resistance of at least 2 kΩ between the pin and the power supply. Unused I/O pins should be placed in output state to leave it open or pins that are in input state should be handled the same as unused input pins.
3. Power Supply Voltage Fluctuations
Although Vcc power supply voltage is assured to operate within the rated range, a rapid fluctuation of the voltage could cause malfunctions even if it occurs within the rated range. Stabilizing voltage supplied to the IC is therefore important. As stabilization guidelines, it is recommended to control power so that Vcc ripple fluctuations (P-P value) will be less than 10% of the standard VCC value at the commercial frequency (50 to 60 Hz) and the transient fluctuation rate will be less than 0.1 V/ms at the time of a momentary fluctuation such as when power is switched.
11
MB89580B/580BW series
s ONE-TIME PROM AND EPROM MICROCONTROLLER PROGRAMMING SPECIFICATIONS
PROM mode is available on the MB89P585B/BW microcontrollers. The use of a dedicated adapter allows you to program the devices with a general-purpose ROM programmer. However, keep in mind that electronic signature mode is not available.
1. ROM programmer adapter and its compatible programmers
Package FTP-64P-M03 FTP-64P-M09 Inquiry: Sun Hayato Co., Ltd. Ando Denki K. K. Compatible adapter Sun Hayato Co, Ltd. ROM2-64LQF-32DP-8LA ROM2-64QF2-32DP-8LA2 : TEL. 81-3-3986-0403 : TEL. 81-3-3733-1160 Compatible programmers and models Ando Denki K. K. AF9708 (Version 1.40 or higher) AF9709 (Version 1.40 or higher) AF9723 (Version 1.50 or higher)
2. Memory map in PROM mode
Normal operating mode 0000H 0080H RAM 0480H Not available C000H I/O
(Corresponding addresses on the ROM programmer)
0000H
Program area (PROM)
Program area (PROM)
FFFFH
3FFFH
3. Programming the EPROM (Using the Ando Denki K.K. programmer)
(1) Set the EPROM programmer type code to 17209. (2) Load program data on to the EPROM programmer at 0000H to 3FFFH. (3) Program C000H to FFFFH with the EPROM programmer.
12
MB89580B/580BW series
s BLOCK DIAGRAM
X0 X1
Main clock oscillator Reset output Clock control circuit
Power on reset circuit (watchdog timer)
RST
PLL circuit 21-bit timebase timer Internal bus 8-bit PWM timer CMOS I/O Port
P46/UI/PWM1/D6/DO6 P47/PWM2/D7/DO7
UART SIO USB DRV RPVP RPVM
P44/UCK/D4/DO4 P45/UO/D5/DO5
P40/D0/DO0 to P43/D3/DO3 USB Function circuit P00 to P07, P10 to P17 CMOS Out Port
P20 to P27
P51/R P50/OBF/IBFX/W P36/INT6/WEX P37/INT7/RDX P30/INT0/CLK P31/INT1 to P35/INT5 CMOS I/O Port Nch I/O Port
DMA
CMOS In Port
P60/DI0 to P67/DI7
Clock output External interrupt (level)
RAM 18 K / 1 K / 512 Byte
F2MC - 8L CPU
P52/EFX P53/FFX P54/CEX
ROM 8 K / 16 KByte
Other pins VSS VCC MOD0 MOD1 C
13
MB89580B/580BW series
s CPU CORE
1. Memory Space
The MB89580B/BW microcontrollers offer a memory space of 64 Kbytes consisting of the I/O, RAM and ROM areas. The memory space contains areas that are used for specific purposes, such as a general-purpose register and a vector table. • I/O area (addresses : 0000H through 007FH) This area is assigned with the control and data registers, for example, of peripheral functions to be built in. The I/O area is as accessible as the memory since the area is assigned to a part of the memory space. Direct addressing also allows the area to be accessed faster. • RAM area As an internal data area, a static RAM is built in. The internal RAM capacity varies with the product type. The area 80H to FFH can be accessed at high speed with direct addressing. The area 100H to 1FFH can be used a general-purpose register area. (The usable area is limited depending on the product.) When reset, RAM data becomes undefined. • ROM area As an internal program area, a ROM is built in. The internal ROM capacity varies with the product type. The area FFC0H to FFFFH should be used for a vector table, for example. • Memory map
MB89585B MB89585BW MB89P585B MB89P585BW 0000H I/O 0080H RAM 512 B 0100H 0200H 0280H Generalpurpose register 0100H 0200H 0480H 4880H Not available Not available Not available E000H C000H C000H 0080H RAM 1 KB Generalpurpose register 0100H 0200H I/O 0080H RAM 18 KB Generalpurpose register 0000H I/O
MB89583B MB89583BW 0000H
MB89589B MB89P589B
ROM 8 KB
ROM* 16 KB
ROM* 16 KB
FFC0H FFFFH
FFC0H FFFFH Vector table (reset, interrupt and vector call instructions)
FFC0H FFFFH * : The area is EPROM on the MB89P585B, MB89P585BW, and MB89P589B microcontrollers.
14
MB89580B/580BW series
2. Registers
The MB89580B/BW series has two types of registers; the registers dedicated to specific purposes in the CPU and the general-purpose registers. The dedicated registers are as follows: Program counter (PC) : A 16-bit register to indicate locations where instructions are stored. Accumulator (A) : A 16-bit register for temporary storage of operations. In the case of an 8-bit data processing instruction, the lower one byte is used. Temporary accumulator (T) : A 16-bit register which performs operations with the accumulator. In the case of an 8-bit data processing instruction, the lower one byte is used. Index register (IX) : A 16-bit register for index modification. Extra pointer (EP) : A 16-bit register to point to a memory address. Stack pointer (SP) : A 16-bit register to indicate a stack area. Program status (PS) : A 16-bit register to store a register pointer or a condition code.
16 bits PC A T IX EP SP RP PS CCR
: Program counter : Accumulator : Temporary accumulator : Index register : Extra pointer : Stack pointer : Program status
Initial value FFFDH Indeterminate Indeterminate Indeterminate Indeterminate Indeterminate I-flag = 0, IL1, 0 = 11 Initial values for other bits are indeterminate.
15
MB89580B/580BW series
The PS register can further be divided into the register bank pointer in the higher 8 bits (RP) and the condition code register in the lower 8 bits (CCR) . (See the diagram below.)
RP bit15 bit14 bit13 bit12 bit11 bit10 bit9 R4 R3 R2 R1 R0 − − H-Flag I-Flag IL 1,0 N-Flag Z-Flag V-Flag C-Flag bit8 − bit7 H bit6 I bit5 IL1 CCR bit4 IL0 bit3 N bit2 Z bit1 V bit0 C CCR initial value X011XXXXB
PS
X : Undefined
The RP points to the address of the register bank currently in use. The relationship between the pointer contents and the actual address is based on the conversion rule shown next. Rule for Conversion of Actual Addresses in the General-purpose Register Area
RP higher bits "0" Generated addresses "0" "0" "0" "0" "0" "0" A9 "1" A8 R4 A7 R3 A6 R2 A5 R1 A4 OP code in lower bits R0 A3 b2 A2 b1 A1 b0 A0
A15 A14 A13 A12 A11 A10
The CCR consists of the bits indicating arithmetic operation results or transfer data contents and the bits that control CPU operations at the time of an interrupt. H flag : The flag is set to “1” when an arithmetic operation results in a carry from bit 3 to bit 4 or in a borrow from bit 4 to bit 3. The bit is cleared to “0” in other instances. The flag is for decimal adjustment instructions; do not use for other than additions and subtractions. : Interrupt is enabled when this flag is set to “1.” Interrupt is disabled when this flag is set to “0.” The flag is set to “0” when reset. : Indicates the level of the interrupt currently enabled. An interrupt is processed only if its level is higher than the value this bit indicates. IL1 0 0 1 1 IL0 0 1 0 1 Interrupt level 1 2 3 Lower = no interruption High-low Higher
I flag IL1, 0
16
MB89580B/580BW series
N flag Z flag V flag C flag
: The flag is set to “1” when an arithmetic operation results in setting of the MSB to “1” or is cleared to “0” when the MSB is set to “1.” : The flag is set to “1” when an arithmetic operation results in “0” or is set to “0” in other instances. : The flag is set to “1” when an arithmetic operation results in two’s complement overflow or is cleared to “0” if no overflow occurs. : The flag is set to “1” when an arithmetic operation results in a carry from bit 7 or in a borrow to bit 7. The flag is cleared to “0” if neither of them occurs. In the case of a shift instruction, the flag is set to the shift-out value.
The following general-purpose registers are provided: •General-purpose registers : 8-bit data storage registers The general-purpose registers are 8 bits in length and located in the register banks in the memory. One bank contains eight registers and the MB89580B/BW microcontrollers allow a total of 16 banks to be used at maximum. The bank currently in use is indicated by the register bank pointer (RP) .
Register Bank Configuration This address = 0100H + 8 × (RP)
R0 R1 R2 R3 R4 R5 R6 R7 16 banks
Memory area
17
MB89580B/580BW series
s I/O MAP
Address 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H 0AH 0BH 0CH 0DH 0EH 0FH 10H 11H 12H 13H 14H 15H 16H to 20H 21H 22H 23H 24H 25H 26H 27H 28H 29H 2AH 2BH PURR0 PURR1 PURR2 PURR3 PURR4 PURR5 CTR1 CTR2 CTR3 CMR1 CMR2 PDR4 DDR4 PDR5 DDR5 PDR6 PDCR Port 4 data register Port 4 direction register Port 5 data register Port 5 direction register Port 6 data register Parallel port data control register Vacancy Port 0 pullup option setting register Port 1 pullup option setting register Port 2 pullup option setting register Port 3 pullup option setting register Port 4 pullup option setting register Port 5 pullup option setting register PWM control register 1 PWM control register 2 PWM control register 3 PWM compare register 1 PWM compare register 2 R/W R/W R/W R/W R/W R/W R/W R/W R/W W W 11111111 11111111 11111111 11111111 11111111 XXX 1 1 1 1 1 00000000 000X0000 X 0 0 0 XXXX XXXXXXXX XXXXXXXX PDR3 DDR3 Port 3 data register Port 3 direction register Vacancy Vacancy R/W R/W R/W R/W R/W R/W XXXXXXXX 00000000 XXX1 1 1XX XXXXXX 0 0 XXXXXXXX XXX0 0 0 0 0 SYCC STBC WDTC TBTC Standby control register Watchdog timer control register Timebase timer control register Vacancy R/W R/W XXXXXXXX 00000000 Register name PDR0 DDR0 PDR1 DDR1 PDR2 Register description Port 0 data register Port 0 direction register Port 1 data register Port 1 direction register Port 2 data register Vacancy Vacancy System clock control register R/W R/W R/W R/W XXX1 1X 0 0 0 0 0 1XXXX 0 XXXXXXX 0 0 XXX 0 0 0 Read/write R/W W R/W W R/W Initial value XXXXXXXX 00000000 XXXXXXXX 00000000 00000000
(Continued)
18
MB89580B/580BW series
Address 2CH 2DH 2EH 2FH 30H 31H 32H 33H 34H to 3BH 3CH 3DH 3EH to 3FH 40H 41H to 4EH 4FH 50H 51H 52H 53H 54H 55H 56H 57H 58H 59H 5AH 5BH 5CH 5DH 5EH 5FH 60H 61H
Register name CKR SCS SMC1 SMC2 SSD SIDR/SODR SRC
Register description Clock output control register Serial clock switching register Vacancy Serial mode control register 1 Serial mode control register 2 Serial status and control register Serial input/serial output data register Serial rate control register Vacancy
Read/write R/W R/W R/W R/W R R/W R/W
Initial value XXXXXXX 0 XXXXXXX 0 00000000 00000000 0 0 0 0 1 XXX XXXXXXXX XXXXXXXX
EIE EIF
External interrupt control register External interrupt flag register Vacancy
R/W R/W
00000000 XXXXXXX 0
DMDR
USB power supply mode register Vacancy
R/W
XXXXXXX 0
DBARH UMDR DBAR TDCR0 TDCR11 TDCR12 TDCR21 TDCR22 TDCR3 UCTR USTR1 USTR2 UMSKR UFRMR1 UFRMR2 EPER EPBR0 EPBR11 EPBR12
DMA base address register H USB reset mode register DMA base address register Transfer data count register 0 Transfer data count register 11 Transfer data count register 12 Transfer data count register 21 Transfer data count register 22 Transfer data count register 3 USB control register USB status register 1 USB status register 2 USB interrupt mask register USB frame status register 1 USB frame status register 2 USB endpoint enable register Endpoint 0 setup register Endpoint setup register 11 Endpoint setup register 12
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R R/W R R R/W R/W R/W R/W
0 0 0 0 0 0 XX 1 0 0 0 XX 0 0 XXXXXXXX X0000000 00000000 XXXXXX 0 0 00000000 XXXXXX 0 0 X0000000 00000000 00000000 XXXXXX 0 0 00000000 XXXXXXXX XXXXXXXX XXXX 0 0 0 1 X0000000 0X000000 00000000
(Continued)
19
MB89580B/580BW series
(Continued) Address Register name
62H 63H 64H 65H 66H to 7BH 7CH 7DH 7EH 7FH ILR1 ILR2 ILR3 EPBR21 EPBR22 EPBR31 EPBR32
Register description Endpoint setup register 21 Endpoint setup register 22 Endpoint setup register 31 Endpoint setup register 32 Vacancy Interrupt level setting register 1 Interrupt level setting register 2 level setting register 3 Vacancy
Read/write R/W R/W R/W R/W
Initial value 0X000000 00000000 XX 0 0 0 0 XX X0000000
W W W
11111111 11111111 11111111
• Information about read/write R/W : Read/write enabled, R : Read only, W : Write only • Information about initial values 0 : The initial value of this bit is “0”. 1 : The initial bit of this bit is “1”. X : The initial value of this bit is undefined. Note : Vacancies are not for use.
20
MB89580B/580BW series
s ELECTRICAL CHARACTERISTICS
1. Absolute Maximum Ratings
Value Min VSS − 0.3 VSS − 0.3 VSS − 0.5 VSS − 0.3 −40 −55 Max VSS + 6.0 VCC + 0.3 VSS + 4.0 VCC + 0.3 4 100 40 −15 −4 −50 −20 300 +85 +150 (VSS = 0 V) Unit V V V V mA mA mA mA mA mA mA mW °C °C Average value (operating current × operating rate) Average value (operating current × operating rate) Average value (operating current × operating rate) Average value (operating current × operating rate) Other than P60 to P67 P60 to P67 Remarks
Parameter Power supply voltage Input voltage Output voltage “L” level average output current “L” level total maximum output current “L” level total average output current “H” level maximum output current “H” level average output current “H” level total maximum output current “H” level total average output current Power consumption Operating temperature Storage temperature
Symbol VCC VI VO IOLAV ΣIOL ΣIOLAV IOH IOHAV ΣIOH ΣIOHAV PD TA Tstg
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.
21
MB89580B/580BW series
2. Recommended Operating Conditions
Value Min 3.0 −40 0.1 Typ 16 Max 5.5 +85 1.0
(VSS = 0 V) Unit V °C µF Ω At Vcc = 5.0 V* When the USB function is in use Remarks
Parameter Power supply voltage Operating temperature Smoothing capacitor Series resistance
Symbol VCC TA CS RS
* : Use either a ceramic capacitor or a capacitor with similar frequency characteristics. The capacity of the smoothing capacitor for the Vcc pin should be greater than that of the Cs. When using with a supply voltage of 3.3 V, connect pin C with Vcc to input 3.3 V.
• C, RPVP and RPVM Pin Connection Diagram
RS RPVP RS RPVM
C CS
22
MB89580B/580BW series
5.5 5.0
Operating voltage VCC (V)
4.0
3.0
2.0
1.0
0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0
12.5 10.0 11.0 12.0 13.0
CPU operating frequency (FCH MHz) (At instruction cycle 4/ FCH)
4.0
2.0
0.8
0.4
0.33 0.32
Minimum execution time (instruction cycle) (µs) However, FCH = clock frequency (Fc) × 2
Note: When USB is used, the clock frequency (FC) should be fixed at 6 MHz (CPU operating frequency (FCH) = 12 MHz). And main clock gear speed should be fixed at 4/FCH. Figure 1 Operating voltage - operating frequency 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.
23
MB89580B/580BW series
3. DC Characteristics
(VCC = 5.0 V, VSS = 0 V, TA = −40 °C to +85 °C) Pin name Condition Value Min Typ Max Unit Remarks
Parameter
Symbol
VIH “H” level input voltage VIHS VIH1
P00 to P07, P10 to P17, P20 to P27, P30 to P37, P40 to P47, P50 to P54, MOD0, MOD1 RST, INT0 to INT7, UCK, UI P60 to P67 P00 to P07, P10 to P17, P20 to P27, P30 to P37, P40 to P47, P50 to P54, MOD0, MOD1 RST, INT0 to INT7, UCK, UI P60 to P67 P52 to P54 P00 to P07, P10 to P17, P20 to P24, P30 to P37, P40 to P47, P50, P51 P00 to P07, P10 to P17, P20 to P24, P30 to P37, P40 to P47, P50 to P54, RST
0.7 VCC
VCC + 0.3
V
0.8 VCC VSS + 2.0
VCC + 0.3 VSS + 3.6
V V
VIL “L” level input voltage VILS VIL1 Open-drain output application voltage VD1
VSS − 0.3
0.3 VCC
V
VSS − 0.3 VSS − 0.5 VSS − 0.3
0.2 VCC VSS + 0.8 VCC + 0.3
V V V
“H” level output voltage
VOH
IOH = −2.0 mA
4.0
V
“L” level output voltage
VOL
IOL = 4.0 mA
0.4
V
(Continued)
24
MB89580B/580BW series
(Continued)
(VCC = 5.0 V, VSS = 0 V, TA = −40 °C to +85 °C) Symbol Pin name P00 to P07, P10 to P17, P20 to P27, P30 to P37, P40 to P47, P50, P51, P60 to P67 P52 to P54 P00 to P07, P10 to P17, P20 to P27, P30 to P37, P40 to P47, P50 to P54, RST Condition Value Min Typ Max Unit Remarks
Parameter
Input leakage current (Hi-Z output leakage current) Open-drain output leakage current
ILI
0.0 < VI < VCC
−5
+5
µA
When no pullup resistance is specified
ILIOD
0.0 < VI < VSS + 5.5
+5
µA
Pullup resistance
RPULL
VI = 0.0 V
25
50
100
kΩ
RST is excluded when pullup resistance available is specified.
ICC Power supply current ICCS1 ICCH Input capacitance CIN Other than Vcc and Vss VCC
FCH = 12.0 MHz VCC = 5.0 V tinst = 0.333 µs FCH = 12.0 MHz VCC = 5.0 V tinst = 0.333 µs TA = 25 °C f = 1 MHz
25
38
MB89P585B/BW, MB89585B/BW, mA MB89583B/BW MB89P589B, MB89589B mA Sleep mode µA pF Stop
20 5 10
30 20
25
MB89580B/580BW series
4. AC Characteristics
(1) Reset Timing (VCC = 5.0 V, VSS = 0 V, TA = −40 °C to +85 °C) Symbol tZLZH Condition Value Min 48 tHCLY Max Unit ns Remarks
Parameter RST “L” pulse width
Note : tHCYL is the internal main clock oscillating cycle (1/2 Fc) .
tZLZH
RST
0.2 VCC
0.2 VCC
(2) Power-on Reset and Power On Time Value Min 0.066 4 Max 50
(VSS = 0 V, TA = −40 °C to +85 °C) Condition Unit ms ns Due to repeated operations Remarks
Parameter Power supply rising time Power supply cutoff time
Symbol tR tOFF
Note : The power supply must be up within the selected oscillation stabilization time. When the supply voltage needs to be varied while operating, it is recommended to smoothly start up the voltage.
tR 3.5 V
tOFF
VCC
0.2 V 0.2 V 0.2 V
26
MB89580B/580BW series
(3) Clock Timing Value Min 1 160 2 80 Typ 6 166.6 12 83.3 Max 6.25 1000 12.5 500
(VSS = 0 V, TA = −40 °C to +85 °C) Symbol FC tXCYL FCH tHCYL Pin name Condition X0, X1 X0, X1 Unit MHz ns MHz ns Twice the Fc tXCYL/2 Remarks
Parameter Clock frequency Clock cycle time Internal main clock frequency Internal clock cycle
Note: When USB is used, the clock frequency (FC) should be fixed at 6 MHz (CPU operating frequency (FCH) = 12 MHz). And main clock gear speed should be fixed at 4/FCH. • X0 and X1 Timing and Conditions
tXCYL
X0
0.2 VCC 0.2 VCC
• Clock Conditions
When a crystal resonator is used
X0
X1
C1
C2
(4) Instruction Cycle Parameter Instruction cycle (Min execution time) Symbol tinst Value 4 / FCH, 8 / FCH, 16 / FCH, 64 / FCH Unit µs
(VSS = 0 V, TA = −40 °C to +85 °C) Remarks When operating at FCH = 12 MHz tinst = 0.33 µs (4 / FCH) 27
MB89580B/580BW series
(5) UART Serial I/O Timing
(VCC = 5.0 V, VSS = 0 V, TA = −40 °C to +85 °C) Symbol tSCYC tSLOV tIVSH tSHIX tSHSL tSLSH tSLOV tIVSH tSHIX Pin name UCK UCK, UO UI, UCK UCK, UI UCK UCK, UO UI, UCK UCK, UI External shift clock mode Internal shift clock mode Condition Value Min 2 tinst* −200 200 200 1 tinst* 1 tinst* 0 200 200 Max 200 200 Unit µs ns ns ns µs µs ns ns ns Remarks
Parameter Serial clock cycle time UCK ↓ → UO Valid UI → UCK↑ UCK ↑ → valid UI hold time Serial clock “H” pulse width Serial clock “L” pulse width UCK ↓ → UO time Valid UI → UCK↑ UCK ↑ → valid UI hold time
* : For information about tinst, see “Instruction Cycle.” • Internal shift clock mode
tSCYC
UCK
2.4 V 0.8 V tSLOV 2.4 V 0.8 V tIVSH tSHIX 0.8 VCC 0.2 VCC 0.8 V
UO
UI
0.8 VCC 0.2 VCC
• External shift clock mode
tSLSH tSHSL 0.8 VCC 0.2 VCC tSLOV 2.4 V 0.8 V tIVSH tSHIX 0.8 VCC 0.2 VCC 0.2 VCC 0.8 VCC
UCK
UO
UI
0.8 VCC 0.2 VCC
28
MB89580B/580BW series
(6) Peripheral Input Timing
(VCC = 5.0 V, VSS = 0 V, TA = −40 °C to +85 °C) Pin name Condition INT0 to INT7 tIHIL1 2 tinst* µs Value Min 2 tinst* Max Unit µs Remarks
Parameter Peripheral input “H” pulse width 1 Peripheral input “L” pulse width 1
Symbol tILIH1
* : For information about tinst, see “Instruction Cycle.”
tIHIL1
tILIH1 0.8 VCC 0.8 VCC
INT0 to INT7
0.2 VCC
0.2 VCC
29
MB89580B/580BW series
(7) Parallel Port Timing
(VCC = 5.0 V, VSS = 0 V, TA = −40 °C to +85 °C) Symbol tIHWL tCLWL tWHCH tWLWH tDVWH tWHDX tAVWH tWHAX tOHRL tCLRL tRHCH tRLRH tRLDV tRHDX tAVRL tRHAX Pin name IBFX WEX CEX WEX CEX WEX WEX D0 to D7 WEX D0 to D7 WEX A0 WEX A0 WEX OBF RDX CEX RDX CEX RDX RDX D0 to D7 RDX D0 to D7 RDX A0 RDX A0 RDX Condition Value Min 1 / 2•tinst 0 0 40 10 10 10 10 1 / 2•tinst 0 0 40 0 10 10 Max 15 Unit µs ns ns ns ns ns ns ns µs ns ns ns ns ns ns ns Remarks
Parameter IBFX ↑ → WEX ↓ timing CEX ↓ → WEX ↓ delay WEX ↑ → CEX ↑ delay WEX pulse width Write data setup Write data hold Write address setup Write address hold OBF ↑ → RDX ↓ timing CEX ↓ → RDX ↓ delay RDX ↑ → CEX ↑ delay RDX pulse width Read data delay Read data hold Read address setup Read address hold
30
MB89580B/580BW series
• Write Timing
IBFX
tIHWL
CEX
tCLWL tWHCH
WEX
tWLWH
D0 to D7
tDVWH
tWHDX
A0
tAVWH
tWHAX
• Read Timing
OBF
tOHRL
CEX
tCLRL tRHCH
RDX
tRLRH
D0 to D7
tRLDV
tRHDX
A0
tAVRL tRHAX
31
MB89580B/580BW series
(8) External FIFO Connection Timing
(VCC = 5.0 V, VSS = 0 V, TA = −40 °C to +85 °C, FC = 6 MHz) Condition Not including the initial resetting after reset Value Min Max 360 360 Unit Remarks Resetting before PKEND is not allowed.
Parameter
Symbol Pin name
FIFO empty resetting timing
tEFXH
EFX
0
ns
FIFO empty timing Read cycle time Read clock “H” pulse width Valid DI → R ↓ setup time R ↓ → valid DI hold time FIFO full reset timing FIFO full timing Write recycle time Write clock “H” pulse width Valid DO → W ↑ setup time W ↓ → valid DO hold time
tEFXL tRSCY tRHWD tDISP tDIHD tFFXH tFFXL tWSCY tWHWD tDOSP tDOHD
EFX, R R DI7 to DI0, R FFX FFX, W W DO7 to DO0, W
0 645 145 50 0 0 0 645 145 200 40
ns ns ns ns ns ns ns ns ns ns ns Resetting before PKEND is not allowed.
32
MB89580B/580BW series
• Read Data from External FIFO
PKEND
tEFXH
0.7 VCC
EFX (P52)
tRSYC 2.4 V tEFXL 2.4 V 0.8 V tDISP tDIHD
0.3 VCC
R (P51)
0.8 V tRHWD
DI7 to DI0
Invalid
2.0 V Valid 0.8 V
Invalid
Valid
Invalid
• Write Data to External FIFO
PKEND
tFFXH
FFX (P53)
tWSCY tFFXL 2.4 V 0.8 V tWHWD tDOSP 2.4 V
0.7 VCC 0.3 VCC
W (P50)
2.4 V
0.8 V tDOHD 2.4 V 0.8 V
DO7 to DO0
0.8 V
33
MB89580B/580BW series
s ORDERING INFORMATION
Part number MB89589BPFM MB89P589BPFM MB89583BPFV MB89585BPFV MB89P585BPFV MB89583BWPFV MB89585BWPFV MB89P585BWPFV Package 64-pin plastic LQFP (FPT-64P-M09) Remarks
64-pin plastic LQFP (FPT-64P-M03)
34
MB89580B/580BW series
s PACKAGE DIMENSIONS
64-pin plastic LQFP (FPT-64P-M03)
12.00±0.20(.472±.008)SQ 10.00±0.10(.394±.004)SQ
48 33
Note: Pins width and pins thickness include plating thickness.
0.145±0.055 (.006±.002)
49
32
Details of "A" part 0.08(.003) 1.50 –0.10 .059 –.004
+0.20 +.008
(Mounting height)
INDEX
64 17
0°~8° "A" 0.50±0.20 (.020±.008) 0.60±0.15 (.024±.006)
0.10±0.10 (.004±.004) (Stand off)
0.25(.010)
LEAD No.
1
16
0.50(.020)
0.20±0.05 (.008±.002)
0.08(.003)
M
C
2000 FUJITSU LIMITED F64009S-c-4-7
Dimensions in mm (inches)
(Continued)
35
MB89580B/580BW series
(Continued) 64-pin plastic LQFP (FPT-64P-M09)
14.00±0.20(.551±.008)SQ 12.00±0.10(.472±.004)SQ
48 33
Note: Pins width and pins thickness include plating thickness.
0.145±0.055 (.0057±.0022)
49
32
0.10(.004) Details of "A" part 1.50 –0.10 .059 –.004
+0.20 +.008
(Mounting height)
0.25(.010) INDEX 0~8°
64 17
1
16
"A"
0.65(.026)
0.32±0.05 (.013±.002)
0.50±0.20 (.020±.008) 0.60±0.15 (.024±.006)
0.10±0.10 (.004±.004) (Stand off)
0.13(.005)
M
C
2001 FUJITSU LIMITED F64018S-c-2-4
Dimensions in mm (inches)
36
MB89580B/580BW series
FUJITSU LIMITED
All Rights Reserved. The contents of this document are subject to change without notice. Customers are advised to consult with FUJITSU sales representatives before ordering. The information and circuit diagrams in this document are presented as examples of semiconductor device applications, and are not intended to be incorporated in devices for actual use. Also, FUJITSU is unable to assume responsibility for infringement of any patent rights or other rights of third parties arising from the use of this information or circuit diagrams. The 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.
F0202 © FUJITSU LIMITED Printed in Japan