Sony CXP83240A, CXP83232A Datasheet

CXP83232A/83240A
CMOS 8-bit Single Chip Microcomputer
Description
The CXP83232A/83240A is a CMOS 8-bit single chip microcomputer integrating on a single chip an A/D converter, serial interface, timer/counter, time base timer, 32kHz timer/counter, capture timer counter, LCD controller/driver, remote control reception circuit and 14-bit PWM output besides the basic configurations of 8-bit CPU, ROM, RAM, and I/O port.
The CXP83232A/83240A also provides a sleep/stop function that enables lower power consumption.
Features
Wide-range instruction system (213 instructions) to cover various types of data.
— 16-bit arithmetic/multiplication and division/boolean bit operation instructions
Minimum instruction cycle 400ns at 10MHz operation
8µs at 500kHz 122µs at 32kHz operation
Incorporated ROM capacity 32Kbytes (CXP83232A)
40Kbytes (CXP83240A)
Incorporated RAM capacity 1120bytes (includes LCD display data area)
Peripheral functions
— A/D converter 8-bit, 8-channel, successive approximation method
(Conversion time of 32µs/10MHz)
— Serial interface 8-bit, 8-stage FIFO incorporated
(Auto transfer for 1 to 8 bytes), 1 channel 8-bit clock synchronized type, 1 channel
— Timer 8-bit timer, 8-bit timer/counter, 19-bit time base timer,
16-bit capture timer/counter, 32kHz timer/counter
— LCD controller/driver Maximum 160 segment display possible (during 1/4 duty)
4 common output, 40 segment output Display method static, 1/2, 1/3, 1/4 duty
Bias method 1/2, 1/3 bias — Remote control reception circuit 8-bit pulse measuring counter, 6-stage FIFO — PWM output circuit 14 bits, 1 channel
Interruption 15 factors, 15 vectors, multi-interruption possible
Standby mode SLEEP/STOP
Package 100-pin plastic QFP/LQFP
Piggyback/evaluation chip CXP83200A 100-pin ceramic QFP/LQFP
100 pin QFP (Plastic) 100 pin LQFP (Plastic)
Structure
Silicon gate CMOS IC
Sony reserves the right to change products and specifications without prior notice. This information does not convey any license by any implication or otherwise under any patents or other right. Application circuits shown, if any, are typical examples illustrating the operation of the devices. Sony cannot assume responsibility for any problems arising out of the use of these circuits.
– 1 –
E94842-PP
CXP83232A/83240A
SS DD
V V RST XTAL1 EXTAL1 XTAL2 EXTAL2 TX TEX
PA0 to PA7 8
CLOCK GEN/
SPC 700
PORT A
SYSTEM CONTROL
CPU CORE
PB0 to PB7 8
PC0 to PC7 8
PORT B
PD0 to PD7 8
PORT C
RAM
PE0 to PE4
PE5 to PE6
5
2
PORT D
PF0 to PF7 8
PORT E
PG0 to PG7 8
PORT F
PH0 to PH7 8
PORT G
PORT H
32KHz
1120 BYTES
TIMER/COUNTER
ROM
32K/40K BYTES
PRESCALER/
TIME BASE TIMER
Block Diagram
REF
SS
NMI/INT3 INT2 INT1 INT0
AV
AV
INTERRUP T CONTROLLER
2 2
2
2
FIFOREMOCON
LCD
DRIVER
A/D CONVERT ER
CONTROLLER/
1 4 B IT PWM G ENERATO R
8
4
40
VL
VLC1
VLC2
VLC3
RMC
PWM
FIFO
8 BIT TI ME R 1
TO
16 BIT CAPTURE
TIMER/COUNTER 2
EC1
ADJ
CINT
UNIT 0
SERIAL
INTERFACE
SI0
CS0
SI1
SO0
SCK0
8 BIT T IMER/ COUNTE R 0
SERIAL INTERFACE UNIT 1
SO1
EC0
SCK1
AN0 to AN7
SEG0 to SEG39
COM0 to COM3
– 2 –
Pin Assignment (Top View) (QFP package)
SEG38/PG6
SEG37/PG5
SEG39/PG7
PE1/INT1/EC1
100
99
PE0/INT0/EC0
98
97
96
SEG36/PG4
95
TEX
SEG35/PG3
93
94
92
TX
91
CXP83232A/83240A
SS
DD
SEG33/PG1
V
90
NC
V
89
SEG34/PG2
88
87
SEG31/PF7
SEG32/PG0
86
85
SEG29/PF5
SEG30/PF6
84
83
SEG27/PF3
SEG28/PF4
81
82
PE3/INT2
PE3/INT3/NMI
PE4/RMC
PE5/PWM
PE6/TO/ADJ
PB0/CINT
PB1/CS0
PB2/SCK0
PB3/SI0
PB4/SO0
PB5/SCK1
PB6/SI1
PB7/SO1
PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 PH0 PH1 PH2 PH3 PH4 PH5 PH6 PH7
PA0/AN0
10
15 16 17 18 19 20
29 30
11 12 13 14
21 22 23 24 25 26 27 28
1 2 3 4 5 6 7 8 9
35
31
32
33
34
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
80
78 77 76 75 74
69 68 67 66 65 64 63 62
60 59 58 57 56 55 54 53 52 51
79
73 72 71 70
61
SEG26/PF2 SEG25/PF1 SEG24/PF0 SEG23/PD7 SEG22/PD6 SEG21/PD5 SEG20/PD4 SEG19/PD3 SEG18/PD2 SEG17/PD1 SEG16/PD0 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 COM3 COM2 COM1
PA2/AN2
PA1/AN1
PA4/AN4
PA3/AN3
PA6/AN6
PA5/AN5
RST
PA7/AN7
XTAL1
EXTAL1
SS
V
XTAL2
REF
AV
EXTAL2
SS
AV
Note) 1. NC (Pin 90) is always connected to VDD.
2. VSS (Pin 41 and 91) are both connected to GND.
– 3 –
L
V
LC3VLC2
V
LC1
V
COM0
Pin Assignment (Top View) (LQFP package)
SEG39/PG7
PE0/INT0/EC0
96
95
SEG38/PG6
SEG36/PG4
SEG37/PG5
93
94
92
PE4/RMC
PE5/PWM
PE6/TO/ADJ
PB0/CINT
PB1/CS0
PB2/SCK0
PB3/SI0
PB4/SO0
PB5/SCK1
PB6/SI1
PB7/SO1
PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 PH0 PH1 PH2 PH3 PH4 PH5
PE3/INT3/NMI
100
1
2 3 4
5 6 7 8 9
10
11 12 13 14 15 16 17 18 19
20
21 22
23 24 25
PE1/INT1/EC1
PE2/INT2
99
98
97
TX
SEG35/PG3
TEX
89
91
90
CXP83232A/83240A
DD
SS
NC
V
88
87
SEG34/PG2
V
86
SEG33/PG1
SEG32/PG0
84
83
85
SEG29/PF5
SEG31/PF7
SEG30/PF6
81
82
SEG28/PF4
SEG27/PF3
80
79
SEG25/PF1
SEG26/PF2
78
77
SEG24/PF0
76
75 74 73 72 71 70 69 68
67 66 65 64
63 62
61 60 59 58
57
56 55
54
53
52
51
SEG23/PD7 SEG22/PD6 SEG21/PD5 SEG20/PD4 SEG19/PD3 SEG18/PD2 SEG17/PD1 SEG16/PD0 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 COM3
26
27
PH6
28
PH7
30
29
PA1/AN1
PA0/AN0
32
31
PA3/AN3
PA2/AN2
33
34
PA5/AN5
PA4/AN4
36
PA6/AN6
PA7/AN7
37
RST
EXTAL1
38
XTAL1
39
SS
V
40
XTAL2
41
35
Note) 1. NC (Pin 88) is always connected to VDD.
2. VSS (Pin 39 and 89) are both connected to GND.
– 4 –
43
42
REF
AV
EXTAL2
SS
AV
44
46
45
L
V
LC2
LC3
V
V
47
LC1
V
48
49
COM0
50
COM2
COM1
Pin Description
Symbol I/O Functions
(Port A) 8-bit I/O port. I/O can
PA0/AN0
to
PA7/AN7
I/O/Analog input
be set in a single bit unit. Incorporation of pull-up resistor can be set
Analog inputs to A/D converter. (8 pins)
through the software in a unit of 4 bits. (8 pins)
CXP83232A/83240A
PB0/CINT PB1/CS0 PB2/SCK0 PB3/SI0 PB4/SO0 PB5/SCK1 PB6/SI1 PB7/SO1
PE0/INT0/ EC0
PE1/INT1/ EC1
PE2/INT2 PE3/INT3/
NMI PE4/RMC
I/O/Input I/O/Input I/O/I/O I/O/Input I/O/Output I/O/I/O I/O/input I/O/Output
I/OPC0 to PC7
Input/Input/Input
Input/Input/Input Input/Input Input/Input/Input Input/Input
External capture input to 16-bit timer/counter.
(Port B)
Chip select input for serial interface (CH0).
8-bit I/O port. I/O can be set in a single bit unit.
Serial clock I/O (CH0). Serial data input (CH0).
Incorporation of pull-up resistor can be set through the software in
Serial data output (CH0). Serial clock I/O (CH1).
a unit of 4 bits. (8 pins)
Serial data input (CH1). Serial data output (CH1).
(Port C) 8-bit I/O port. I/O can be set in a single bit unit. Capable of driving 12mA sync current. Incorporation of pull-up resistor can be set through the software in a unit of 4 bits. (8 pins)
External event inputs for timer/counter. (2 pins)
(Port E) 7-bit port. lower 5 bits are for inputs; upper 2 bits are for outputs. (7 pins)
External interruption request inputs. (4 pins)
Non-maskable interruption request input.
Remote control reception circuit input.
PE5/PWM PE6/TO/
ADJ
PH0 to PH7
Output/Output Output/Output/
Output
I/O
14-bit PWM output. Rectangular wave output
for 16-bit timer/counter (duty output 50%).
Output for 32kHz oscillation frequency division.
(Port H) 8-bit I/O port. I/O can be set in a single bit unit. Incorporation of pull-up resistor can be set through the software in a unit of 4 bits. (8 pins)
– 5 –
Symbol I/O Functions
PD0/SEG16
to
PD7/SEG23
Output/Output
(Port D) 8-bit output port. (8 pins)
CXP83232A/83240A
PF0/SEG24
to
PF7/SEG31 PG0/SEG32
to
PG7/SEG39 SEG0 to SEG15 COM0 to COM3
Output/Output
Output/Output
Output Output
(Port F) 8-bit output port. (8 pins)
(port G) 8-bit output port. (8 pins)
LCD segment signal output. LCD common signal output.
VLC1 to VLC3 LCD bias power supply. VL
EXTAL1
Output
Input
Control pin to cut off the current flowing to external LCD bias resistor during standby.
Crystal connectors for system clock oscillation. When the clock is supplied externally, input to EXTAL1; opposite phase clock should be input to XTAL1. System clock oscillation of EXTAL1 and XTAL1 is used for normal operation
XTAL1
EXTAL2
Input
mode (Max. 10MHz).
Crystal connectors for system clock oscillation. When the clock is supplied externally, input to EXTAL2; opposite phase clock should be input to XTAL2. System clock oscillation of EXTAL2 and XTAL2 is used for sub clock mode
XTAL2
(Typ. 500kHz).
LCD segment signal output.
TEX
RST NC AVREF AVSS VDD VSS
Input
OutputTX
Input
Input
Crystal connectors for 32kHz timer/counter clock generation circuit. Connect a 32.768kHz crystal oscillator between TEX and TX. For usage as event input, connect clock oscillation source to TEX, and leave TX open.
Low-level active system reset. NC. Under normal operating conditions, connect to VDD. Reference voltage input for A/D converter. A/D converter GND. Positive power supply. GND. Two VSS are connected to GND.
– 6 –
I/O Circuit Format for Pins
CXP83232A/83240A
Pin
PA0/AN0
to
PA7/AN7
8 pins
Port A
Port B
Data bus
Pull-up resistor
"0" when reset
Port A data
Port A direction
"0" when reset
RD (Port A)
Port A input selection
"0" when reset
Pull-up resistor
"0" when reset
Port B data
Circuit format
Input multiplexer
A/D converter
Input protection
IP
circuit
Pull-up transistors approx. 100k
When reset
Hi-Z
PB0/CINT PB1/CS0 PB3/SI0 PB6/SI1
4 pins
PB2/SCK0 PB5/SCK1
Port B
Data bus
Port B direction
"0" when reset
Data bus
RD (Port B)
Pull-up resistor
"0" when reset
SCK OUT
Output enable
Port B output selection
"0" when reset
Port B data
Port B direction
"0" when reset
CINT
CS0
SI0 SI1
IP
Hi-Z
Schmitt input
Pull-up transistors approx. 100k
Hi-Z
IP
Schmitt input
RD (Port B)
SCK in
Pull-up transistors approx. 100k
– 7 –
CXP83232A/83240A
Pin
PB4/SO0 PB7/SO1
2 pins
Port B
Data bus
Port C
Pull-up resistor
"0" when reset
Output enable
Port B output selection
"0" when reset
Port B data
Port B direction
"0" when reset
RD (Port B)
SO
Pull-up resistor
"0" when reset
Port C data
Circuit format
Pull-up transistors approx. 100k
2
When reset
Hi-Z
IP
PC0 to PC7
8 pins
PE0/INT0/EC0 PE1/INT1/EC1 PE2/INT2 PE3/INT3/NMI PE4/RMC
5 pins
Port E
Data bus
Port C direction
"0" when reset
RD (Port C)
Schmitt input
IP
RD (Port E)
1
IP
1
 High current drive
of 12mA possible
2
 Pull-up transistors
approx. 100k
INT0/EC0 INT1/EC1 INT2 INT3/NMI RMC
Data bus
Hi-Z
Hi-Z
– 8 –
Loading...
+ 16 hidden pages