0% found this document useful (0 votes)
65 views

CAN AT89C51 Kit

This document describes a demo board for CAN microcontrollers, including its features, block diagram, power supply details, and reset options. The board has CAN and other interfaces to connect to microcontrollers and evaluate their functionality.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views

CAN AT89C51 Kit

This document describes a demo board for CAN microcontrollers, including its features, block diagram, power supply details, and reset options. The board has CAN and other interfaces to connect to microcontrollers and evaluate their functionality.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 23

AT89STK-06 Demo Board

..............................................................................................

Hardware User Guide


Section 1
Introduction ........................................................................................... 1-1
1.1 Features ....................................................................................................1-1

Section 2
Hardware Description ........................................................................... 2-3
2.1 Block Diagram...........................................................................................2-3
2.2 Power Supply ............................................................................................2-3
2.3 RESET ......................................................................................................2-4
2.4 Serial Interfaces ........................................................................................2-5
2.5 Board Settings ..........................................................................................2-7

Section 3
Device Programming .......................................................................... 3-11
3.1 In-System Programming .........................................................................3-11

Section 4
Appendix A: Board Layout .................................................................. 4-13
Appendix B: Bill of Materials ............................................................... 4-14
Appendix C: Board Schematics .......................................................... 4-15
Appendix D: Default Configuration ..................................................... 4-19
Appendix E: References/Acronyms .................................................... 4-20
4.1 References..............................................................................................4-20
4.2 Acronyms ................................................................................................4-20

AT89STK-06 Demo Board User Guide 1


4339C–CAN–07/05
Section 1
Introduction

This document describes the board included in the AT89STK-06 Starter Kit dedicated to
the T89C51CC01/CC02 and AT89C51CC03 CAN microcontrollers (for T89C51CC02
optionnal adaptor is required). This board is designed to allow an easy evaluation of the
product using demonstration software.
The AT89STK-06 Starter Kit can be used with the AT89C51AC3, TR89C51AC2, and
T89C5115 Flash Microcontrollers with ADC (for T89C5115 optional adapter is required).

1.1 Features • CAN


– On board CAN transceiver Atmel ATA6660
– D-sub Connector Compliant to the CiA (User Group: "CAN in Automation")
Recommendation for the CAN High Speed Bus
• Two Different Sockets to Support AT89C51CC03 and AT89C51AC3 in PLCC52 and all
controllers in PLCC44 Packages
• Support of the T89C51CC02 & T89C5115 Microcontroller Requires the use of a PLCC28
Adapter (CANADAPT28).
• The Board Comes with a AT89C51CC03-UA (PLCC44 package) and a AT89C51CC03-CA
(PLCC52 package) Samples(1).
• Analog-to-Digital Converter
– Potentiometer
– Thermal Resistor
– On board ADC Reference Voltage
• On-board Reset, INT0, INT1, LEDs, EA, ISP and Programming Interface
• Power, ALE, RS232 Rx and Tx LEDs
• CAN, SPI and RS232 Hardware Connectors
• On-board Voltage Regulator
• Voltage Operation: 8V to 15V
• Operating Temperature Range: 0 to +70°C
• Dimension: 80 mm x 100 mm

Notes: 1. Samples for AT89C51AC3, T89C51CC01, T89C51AC2, T89C51CC02, and


T89C5115 can be ordered separately

AT89STK-06 Demo Board Software Demonstration Guide 1-1


Rev. 4339C–CAN–07/05
Introduction

Figure 1-1. AT89STK-06 board

1-2 AT89STK-06 Demo Board Software Demo Guide


4339C–CAN–07/05
Section 2
Hardware Description

2.1 Block Diagram Figure 2-1 shows a functional block diagram of the AT89STK-06 board, with the I/O
usage.

Figure 2-1. Block Diagram of AT89STK-06 board


CAN Network FLIP, Host, Batch ISP

CAN UART

Reset,
ISP, Applicable MCU Potentiometer Human
INT0,
INT1

Generic External
t°C
Sensor LED Board Power Supply Power
Connector

Human Generic Board (optionnal)

2.2 Power Supply The on-board power supply circuitry allows various power supply configurations.

2.2.1 Power Supply Sources

The power supply source can come from two different and exclusive sources:
„ either from J4, JACK PWR connector
„ either from J5, 9V (Battery connector)

J4 - JACK PWR connector: – Need of a male JACK outlet


– Input supply from 8 up to 15V DC 500mA min

AT89STK-06 Demo Board Software Demonstration Guide 2-3


Rev. 4339C–CAN–07/05
Hardware Description

– No specific polarization mandatory

Note: There is a diode voltage level between the negative output of the power supply
and the “GND”. This could introduce some gap of voltage during measurement
and instrumentation.

Figure 2-2 . Male JACK Outlet and Wires

+
-

Caution: Do not mount more than one power supply source on AT89STK-06 board.

J5 - 9V Battery connector: – Need of a female 2 points connector


– Input supply from 6 up to 10V DC (example: 9V battery)
– Polarization mandatory

Figure 2-3 . EXT PWR Female Connector / Cable for 9V Battery

- -
+
+

Caution: Do not mount more than one power supply source on AT89STK-06 Starter Kit.

2.3 RESET Although the AT89C51CC03 & AT89C51AC3 microcontrollers have on-chip RESET
circuitry (c.f. microcontroller datasheet), the AT89STK-06 board provides to the
microcontroller a RESET signal witch can come from 2 different sources:
2.3.1 Power-on RESET The on-board RC network acts as power-on RESET.
2.3.2 RESET Push Button By pressing the RESET push button on the AT89STK-06 board, a warm RESET of the
microcontroller is performed.

2-4 AT89STK-06 Demo Board Software Demo Guide


4339C–CAN–07/05
Hardware Description

2.4 Serial 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

pin 2 RS-TxD
pin 3 RS-RxD
RS-232 DB9 front view pin 4
pin 6
5 4 3 2 1
9 8 7 6 pin 5 Gnd

pin 7 RS-CTS
pin 8 RS-RTS

Figure 2-5 . Typical PC Connection Lay-out

PC / DB9 serial port


AT89C51CC0x / RS-232 DB9 (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
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

pin 3 Gnd
1 2 3 4 5
pin 6 Gnd
6 7 8 9
pin 5 CAN-SHLD
(Can be set to Gnd)

If a network termination is needed, JP3 switch inserts a 120Ω resistor 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

SPI Connector front view pin 1 Vcc


pin 2 SS
1 2 3 4 5 6
pin 3 MISO
pin 4 SCK
pin 5 MOSI
pin 6 Gnd

2-6 AT89STK-06 Demo Board Software Demo Guide


4339C–CAN–07/05
Hardware Description

2.5 Board Settings The AT89STK-06 board has two types of settings:
„ Jumpers
„ Solder strap
„ Test points
Table 2-1, Table 2-2 and Table 2-3 provide an overview of the available settings and
test points.
2.5.1 Jumpers
Table 2-1. Default Jumper Setting
Reference PCB Name Comments (guidelines) Default
ON : allows external execution
JP1 EA Open (OFF)
OFF: Internal code execution
ON : Enable C51 generic extension board (optionnal) buzzer
JP2 MUTE Open (OFF)
OFF: Disable C51 generic extension board (optionnal) buzzer
ON : Enable CAN terminator resistor
JP3 CANRes Open (OFF)
OFF: Disable CAN terminator resistor
ON : Enable RTS line to control ISP mode (for AutoISP mode)
JP4 RTS Open (OFF)
OFF: Disable RTS line to control ISP mode
ON : Enable DTR line to drive MCU reset (for AutoISP mode)
JP5 DTR Open (OFF)
OFF: Disable DTR line to drive MCU reset
ON : Enable Battery charge
JP6 Batt Open (OFF)
OFF: Disable Battery charge

Figure 2-10. Jumper Setting Definition

strap

jumper header
ON or OFF
Ex: 1-2

AT89STK-06 Demo Board Software Demo Guide 2-7


4339C–CAN–07/05
Hardware Description

2.5.2 Solder straps Solder straps allow to modify the board configuration for specific usage such as
T89C51CC02 compatibility.

Table 2-2. Table of Solder Strap


Reference PCB Name Comments (guidelines) Default
CC02 & C5115 For T89C51CC02 usage, allows to redirect the ISP signal to P1.0, for
SP1 Open
mode hardware conditions.
SP2 X2_44 Connect PLCC44 Xtal2 to XTAL2 of the generic extension board (optionnal) Open
SP3 X2_52 Connect PLCC52 Xtal2 to XTAL2 of the generic extension board (optionnal) Open

Figure 2-11. Solder Strap definition


“Open” “Close”

Solder Pad Solder gout

2.5.2.1 T89C51CC02/T89C5115When using T89C51CC02 or T89C5115 products with the AT89STK-06 board ( see
Support (SP1) ¨PLCC adapter for T89C51CC02 user guide: CANADAPT28), the SP1 solder pad
should be closed to ensure correct hardware conditions setting on P1.0 port.
SP1 solder pad connects ISP push button to P1.0 microcontroller port and the
CANADAPT28 adapter should be inseted in U2 (PLCC44) socket.

Figure 2-12. AT89STK-06 Board with CANADAPT28

2-8 AT89STK-06 Demo Board Software Demo Guide


4339C–CAN–07/05
2.5.3 Test Points Test points are used to check the internal power supply for AT89STK-06 Board.

Table 2-3. Table of Test Points


Reference PCB Name Comments (guidelines)
TP1 Vref Vref for ADC
TP2 Vpot Test point for Potentiometer voltage
TP3 Vtemp Test point for Termal resitor voltage
TP4 Vcc Test point for Vcc
TP5 GND Test point for GND

AT89STK-06 Demo Board Software Demonstration Guide 2-9


Rev. 4339C–CAN–07/05
Section 3
Device Programming

3.1 In-System The on-chip memories and configuration bytes of the AT89C51CC0x parts can be pro-
Programming grammed using the ISP mode of the device.

3.1.1 Manual ISP Mode

3.1.1.1 Board Configuration To use ISP mode, the board should be configured as follow:
„ POWER switch (SW1) on “ON” position
„ EA jumper should be open (internal code execution only).
„ Before using ISP mode for T89C51CC02 or T89C5115 device, be sure to close SP1
solder pad ( See Section "T89C51CC02/T89C5115 Support (SP1)", page 8).

3.1.1.2 Operating Mode To enter in ISP mode, press both the RESET (SW5) and ISP (SW4) buttons simulta-
neously. First release the RESET button and then the ISP button. The device enters in
ISP mode.

3.1.2 Auto ISP Mode The Auto ISP is available only for parts with UART bootloader (-UA devices). It allows
the host PC application (Atmel FLIP software for example) to control the hardware con-
ditions from the serial lines RTS and DTR.
Thus with the Auto ISP mode, the user does not need to push the ISP and RESET
buttons.
3.1.2.1 Board Configuration To use Auto ISP mode, put the board in the same configuration as ISP mode and also:
„ Close RTS (JP4) jumper
„ Close DTR (JP5) jumper

AT89STK-06 Demo Board Software Demonstration Guide 3-11


Rev. 4339C–CAN–07/05
Device Programming

3-12 AT89STK-06 Demo Board Software Demo Guide


4339C–CAN–07/05
Section 4
Appendix A: Board Layout

Figure 4-1. Board Components View Diagram

J1 J2

AT89STK-06 Demo Board Software Demonstration Guide 4-13


Rev. 4339C–CAN–07/05
Appendix B: Bill of Materials

Appendix B: Bill of Materials

Figure 4-2. Bill of Materials Table


Item Code no Description Quantity Reference

1 74HC125-SO 74HC125 SO14 1 U6


2 74HC14-SO 74HC14 SO14 1 U10
3 AT89C51CC01-SPLC PLCC44 1 U2
4 AT89C51CC03-SPLC PLCC52 1 U1
5 ATA6660-SO8 ATA6660 CAN TRANSCEIVER SO8 ATMEL 1 U4
6 MAX202ECSE-SO MAX202ECSE SO16 MAXIM 2 U5, U7
7 MAX6129-SOT23-5P MAX6129 SOT23-5 MAXIM 1 U3
8 MC78M05CDT-TO252 REG MC78M05CDT TO252 ON SEMICONDUCT 1 U9
9 PONT-DF005S PONT REDRESSEUR DF005S GENERAL SEMI 1 U8

10 BAR2 2PTS A 2.54 6 JP1, JP2, JP3, JP4, JP5, JP6

11 BAR2-24-ESQ124-2 2X24PTS A 2.54 ESQ124-24-T- 2 J1, J2


12 BAR2Y-MTA2.54 MALE 2PTS MTA 2.54 1 J5
13 BAR6Y-MTA2.54-IN MALE 6PTS MTA 2.54 I 1 J3
14 JACK-PWR-D2.5 JACK PWR DIAM 2.5MM 1 J4

15 STR-2CMS-NCC SOLDER STRAP 3 SP1, SP2, SP3


16 SW-1K2-09-03201- SW 1K2 09-03201-02 EOA SE 1 SW1
17 BAR3 3PTS A 2.54 2 Y1, Y2

18 DBS09V8G SUBD FEMALE 90° 9PTS 2 P1, P2

19 BP-DTSM3 BP CMS DTSM3 APEM 4 SW2, SW3, SW4, SW5

20 PT1-6 TEST POINT 5 TP1, TP2, TP3, TP4, TP5, TP6

C3, C7, C9, C10, C12, C14, C15,


C16, C17, C18, C19, C20, C21,
C22, C23, C24, C25, C26, C27,
21 CA-0805-100NF CAPA CMS 0805 100NF 22 C29, C32
22 CA-0805-10NF CAPA CMS 0805 10NF 1 C11
23 CA-0805-1UF CAPA C0805C105Z3VAC KEMET 1 C31
24 CA-0805-22NF CAPA CMS 0805 22NF 2 C5, C8
25 CA-0805-22PF CAPA CMS 0805 22PF 4 C1, C2, C4, C6
26 CO-VS-B-4.7UF CAPA VS-B 4.7UF 35V PANASONIC 2 C28, C30

27 DIO-MRA4007-SMA DIODE RECTIF. MRA4007 SMA ON 1 D7


28 LED-LPM670-G MINI TOPLED VERTE LPM670-G OSRAM 3 D1, D4, D5
29 LED-LSM676 HYPER MINI TOPLED SUPER-RED LSM676 4 D2, D3, D6, D8

4-14 AT89STK-06 Demo Board Software Demo Guide


4339C–CAN–07/05
5 4 3 2 1

P1.[0..7]
A8 P2.0
A9 P2.1
TWI_scl
A10 P2.2
TWI_sda
A[8..16] A11 P2.3 VCC AGND C1
CS_RAM
A12 P2.4 P2.[0..7] 22 pF
CS_FLASH
A13 P2.5
RST
A14 P2.6 Y1
VAREF
A15 P2.7 12 MHz C2

P1.3
P1.2
P1.1
P1.0
22 pF

P1.7
P1.6
P1.5
P1.4
D D
U1

7
6
5
4
3
2
1
52
51
50
49
48
47
VCC
AT89C51CC01/03_PLCC44
XTAL2_52

VSS
VC C
VC C

TESTI
DECOUPLING CAPACITOR

XTAL1
XTAL2

VAR EF
R ESET
VAG N D
C3 CLOSE TO THE DEVICE
100 nF

P1.0/AN 0/T2

P1.2/AN 2/EC I
ALE

P1.1/AN 1/T2EX
VCC

P1.3/AN 3/C EX0


ISP_FLASH 8 P1.4/AN4/CEX1 ALE 46 ALE
9 45 PSEN /PSEN
/BUZZER P1.5/AN5/CEX2 PSEN
C5 10 44 P0.7

AT89STK-06 Demo Board Software Demo Guide


ADC_Ext P1.6/AN6/CEX3 P0.7/AD7
22 nF RST 11 43 P0.6
ADC_Pot P1.7/AN7/CEX4 P0.6/AD6
AGND 12 42
/EA EA AT89C51CC03_PLCC52 NC
13 41 P0.5
AGND C4 NC P0.5/AD5 P0.4
RX_UART 14 P3.0/RxD P0.4/AD4 40
22 pF 15 39 P0.3
VAREF P4.3 P4.3/SCK P0.3/AD3
16 38 P0.2
Figure 4-3. AT89STK-06 Board Schematics (1 of 4)

P1.[0..7] TX_UART P3.1/TxD P0.2/AD2


Y2 17 37 P0.1
/INT0 P3.2/INT0/ P0.1/AD1
C6 18 36 P4.4
/INT1 P3.3/INT1/ P4.4/MOSI

P1.7
P1.6
P1.5
P1.4
P1.3
P1.2
P1.1
P1.0
C 22 pF 19 35 C
A16 P3.4/T0 P0.0/AD0
TWI_scl 20 P3.5/T1 P2.0/A8 34
TWI_sda
VCC P0.[0..7]
CS_RAM
XTAL2_44
CS_FLASH
U2 R1

6
5
4
3
2
1
44
43
42
41
40
P3.6/W R
P3.7/R D
P4.0/TxD C
P4.1/R xD C
P2.7/A15
P2.6/A14
NC
P2.5/A13
P2.4/A12
P2.3/A11
P2.2/A10
P2.1/A9
P4.2/M ISO

VCC
1 K

P3.0
P3.1
P3.2
P3.3
P3.4
P3.5
21
22
23
24
25
26
27
28
29
30
31
32
33

VSS
P4.4

VC C
R2 AT89C51CC03_PLCC52 P4.2

XTAL1
XTAL2
P4.2

VAR EF
R ESET
VAG N D
10 K D1
ALE LED PWR GREEN

P1.0/AN 0/T2
A16
A15
A14
A13
A12
A11
A10
A9
A8

P1.2/AN 2/EC I
P1.1/AN 1/T2EX

P1.3/AN 3/C EX0


ISP_FLASH 7 P1.4/AN4/CEX1 ALE 39 ALE A[8..16]
/BUZZER 8 P1.5/AN5/CEX2 PSEN 38 /PSEN
9 37 P0.7 P4.1
ADC_Temp P1.6/AN6/CEX3 P0.7/AD7
10 36 P0.6 P4.0
ADC_Pot P1.7/AN7/CEX4 AT89C51CC01/03_PLCC44 P0.6/AD6
11 35 P0.5 /RD
/EA EA P0.5/AD5
B 12 34 P0.4 /WR B
RX_UART P3.0/RxD P0.4/AD4
13 33 P0.3
TX_UART P3.1/TxD P0.3/AD3
14 32 P0.2
/INT0 P3.2/INT0/ P0.2/AD2
15 31 P0.1
/INT1 P3.3/INT1/ P0.1/AD1 P3.[0..7]
16 30 P0.0
A16 P3.4/T0 P0.0/AD0
17 P3.5/T1 P2.0/A8 29 ISP_mode
SP1
P1.0
VCC
"Solder Strap Default:open" SW4 AT89C51CC03_PLCC52

2
close for CC02 only
ISP DECOUPLING CAPACITOR
JP1 C7 CLOSE TO THE DEVICE

P3.6/W R
P3.7/R D
P4.0/TxD C
P4.1/R xD C
P2.7/A15
P2.6/A14
P2.5/A13
P2.4/A12
P2.3/A11
P2.2/A10
P2.1/A9
EA 100 nF
AT89C51CC03_PLCC44

18
19
20
21
22
23
24
25
26
27
28

1
P0.[0..7] C8

A16
A15
A14
A13
A12
A11
A10
A9
A8
22 nF
A[8..16] AGND
A A
/RD
/WR
RX_CAN Title
P4.1
TX_CAN CC0x_demob/MCU
P4.0

P3.0
P3.1
P3.2
P3.3
P3.5
P3.4
P3.6
P3.7
Size Document Number Rev
P3.[0..7] A4 <Doc> 1.0.0

Date: Thursday, January 08, 2004 Sheet 1 of 4


5 4 3 2 1
Appendix C: Board Schematics

Appendix C: Board Schematics

4-15
4339C–CAN–07/05
4-16
4339C–CAN–07/05
5 4 3 2 1

VCC

R3 R4
J1 4.7 K 4.7 K R5 R6 J2 P0.[0..7]
D 10 K 10 K D
P1.0 48 47 VPOWER 48 47 P0.0
Appendix C: Board Schematics

P1.1 P1.0 Vcc_CPU 4.35_12V P0.0 P0.1


46 P1.1 Vss 45 46 4.35_12V P0.1 45
P1.2 44 43 44 43 P0.2
P1.2 TWI_sda TWI_sda Vss P0.2
P1.3 42 41 42 41 P0.3
P1.3 TWI_scl TWI_scl Vss_out P0.3
P1.4 40 39 40 39 P0.4
P1.4 /TWI_IT /INT1 CS_FLASH CS_FLASH P0.4
P1.5 38 37 /RST_IO 38 37 P0.5
P1.5 /RST ISP_FLASH /ISP_F P0.5
P1.6 36 35 /EA 36 35 P0.6
P1.7 P1.6 /EA Spare12 P0.6 P0.7
34 P1.7 /BP1 33 /INT0 34 Spare11 P0.7 33
P1.[0..7] P3.0 32 31 32 31 P2.0
P3.0 A16 A16 Spare10 P2.0
P3.1 30 29 VCC 30 29 P2.1
P3.1 CS_RAM CS_RAM Spare9 P2.1
P3.2 28 27 SW2 SW3 28 27 P2.2
P3.3 P3.2 Vss Spare8 P2.2 P2.3
26 P3.3 Xtal2 25 XTAL2 /PSEN 26 /PSEN P2.3 25
P3.4 24 23 INT0 INT1 24 23 P2.4
P3.5 P3.4 Vss R7 Vss P2.4 P2.5
22 P3.5 Spare0 21 ALE 22 ALE P2.5 21
P3.6 20 19 1.2 K 20 19 P2.6
P3.7 /WD Spare1 Keyb.0 P2.6 P2.7
18 /RD Spare2 17 18 Keyb.1 P2.7 17
P3.[0..7] 16 15 16 15 P4.0 P2.[0..7]
P5.0 Spare3 D2 Keyb.2 P4.0 P4.1
14 P5.1 Spare4 13 14 Keyb.3 P4.1 13 P4.0
12 11 LED PWR ORANGE 12 11 P4.2 P4.1
C
P5.2 Spare5 Keyb.4 P4.2 P4.3 C
10 9 10 9
Figure 4-4. AT89STK-06 Board Schematics (2 of 4)

P5.3 Spare6 Keyb.5 P4.3 P4.2


8 7 P1.5 8 7 P4.4 P4.3
P5.4 Spare7 Keyb.6 P4.4
6 P5.5 /Buzzer 5 2 1 /BUZZER 6 Keyb.7 P4.5 5 P4.4
4 P5.6 Vss 3 4 Vss P4.6 3
2 1 JP2 MUTE 2 1
P5.7 Vss Vss P4.7

Connector Generic Board Left Connector Generic Board Right

External RAM Mapping

B B
FLASH RAM

/ISP_F 0 1 1

/CS_RAM X 0 1

A A

Title
CC0x_demob/Generic_board
Size Document Number Rev
A4 <Doc> 1.0.0

Date: Thursday, January 08, 2004 Sheet 2 of 4


5 4 3 2 1

AT89STK-06 Demo Board Software Demo Guide


5 4 3 2 1

ADC
CAN I/O VCC R10 120 VCC TP1
VAREF
VRef
ADC_Pot
U3 MAX6129BEUK33T

1
R8 R9 P1 TP2 TP3

2
1 1 1 VPot R11 1
1.2 K 1.2 K GND Vin Vout 5
6 100 K

G ND
JP3 CANL 2 VTemp
D4 D3 CAN Res CANH 7

2
D ADC R12 ADC_Temp D
LED PWR GREEN LED PWR RED 3
CAN-Tx CAN-Rx R13
8 C11

1
VCC U4 C9 C10 10 nF
4
3 7 9 100 nF 100 nF
Vcc CANH C12 Not
5 Vref CANL 6 5
10k pot 100 nF Mounted
P4.1 RxDC 4 8 NCP18WF104J03RB
TxDC RXD Rs SUB-D9 FEMALE Negative Temperature
P4.0 1 TXD Gnd 2
CAN Coefficient Resistor
AT6660

AGND

VCC
RS232 I/O SPI Interface
C13 Vcc
R14 R15
J3

AT89STK-06 Demo Board Software Demo Guide


Vcc 1.2 K 1.2 K VCC 1
C 0.1 µF SS 2 C
P3.5 MISO
D5 D6 3

16
P4.2 SCK
LED PWR GREEN LED PWR RED 4
P4.3 MOSI
Figure 4-5. AT89STK-06 Board Schematics (3 of 4)

14 11 RS-Tx RS-Rx 5
T1OUT T1IN P4.4 GND
7 10 6

VC C
P2 T2OUT T2IN
TX_UART
1 DCD 13 12 Rx_MCU
R1IN R1OUT RX_UART
6 DSR 8 9
Rx_PC JP4 R2IN R2OUT Vcc SPI Male
2
7 RTS 1 2 1
Tx_PC C1+
3 3 C1-
8 CTS 4 C16
DTR RTS C14 C2+ 0.1 µF
4 5 2

1
0.1 µF C15 C2- V+ Vcc
9
5 0.1 µF 6

G ND
V-
2 3 ISP_mode
JP5 MAX202ECSE C17 C18
SUB-D9 FEMALE

15
1 2 U5 0.1 µF 0.1 µF
RS232 Vcc Vcc
U6A
4

B DTR B

16
74HC125/SO
14 T1OUT T1IN 11 5 6
7 10

VC C
T2OUT T2IN Vcc
13 R1IN R1OUT 12 U6B
8 9
10

R2IN R2OUT C20


C19 0.1 µF 74HC125/SO
1 C1+
0.1 µF 3 2 9 8
C1- V+ /RST_UART
4 C2+
5 6 Vcc
13

C21 C2- V-
0.1 µF

G ND
C22 C23 U6C 12 11
MAX202ECSE 0.1 µF 0.1 µF 74HC125/SO

15
U7
U6D

74HC125/SO
A A

VCC AT6660 MAX202ECSE MAX202ECSE 74HC125/SO DECOUPLING CAPACITOR Title


CLOSE TO THE DEVICE CC0x_demob/Interfaces
C24 C25 C26 C27
100 nF 100 nF 100 nF 100 nF Size Document Number Rev
A4 <Doc> 1.0.0

Date: Thursday, January 08, 2004 Sheet 3 of 4


5 4 3 2 1
Appendix C: Board Schematics

4-17
4339C–CAN–07/05
4-18
5 4 3 2 1

4339C–CAN–07/05
VPOWER
VCC
U9 TP4
ON/OFF MC78M05CDT
1 2 1 VIN VOUT 2 1
D D
JP6 SW1

2
+ Batt SWITCH SSL VCC

3
2
G ND
Appendix C: Board Schematics

U8 D7

+
DF005S MRA4007
-
1 2 C28 C29 C30

1
1
R16 4.7 µF 100 nF 4.7 µF R17
1.2 K

-
J4 100

Batt+

4
3
2

2
1
J5 D8
CONNECTOR JACK PWR Battery LED PWR RED
Power
Charge PWR
C TP5 C

Batt- 1
1
Figure 4-6. AT89STK-06 Board Schematics (4 of 4)

GND

Vcc
Reset Circuit

R18 R20
10 k
U10A U10B
1 2 3 4 0

RESET 74HC14D 74HC14D AGND


C31
SW5 1 µF
B PUSHBUTTON B

/RST_UART R19
RST
/RST
1 K

Clock Circuit
XTAL2
X2_44 X2_52 VCC CD74HC14D

SP2 SP3
C32
"Solder Strap" "Solder Strap" 100 nF

XTAL2_44
XTAL2_52
A A

Title
CC0x_demob/POWER

Size Document Number Rev


A4 <Doc> 1.0.0

Date: Monday, May 24, 2004 Sheet 4 of 4


5 4 3 2 1

AT89STK-06 Demo Board Software Demo Guide


Appendix D: Default Configuration

Appendix D: Default Configuration

Table 1. Default Configuration


Reference Name Function State
For T89C51CC02/T89C5115 usage, allow to redirect the
SP1 CC02 mode Open
ISP signal to P1.0, for hardware conditions.
Connect PLCC44 Xtal2 to XTAL2 of the generic extension
SP2 X2_44 Open
board
Connect PLCC52 Xtal2 to XTAL2 of the generic extension
SP3 X2_52 Open
board
ON : allows external execution
JP1 EA Open (OFF)
OFF: Internal code execution
ON : Enable C51 generic extension board buzzer
JP2 MUTE Open (OFF)
OFF: Disable C51 generic extension board buzzer
ON : Enable CAN terminator resistor
JP3 CANRes Open (OFF)
OFF: Disable CAN terminator resistor
ON : Enable RTS line to control ISP mode
JP4 RTS Open (OFF)
OFF: Disable RTS line to control ISP mode
ON : Enable DTR line to drive MCU reset
JP5 DTR Open (OFF)
OFF: Disable DTR line to drive MCU reset
ON : Enable Battery charge
JP6 Batt Open (OFF)
OFF: Disable Battery charge

AT89STK-06 Demo Board Software Demo Guide 4-19


4339C–CAN–07/05
Appendix E: References/Acronyms

Appendix E: References/Acronyms

4.1 References „ AT89C51CC03, T89C51CC02, T89C51CC01, T89C5115, AT89C51AC3,


T89C51AC2 Product Datasheets*

4.2 Acronyms „ API: Application Programming Interface


„ FLIP: FLexible In-system Programming
„ HPC: High Pin Count microcontroller (by opposition to LPC)
„ ISP: In-System Programming
„ LPC: Low Pin Count microcontroller

4-20 AT89STK-06 Demo Board Software Demo Guide


4339C–CAN–07/05
Atmel Headquarters Atmel Operations
Corporate Headquarters Memory RF/Automotive
2325 Orchard Parkway 2325 Orchard Parkway Theresienstrasse 2
San Jose, CA 95131 San Jose, CA 95131 Postfach 3535
TEL 1(408) 441-0311 TEL 1(408) 441-0311 74025 Heilbronn, Germany
FAX 1(408) 487-2600 FAX 1(408) 436-4314 TEL (49) 71-31-67-0
FAX (49) 71-31-67-2340
Europe Microcontrollers
Atmel Sarl 2325 Orchard Parkway 1150 East Cheyenne Mtn. Blvd.
Route des Arsenaux 41 San Jose, CA 95131 Colorado Springs, CO 80906
Case Postale 80 TEL 1(408) 441-0311 TEL 1(719) 576-3300
CH-1705 Fribourg FAX 1(408) 436-4314 FAX 1(719) 540-1759
Switzerland
TEL (41) 26-426-5555 La Chantrerie Biometrics/Imaging/Hi-Rel MPU/
FAX (41) 26-426-5500 BP 70602 High Speed Converters/RF Data-
44306 Nantes Cedex 3, France com
Asia TEL (33) 2-40-18-18-18 Avenue de Rochepleine
Room 1219 FAX (33) 2-40-18-19-60 BP 123
Chinachem Golden Plaza 38521 Saint-Egreve Cedex, France
77 Mody Road Tsimhatsui ASIC/ASSP/Smart Cards TEL (33) 4-76-58-30-00
East Kowloon Zone Industrielle FAX (33) 4-76-58-34-80
Hong Kong 13106 Rousset Cedex, France
TEL (852) 2721-9778 TEL (33) 4-42-53-60-00
FAX (852) 2722-1369 FAX (33) 4-42-53-60-01

Japan 1150 East Cheyenne Mtn. Blvd.


9F, Tonetsu Shinkawa Bldg. Colorado Springs, CO 80906
1-24-8 Shinkawa TEL 1(719) 576-3300
Chuo-ku, Tokyo 104-0033 FAX 1(719) 540-1759
Japan
TEL (81) 3-3523-3551 Scottish Enterprise Technology Park
FAX (81) 3-3523-7581 Maxwell Building
East Kilbride G75 0QR, Scotland
TEL (44) 1355-803-000
FAX (44) 1355-242-743

e-mail
[email protected]

Web Site
http://www.atmel.com

Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any
intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI-
TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY
WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDEN-
TAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT
OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no
representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications
and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided
otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended, authorized, or warranted for use
as components in applications intended to support or sustain life.
© Atmel Corporation 2005. All rights reserved. Atmel ®, logo and combinations thereof, Everywhere You Are ®
and others, are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and Printed on recycled paper.
product names may be trademarks of others.
4339C–CAN–07/05 /xM
Mouser Electronics

Authorized Distributor

Click to View Pricing, Inventory, Delivery & Lifecycle Information:

Microchip:
AT89STK-06

You might also like