ROHM BU24591

BU24591
Optical ICs
4bit 1chip micro-controller for CD-DA
BU24591
The BU24591 is a 4bit 1chip micro-controller for CD-DA that integrates multiple I/O, such as 8bit 8-channel AD converter,
pulse width counter, two lines of SIO, and LCD controller driver with 80 segment (Max.). All LCD segment can be
switched into CMOS output by the program. These I/O achieves multi-function with few pins.
!Applications
Portable CD-DA, CD radio cassette player
!Features
1) Low voltage, high-speed operation
(VDD=2.3 to 3.6V at 4.4MHz)
2) Built-in 8bit 8-channel AD converter
3) Built-in pulse width counter
4) Built-in two lines of SIO
5) Built-in LCD controller driver with 20 segments, 4 common (With 3 common available)
6) All segment output of LCD controller driver can be switched into CMOS output by the program.
!Absolute maximum ratings (Ta=25°C)
Parameter
Symbol
Limits
Unit
Applied voltage
VDD
−0.3 to +4.5
V
Power dissipation
Pd
500 ∗
mW
Operating temperature range
Topr
−25 to +75
°C
Storage temperature range
Tstg
−55 to +125
°C
∗ Reduced by 5mW for each increase in Ta of 1°C over 25°C.
!Recommended operating conditions (Ta=25°C)
Symbol
Min.
Typ.
Max.
Unit
Power supply voltage
Parameter
VDD
2.3
−
3.6
V
Input "H" voltage
VIHS
0.75VDD
−
VDD
V
Input "L" voltage
VILS
0
−
0.15VDD
V
1/7
BU24591
Optical ICs
PWC
TMR03B
T0,T1
X
IRQ
Acc
OSC2
IRQ
STP
STP04A
W0∼W3
IRQ
STP
BIX03A
BIN
PIO11A
P00∼P03
PIO11A
P10∼P13
PIO11A
P20∼P23
SIO04B
SCK0
SIO0
SIN0
SIO04B
SCK1
SIO1
SIN1
FLAG
STK
FLAG
Y
ALU
L
E
STK
E
IRQ
IRQ
ADC0∼7
U-BUS
L-BUS
/DIGITAL-IN
INTERRUPT
CONTROL
INSTRUCTION
DECODER
ADC83A
8CH-8BIT
ROM
16384×8
BIT
LCD07A
COMMON
GEN.
COM0∼3
BIAS
GEN.
DPL
SEG00∼03
DPH
PC STACK 8
PC INC
IRQ
TEST
RAM
512×4 BIT
H
RESET
RESET
CLOCK
GEN
CPU02A
PWC01A
IRQ
SYSTEM
CLK
STP
OSC03A
OSC1
!Block diagram
DISP.
SEGMENT
DRIVER
SEG04∼07
SEG08∼11
SEG12∼15
SEG16∼19
∗ PROM in not contained.
∗ Address bus and data bus do not go out. (External memory cannot be addressed.)
∗ The number of bits of ALU is 4.
2/7
BU24591
Optical ICs
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
GND
RESET
W3
W2
W1
W0
BIN
SCK1
SIO1
SIN1
P23
P22
P21
P20
T1
T0
!Pin assignment
BU24591
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
PWC
P13
P12
P11
P10
P03
P02
P01
P00
SCK0
SIO0
SIN0
SEG19
SEG18
SEG17
SEG16
SEG00
SEG01
SEG02
SEG03
SEG04
SEG05
SEG06
SEG07
SEG08
SEG09
SEG10
SEG11
SEG12
SEG13
SEG14
SEG15
OSC1
OSC2
VDD
ADC0
ADC1
ADC2
ADC3
ADC4
ADC5
ADC6
ADC7
TEST
COM0
COM1
COM2
COM3
!Pin descriptions
Pin No.
Pin name
I/O
Function
•
24 to 27
28 to 31
35 to 38
P00 to P03
P10 to P13
P20 to P23
(PI011A block)
•
I/O
Type
4-bit input or output.
Input/Output is specified in a bit by program.
(Output is Nch open drain type.)
•
Pull-up resistor can be turned ON/OFF in a bit by program.
• Upon resetting, input is specified, and the pull-up resistance
is turned OFF. ∗1
D
•
General 4-bit input.
It can be used as stop cancellation input and interrupt request
signal input by program. (It can be specified in a bit)
• Pull-up resistor can be turned ON/OFF in a bit by program.
• Upon resetting, the pull-up resistor is turned OFF.
•
43 to 46
W0 to W3
(STP04A block)
I
•
•
42
BIN
(BIX03A block)
I
General 1-bit input.
It can be used as stop cancellation input and interrupt request
signal input by program.
C
C
•
Pull-up resistor can be turned ON/OFF by program.
• Upon resetting, the pull-up resistor is turned OFF.
∗1 Immediately after resetting, terminal is in high impedance state. Therefore, termination may be required in some applications.
3/7
BU24591
Optical ICs
Pin No.
Pin name
Function
I/O
21, 39
SIN0, SIN1
I
22, 40
SIO0, SIO1
I/O
23, 41
SCK0, SCK1
(SIO04B block)
I/O
52 to 59
ADC0 to ADC7
(ADC83A block)
I
1 to 4
5 to 8
9 to 12
13 to 16
17 to 20
SEG00 to 03
SEG04 to 07
SEG08 to 11
SEG12 to 15
SEG16 to 19
O
61 to 64
COM0 to COM3
(LCD07A block)
O
32
PWC
(PWC01A block)
I
33, 34
T0, T1
(TMR03B block)
I
49
OSC1
I
50
OSC2
(OSC03A block)
O
60
TEST
I
47
RESET
I
51
VDD
48
GND
Type
•
8-bit serial data input.
A
•
8-bit serial data I/O.
I/O is switched by program.
E
Clock I/O for sending/receiving serial data.
Any of three type of internal clock and one external clock is
switched by program.
E
•
•
•
•
Analog data input.
Digital data input can be specified in a bit by program.
• Upon resetting, analog input is specified.
•
G
•
LCD segment output or CMOS output can be switched in
4 ports by program.
• Upon resetting, CMOS output is specified and polarity is "L".
•
F
•
LCD common output.
Upon selecting 1/3 duty, COM3 outputs GND level.
F
•
Pulse input.
A
•
External count clock input.
It can be used as 1-bit input.
A
•
Oscillation circuit input.
External clock input.
H
•
Oscillation circuit output.
H
•
Test input. (This is a terminal for testing and it contains
the pull-down resistor. Use it in the open state usually.)
B
•
Reset input.
(CPU is reset by setting this terminal to "L".)
A
−
•
Power supply
−
−
•
Ground
−
•
•
4/7
BU24591
Optical ICs
!Input output circuit
TYPE A
• Hysteresis input
TYPE B
TYPE C
• Hysteresis input with pull-down resistance.
• Hysteresis input with pull-up resistance which can be
turned ON/OFF by program.
TYPE D
TYPE E
TYPE F
• Hysteresis input with pull-up resistance or
Nch open drain output, which can be controlled
by program.
• Hysteresis input or CMOS output, which can be
controlled by program.
• LCD driver output. Only SEG can be switched into
CMOS output.
TYPE G
TYPE H
• Analog input or Hysteresis input, which can be
controlled by program.
• Input and output of oscillation circuit with STOP control.
∗ All digital inputs are CMOS gate input.
Fig.1
5/7
BU24591
Optical ICs
!Electrical characteristics (unless otherwise noted, Ta=25°C, VDD=3V)
Parameter
Symbol
Pin
Min.
Typ.
Max.
Unit
Conditions
STOP current
IDDST
−
−
1
µA
•
Operation current
IDDOP
−
1.4
−
mA
• fOSC=4.4MHz
Clock frequency
fOSC
2
−
4.4
MHz
Input "H" voltage 1
VIH1
OSC1, OSC2
P00 to P03, P10 to P13,
P20 to P23, T0, T1,
ADC0 to ADC7
W0 to W3, BIN, SIN0,
SIN1, SIO0, SIO1,
2.25
−
−
V
SCK0, SCK1, PWC,
Input "H" voltage 2
Input "L" voltage 1
VIH2
VIL1
RESET, TEST
OSC1
P00 to P03, P10 to P13,
P20 to P23, T0, T1,
ADC0 to ADC7
W0 to W3, BIN, SIN0,
SIN1, SIO0, SIO1,
2.4
−
−
−
−
0.5
V
V
SCK0, SCK1, PWC,
Input "L" voltage 2
VIL2
Input "H" current 1
IIH1
Input "H" current 2
IIH2
RESET,TEST
OSC1
P00 to P03, P10 to P13,
P20 to P23, W0 to W3,
BIN, SIN0, SIN1, SIO0
SIO1, SCK0, SCK1,
ADC0 to ADC7, PWC, T0
T1, RESET, OSC1
TEST
Input "L" current 1
IIL1
P00 to P03, P10 to P13,
P20 to P23, W0 to W3,
BIN, SIN0, SIN1, SIO0,
SIO1, SCK0, SCK1,
ADC0 to ADC7, PWC, T0
T1, RESET, TEST, OSC1
Input "L" current 2
IIL2
P00 to P03, P10 to P13,
P20 to P23, W0 to W3,
BIN
Output "H" voltage 1
VOH1
Output "H" voltage 2
VOH2
Output "L" voltage 1
VOL1
Output "L" voltage 2
VOL2
Output leak current
IL
SIO0, SIO1, SCK0, SCK1
SEG00 to SEG19,
COM0 to COM3
OSC2
P00 to P03, P10 to P13,
P20 to P23, SIO0, SIO1,
SCK0, SCK1
SEG00 to SEG19,
COM0 to COM3
−
−
0.5
V
STOP mode
•
Hysteresis input
•
P, SIO, SCK for input.
•
ADC for digital input.
•
External clock
•
Hysteresis input
•
P, SIO, SCK for input.
•
ADC for digital input.
•
External clock
•
−
−
1
µA
120
230
410
µA
Without pull-down
resistance
• P, SIO, SCK for input.
• VIN=VDD
•
•
Pull-down resistance
included
VIN=VDD
•
−
−
−1
µA
−35
−82
−150
µA
W, BIN turned off
pull-up resistance
• P for input turned off
pull-up resistance
• SIO, SCK for input
• VIN=GND
• Turned on pull-up
resistance
• VIN=GND
•
2.4
−
−
V
2.5
−
−
V
−
−
0.4
V
SIO, SCK for output
SEG, COM for
LCD driver output
• IOH=−500µA
• IOH=−1.0mA
•
•
OSC2
−
−
0.4
V
P00 to P03, P10 to P13,
P20 to P23
−
−
1
µA
P, SIO, SCK for output
SEG, COM for
LCD driver output
• IOL=1.6mA
•
• IOL=1.0mA
•
P for Hi-Z output
A/D conversion
resolution
RES
ADC0 to ADC7
−
8
−
bits
A/D conversion
setting time
tS
ADC0 to ADC7
−
25
−
MC
MC : machine cycle ∗1
A/D conversion
linearity error
EL
ADC0 to ADC7
−
−
±3
LSB
∗2
LCD 2/3 level
output voltage
V1
COM0 to COM3
SEG00 to SEG19
−
2
−
V
LCD 1/3 level
output voltage
V2
COM0 to COM3
SEG00 to SEG19
−
1
−
V
∗1 1 machine cycle is 1/6 of 1 clock cycle.
∗2 Value of linearity error when bypass-capacitor is set on ADC terminal.
6/7
BU24591
Optical ICs
!Circuit operation
(1) Single power supply operation (VDD=2.3V to 3.6V)
(2) Memory size
Program memory ROM
16384×8 bits
General Purpose RAM
512×4 bits
RAM for LCD
20×4 bits
(3) Instruction execution time. (one-cycle instruction)
1.5µsec (at 4MHz)
(4) Subroutine nesting: 8 levels
(5) Interrupts:
6
External:
3
Internal:
3 (Timer/counter, serial I/O)
(6) ROM data table function (Data table area 16KBytes)
(7) Power saving mode.
(8) 20-Segment LCD built-in driver available for many kinds of displays.
Bias:
1/3
Duty:
1/3, 1/4 (programmable)
Built-in bias resistance (approximately 50kΩ×3 stages)
(9) LCD segment output can be switched into CMOS output by program.
20 Segments can be switched in 4 ports.
Upon resetting, CMOS output is specified and polarity is “L”.
(10) Remote-control receiver circuit is included. (Pulse width measuring instrument)
(11) 8-channel 8-bit A/D converter is included.
(12) Each of A/D inputs can be used as digital input by program.
(13) Built-in 8-bit timer counter (als used for event counter).
(14) Built-in two systems of serial I/O that can interface with any external LSI. (LSB first)
(15) 12 I/O ports that can pull up by program.
(16) 5 input port that can pull up by program.
!External dimensions (Units : mm)
16.4±0.3
14.0±0.2
48
33
16.4±0.3
14.0±0.2
17
64
2.7±0.1
0.05
1
0.8
16
0.5
32
49
0.15±0.1
0.35±0.1
0.15
QFP-A64
7/7
Appendix
Notes
No technical content pages of this document may be reproduced in any form or transmitted by any
means without prior permission of ROHM CO.,LTD.
The contents described herein are subject to change without notice. The specifications for the
product described in this document are for reference only. Upon actual use, therefore, please request
that specifications to be separately delivered.
Application circuit diagrams and circuit constants contained herein are shown as examples of standard
use and operation. Please pay careful attention to the peripheral conditions when designing circuits
and deciding upon circuit constants in the set.
Any data, including, but not limited to application circuit diagrams information, described herein
are intended only as illustrations of such devices and not as the specifications for such devices. ROHM
CO.,LTD. disclaims any warranty that any use of such devices shall be free from infringement of any
third party's intellectual property rights or other proprietary rights, and further, assumes no liability of
whatsoever nature in the event of any such infringement, or arising from or connected with or related
to the use of such devices.
Upon the sale of any such devices, other than for buyer's right to use such devices itself, resell or
otherwise dispose of the same, no express or implied right or license to practice or commercially
exploit any intellectual property rights or other proprietary rights owned or controlled by
ROHM CO., LTD. is granted to any such buyer.
Products listed in this document use silicon as a basic material.
Products listed in this document are no antiradiation design.
The products listed in this document are designed to be used with ordinary electronic equipment or devices
(such as audio visual equipment, office-automation equipment, communications devices, electrical
appliances and electronic toys).
Should you intend to use these products with equipment or devices which require an extremely high level of
reliability and the malfunction of with would directly endanger human life (such as medical instruments,
transportation equipment, aerospace machinery, nuclear-reactor controllers, fuel controllers and other
safety devices), please be sure to consult with our sales representative in advance.
About Export Control Order in Japan
Products described herein are the objects of controlled goods in Annex 1 (Item 16) of Export Trade Control
Order in Japan.
In case of export from Japan, please confirm if it applies to "objective" criteria or an "informed" (by MITI clause)
on the basis of "catch all controls for Non-Proliferation of Weapons of Mass Destruction.
Appendix1-Rev1.0