Hardware Description

2.4Serial Interfaces

2.4.1

RS-232C

All CAN microcontrollers have one on-chip UART peripheral. Only the asynchronous

 

 

mode is supported by the AT89STK-06 board.

 

 

 

 

 

 

 

 

 

 

 

 

The AT89STK-06 board is supplied with a RS-232 driver/receiver. Only one female DB9

 

 

connector assumes the RS-232 connections. A full range of configuration can be set

 

 

with two Rx lines and two Tx lines.

 

 

 

 

 

 

 

 

 

 

 

 

Figure 2-4 .RS-232 DB9 Connections

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RS-TxD

 

 

 

 

 

 

 

 

 

 

 

 

 

 

pin 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RS-232 DB9 front view

pin 3

 

 

 

 

 

 

RS-RxD

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

pin 4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

pin 6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

4

3

2

1

 

 

 

 

 

 

 

 

Gnd

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

9

8

7

6

 

 

pin 5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RS-CTS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

pin 7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 2-5 .Typical PC Connection Lay-out

pin 8

 

 

 

 

 

 

RS-RTS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

AT89C51CC0x / RS-232 DB9

 

 

 

 

 

 

PC / DB9 serial port

 

 

 

 

 

 

 

 

 

 

 

(COM1 or COMx)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Function

 

Pin Nb

 

 

 

 

Pin Nb

 

 

 

Function

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TxD (AT89C51CC0x)

 

 

2

 

 

 

 

 

 

2

 

 

 

 

RxD (PC)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RxD (AT89C51CC0x)

 

 

3

 

 

 

 

 

 

3

 

 

 

 

TxD (PC)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Gnd

 

 

5

 

 

 

 

 

 

5

 

 

 

 

Gnd

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 2-6. RS-232 DB9

“Auto_ISP” Jumpers

Green Rx LED

Red Tx LED

AT89STK-06 Demo Board Software Demo Guide

2-5

4339C–CAN–07/05