beautypg.com

User i/o pins, 8051 trainer headers connection – Digilent 6014-210-000-KIT User Manual

Page 3

background image

8051 Reference Manual

Digilent, Inc.

www.digilentinc.com

page 3 of 4

Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.

User I/O Pins


The 8051 Trainer board has two rows of
male and female connector for user to access
all the ports of the 8051 microcontroller

(DS89C450) plus 8 LEDs and 8 switched
available via 8 pin male and female sip
connectors.



8051 Trainer Headers Connection

Note: All 8051 ports can be used as general purpose I/Os or for the following specific purposes.

Connector

Description

8051 Trainer 20 Pins Header to

DS89C450 Ports / Bit

Pin

Function

Port / Bit

J2 and J4

P0

(Pin 2-9)

External memory bus
These pins are accessible for I/O operation. Also
they can be connected to the multiplexed
Address/Data line of the DS89C450 for external
memory bus interface.

1

VCC

2

AD0

P0.0

3

AD1

P0.1

4

AD2

P0.2

5

AD3

P0.3

6

AD4

P0.4

7

AD5

P0.5

8

AD6

P0.6

9

AD7

P0.7

10

11

ALE

12

PSEN

J2 and J4

P2

(Pin 13-20)

External memory bus
These pins are accessible for I/O operation. They
can be connected to the higher order address pins
of the external memory bus interface.

13

A8

P2.0

14

A9

P2.1

15

A10

P2.2

16

A11

P2.3

17

A12

P2.4

18

A13

P2.5

19

A14

P2.6

20

A15

P2.7

J1 and J3

P1

(Pin 1-8)

PORT1 is used for I/O operation. If jumper S1 and
S2 are connected P1.2 and P1.3 should not be
externally used because P1.2 and P1.3 are
connected to Max232. To be able to connect P1.2
and P1.3 to an external device you must disconnect
the S1 and S2 jumpers

.

1

I/O

P1.0

2

I/O

P1.1

3

I/O

P1.2

4

I/O

P1.3

5

I/O

P1.4

6

I/O

P1,5

7

I/O

P1.6

8

I/O

P1.7

9

J1 and J3

P1

(Pin 10-17)

Serial port communications and interrupts
Asynchronous serial port, UART0, as well as the
8051 external interrupt sources are part of this port

Connection to Serial#0 is used on this port for an
RS232 serial interface. This is used for
programming (downloading) the hex file to
DS89C450 chip. No device can be connected to
P3.0 and P3.1 during programming.

10

RxD0

P3.0

11

TxD0

P3.1

12

INT0I

P3.2

13

INT1

P3.3

14

T0

P3.4

15

T1

P3.5

16

WR

P3.6

17

RD

P3.7

18

19

20

GND