ChipFind - документация

Электронный компонент: SD42C440430SDIP

Скачать:  PDF   ZIP
KSI-W031-000
1
SD42C/P4404
4Bit Single Chip Microcontroller
Description
The SD42C4404(4302) is a 4-bit single chip micro-computer having 4K(2K) bytes ROM and
is designed with CMOS silicon gate technology. The SD42C4404 includes such peripherals
as various timers, A/D converter, serial communication interface, on-chip oscillator and
clock circuitry. The high performance CPU and internal peripherals allow flexible & cost
effective system design in industrial and home appliances. And the OTP device (42P4404)
can shorten system development periods and help the process for software debugging.
Ordering Information
Type NO.
Marking
Package Code.
SD42C4404
SD42C4404
28SOP/30SDIP/36SSOP
Pin Configuration
S
S
e
e
m
m
i
i
c
c
o
o
n
n
d
d
u
u
c
c
t
t
o
o
r
r
6
23
5
24
14
13
12
11
10
9
8
4
3
2
1
P00 / INT0 / TI0
28
27
26
25
21
20
19
19
18
16
15
P11 / SI
P12 / SO
Vss
7
XO
P62/CLO
RESETB
TEST
XI
P80
P81
P82
P83
P50 / KS4
P51 / KS5
22
P41 / KS1
V
DD
P13 /SCK
P01 / INT1
PA0 / AD0
PA1 / AD1
P60
P61
P13 / BUZ
P42 / KS2
P40 / KS0
P53 / KS7
P52 / KS6
2 8 S O P
7
24
6
25
15
14
13
12
11
10
9
5
4
3
2
1
P00 / INT0 / TI0
30
29
28
27
26
22
21
20
19
18
17
16
P10 / SCK
P11 / SI
P12 / SO
RESETB
8
V
SS
P60
P61
P62 / CLO
TEST
XI
XO
P80
P81
P82
P83
23
P53 / KS7
P42 / KS2
P13 / BUZ
P01 / INT1
PA0 / AD0
PA1 / AD1
PA2 / AD2
PA3 / AD3
V
DD
P41 / KS1
P40 / KS0
P52 / KS6
P51 / KS5
P50 / KS4
3 0 S D I P
21
20
19
16
17
18
7
30
6
31
15
14
13
12
11
10
9
5
4
3
2
1
P00 / INT0 /TI0
36
35
34
33
32
28
27
26
25
24
23
22
P10 / SCK
P11 / SI
P12 / SO
RESETB
8
V
S S
P60
P61
P62 / CLO
TEST
XI
XO
P80
P81
P82
P83
29
P53 / KS7
P42 / KS2
P13 / BUZ
P01 / INT1
PA0 / AD0
PA1 / AD1
PA2 / AD2
PA3 / AD3
V
DD
P41 / KS1
P40 / KS0
P52 / KS6
P51 / KS5
P50 / KS4
NC
NC
NC
NC
NC
NC
3 6 S S O P
KSI-W031-000
2
Features
SD42C/P4404
Memory mapped I/O
8-bit serial communication interface
- External / Internal clock selection
Program memory : 4096 x 10bits (DMC42C4404)
- Mode : Transmit, Receive
2048 x 10bits (DMC42C4302)
Receive only
Clock continuous
Data memory : 512 x 4bits (DMC42C4404)
256 x 4bits (DMC42C4302)
8-bit A/D converter
- 8-bit successive approximate type
Instructions
- 4 channels
- Various bit manipulation
- Sample and hold
- 8-bit data operation
- Conversion time : 17.1us at 4.19MHz
- 7-bit relative branch
- 1 byte absolute call
24 I/O Pins
- CMOS Pins : 16
Instruction cycle times ( XI = 4.19MHz )
- High current LED direct drive pins
- 15.3 us ( XI/64 = 65.5KHz )
- Internal pull-up resistor ( Mask option )
- 1.91 us ( XI/8 = 524.0KHz )
- Internal pull-down resistor ( Mask option )
- 0.95 us ( XI/4 = 1.05MHz )
Power saving mode
4 Register Bank
- STOP : Main clock, CPU clock stop
- STBY : Only CPU clock stop
General register : 8 x 4-bit respectively
Main clock operation
Accumulator
Operating voltage range
- Bit Accumulator (CY), 4 bit Accumulator (A),
- V
DD
= 2.5 ~ 5V 10%
8 bit Accumulator (XA)
Operating temperature range
Multiple vectored interrupt source
- T
A
= -40
to +85
- External interrupt : 3
- Internal interrupt : 4
Watch timer (at 4.19MHz)
- fast mode : 3.91 msec
- normal mode : 0.5 sec
- buzzer output : 1, 2, 4 KHz
APPLICATION
Basic interval timer
- 8 kinds of period
Telephone, General
- Used stabilization wait timer to wake up Stop mode
One 8-bit timer / event counter

Key scan
- 7 channels
KSI-W031-000
3
SD42C/P4404
P00
P01
P10
P13
P40
P42
P50
P53
P60
P62
P80
P83
PA0
PA3
I R Q W T
IRQTC 0
SD42CORE
BASIC
INTERVAL
TIMER
IRQBT
WATCH
TIMER
TIMER/EVENT
COUNTER 1
SERIAL
INTERFACE
IRQS0
INTERRUPT
CONTROL
8-BIT ADC
IRQAD
BUZ / P13
TI0 / P00
SCK / P10
SI / P11
SO / P12
PA0~PA3/
AD0-AD3
PORT0
PORT1
PORT4
PORT5
PORT6
PORT8
PORTA
PROGRAM MEMORY
(4096 X 10BITS)
DATA MEMORY
(512 X 4BITS)
Fx / 2
n
CPU
CLOCK
V
DD
P62 / CLO
V
SS
XI
RESETB
TEST
CLOCK
OUTPUT
CONTROL
CLOCK
DIVIDER
CLOCK
GENERATOR
STOP/ IDLE
CONTROL
XO
INT1 / P01
INT0 / P00
BLOCK DIAGRAM
KSI-W031-000
4
Program Memory (ROM) Vector Address
Data Memory (RAM)
SD42C/P4404
CONTENTS
Prioty
INTERRUPT SUORCE
0000H
VECTOR
0000H
0
RESET
Reset Signal
ADDRESS AREA
0002H
1
IRQBT
Basic Interval Timer
001FH
0004H
2
IRQ0
External interrupt 0
0020H
ZERO-PAGE
0006H
3
IRQ1
External interrupt 1
CALL AREA
0008H
005FH
000AH
5
IRQTC1
Timer Event Counter 1
0060H
000CH
000EH
0010H
0012H
9
IRQS0
Serial I/O 0
0014H
10
IRQAD
8 bit ADC
4K Byte
0016H
0018H
12
IRQWT
Watch Timer
001AH
13
IRQKS
Key Scan
001CH
0FFFH
001EH
15
-
reserved
DIRECT
INDIRECT
STACK
GENERAL
m
@HL
@DE @DL
REGISTER
$00
RB=0
RB=1
PAGE0
RB=2
RB=4
(256 Byte)
MP=0
SPS=0
$FF
$00
PAGE1
(256 Byte)
MB=0
MB=0
MP=1
SPS=1
BANK 0
$FF
(1K)
$00
PAGE2
(256 Byte)
MP=2
SPS=2
$FF
$00
PAGE3
I/O
(256 Byte)
MEMORY
MP=3
; Usable
$FF
KSI-W031-000
5
I/O Address Map
SD42C/P4404
ADDRESS
Hardware Module Name
R/W
Addressing Unit
REMARKS
INITIAL
b3
b2
b1
b0
1 bit
4 bit
8bit
VALUE
318H
Stack pointer low (SPL)
R/W
O
Stack pointer low
E
319H
Stack pointer high (SPH)
R/W
O
stack pointer high
F
31AH
SP3
SP2
SP1
SP0
R/W
O
Stack Page Select Low (SPSL)
0
31BH
-
-
SP5
SP4
R/W
O
Stack Page Select High (SPSh)
0
31CH
AC
IS1
IS0
R/W
O
O
O
Psw low (PSWL)
0
31DH
CY
Z
OV
T
Psw high (PSWH)
0
326H
T/E counter mode register 1
W
326H.3
clock source select. counter start
00
327H
(TMOD1)
(ch1)
328H
T/E counter register 1
R
readable count value (ch1)
00
329H
(TMCNT1)
32AH
T/E reference register 1
W
count reference register (ch1)
FF
32BH
(TMREF1)
332H
Basic Timer mode register(BMOD)
R/W
332H.3
clock select, Bit start
0
334H
Basic interval timer count
R
readable count register
00
335H
register(BITCNT)
336H
Watch timer mode register
R/W
336H.3
clock/buzzer select. bit3
00
337H
(WMOD)
readable
386H
Adc8 mode register (ADCM8)
R/W
386H.3
O
analog input pin select. start &
00
387H
low 4bit readable
388H
Adc8 output latch (ADCOL8)
R
O
8bit conversion data
00
389H
3A0H
Power control register
O
system clock select, idle, stop
00
(PCON)
R/W
mode
3A2H
Operating mode register (SCMOD)
R/W
O
main/sub system clock select
0
3A4H
Clock output mode register
W
O
cpu clock output select, clock
00
(CLOMD)
out EN/DIS
3A8H
Serial interface mode register0
W
3A8H.3
O
receive/transmit mode. clock
00
3A9H
(SIOM0)
select
3AAH
Serial interface buffer0
R/W
serial shift register 0
XX
3ABH
(SBUFF0)
3B2H
Power on flag (PONF)
P/W
3B2H.0
O
power on reset flag
0
3C3H
IPSR3
IPSR2
IPSR1
IPSR0
3C4H
External interrupt mode register0
W
O
external interrupt 0 edge
00
(IMOD0)
detection
3C5H
External interrupt mode register1
W
O
external interrupt 1 edge
00
(IMOD1)
detection
3D8H
IEBT
IRQBT
R/W
O
O
Interrupt EN/IRQ flag
0
3D9H
IEAD8
IRQAD8 IEWT
IRQWT
R/W
O
O
Interrupt EN/IRQ flag
0
3DAH
IES0
IRQS0
R/W
O
O
Interrupt EN/IRQ flag
0
3DBH
IETC1
IRQTC1
R/W
O
O
Interrupt EN/IRQ flag
0
3DCH
IE1
IRQ1
IE0
IRQ0
R/W
O
O
Interrupt EN/IRQ flag
0