CXP83408/83412/83416
CXP83409/83413/83417
CMOS 8-bit Single Chip Microcomputer
Description
The CXP83408/83412/83416 and CXP83409/83413/ 83417 are a CMOS 8-bit microcomputer which consists of A/D converter, serial interface, timer/counter, time base timer, 32kHz timer/counter, LCD controller/ driver, remote control receiving circuit and PWM output, as well as basic configurations like 8-bit CPU, ROM, RAM and I/O port. They are integrated into a single chip.
Also CXP83408/83412/83416 and CXP83409/83413/ 83417 sleep/ stop function which enables to lower power consumption.
Features
•A wide instruction set (213 instructions) which covers various types of data
–16-bit arithmetic/multiplication and division/ Boolean bit operation instructions
•Minimum instruction cycle
•Incorporated ROM capacity
•Incorporated RAM capacity
•Peripheral functions
–A/D converter
–Serial interface
–Timer
–LCD controller/driver
–Remote control receiving circuit
–PWM output
•Interruption
•Standby mode
•Package
•Piggyback/evaluator
Structure
Silicon gate CMOS IC
CXP83408/83412/83416
80 pin QFP (Plastic) 80 pin LQFP (Plastic)
CXP83409/83413/83417 80 pin QFP (Plastic)
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 –
E93Z15C72-PS
Block Diagram
– 2 –
AN0 to AN7 |
8 |
SEG0 to SEG31 |
32 |
COM0 to COM3 |
4 |
VL
VLC1
VLC2
VLC3
PWM0
PWM1
RMC
CS0
SI0
SO0
SCK0
CS1
SI1
SO1
SCK1
EC
TO
ADJ
A/D CONVERTER
LCD
CONTROLLER/
DRIVER
14BIT PWM GENERATOR
8BIT PWM GENERATOR
REMOCON FIFO
SERIAL
INTERFACE FIFO UNIT 0
8BIT TIMER/COUNTER 0
8BIT TIMER 1
INT0 INT1 INT2 NMI/INT3 |
|
TEX TX EXTAL XTAL RST VDD Vss |
|
2 |
|
|
SPC700 |
CLOCK GENERATOR/ |
|
CPU CORE |
SYSTEM CONTROL |
CONTROLLER |
|
|
INTERRUPT |
ROM |
RAM |
|
||
|
8K/12K/16K BYTES |
448 BYTES |
|
|
|
|
|
32kHz |
2 |
|
|
PRESCALER/ |
|
|
|
|
|
TIME BASE TIMER |
|
TIMER/COUNTER |
|
|
|
|
2
HPORT FPORT EPORT DPORT CPORT BPORT APORT
8 PA0 to PA7
8 PB0 to PB7
8 PC0 to PC7
8 PD0 to PD7
5 PE0 to PE4
2 PE5 to PE6
8 PF0 to PF7
1 PH0
CXP83409/83413/83417 CXP83408/83412/83416,
CXP83408/83412/83416, CXP83409/83413/83417
Pin Assignment (Top View) CXP83408/83412/83416 (QFP package)
PE2/INT2 |
PE1/INT1 |
PE0/INT0/EC |
PF7/SEG31 |
PF6/SEG30 |
NC |
TEX |
TX |
VDD
PF5/SEG29 |
PF4/SEG28 |
PF3/SEG27 |
PF2/SEG26 |
PF1/SEG25 |
PF0/SEG24 |
PD7/SEG23 |
|
80 |
79 |
78 |
77 |
76 |
75 |
74 |
73 |
72 |
71 |
70 |
69 |
68 |
67 |
66 |
65 |
|
PE3/INT3/NMI |
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
PD6/SEG22 |
PE4/RMC |
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
PD5/SEG21 |
PE5/PWM0 |
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
PD4/SEG20 |
PE6/TO/ADJ |
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
PD3/SEG19 |
PB0/CS1 |
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
PD2/SEG18 |
PB1/CS0 |
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
PD1/SEG17 |
PB2/SCK0 |
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
PD0/SEG16 |
PB3/SI0 |
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
SEG15 |
PB4/SO0 |
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
SEG14 |
PB5/SCK1 |
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
SEG13 |
PB6/SI1 |
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
SEG12 |
PB7/SO1 |
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
SEG11 |
PC0 |
13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
SEG10 |
PC1 |
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
SEG9 |
PC2 |
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
SEG8 |
PC3 |
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
SEG7 |
PC4 |
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
SEG6 |
PC5 |
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
SEG5 |
PC6 |
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
SEG4 |
PC7 |
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
SEG3 |
PH0/PWM1 |
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
SEG2 |
PA0/AN0 |
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
SEG1 |
PA1/AN1 |
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
SEG0 |
PA2/AN2 |
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
COM3 |
|
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
|
PA3/AN3 |
PA4/AN4 |
PA5/AN5 |
PA6/AN6 |
PA7/AN7 |
RST |
EXTAL |
XTAL |
VSS
VL |
VLC3 |
VLC2 |
VLC1 |
COM0 |
COM1 |
COM2 |
Note) NC (Pin 75) is always connected to VDD.
– 3 –
CXP83408/83412/83416, CXP83409/83413/83417
Pin Assignment (Top View) CXP83408/83412/83416 (LQFP package)
PE4/RMC |
PE3/INT3/NMI |
PE2/INT2 |
PE1/INT1 |
PE0/INT0/EC |
PF7/SEG31 |
PF6/SEG30 |
NC |
TEX |
TX |
VDD |
PF5/SEG29 |
PF4/SEG28 |
PF3/SEG27 |
PF2/SEG26 |
PF1/SEG25 |
PF0/SEG24 |
PD7/SEG23 |
PD6/SEG22 |
PD5/SEG21 |
80 |
79 |
78 |
77 |
76 |
75 |
74 |
73 |
72 |
71 |
70 |
69 |
68 |
67 |
66 |
65 |
64 |
63 |
62 |
61 |
PE5/PWM0 1
PE6/TO/ADJ 2
PB0/CS1 3
PB1/CS0 4
PB2/SCK0 5
PB3/SI0 6
PB4/SO0 7
PB5/SCK1 8
PB6/SI1 9
PB7/SO1 10
PC0 11
PC1 12
PC2 13
PC3 14
PC4 15
PC5 16
PC6 17
PC7 18
PH0/PWM1 19
PA0/AN0 20
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
PA1/AN1 |
PA2/AN2 |
PA3/AN3 |
PA4/AN4 |
PA5/AN5 |
PA6/AN6 |
PA7/AN7 |
RST |
EXTAL |
XTAL |
VSS |
VL |
VLC3 |
VLC2 |
VLC1 |
COM0 |
COM1 |
COM2 |
COM3 |
SEG0 |
60 PD4/SEG20
59 PD3/SEG19
58 PD2/SEG18
57 PD1/SEG17
56 PD0/SEG16
55 SEG15
54 SEG14
53 SEG13
52 SEG12
51 SEG11
50 SEG10
49 SEG9
48 SEG8
47 SEG7
46 SEG6
45 SEG5
44 SEG4
43 SEG3
42 SEG2
41 SEG1
Note) NC (Pin 73) is always connected to VDD.
– 4 –
CXP83408/83412/83416, CXP83409/83413/83417
Pin Assignment (Top View) CXP83409/83413/83417 (QFP package)
PE4/RMC |
PE3/INT3/NMI |
PE2/INT2 |
PE1/INT1 |
PE0/INT0/EC |
PF7/SEG31 |
PF6/SEG30 |
NC |
TEX |
TX |
VDD |
PF5/SEG29 |
PF4/SEG28 |
PF3/SEG27 |
PF2/SEG26 |
PF1/SEG25 |
PF0/SEG24 |
PD7/SEG23 |
PD6/SEG22 |
PD5/SEG21 |
80 |
79 |
78 |
77 |
76 |
75 |
74 |
73 |
72 |
71 |
70 |
69 |
68 |
67 |
66 |
65 |
64 |
63 |
62 |
61 |
PE5/PWM0 1
PE6/TO/ADJ 2
PB0/CS1 3
PB1/CS0 4
PB2/SCK0 5
PB3/SI0 6
PB4/SO0 7
PB5/SCK1 8
PB6/SI1 9
PB7/SO1 10
PC0 11
PC1 12
PC2 13
PC3 14
PC4 15
PC5 16
PC6 17
PC7 18
PH0/PWM1 19
PA0/AN0 20
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
PA1/AN1 |
PA2/AN2 |
PA3/AN3 |
PA4/AN4 |
PA5/AN5 |
PA6/AN6 |
PA7/AN7 |
RST |
EXTAL |
XTAL |
VSS |
VL |
VLC3 |
VLC2 |
VLC1 |
COM0 |
COM1 |
COM2 |
COM3 |
SEG0 |
60 PD4/SEG20
59 PD3/SEG19
58 PD2/SEG18
57 PD1/SEG17
56 PD0/SEG16
55 SEG15
54 SEG14
53 SEG13
52 SEG12
51 SEG11
50 SEG10
49 SEG9
48 SEG8
47 SEG7
46 SEG6
45 SEG5
44 SEG4
43 SEG3
42 SEG2
41 SEG1
Note) NC (Pin 73) is always connected to VDD.
– 5 –
|
|
|
|
|
|
|
|
|
|
|
|
CXP83408/83412/83416, CXP83409/83413/83417 |
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Pin Description |
|
|
|
|
||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Symbol |
I/O |
|
Functions |
|||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(Port A) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8-bit I/O port. I/O can be |
|
|
|
PA0/AN0 |
|
set in a unit of single bits. |
|
|
||||||||||
|
Incorporation of pull-up |
Analog inputs to A/D converter. |
||||||||||||
to |
I/O/Analog input |
|||||||||||||
resistor can be set |
(8 pins) |
|||||||||||||
PA7/AN7 |
|
|||||||||||||
|
through the software in a |
|
|
|||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
unit of 4 bits. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(8 pins) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PB0/CS1 |
I/O/Input |
|
Chip select input for serial interface (CH1). |
|||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I/O/Input |
|
Chip select input for serial interface (CH0). |
||
PB1/CS0 |
(Port B) |
|||||||||||||
|
|
|
|
|
|
|
|
|
|
|
8-bit I/O port. I/O can be |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
PB2/SCK0 |
I/O/I/O |
Serial clock I/O (CH0). |
||||||||||||
set in a unit of single bits. |
||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
||
PB3/SI0 |
I/O/Input |
Serial data input (CH0). |
||||||||||||
Incorporation of pull-up |
||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
resistor can be set |
|
|
|
PB4/SO0 |
I/O/Output |
Serial data output (CH0). |
||||||||||||
through the software in a |
||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
||
PB5/SCK1 |
|
|
|
|
|
I/O/I/O |
unit of 4 bits. |
Serial clock I/O (CH1). |
||||||
|
|
|
|
|
|
|
|
|
|
|
(8 pins) |
|
|
|
PB6/SI1 |
I/O/Input |
Serial data input (CH1). |
||||||||||||
|
||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PB7/SO1 |
I/O/Output |
|
Serial data output (CH1). |
|||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(Port C) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8-bit I/O port. I/O can be set in a unit of single bits. Capable of driving |
|||
PC0 to PC7 |
I/O |
12mA sync current. Incorporation of pull-up resistor can be set through |
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
the software in a unit of 4 bits. |
|||
|
|
|
|
|
|
|
|
|
|
|
(8 pins) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Input/Input/Input |
|
|
External event inputs |
|
PE0/INT0/EC |
|
|
||||||||||||
|
|
for timer/counter. |
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PE1/INT1 |
Input/Input |
|
External interruption |
|||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
request input. (4 pins) |
||
PE2/INT2 |
Input/Input |
(Port E) |
||||||||||||
|
|
|||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
Input/Input/Input |
7-bit port. Lower 5 bits |
|
Non-maskable intrruption |
|
PE3/INT3/NMI |
|
|||||||||||||
are for inputs; upper |
|
request input. |
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
2 bits are for outputs. |
|
|
|
PE4/RMC |
Input/Input |
Remote control receiving circuit input. |
||||||||||||
(7 pins) |
||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
Output/Output |
|
14-bit PWM output. |
|||||||
PE5/PWM0 |
|
|||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Output/Output/ |
|
Rectangular wave output for 8-bit timer/ |
||
PE6/TO/ADJ |
|
counter and 32kHz oscillation frequency |
||||||||||||
Output |
|
|||||||||||||
|
|
|
|
|
|
|
|
|
|
|
divider output. |
|||
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(Port H) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1-bit I/O port. Incorporation |
|
|
|
PH0/PWM1 |
I/O/Output |
of pull-up resistor can be |
8-bit PWM output. |
|||||||||||
|
|
|
|
|
|
|
|
|
|
|
set through the software. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(1 pin) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
– 6 –
|
|
|
|
|
|
CXP83408/83412/83416, CXP83409/83413/83417 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Symbol |
I/O |
|
|
Functions |
||
|
|
|
|
|
|
|
|
PD0/SEG16 |
|
(Port D) |
|
|
|||
|
|
to |
Output/Output |
8-bit output port. |
|
|
|
PD7/SEG23 |
|
(8 pins) |
|
LCD segment signal output. |
|||
|
|
|
|
|
|
(16 pins) |
|
PF0/SEG24 |
|
(Port F) |
|
||||
|
|
|
|||||
|
|
to |
Output/Output |
8-bit output port. |
|
|
|
PF7/SEG31 |
|
(8 pins) |
|
|
|||
|
|
|
|
|
|
|
|
SEG0 to SEG15 |
Output |
LCD segment signal output. |
|
||||
|
|
|
|
|
|
|
|
COM0 to COM3 |
Output |
LCD common signal output. |
|
||||
|
|
|
|
|
|
|
|
VLC1 to VLC3 |
|
LCD bias power supply. |
|
||||
|
|
|
|
|
|
||
VL |
Output |
Control pin to cutt off the current flowing to external LCD bias resistor |
|||||
during standby. |
|
||||||
|
|
|
|
|
|||
|
|
|
|
|
|
||
EXTAL |
Input |
Crystal connectors for system clock oscillation. When the clock is |
|||||
|
|
|
|
supplied externally, input to EXTAL; opposite phase clock should be |
|||
XTAL |
Output |
||||||
input to XTAL. |
|
||||||
|
|
|
|
|
|
||
TEX |
Input |
Crystal connectors for 32kHz timer/counter clock generation circuit. |
|||||
|
|
|
|
For usage as event counter, connect clock oscillation source to TEX, |
|||
TX |
Output |
||||||
and leave TX open. |
|
||||||
|
|
|
|
|
|
|
|
|
|
Low-level active, system reset. |
|
||||
|
RST |
|
Input |
|
|||
|
|
|
|
|
|
||
NC |
|
NC. Under normal operating conditions, connect to VDD. |
|||||
|
|
|
|
|
|
|
|
VDD |
|
Positive power supply. |
|
||||
|
|
|
|
|
|
|
|
Vss |
|
GND. |
|
||||
|
|
|
|
|
|
|
– 7 –
|
|
|
CXP83408/83412/83416, CXP83409/83413/83417 |
|
I/O Circuit Format for Pins |
|
|
|
|
Pin |
Circuit format |
|
When reset |
|
Port A |
|
|
|
|
|
Pull-up resistor |
|
|
|
|
|
|
|
|
|
“0” when reset |
|
|
|
|
Port A data |
|
|
|
PA0/AN0 |
Port A direction |
|
IP Input protection |
|
to |
|
|
||
“0” when reset |
|
circuit |
|
|
PA7/AN7 |
|
|
Hi-Z |
|
|
|
|
||
|
Data bus |
|
|
|
|
RD (Port A) |
|
|
|
|
Port A input selection |
|
|
|
|
“0” when reset |
Input multiplexer |
|
|
|
|
|
|
|
|
A/D converter |
|
|
|
8 pins |
|
|
Pull-up resistors |
|
|
|
|
approx. 100kΩ |
|
Port B |
|
|
|
|
|
|
|
|
|
|
Pull-up resistor |
|
|
|
|
“0” when reset |
|
|
|
|
Port B data |
|
|
|
PB0/CS1 |
|
|
|
|
PB1/CS0 |
|
|
|
|
PB3/SI0 |
Port B direction |
|
IP |
Hi-Z |
PB6/SI1 |
“0” when reset |
|
|
|
|
|
|
||
|
Data bus |
|
Schmitt input |
|
|
|
|
|
|
|
RD (Port B) |
|
|
|
|
CS1 |
|
|
|
|
CS0 |
|
|
|
|
SI0 |
|
Pull-up transistors |
|
|
SI1 |
|
|
|
4 pins |
|
|
approx. 100kΩ |
|
Port B |
|
|
|
|
|
Pull-up resistor |
|
|
|
|
|
|
|
|
|
“0” when reset |
|
|
|
|
SCK OUT |
|
|
|
|
Output enable |
|
|
|
|
Port B output |
|
|
|
PB2/SCK0 |
selection |
|
|
|
PB5/SCK1 |
“0” when reset |
|
|
|
|
|
|
Hi-Z |
|
|
Port B data |
|
|
|
|
Port B direction |
|
IP |
|
|
|
|
|
|
|
“0” when reset |
|
|
|
Data bus |
|
|
Schmitt input |
|
|
|
|
|
|
|
RD (Port B) |
|
|
|
2 pins |
SCK in |
|
Pull-up transistors |
|
|
|
approx. 100kΩ |
|
– 8 –