English
Language : 

DS87C520_1 Datasheet, PDF (4/42 Pages) Dallas Semiconductor – EPROM/ROM High-Speed Micro
DS87C520/DS83C520
DIP
PLCC
TQFP
SIGNAL
DESCRIPTION
NAME
30
33
27
ALE
ALE - Output. The Address Latch Enable output
functions as a clock to latch the external address LSB from
the multiplexed address/data bus on Port 0. This signal is
commonly connected to the latch enable of an external 373
family transparent latch. ALE has a pulse width of 1.5
XTAL1 cycles and a period of four XTAL1 cycles. ALE is
forced high when the DS87C520/DS83C520 is in a Reset
condition. ALE can also be disabled and forced high by
writing ALEOFF=1 (PMR.2). ALE operates
independently of ALEOFF during external memory
accesses.
39
43
38
42
37
41
36
40
35
39
34
38
33
37
32
36
37
P0.0 (AD0) Port 0 (AD0-7) - I/O. Port 0 is an open-drain 8-bit bi-
36
P0.1 (AD1) directional I/O port. As an alternate function Port 0 can
35
P0.2 (AD2) function as the multiplexed address/data bus to access off-
34
P0.3 (AD3)
chip memory. During the time when ALE is high, the LSB
of a memo ry address is presented. When ALE falls to a
33
P0.4 (AD4) logic 0, the port transitions to a bi-directional data bus.
32
P0.5 (AD5) This bus is used to read external ROM and read/write
31
P0.6 (AD6) external RAM memory or peripherals. When used as a
30
P0.7 (AD7) memory bus, the port provides active high drivers. The
reset condition of Port 0 is tri-state. Pullup resistors are
required when using Port 0 as an I/O port.
1-8
2-9
40-44
P1.0-P1.7 Port 1 - I/O. Port 1 functions as both an 8-bit bi-
1-3
directional I/O port and an alternate functional interface
for Timer 2 I/O, new External Interrupts, and new Serial
Port 1. The reset condition of Port 1 is with all bits at a
logic 1. In this state, a weak pullup holds the port high.
This condition also serves as an input state, a weak pullup
holds the port high. This condition also serves as an input
mode, since any external circuit that writes to the port will
overcome the weak pullup. When software writes a 0 to
any port pin, the DS87C520/DS83C520 will activate a
strong pulldown that remains on until either a 1 is written
or a reset occurs. Writing a 1 after the port has been at 0
will cause a strong transition driver to turn on, followed by
a weaker sustaining pullup. Once the momentary strong
driver turns off, the port again becomes the output high
(and input) state. The alternate modes of Port 1 are out-
lines as follows.
1
2
40
2
3
41
3
4
42
4
5
43
5
6
44
6
7
1
7
8
2
8
9
3
Port Alternate
P1.0 T2
P1.1 T2EX
P1.2 RXD1
P1.3 TXD1
P1.4 INT2
Function
External I/O for Timer/Counter 2
EX Timer/Counter 2
Capture/Reload Trigger
Serial Port 1 Input
Serial Port 1 Output
External Interrupt 2 (Positive Edge
Detect)
P1.5 INT3
P1.6 INT4
External Interrupt 3 (Negative
Edge Detect)
External Interrupt 4 (Positive Edge
Detect)
P1.7 INT5
External Interrupt 5 (Negative
Edge Detect)
4 of 42