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 (f or T89C51 15 optional adapter is requir ed).
1.1Features• CAN
– On board CAN transceiver Atmel ATA6660
– D-sub Connector Compliant to the CiA (User Group: "CAN in Automation")
• T wo 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
• Analog-to-Digital Converter
– Potentiometer
– Thermal Resistor
– On board ADC Reference Voltage
Caution: Do not mount more than one power supply source on AT89STK-06 Starter Kit.
2.3RESETAlthough 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.1Power-on RESETThe on-board RC network acts as power-on RESET.
2.3.2RESET Push ButtonBy pressing the RESET push button on the AT89STK-06 board, a warm RESET of the
microcontroller is performed.
2-4AT89STK-06 Demo Board Software Demo Guide
4339C–CAN–07/05
Hardware Description
2.4Serial Interfaces
2.4.1RS-232CAll 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-232 DB9 front view
5
1
234
69
78
Figure 2-5 . Typical PC Connection Lay-out
AT89C51CC0x / RS-232 DB9
FunctionPin NbFunction
Pin Nb
2TxD (AT89C51CC0x)
5Gnd
Figure 2-6. RS-232 DB9
pin 2
pin 3RS-RxD
pin 4
pin 6
pin 5Gnd
pin 7RS-CTS
pin 8RS-RTS
RS-TxD
PC / DB9 serial port
(COM1 or COMx)
2
3
5Gnd
RxD (PC)
TxD (PC)3RxD (AT89C51CC0x)
“Auto_ISP”
Jumpers
Green Rx LEDRed Tx LED
AT89STK-06 Demo Board Software Demo Guide2-5
4339C–CAN–07/05
Hardware Description
2.4.2CANThe 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
CAN DB9 front view
1
5
432
96
87
pin 2
pin 7CAN-H
pin 3Gnd
pin 6Gnd
pin 5CAN-SHLD
CAN-L
(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 LEDGreen Tx LED
2.4.3SPIThe 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 connecto r also
provides to the user Vcc and Gnd.
Figure 2-9 . SPI 6-pin Connections
SPI Connector front view
156234
pin 1
pin 2SS
pin 3
pin 4
pin 5
pin 6
Vcc
MISO
SCK
MOSI
Gnd
2-6AT89STK-06 Demo Board Software Demo Guide
4339C–CAN–07/05
Hardware Description
2.5Board SettingsThe AT89STK-06 board has two types of settings:
Jumpers
Solder strap
Test poin ts
Table 2-1, Table 2-2 and Table 2-3 provide an overview of the available settings and
test points.
2.5.1Jumpers
Table 2-1. Default Jumper Setting
ReferencePCB NameComments (guidelines)Default
JP1EA
JP2MUTE
JP3CANRes
JP4RTS
JP5DTR
JP6Batt
ON : allows external execution
OFF: Internal code execution
ON : Enable CAN terminator resistor
OFF: Disable CAN terminator resistor
ON : Enable RTS line to control ISP mode (for AutoISP mode)
OFF: Disable RTS line to control ISP mode
ON : Enable DTR line to drive MCU reset (for AutoISP mode)
OFF: Disable DTR line to drive MCU reset
ON : Enable Battery charge
OFF: Disable Battery charge
Open (OFF)
Open (OFF)
Open (OFF)
Open (OFF)
Open (OFF)
Open (OFF)
Figure 2-10. Jumper Setting Definition
strap
jumper header
OFFON or
Ex: 1-2
AT89STK-06 Demo Board Software Demo Guide2-7
4339C–CAN–07/05
Hardware Description
2.5.2Solder strapsSolder straps allow to modify the board configuration for specific usage such as
T89C51CC02 compatibility.
Table 2-2. Table of Solder Strap
ReferencePCB NameComments (guidelines)Default
SP1
SP2X2_44Connect PLCC44 Xtal2 to XTAL2 of the generic extension board (optionnal) Open
SP3X2_52Connect PLCC52 Xtal2 to XTAL2 of the generic extension board (optionnal) Open
CC02 & C5115
mode
For T89C51CC02 usage, allows to redirect the ISP signal to P1.0, for
hardware conditions.
Open
Figure 2-11. Solder Strap definition
“Open”
“Close”
2.5.2.1T89C51CC02/T89C5115
Support (SP1)
Solder Pad
Solder gout
When using T89C51CC02 or T89C5115 products with the AT89STK-06 board ( see
¨PLCC adapter for T89C51CC02 user guide: CANADAPT28), the SP1 solder pa d
should be closed to ensure correct hardware conditions setting on P1.0 port.
SP1 solder pad connects ISP push button to P1.0 microcont roller port and the
CANADAPT28 adapter should be inseted in U2 (PLCC44) socket.
Figure 2-12. AT89STK-06 Board with CANADAPT28
2-8AT89STK-06 Demo Board Software Demo Guide
4339C–CAN–07/05
2.5.3Test PointsTest points are used to check the internal power supply for AT89STK-06 Board.
Table 2-3. Table of Test Points
ReferencePCB NameComments (guidelines)
TP1VrefVref for ADC
TP2VpotTest point for Potentiometer voltage
TP3VtempTest point for Termal resitor voltage
TP4VccTest point for Vcc
TP5GNDTest point for GND
3.1.1.1Board Configuration To use ISP mode, the board should be configured as follow:
3.1.1.2Operating ModeTo enter in ISP mode, press both the RESET (SW5) and ISP (SW4) buttons simulta-
3.1.2Auto ISP ModeThe Auto ISP is available only for parts with UART bootloader (-UA devices). It allows
The on-chip memories and configuration bytes of the AT89C51CC0x parts can be programmed using the ISP mode of the device.
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).
neously. First release the RESET button and then the ISP button. The device enters in
ISP mode.
the host PC application (Atmel FLIP software for example) to control the hardware conditions 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.1Board Configuration To use Auto ISP mode, put the board in the same configuration as ISP mode and also:
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906
TEL 1(719) 576-3300
FAX 1(719) 540-1759
Biometrics/Imaging/Hi-Rel MPU/
High Speed Converters/RF Datacom
Avenue de Rochepleine
BP 123
38521 Saint-Egreve Cedex, France
TEL (33) 4-76-58-30-00
FAX (33) 4-76-58-34-80
e-mail
literature@atmel.com
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 gra nted 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 INCIDENTAL 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 a ccuracy or com p l etene ss o f the con tents of this documen t and reserves the right to make changes to specificat ions
and product descriptions at any time without notice. Atmel does not make any commitment to upd ate the information contained here in. Unless specifically p rovided
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.