Hardware Description

2.4.2

CAN

The microcontroller is a microcontroller with an on-chip full-CAN controller.

The AT89STK-06 board is supplied with an Atmel CAN transceiver (ATA6660). A female DB9 connector assumes the CAN bus connections.

Figure 2-7 .CAN DB9 Connections

 

 

 

 

 

 

 

 

 

pin 2

 

CAN-L

 

 

 

 

 

 

 

 

 

 

 

CAN DB9 front view

pin 7

 

CAN-H

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Gnd

 

1

2

3

4

5

 

 

 

pin 3

 

 

 

 

 

pin 6

 

Gnd

 

 

6

7

8

9

 

 

 

 

 

 

 

 

 

 

 

 

CAN-SHLD

 

 

 

 

 

 

 

 

 

pin 5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(Can be set to Gnd)

 

 

 

 

 

 

 

 

 

 

 

 

If a network termination is needed, JP3 switch inserts a 120resistor between CAN-H and CAN-L.

A red LED indicates a TxCAN traffic, a green one indicates a RxCAN traffic.

Figure 2-8 . CAN LEDs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Can Res Jumper

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(Here Open)

 

 

 

 

 

Red Rx LED

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Green Tx LED

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2.4.3

SPI

The AT89C51CC03 in PLCC52 is a microcontroller with an on-chip full duplex SPI

 

 

interface, master or slave.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A 6-pin male connector assumes the SPI bus connections. The SPI 6-pin connector also

 

 

provides to the user Vcc and Gnd.

 

 

 

 

 

 

 

 

 

 

 

 

Figure 2-9 .SPI 6-pin Connections

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Vcc

 

 

SPI Connector front view

 

 

 

 

pin 1

 

 

 

 

 

 

 

 

 

 

 

1

2

3

4

5

6

 

 

 

 

 

 

 

 

 

pin 2

 

 

SS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

pin 3

 

 

MISO

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SCK

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

pin 4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOSI

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

pin 5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Gnd

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

pin 6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2-6

AT89STK-06 Demo Board Software Demo Guide

4339C–CAN–07/05