APPENDIX A. MICROCONTROLLERS FOR LEARNING REMOTE CONTROLLER ............. 25
APPENDIX B. DEVELOPMENT TOOLS ..................................................................................... 26
6
1.PIN FUNCTIONS
µ
PD17P203A, 17P204
1.1NORMAL OPERATION MODE
Pin No.SymbolFunctionOutput FormatAt Reset
Outputs NRZ signal in synchronization with
1
2
3
4
5
6
7
8
9
LED
REM
VXRAM
VDD
XIN
XOUT
GND0
RESET
WDOUT
infrared remote controller signal. Remains low
while remote control carrier is output
Outputs active-high infrared remote control signal
Supplies power to XRAM
Positive power
Connect 4-MHz ceramic oscillator for main clock
oscillation
Ground
Inputs low-active system reset signal. While this
pin remains low level, oscillation of main clock
stops.
Pull-up resistor can also be connected by mask
option
(µPD17P203A-001 and µPD17P204-001 only).
Outputs signal for detecting overrun. This pin
outputs a low-level when an overflow in the
watchdog timer or an overflow/underflow in the
stack is detected. Connect this pin to the RESET
pin.
CMOS push-pull
CMOS push-pull
–
–
–
–
–
N-ch open drain
High-level output
Low-level output
(Oscillation stop)
High impedance
(1/2)
–
–
–
–
★
10
11
12
13
14
15
16
17
18
19
20
XTIN
XTOUT
VREG
GND5
GND1
AMPIN-
GND2
AMPOUT
VREF
CMPIN+
GND3
RemarkGND
Keep all these pins at the same potential to stabilize the operation of the operational amplifier.
Connect 32-kHz crystal oscillator across these
pins. When option not using subclock is selected,
main clock is divided and is supplied to watch
timer.
Outputs signal from voltage regulator for subclock
oscillator circuit. Connect external 0.1-µF
capacitor.
Ground
Ground of operation amplifier
Inverted input of operational amplifier
Ground of operational amplifier
Output of operational amplifier
Outputs reference voltage of 1/2VDD. Connect
external 0.1-µF capacitor.
Non-inverted input of comparator. Output of this
comparator can be obtained from CMPOUT.
Ground of operational amplifier
1-GND3 are the ground pins of the operational amplifier.
–
–
–
–
–
–
–
–
–
–
(Oscillation)
–
–
–
Input
–
Output
–
Input
–
7
µ
PD17P203A, 17P204
Pin No.SymbolFunctionOutput FormatAt Reset
Comparator output. Externally connect CMPOUT
21
22
CMPOUT
TM0IN
and TM0IN when using microcontroller as
teaching remote controller
Clock input to timer 0. Input clock is sampled by
internal clock and then input to envelope signal
generator circuit, as well as to timer 0. By using timer
0 with timer 1, frequency of clock input to this pin can
be measured.
–
–
Output
Input
(2/2)
23
24
to
27
28
to
31
32
34
to
36
33
37
to
40
41
to
44
45
46
47
48
INT
P0A0
to
P0A3
P0B0
to
P0B3
P0C0
P0C1
to
P0C3
GND4
P0D0
to
P0D3
P1A0
to
P1A3
P1B0
P1B1/
TM0OUT
P1B2/
TM1OUT
P1B3/
TM2OUT
External interrupt signal input pin
Constitute 4-bit I/O port, which can be set in input or
output mode in 4-bit units. Pull-up resistor can be
connected by mask option (µPD17P203A-001, -002 and
µ
PD17P204-001, -002 only). When one or more of
these pins goes low in standby mode standby mode
is released.
Constitute 4-bit I/O port, which can be set in input or
output mode in 4-bit units.
Ground
Constitute 4-bit I/O port, which can be set in input or
output mode in 4-bit units.
Constitute 4-bit I/O port, which can be set in input or
output mode in bitwise. Pull-up registor can be
connected through program.
Port 1B or timer output
• P1B0-P1B3
- 4-bit I/O port
- Can be set in input/output mode in bitwise
- Pull-up resistor can be connected through program
• TM0OUT-TM2OUT
- Timer output
–
CMOS push-pull
N-ch open drain
–
N-ch open drain
N-ch open drain
N-ch open drain
Input
Input
Input
–
Input
Input
Input
(P1B0-P1B3)
Port 1C or serial interface I/O
• P1C0-P1C3
49
50
51
52
P1C0/SCK
P1C1/SO
P1C2/SI
P1C3
- 4-bit I/O port
- Can be set in input/output mode in bitwise
• SCK, SO, SI
- SCK : serial clock I/O
- SO : serial clock data output
- SI : serial clock data input
CMOS push-pull
Input
(P1C0-P1C3)
CautionFor “A” standard products, note that standby mode is released when one or more of P0C and
P0D pins goes high in standby mode.
8
µ
p
PD17P203A, 17P204
1.2PROM PROGRAMMING MODE
Pin No.SymbolFunctionOutput FormatAt Reset
3
7
13
14
16
20
33
GND
GND0
GND5
GND1
GND2
GND3
GND4
Ground
–
–
4
5
23
28 to 31
32, 34
to 36
37 to 40
VDD
CLK
VPP
MD0 to MD3
D4 to D7
D0 to D3
Positive power
Address updating clock input
Supplies program voltage.
Apply 12.5V to this pin
Selects PROM programming mode
8-bit data I/O
–
–
–
–
CMOS push-pull
1.3PIN I/O CIRCUITS
This section shows the I/O circuits of the µPD17P204 pins in simplified schematic diagrams.
(1) P0A
0-P0A3, P0B0/MD0-P0B3/MD3
Data
Output
latch
V
DD
P-ch
V
DD
Pull-up resistor
–
Input
–
Input
Input
Note
Output
disable
In
NoteµPD17P203A-001, -002 and µPD17P204-001, -002 only.
N-ch
ut buffer
9
Loading...
+ 21 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.