Escolar Documentos
Profissional Documentos
Cultura Documentos
■ FEATURES
• Clock
Embedded PLL clock multiplication circuit
Operating clock (PLL clock) can be selected from : divided-by-2 of oscillation or one to four times the oscillation
Minimum instruction execution time : 62.5 ns (operation at oscillation of 4 MHz, four times the oscillation clock,
VCC of 5.0 V)
Subsystem Clock : 32 kHz
(Continued)
■ PACKAGES
100-pin Plastic QFP 100-pin Plastic LQFP
(FPT-100P-M06) (FPT-100P-M05)
2
MB90435 Series
(Continued)
• UART 1
With full-duplex double buffer (8-bit length)
Clock asynchronized or clock synchronized serial (extended I/O serial) can be used.
• External interrupt circuit (8 channels)
A module for starting an extended intelligent I/O service (EI2OS) and generating an external interrupt which
is triggered by an external input.
• Delayed interrupt generation module
Generates an interrupt request for switching tasks.
• 8/10-bit A/D converter (8 channels)
8/10-bit resolution can be selectively used.
Starting by an external trigger input.
Conversion time : 26.3 µs
• External bus interface : Maximum address space 16 Mbytes
• Package: QFP-100, LQFP-100
* : Embedded Algorithm is a trade mark of Advanced Micro Devices Inc.
3
MB90435 Series
■ PRODUCT LINEUP
MB90437L (S) *1
Features MB90F438L (S) /F439 (S) MB90V540G
/438L (S) /439 (S)
CPU F2MC-16LX CPU
On-chip PLL clock multiplier (×1, ×2, ×3, ×4, 1/2 when PLL stop)
System clock
Minimum instruction exection time : 62.5 ns (4 MHz osc. PLL × 4)
Mask ROM :
Flash memory
MB90437L(S): 64 Kbytes
ROM MB90F438L(S) : 128 Kbytes External
MB90438L(S): 128 Kbytes
MB90F439(S) : 256 Kbytes
MB90439(S): 256 Kbytes
MB90437L(S): 2 Kbytes
MB90F438L(S) : 4 Kbytes
RAM MB90438L(S): 4 Kbytes 8 Kbytes
MB90F439(S) : 6 Kbytes
MB90439(S): 6 Kbytes
MB90F438L/F439 MB90437L/438L/439
: Two clocks system : Two clocks system
Clocks Two clocks system*2
MB90F438LS/F439S MB90437LS/438LS/439S
: One clock system : One clock system
Operating voltage
*5
range
Temperature range −40 °C to 105 °C
Package QFP100, LQFP100 PGA-256
Emulator-specify
None
power supply*3
Full duplex double buffer
Support asynchronous/synchronous (with start/stop bit) transfer
UART0
Baud rate : 4808/5208/9615/10417/19230/38460/62500/500000 bps (asynchronous)
500 K/1 M/2 Mbps (synchronous) at System clock = 16 MHz
Full duplex double buffer
UART1 Asynchronous (start-stop synchronized) and CLK-synchronous communication
(SCI) Baud rate : 1202/2404/4808/9615/19230/31250/38460/62500 bps (asynchronous)
62.5 K/125 K/250 K/500 K/1 M/2 Mbps (synchronous) at 6, 8, 10, 12, 16 MHz
Transfer can be started from MSB or LSB
Supports internal clock synchronized transfer and external clock synchronized transfer
Serial I/O
Supports positive-edge and nagative-edge clock synchronization
Baud rate : 31.25 K/62.5 K/125 K/500 K/1 Mbps at System clock = 16 MHz
10-bit or 8-bit resolution
A/D Converter 8 input channels
Conversion time : 26.3 µs (per one channel)
(Continued)
4
MB90435 Series
(Continued)
MB90437L (S) *1
Features MB90F438L (S) /F439 (S) MB90V540G
/438L (S) /439 (S)
Operation clock frequency : fsys/21, fsys/23, fsys/25 (fsys = System clock frequency)
16-bit Reload Timer
Supports External Event Count function
(2 channels)
Signals an interrupt when overflow
Supports Timer Clear when a match with Output Compare (Channel 0)
16-bit I/O Timer
Operation clock freq. : fsys/22, fsys/24, fsys/26, fsys/28 (fsys = System clock freq.)
Signals an interrupt when a match with 16-bit I/O Timer
16-bit Output Compare
Four 16-bit compare registers
(4 channels)
A pair of compare registers can be used to generate an output signal
Rising edge, falling edge or rising & falling edge sensitive
16-bit Input Capture
Four 16-bit Capture registers
(8 channels)
Signals an interrupt upon external event
Supports 8-bit and 16-bit operation modes
Eight 8-bit reload counters
Eight 8-bit reload registers for L pulse width
8/16-bit
Eight 8-bit reload registers for H pulse width
Programmable
A pair of 8-bit reload counters can be configured as one 16-bit reload counter or as 8-bit
Pulse Generator
prescaler plus 8-bit reload counter
(4 channels)
4 output pins
Operation clock freq. : fsys, fsys/21, fsys/22, fsys/23, fsys/24 or 128 µs@fosc = 4 MHz
(fsys = System clock frequency, fosc = Oscillation clock frequency)
32 kHz Sub-clock Sub-clock for low power operation
External Interrupt
Can be programmed edge sensitive or level sensitive
(8 channels)
External bus External access using the selectable 8-bit or 16-bit bus is enabled
interface (external bus mode.)
Virtually all external pins can be used as general purpose I/O
I/O Ports All push-pull outputs and schmitt trigger inputs
Bit-wise programmable as input/output or peripheral signal
Supports automatic programming, Embeded Algorithm TM*4
Write/Erase/Erase-Suspend/Erase-Resume commands
A flag indicating completion of the algorithm
Number of erase cycles : 10,000 times
Flash Memory
Data retention time : 10 years
Boot block configuration
Erase can be performed on each block
Block protection by externally programmed voltage
*1 : Under development
*2 : If the one clock system is used, equip X0A and X1A with clocks from the tool side.
*3 : It is setting of DIP switch S2 when Emulator pod (MB2145-507) is used.Please refer to the MB2145-507 hardware
manual (2.7 Emulator-specific Power Pin) about details.
*4 : Embedded Algorithm is a trade mark of Advanced Micro Devices Inc.
*5 : OPERATING VOLTAGE RANGE
Products Operation guarantee range
MB90F439 (S) /439 (S) /V540G 4.5 V to 5.5 V
MB90F438L (S) /437L (S) /438L (S) 3.5 V to 5.5 V
5
MB90435 Series
■ PIN ASSIGNMENT
(TOP VIEW)
P17/AD15
P16/AD14
P15/AD13
P14/AD12
P13/AD11
P12/AD10
P11/AD09
P10/AD08
P07/AD07
P06/AD06
P05/AD05
P04/AD04
P03/AD03
P02/AD02
P01/AD01
P00/AD00
VCC
VSS
X1
X0
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
P20/A16 1 80 X0A
P21/A17 2 79 X1A
P22/A18 3 78 PA0
P23/A19 4 77 RST
P24/A20 5 76 P97
P25/A21 6 75 P96
P26/A22 7 74 P95
P27/A23 8 73 P94
P30/ALE 9 72 P93/INT3
P31/RD 10 71 P92/INT2
VSS 11 70 P91/INT1
P32/WRL/WR 12 69 P90/INT0
P33/WRH 13 68 P87/TOT1
P34/HRQ 14 67 P86/TIN1
P35/HAK 15 66 P85/OUT1
P36/RDY 16 65 P84/OUT0
P37/CLK 17 64 P83/PPG3
P40/SOT0 18 63 P82/PPG2
P41/SCK0 19 62 P81/PPG1
P42/SIN0 20 61 P80/PPG0
P43/SIN1 21 60 P77/OUT3/IN7
P44/SCK1 22 59 P76/OUT2/IN6
VCC 23 58 P75/IN5
P45/SOT1 24 57 P74/IN4
P46/SOT2 25 56 P73/IN3
P47/SCK2 26 55 P72/IN2
C 27 54 P71/IN1
P50/SIN2 28 53 P70/IN0
P51/INT4 29 52 HST
P52/INT5 30 51 MD2
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
P53/INT6
P54/INT7
P55/ADTG
AVCC
AVRH
AVRL
AVSS
P60/AN0
P61/AN1
P62/AN2
P63/AN3
VSS
P64/AN4
P65/AN5
P66/AN6
P67/AN7
P56/TIN0
P57/TOT0
MD0
MD1
(FPT-100P-M06)
(Continued)
6
MB90435 Series
(Continued)
(TOP VIEW)
98 P17/AD15
97 P16/AD14
96 P15/AD13
95 P14/AD12
94 P13/AD11
93 P12/AD10
92 P11/AD09
91 P10/AD08
90 P07/AD07
89 P06/AD06
88 P05/AD05
87 P04/AD04
86 P03/AD03
85 P02/AD02
84 P01/AD01
83 P00/AD00
100 P21/A17
99 P20/A16
78 X0A
77 X1A
76 PA0
82 VCC
79 VSS
81 X1
80 X0
P22/A18 1 75 RST
P23/A19 2 74 P97
P24/A20 3 73 P96
P25/A21 4 72 P95
P26/A22 5 71 P94
P27/A23 6 70 P93/INT3
P30/ALE 7 69 P92/INT2
P31/RD 8 68 P91/INT1
VSS 9 67 P90/INT0
P32/WRL/WR 10 66 P87/TOT1
P33/WRH 11 65 P86/TIN1
P34/HRQ 12 64 P85/OUT1
P35/HAK 13 63 P84/OUT0
P36/RDY 14 62 P83/PPG3
P37/CLK 15 61 P82/PPG2
P40/SOT0 16 60 P81/PPG1
P41/SCK0 17 59 P80/PPG0
P42/SIN0 18 58 P77/OUT3/IN7
P43/SIN1 19 57 P76/OUT2/IN6
P44/SCK1 20 56 P75/IN5
VCC 21 55 P74/IN4
P45/SOT1 22 54 P73/IN3
P46/SOT2 23 53 P72/IN2
P47/SCK2 24 52 P71/IN1
C 25 51 P70/IN0
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
P50/SIN2
P51/INT4
P52/INT5
P53/INT6
P54/INT7
P55/ADTG
AVCC
AVRH
AVRL
AVSS
P60/AN0
P61/AN1
P62/AN2
P63/AN3
VSS
P64/AN4
P65/AN5
P66/AN6
P67/AN7
P56/TIN0
P57/TOT0
MD0
MD1
MD2
HST
(FPT-100P-M05)
7
MB90435 Series
■ PIN DESCRIPTION
Pin No.
Pin name Circuit type Function
LQFP*2 QFP*1
80 82 X0 A
High speed crystal oscillator input pins
81 83 X1 (Oscillation)
Low speed crystal oscillator input pins. For the one clock
78 80 X0A
A system parts, perfom external pull-down processing.
(Oscillation) Low speed crystal oscillator input pins. For the one clock
77 79 X1A
system parts, leave it open.
75 77 RST B External reset request input pin
50 52 HST C Hardware standby input pin
General I/O port with programmable pull-up. This function is
P00 to P07
enabled in the single-chip mode.
83 to 90 85 to 92 I
I/O pins for 8 lower bits of the external address/data bus. This
AD00 to AD07
function is enabled when the external bus is enabled.
General I/O port with programmable pull-up. This function is
P10 to P17
enabled in the single-chip mode.
91 to 98 93 to 100 I
I/O pins for 8 higher bits of the external address/data bus. This
AD08 to AD15
function is enabled when the external bus is enabled.
General I/O port with programmable pull-up. In external bus
P20 to P27 mode, this function is valid when the corresponding bits in the
external address output control register (HACR) are set to “1”.
99 to 6 1 to 8 I 8-bit output pins for A16 to A23 at the external address bus. In
external bus mode, this function is valid when the correspond-
A16 to A23
ing bits in the external address output control register (HACR)
are set to “0”.
General I/O port with programmable pull-up. This function is
P30
enabled in the single-chip mode.
7 9 I
Address latch enable output pin. This function is enabled
ALE
when the external bus is enabled.
General I/O port with programmable pull-up. This function is
P31
enabled in the single-chip mode.
8 10 I
Read strobe output pin for the data bus. This function is
RD
enabled when the external bus is enabled.
General I/O port with programmable pull-up. This function is
P32 enabled in the single-chip mode or when the WR/WRL pin
output is disabled.
10 12 WRL I Write strobe output pin for the data bus. This function is
enabled when both the external bus and the WR/WRL pin
output are enabled. WRL is write-strobe output pin for the
WR lower 8 bits of the data bus in 16-bit access. WR is write-strobe
output pin for the 8 bits of the data bus in 8-bit access.
(Continued)
8
MB90435 Series
9
MB90435 Series
26 28 D Serial data input pin for the Extended I/O serial interface . Set
SIN2 the corresponding Port Direction Register to input if this
function is used.
P51 to P54 General I/O port. This function is always enabled.
27 to 30 29 to 32 D External interrupt request input pins for INT4 to INT7. Set the
INT4 to INT7 corresponding Port Direction Register to input if this function is
used.
P55 General I/O port. This function is always enabled.
31 33 D Trigger input pin for the A/D converter. Set the corresponding
ADTG
Port Direction Register to input if this function is used.
General I/O port. This function is enabled when the analog
P60 to P63
input enable register specifies a port.
36 to 39 38 to 41 E
Analog input pins for the 8/10-bit A/D converter. This function is
AN0 to AN3
enabled when the analog input enable register specifies A/D.
General I/O port. The function is enabled when the analog
P64 to P67
input enable register specifies a port.
41 to 44 43 to 46 E
Analog input pins for the 8/10-bit A/D converter. This function is
AN4 to AN7
enabled when the analog input enable register specifies A/D.
P56 General I/O port. This function is always enabled.
45 47 D Event input pin for the 16-bit reload timers 0. Set the
TIN0 corresponding Port Direction Register to input if this function is
used.
(Continued)
10
MB90435 Series
51 to 56 53 to 58 D Trigger input pins for input captures ICU0 to ICU5. Set the
IN0 to IN5 corresponding Port Direction Register to input if this
function is used.
General I/O ports. This function is enabled when the OCU
P76 , P77
disables the waveform output.
Event output pins for output compares OCU2 and OCU3. This
OUT2 , OUT3 function is enabled when the OCU enables the waveform
57 , 58 59 , 60 D
output.
Trigger input pins for input captures ICU6 and ICU7. Set the
IN6 , IN7 corresponding Port Direction Register to input and disable the
OCU waveform output if this function is used.
General I/O ports. This function is enabled when 8/16-bit PPG
P80 to P83
disables the waveform output.
59 , 62 61 to 64 D
PPG0 to Output pins for 8/16-bit PPGs. This function is enabled when
PPG3 8/16-bit PPG enables the waveform output.
General I/O ports. This function is enabled when the OCU
P84 , P85
disables the waveform output.
63 , 64 65 , 66 D Waveform output pins for output compares OCU0 and OCU1.
OUT0 , OUT1 This function is enabled when the OCU enables the waveform
output.
P86 General I/O port. This function is always enabled.
67 to 70 69 to 72 D External interrupt request input pins for INT0 to INT3. Set the
INT0 to INT3 corresponding Port Direction Register to input if this function is
used.
71 73 P94 D General I/O port.
(Continued)
11
MB90435 Series
(Continued)
Pin No. Circuit
Pin name Function
LQFP*2 QFP*1 type
12
MB90435 Series
X0,X0A
A
Hard, soft
standby control
• Hysteresis input
• Pull-up resistor : 50 kΩ approx.
R (Pull-up)
B
R
HYS input
• Hysteresis input
R HYS input
C
P-ch
D
N-ch
R HYS input
(Continued)
13
MB90435 Series
N-ch
P-ch
Analog input
N-ch
R HYS input
• Hysteresis input
• Pull-down Resistor : 50 kΩ approx.
R HYS input (except FLASH devices)
F R (Pull-down)
N-ch
G
R HYS input
(Continued)
14
MB90435 Series
(Continued)
Circuit type Diagram Remarks
• CMOS level output
• CMOS Hysteresis input
• Programmable pull-up resistor :
Pull-up ON/OFF
VCC
select signal 50 kΩ approx.
VCC
P-ch P-ch
H
N-ch
R
HYS input
I N-ch
R
HYS input
R TTL level input
T
15
MB90435 Series
■ HANDLING DEVICES
(1) Preventing latch-up
CMOS IC chips may suffer latch-up under the following conditions :
• A voltage higher than VCC or lower than VSS is applied to an input or output pin.
• A voltage higher than the rated voltage is applied between VCC and VSS.
• The AVcc power supply is applied before the VCC voltage.
Latch-up may increase the power supply current drastically, causing thermal damage to the device.
For the same reason, care must also be taken in not allowing the analog power-supply voltage (AVCC, AVRH) to
exceed the digital power-supply voltage.
(2) Handling unused pins
Leaving unused input pins open may result in misbehavior or latch up and possible permanent damage of the
device. Therefor they must be pulled up or pulled down through resistors. In this case those resistors should be
more than 2 kΩ.
Unused bi-directional pins should be set to the output state and can be left open, or the input state with the
above described connection.
(3) Using external clock
To use external clock, drive X0 pin only and leave X1 pin unconnected.
Below is a diagram of how to use external clock.
MB90435 Series
X0
Open X1
VCC VSS
VSS
VSS
VSS VCC
16
MB90435 Series
17
MB90435 Series
■ BLOCK DIAGRAM
X0, X1
X0A, X1A Clock F2MC 16LX
RST Controller CPU
HST
16-bit I/O
RAM
Timer
2 K/4 K/6 K/8 K
16-bit Input
Capture IN0 to IN5
8 ch.
ROM/Flash IN6/OUT2,
64K/128 K/256 K IN7/OUT3
(ROM only) 16-bit Output
Compare OUT0, OUT1
4 ch.
Prescaler
8/16-bit
SOT0 PPG PPG0 to PPG3
SCK0 UART0 4 ch.
SIN0
SOT1
UART1
SCK1 AD00 to AD15
(SCI)
SIN1 A16 to A23
ALE
Prescaler
RD
External WRL
SOT2 Bus
WRH
Serial I/O Interface
SCK2
HRQ
SIN2
HAK
RDY
AVCC
CLK
AVSS
AN0 to AN7 10-bit A/D
AVRH Converter External
8 ch. Interrupt INT0 to INT7
AVRL
8 ch.
ADTG
18
MB90435 Series
■ MEMORY MAP
The memory space of the MB90435 Series is shown below.
MB90V540G MB90F437L (S)* MB90F438L (S)/438L (S) MB90F439 (S) /439 (S)
FFFFFFH FFFFFFH FFFFFFH FFFFFFH
ROM ROM ROM ROM
(FF bank) (FF bank) (FF bank) (FF bank)
FF0000H FF0000H FF0000H FF0000H
FEFFFFH FEFFFFH FEFFFFH
ROM ROM ROM
(FE bank) (FE bank) (FE bank)
FE0000H FE0000H FE0000H
FDFFFFH FDFFFFH
ROM ROM
(FD bank) (FD bank)
FD0000H External FD0000H
FCFFFFH FCFFFFH
ROM External ROM
(FC bank) (FC bank)
FC0000H FC0000H
External External
00FFFFH
00FFFFH ROM ROM 00FFFFH ROM 00FFFFH ROM
(Image of (Image of (Image of (Image of
004000H FF bank) 004000H FF bank) 004000H FF bank) 004000H FF bank)
003FFFH 003FFFH 003FFFH 003FFFH
Peripheral Peripheral Peripheral Peripheral
003900H 003900H 003900H 003900H
* : Under development
Note : The high-order portion of bank 00 gives the image of the FF bank ROM to make the small model of the C
compiler effective. Since the low-order 16 bits address are the same, the table in ROM can be referenced
without using the “far” specification in the pointer declaration.
For example, an attempt to access 00C000H accesses the value at FFC000H in ROM.The ROM area in bank
FF exceeds 48 Kbytes, and its entire image cannot be shown in bank 00.The image between FF4000H and
FFFFFFH is visible in bank 00, while the image between FF0000H and FF3FFFH is visible only in bank FF.
19
MB90435 Series
■ I/O MAP
Address Register Abbreviation Access Resource name Initial value
00H Port 0 data register PDR0 R/W Port 0 XXXXXXXXB
01H Port 1 data register PDR1 R/W Port 1 XXXXXXXXB
02H Port 2 data register PDR2 R/W Port 2 XXXXXXXXB
03H Port 3 data register PDR3 R/W Port 3 XXXXXXXXB
04H Port 4 data register PDR4 R/W Port 4 XXXXXXXXB
05H Port 5 data register PDR5 R/W Port 5 XXXXXXXXB
06H Port 6 data register PDR6 R/W Port 6 XXXXXXXXB
07H Port 7 data register PDR7 R/W Port 7 XXXXXXXXB
08H Port 8 data register PDR8 R/W Port 8 XXXXXXXXB
09H Port 9 data register PDR9 R/W Port 9 XXXXXXXXB
0AH Port A data register PDRA R/W Port A _ _ _ _ _ _ _XB
0BH to 0FH Reserved
10H Port 0 direction register DDR0 R/W Port 0 0 0 0 0 0 0 0 0B
11H Port 1 direction register DDR1 R/W Port 1 0 0 0 0 0 0 0 0B
12H Port 2 direction register DDR2 R/W Port 2 0 0 0 0 0 0 0 0B
13H Port 3 direction register DDR3 R/W Port 3 0 0 0 0 0 0 0 0B
14H Port 4 direction register DDR4 R/W Port 4 0 0 0 0 0 0 0 0B
15H Port 5 direction register DDR5 R/W Port 5 0 0 0 0 0 0 0 0B
16H Port 6 direction register DDR6 R/W Port 6 0 0 0 0 0 0 0 0B
17H Port 7 direction register DDR7 R/W Port 7 0 0 0 0 0 0 0 0B
18H Port 8 direction register DDR8 R/W Port 8 0 0 0 0 0 0 0 0B
19H Port 9 direction register DDR9 R/W Port 9 0 0 0 0 0 0 0 0B
1AH Port A direction register DDRA R/W Port A _ _ _ _ _ _ _0B
1BH Analog Input Enable register ADER R/W Port 6, A/D 1 1 1 1 1 1 1 1B
1CH Port 0 pull-up control register PUCR0 R/W Port 0 0 0 0 0 0 0 0 0B
1DH Port 1 pull-up control register PUCR1 R/W Port 1 0 0 0 0 0 0 0 0B
1EH Port 2 pull-up control register PUCR2 R/W Port 2 0 0 0 0 0 0 0 0B
1FH Port 3 pull-up control register PUCR3 R/W Port 3 0 0 0 0 0 0 0 0B
20H Serial Mode Control Register 0 UMC0 R/W 0 0 0 0 0 1 0 0B
21H Serial Status Register 0 USR0 R/W 0 0 0 1 0 0 0 0B
Serial input data register 0/ UIDR0/ UART0
22H R/W XXXXXXXXB
Serial output data register 0 UODR0
23H Rate and data register 0 URD0 R/W 0 0 0 0 0 0 0XB
(Continued)
20
MB90435 Series
(Continued)
22
MB90435 Series
(Continued)
Address Register Abbreviation Access Resource name Initial value
A2H to A4H Prohibited
A5H Automatic ready function select register ARSR W 0 0 1 1 _ _ 0 0B
External Memory
A6H External address output control register HACR W 0 0 0 0 0 0 0 0B
Access
A7H Bus control signal selection register ECSR W 0 0 0 0 0 0 0 _B
A8H Watchdog Timer control register WDTC R/W Watchdog Timer XXXXX 1 1 1B
A9H Time Base Timer Control register TBTC R/W Time Base Timer 1 - - 0 0 1 0 0B
AAH Watch timer control register WTC R/W Watch Timer 1 X 0 0 0 0 0 0B
ABH to ADH Prohibited
Flash memory control status register
AEH FMCS R/W Flash Memory 0 0 0 X 0 0 0 0B
(Flash only, otherwise reserved)
AFH Prohibited
B0H Interrupt control register 00 ICR00 R/W 0 0 0 0 0 1 1 1B
B1H Interrupt control register 01 ICR01 R/W 0 0 0 0 0 1 1 1B
B2H Interrupt control register 02 ICR02 R/W 0 0 0 0 0 1 1 1B
B3H Interrupt control register 03 ICR03 R/W 0 0 0 0 0 1 1 1B
B4H Interrupt control register 04 ICR04 R/W 0 0 0 0 0 1 1 1B
B5H Interrupt control register 05 ICR05 R/W 0 0 0 0 0 1 1 1B
B6H Interrupt control register 06 ICR06 R/W 0 0 0 0 0 1 1 1B
B7H Interrupt control register 07 ICR07 R/W Interrupt 0 0 0 0 0 1 1 1B
B8H Interrupt control register 08 ICR08 R/W controller 0 0 0 0 0 1 1 1B
B9H Interrupt control register 09 ICR09 R/W 0 0 0 0 0 1 1 1B
BAH Interrupt control register 10 ICR10 R/W 0 0 0 0 0 1 1 1B
BBH Interrupt control register 11 ICR11 R/W 0 0 0 0 0 1 1 1B
BCH Interrupt control register 12 ICR12 R/W 0 0 0 0 0 1 1 1B
BDH Interrupt control register 13 ICR13 R/W 0 0 0 0 0 1 1 1B
BEH Interrupt control register 14 ICR14 R/W 0 0 0 0 0 1 1 1B
BFH Interrupt control register 15 ICR15 R/W 0 0 0 0 0 1 1 1B
C0H to FFH External
24
MB90435 Series
(Continued)
Address Register Abbreviation Access Resource name Initial value
3928H Output Compare Register 0 OCCP0 R/W XXXXXXXXB
3929H Output Compare Register 0 OCCP0 R/W XXXXXXXXB
Output Compare 0/1
392AH Output Compare Register 1 OCCP1 R/W XXXXXXXXB
392BH Output Compare Register 1 OCCP1 R/W XXXXXXXXB
392CH Output Compare Register 2 OCCP2 R/W XXXXXXXXB
392DH Output Compare Register 2 OCCP2 R/W XXXXXXXXB
Output Compare 2/3
392EH Output Compare Register 3 OCCP3 R/W XXXXXXXXB
392FH Output Compare Register 3 OCCP3 R/W XXXXXXXXB
3930H to
Reserved
39FFH
3A00H to
Reserved
3AFFH
3B00H to
Reserved
3BFFH
3C00H to
Reserved
3CFFH
3D00H to
Reserved
3DFFH
3E00H to
Reserved
3FFFH
• Read/write notation
R/W : Reading and writing permitted
R : Read-only
W : Write-only
Note : Any write access to reserved addresses in I/O map should not be performed. A read access to reserved
addresses results in reading “X”.
25
MB90435 Series
■ INTERRUPT MAP
26
MB90435 Series
*1 : The interrupt request flag is cleared by the EI2OS interrupt clear signal.
*2 : The interrupt request flag is cleared by the EI2OS interrupt clear signal. A stop request is available.
Notes : • N/A : The interrupt request flag is not cleared by the EI2OS interrupt clear signal.
• For a peripheral module with two interrupt causes for a single interrupt number, both interrupt request flags
are cleared by the EI2OS interrupt clear signal.
• At the end of EI2OS, the EI2OS clear signal will be asserted for all the interrupt flags assigned to the same
interrupt number. If one interrupt flag starts the EI2OS and in the meantime another interrupt flag is set by
a hardware event, the later event is lost because the flag is cleared by the EI2OS clear signal caused by the
first event. So it is recommended not to use the EI2OS for this interrupt number.
• If EI2OS is enabled, EI2OS is initiated when one of the two interrupt signals in the same interrupt control
register (ICR) is asserted. This means that different interrupt sources share the same EI2OS Descriptor
which should be unique for each interrupt source. For this reason, when one interrupt source uses the
EI2OS, the other interrupt should be disabled.
27
MB90435 Series
■ ELECTRICAL CHARACTERISTICS
1. Absolute Maximum Ratings (VSS = AVSS = 0.0 V)
Value
Parameter Symbol Units Remarks
Min Max
VCC VSS − 0.3 VSS + 6.0 V
AVCC VSS − 0.3 VSS + 6.0 V VCC = AVCC *1
Power supply voltage
AVRH, AVCC ≥ AVRH/AVRL,
VSS − 0.3 VSS + 6.0 V
AVRL AVRH ≥ AVRL *1
Input voltage VI VSS − 0.3 VSS + 6.0 V *2
Output voltage VO VSS − 0.3 VSS + 6.0 V *2
Maximum clamp current ICLAMP − 2.0 + 2.0 mA *6
Total maximum clamp current ∑| ICLAMP | 20 mA *6
“L” level max output current IOL 15 mA *3
“L” level avg. output current IOLAV 4 mA *4
“L” level max overall output current ∑IOL 100 mA
“L” level avg. overall output current ∑IOLAV 50 mA *5
“H” level max output current IOH −15 mA *3
“H” level avg. output current IOHAV −4 mA *4
“H” level max overall output current ∑IOH −100 mA
“H” level avg. overall output current ∑IOHAV −50 mA *5
500 mW Flash device
Power consumption PD
400 mW Mask ROM
Operating temperature TA −40 +105 °C
Storage temperature TSTG −55 +150 °C
*1 : AVCC, AVRH, AVRL should not exceed VCC. Also, AVRH, AVRL should not exceed AVCC, and AVRL does not
exceed AVRH.
*2 : VI and VO should not exceed VCC + 0.3 V. VI should not exceed the specified ratings. However if the maximum
current to/from an input is limited by some means with external components, the ICLAMP rating supercedes the
VI rating.
*3 : The maximum output current is a peak value for a corresponding pin.
*4 : Average output current is an average current value observed for a 100 ms period for a corresponding pin.
*5 : Total average current is an average current value observed for a 100 ms period for all corresponding pins.
*6 : • Applicable to pins : P00 to P07, P10 to P17, P20 to P27, P30 to P37, P40 to P47, P50 to P57, P60 to P67,
P70 to P77, P80 to P87, P90 to P97, PA0
• Use within recommended operating conditions.
• Use at DC voltage (current) .
• The +B signal should always be applied with a limiting resistance placed between the +B signal and the
microcontroller.
• The value of the limiting resistance should be set so that when the +B signal is applied the input current to
the microcontroller pin does not exceed rated values, either instantaneously or for prolonged periods.
• Note that when the microcontroller drive current is low, such as in the power saving modes, the +B input
potential may pass through the protective diode and increase the potential at the VCC pin, and this may affect
other devices.
• Note that if a +B signal is input when the microcontroller current is off (not fixed at 0 V) , the power supply is
provided from the pins, so that incomplete operation may result.
• Note that if the +B input is applied during power-on, the power supply is provided from the pins and the
resulting supply voltage may not be sufficient to operate the power-on result.
(Continued)
28
MB90435 Series
(Continued)
• Care must be taken not to leave the +B input pin open.
• Note that analog system input/output pins other than the A/D input pins (LCD drive pins, comparator input
pins, etc.) cannot accept +B signal input.
• Sample recommended circuits :
• Input/Output Equivalent circuits
Protective diode
VCC
Limiting P-ch
resistance
+B input (0 V to 16 V)
N-ch
29
MB90435 Series
CS
30
MB90435 Series
3. DC Characteristics
(MB90F438L (S) /437L (S) /438L (S) : VCC = 3.5 V to 5.5 V, VSS = AVSS = 0.0 V, TA = −40 °C to +105 °C)
(MB90F439 (S) /439 (S) /V540G : VCC = 5.0 V ± 10%, VSS = AVSS = 0.0 V, TA = −40 °C to +105 °C)
Sym- Value
Parameter
bol
Pin name Condition Units Remarks
Min Typ Max
CMOS
VIHS hysteresis 0.8 VCC VCC + 0.3 V
input pin
Input H
TTL input
voltage VIH 2.0 V
pin
MD input
VIHM VCC − 0.3 VCC + 0.3 V
pin
CMOS
VILS hysteresis VCC − 0.3 0.2 VCC V
input pin
Input L
TTL input
voltage VIL 0.8 V
pin
MD input
VILM VSS − 0.3 VCC + 0.3 V
pin
Output H All output VCC = 4.5 V,
VOH VCC − 0.5 V
voltage pins IOH = −4.0 mA
Output L All output VCC = 4.5 V,
VOL 0.4 V
voltage pins IOL = 4.0 mA
Input leak VCC = 5.5 V,
IIL −5 5 µA
current VSS < VI < VCC
P00 to P07,
P10 to P17,
Pull-up
RUP P20 to P27, 25 50 100 kΩ
resistance
P30 to P37,
RST
Pull-down RDO
MD2 25 50 100 kΩ
resistance WN
(Continued)
31
MB90435 Series
(Continued)
(MB90F438L (S) /437L (S) /438L (S) : VCC = 3.5 V to 5.5 V, VSS = AVSS = 0.0 V, TA = −40 °C to +105 °C)
(MB90F439 (S) /439 (S) /V540G : VCC = 5.0 V ± 10%, VSS = AVSS = 0.0 V, TA = −40 °C to +105 °C)
Sym- Value
Parameter
bol
Pin name Condition Units Remarks
Min Typ Max
Internal frequency : 16 MHz,
40 55 mA
At normal operating
ICC
Internal frequency : 16 MHz,
50 70 mA Flash device
At Flash programming/erasing
Internal frequency : 16 MHz,
ICCS 12 20 mA
At sleep mode
300 600 µA
VCC = 5.0 V ± 1%,
600 1100 µA MB90F348L (S)
ICTS Internal frequency : 2 MHz,
MB90437L (S) /
Power At pseudo timer mode 200 400 µA
438L (S)
supply VCC
400 750 µA MB90F438L (S)
current* Internal frequency : 8 kHz,
ICCL 50 100 µA Mask ROM
At sub operation, TA = 25 °C
150 300 µA Flash device
Internal frequency : 8 kHz,
ICCLS 15 40 µA
At sub sleep, TA = 25 °C
Internal frequency : 8 kHz,
ICCT 7 25 µA
At timer mode, TA = 25 °C
ICCH1 At stop, TA = 25 °C 5 20 µA
At hardware standby mode,
ICCH2 50 100 µA
TA = 25 °C
Other than
AVCC, AVSS,
Input
CIN AVRH, 5 15 pF
capacity AVRL, C,
VCC, VSS
* : The power supply current testing conditions are when using the external clock.
32
MB90435 Series
4. AC Characteristics
(1) Clock Timing
(MB90F438L (S) /437L (S) /438L (S) : VCC = 3.5 V to 5.5 V, VSS = AVSS = 0.0 V, TA = −40 °C to +105 °C)
(MB90F439 (S) /439 (S) /V540G : VCC = 5.0 V ± 10%, VSS = AVSS = 0.0 V, TA = −40 °C to +105 °C)
Value
Parameter Symbol Pin name Units Remarks
Min Typ Max
3 16 MHz VCC = 5.0 V±10%
fC X0, X1 VCC<4.5 (MB90F438L (S) /
Oscillation frequency 3 5 MHz
437L (S) /438L (S) )
fCL X0A, X1A 32.768 kHz
62.5 333 ns VCC = 5.0 V±10%
tCYL X0, X1 VCC<4.5 (MB90F438L (S) /
Oscillation cycle time 200 333 ns
437L (S) /438L (S) )
tLCYL X0A, X1A 30.5 µs
PWH, PWL X0 10 ns Duty ratio is about 30% to
Input clock pulse width
PWLH, PWLL X0A 15.2 µs 70%.
Input clock rise and fall
tCR, tCF X0 5 ns When using external clock
time
fCP 1.5 16 MHz When using main clock
Machine clock frequency
fLCP 8.192 kHz When using sub-clock
tCP 62.5 666 ns When using main clock
Machine clock cycle time
tLCP 122.1 µs When using sub-clock
• Clock Timing
tCYL
0.8 VCC
X0
0.2 VCC
PWH PWL
tCF tCR
tLCYL
0.8 VCC
X0A
0.2 VCC
PWLH PWLL
tCF tCR
33
MB90435 Series
3.5
Guaranteed PLL operation range
(MB90F438L(S)/437L(S)/438L(S))
Guaranteed PLL operation range
( MB90F439(S)/439(S)/V540G)
1.5 8 16
×4 ×3 ×2 ×1
16
Machine clock 12
fCP (MHz) 9
8 PLL off
3 4 8 16
External clock fC (MHz)
34
MB90435 Series
35
MB90435 Series
tCYC
tCHCL
2.4 V 2.4 V
CLK
0.8 V
36
MB90435 Series
• Under normal operation, Pseudo timer mode, Sub clock mode, Sub sleep mode, Watch mode
tRSTL, tHSTL
RST
HST 0.2 VCC 0.2 VCC
• In stop mode
tRSTL
RST
0.2 VCC 0.2 VCC
90% of
amplitude
X0
4 tCP
Oscillation time of
oscillator Oscillation setting time
37
MB90435 Series
tR
2.7 V
VCC
0.2 V 0.2 V 0.2 V
tOFF
Sudden changes in the power supply voltage may cause a power-on reset.
To change the power supply voltage while the device is in operation, it is recommended to
raise the voltage smoothly to suppress fluctuations as shown below.
In this case, change the supply voltage with the PLL clock not used. If the voltage drop is
1 V or fewer per second, however, you can use the PLL clock.
VCC
It is recommended to keep the
3.0 V rising speed of the supply voltage
RAM data being held at 50 mV/ms or slower.
VSS
38
MB90435 Series
39
MB90435 Series
tAVCH tRLCH
2.4 V 2.4 V
CLK
tRHLH
2.4 V 2.4 V 2.4 V
ALE
tLHLL 0.8 V
tRLRH
2.4 V
RD tAVLL tLLAX
0.8 V
tLLRL
2.4 V 2.4 V
A16 to A23
0.8 V 0.8 V
tAVDV
tRHDX
2.4 V 2.4 V 0.8 VCC 0.8 VCC
AD00 to AD15 Address Read data
0.8 V 0.8 V 0.2 VCC 0.2 VCC
40
MB90435 Series
tWLCH
2.4 V
CLK
tWHLH
2.4 V
ALE
tAVWL tWLWH
2.4 V
WR (WRL, WRH)
0.8 V
tWHAX
2.4 V 2.4 V
A16 to A23
0.8 V 0.8 V
tDVWH
tWHDX
2.4 V 2.4 V 2.4 V
AD00 to AD15 Address Write data
0.8 V 0.8 V 0.8 V
41
MB90435 Series
2.4 V
CLK
ALE
RD/WR
tRYHS tRYHH
RDY
When WAIT is used
(1 cycle). 0.2 VCC
42
MB90435 Series
• Hold Timing
HAK
2.4 V
0.8 V
tXHAL tHAHV
2.4 V High impedance 2.4 V
Each pin
0.8 V 0.8 V
43
MB90435 Series
tSCYC
SCK
2.4 V
0.8 V 0.8 V
tSLOV
2.4 V
SOT
0.8 V
tIVSH tSHIX
tSLOV
2.4 V
SOT
0.8 V
tIVSH tSHIX
44
MB90435 Series
2.4 V
CLK
2.4 V
TOUT 0.8 V
tTO
45
MB90435 Series
46
MB90435 Series
5. A/D Converter
• Electrical Characteristics
(VCC = AVCC = 5.0 V±10%, VSS = AVSS = 0.0 V, 3.0 V ≤ AVRH − AVRL, TA = −40 °C to +105 °C)
Value
Parameter Symbol Pin name Units Remarks
Min Typ Max
Resolution 10 bit
Conversion error ±5.0 LSB
Nonlinearity error ±2.5 LSB
Differential nonlinearity
±1.9 LSB
error
AVRL − 3.5 AVRL + 0.5 AVRL + 4.5
Zero transition voltage VOT AN0 to AN7 mV
LSB LSB LSB
AVRH − 6.5 AVRH − 1.5 AVRH + 1.5
Full scale transition voltage VFST AN0 to AN7 mV
LSB LSB LSB
Internal
Compare time 352 tCP ns frequency :
16 MHz
Internal
Sampling time 64 tCP ns frequency :
16 MHz
VCC = AVCC =
Analog port input current IAIN AN0 to AN7 −1 1 µA
5.0 V ± 1%
Analog input voltage range VAIN AN0 to AN7 AVRL AVRH V
AVRH AVRL + 2.7 AVCC V
Reference voltage range
AVRL 0 AVRH − 2.7 V
IA AVCC 5 mA
Power supply current
IAH AVCC 5 µA *
400 600 µA Flash device
Reference voltage supply IR AVRH
140 260 µA Mask ROM
current
IRH AVRH 5 µA *
Offset between input
AN0 to AN7 4 LSB
channels
* : When not using an A/D converter, this is the current (VCC = AVCC = AVRH = 5.0 V) when the CPU is stopped.
Note: The functionality of the A/D converter is only guaranteed for VCC = 5.0 V ± 10 % (also for MB90F438L (S) /
437L (S) /438L (S) ) .
47
MB90435 Series
Total error
3FF
004 VNT
(measured value)
003
Actual conversion
characteristics
002
Theoretical
characteristics
001
0.5 LSB
AVRL AVRH
Analog input
AVRH − AVRL
1 LSB = (Theoretical value) [V]
1024
VOT (Theoretical value) = AVRL + 0.5 LSB [V]
VFST (Theoretical value) = AVRH − 1.5 LSB [V]
(Continued)
48
MB90435 Series
(Continued)
Digital output
VNT
004
V (N + 1) T
Actual conversion (measured value)
003 characteristics N−1
Comparator
Analog input 3.2 kΩ Max.
30 pF Max.
• Error
The smaller the | AVRH − AVRL |, the greater the error would become relatively.
49
MB90435 Series
50
MB90435 Series
■ EXAMPLE CHARACTERISTICS
• “H” level output voltage • “L” level output voltage
4.5 0.8
4
0.7
3.5
0.6
3
VOH [V]
VOL [V]
0.5
2.5
0.4
2
0.3
1.5
1 0.2
0.5 0.1
0 0
0 -2 -4 -6 -8 -10 0 2 4 6 8 10
Vin – Vcc
(Ta = +25˚C)
5
4
VIH
3
Vin [V]
VIL
0
3 3.5 4 4.5 5 5.5 6 6.5
Vcc [V]
51
MB90435 Series
35 10
Icc [mA]
Icc [mA]
15
fcp = 4 MHz 4 fcp = 4 MHz
10 fcp = 2 MHz
fcp = 2 MHz
2
5
0 0
2 3 4 5 6 7 2 3 4 5 6 7
Vcc [V] Vcc [V]
90
500
80
fcp = 2 MHz 70
400
60
ICTS [µA]
ICCL [µA]
300 50
40
200
30
fcp = 8 kHz
20
100
10
0 0
2 3 4 5 6 7 2 3 4 5 6 7
Vcc [V] Vcc [V]
52
MB90435 Series
35
20
30
25
15
ICCT [µA]
ICCLS [µA]
20
10
15
fcp = 8 kHz fcp = 8 kHz
10
5
5
0 0
2 3 4 5 6 7 2 3 4 5 6 7
ICCH1 – VCC
(STOP, Ta = +25˚C)
20
15
ICCH1 [µA]
10
0
2 3 4 5 6 7
Vcc [V]
53
MB90435 Series
35
fcp = 12 MHz 10 fcp = 12 MHz
30
fcp = 10 MHz fcp = 10 MHz
ICC [mA]
8
25
ICC [mA]
fcp = 8 MHz fcp = 8 MHz
20 6
15
fcp = 4 MHz fcp = 4 MHz
4
10
fcp = 2 MHz
fcp = 2 MHz
2
5
0 0
2 3 4 5 6 7 2 3 4 5 6 7
VCC [V] VCC [V]
500 250
fcp = 2 MHz
400 200
fcp = 8 kHz
ICTS [µA]
ICCL [µA]
300 150
200 100
100 50
0 0
2 3 4 5 6 7 2 3 4 5 6 7
54
MB90435 Series
40
20
35
30
15
ICCLS [µA]
ICCT [µA]
25
20
10
15
fcp = 8 MHz fcp = 8 MHz
10
5
0 0
2 3 4 5 6 7 2 3 4 5 6 7
VCC [V] VCC [V]
90
85
15
70
ICCH1 [µA]
ICCH2 [µA]
60
50 10
40
30
5
20
10
0 0
2 3 4 5 6 7 2 3 4 5 6 7
VCC [V] Vcc [V]
55
MB90435 Series
■ ORDERING INFORMATION
Part number Package Remarks
MB90F438LPF
MB90F438LSPF
MB90F439PF
MB90F439SPF
MB90437LPF 100-pin Plastic QFP
MB90437LSPF (FPT-100P-M06)
MB90438LPF
MB90438LSPF
MB90439PF
MB90439SPF
MB90F438LPFV
MB90F438LSPFV
MB90F439PFV
MB90F439SPFV
MB90437LPFV 100-pin Plastic LQFP
MB90437LSPFV (FPT-100P-M05)
MB90438LPFV
MB90438LSPFV
MB90439PFV
MB90439SPFV
56
MB90435 Series
■ PACKAGE DIMENSIONS
100-pin Plastic QFP
(FPT-100P-M06) Note: Pins width and pins thickness include plating thickness.
23.90±0.40(.941±.016)
20.00±0.20(.787±.008)
80 51
81 50
0.10(.004)
17.90±0.40
(.705±.016)
14.00±0.20
(.551±.008)
INDEX
Details of "A" part
Dimensions in mm (inches)
16.00±0.20(.630±.008)SQ
14.00±0.10(.551±.004)SQ
75 51
76 50
0.08(.003)
+0.20 +.008
1.50 –0.10 .059 –.004
INDEX (Mounting height) 0.10±0.10
(.004±.004)
(Stand off)
100 26
0°~8°
"A" 0.50±0.20 0.25(.010)
(.020±.008)
1 25 0.60±0.15
0.50(.020) 0.20±0.05 0.145±0.055 (.024±.006)
0.08(.003) M
(.008±.002) (.0057±.0022)
Dimensions in mm (inches)
57
MB90435 Series
FUJITSU LIMITED
F0207
FUJITSU LIMITED Printed in Japan