View detail for AT89STK-06 CAN Starter Kit - Hardware User Guide

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
2.2
2.3
2.4
2.5
Block Diagram...........................................................................................2-3
Power Supply ............................................................................................2-3
RESET ......................................................................................................2-4
Serial Interfaces ........................................................................................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
4.2
AT89STK-06 Demo Board User Guide
References..............................................................................................4-20
Acronyms ................................................................................................4-20
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
4339C–CAN–07/05
AT89STK-06 Demo Board Software Demo Guide
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
Reset,
ISP,
INT0,
INT1
t°C
UART
Applicable MCU
Sensor
2.2
Power Supply
2.2.1
Power Supply Sources
Potentiometer
Human
Power Supply
External
Power
LED
Generic
Board
Connector
Human
Generic Board (optionnal)
The on-board power supply circuitry allows various power supply configurations.
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
4339C–CAN–07/05
AT89STK-06 Demo Board Software Demo Guide
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
pin 3
RS-232 DB9 front view
5 4 3 2 1
9 8 7 6
RS-TxD
RS-RxD
pin 4
pin 6
pin 5
Gnd
pin 7
pin 8
RS-CTS
RS-RTS
Figure 2-5 . Typical PC Connection Lay-out
AT89C51CC0x / RS-232 DB9
PC / DB9 serial port
(COM1 or COMx)
Function
Pin Nb
Pin Nb
Function
TxD (AT89C51CC0x)
RxD (AT89C51CC0x)
Gnd
2
3
5
2
3
5
RxD (PC)
TxD (PC)
Gnd
Figure 2-6. RS-232 DB9
“Auto_ISP”
Jumpers
Green Rx LED
AT89STK-06 Demo Board Software Demo Guide
Red Tx LED
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
CAN DB9 front view
1 2 3 4 5
6 7 8 9
pin 2
pin 7
CAN-L
CAN-H
pin 3
pin 6
Gnd
Gnd
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
2.4.3
SPI
Green Tx LED
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
1
2-6
4339C–CAN–07/05
2
3
4
5
6
pin 1
pin 2
pin 3
pin 4
pin 5
pin 6
Vcc
SS
MISO
SCK
MOSI
Gnd
AT89STK-06 Demo Board Software Demo Guide
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
JP1
EA
ON : allows external execution
OFF: Internal code execution
Open (OFF)
JP2
MUTE
ON : Enable C51 generic extension board (optionnal) buzzer
OFF: Disable C51 generic extension board (optionnal) buzzer
Open (OFF)
JP3
CANRes
ON : Enable CAN terminator resistor
OFF: Disable CAN terminator resistor
Open (OFF)
JP4
RTS
ON : Enable RTS line to control ISP mode (for AutoISP mode)
OFF: Disable RTS line to control ISP mode
Open (OFF)
JP5
DTR
ON : Enable DTR line to drive MCU reset (for AutoISP mode)
OFF: Disable DTR line to drive MCU reset
Open (OFF)
JP6
Batt
ON : Enable Battery charge
OFF: Disable Battery charge
Open (OFF)
Figure 2-10. Jumper Setting Definition
strap
jumper header
ON or
Ex: 1-2
AT89STK-06 Demo Board Software Demo Guide
OFF
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
SP1
CC02 & C5115
mode
For T89C51CC02 usage, allows to redirect the ISP signal to P1.0, for
hardware conditions.
Open
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”
Solder Pad
2.5.2.1
“Close”
Solder gout
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
4339C–CAN–07/05
AT89STK-06 Demo Board Software Demo Guide
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
Programming
3.1.1
Manual ISP Mode
3.1.1.1
Board Configuration
The on-chip memories and configuration bytes of the AT89C51CC0x parts can be programmed using the ISP mode of the device.
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 simultaneously. 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 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.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
4339C–CAN–07/05
AT89STK-06 Demo Board Software Demo Guide
Section 4
Appendix A: Board Layout
Figure 4-1. Board Components View Diagram
J1
AT89STK-06 Demo Board Software Demonstration Guide
J2
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
1 74HC125-SO
2 74HC14-SO
3 AT89C51CC01-SPLC
4 AT89C51CC03-SPLC
5 ATA6660-SO8
6 MAX202ECSE-SO
7 MAX6129-SOT23-5P
8 MC78M05CDT-TO252
9 PONT-DF005S
Quantity Reference
74HC125 SO14
74HC14 SO14
PLCC44
PLCC52
ATA6660 CAN TRANSCEIVER SO8 ATMEL
MAX202ECSE SO16 MAXIM
MAX6129 SOT23-5 MAXIM
REG MC78M05CDT TO252 ON SEMICONDUCT
PONT REDRESSEUR DF005S GENERAL SEMI
1 U6
1 U10
1 U2
1 U1
1 U4
2 U5, U7
1 U3
1 U9
1 U8
10 BAR2
2PTS A 2.54
6 JP1, JP2, JP3, JP4, JP5, JP6
11 BAR2-24-ESQ124-2
12 BAR2Y-MTA2.54
13 BAR6Y-MTA2.54-IN
14 JACK-PWR-D2.5
2X24PTS A 2.54 ESQ124-24-TMALE 2PTS MTA 2.54
MALE 6PTS MTA 2.54 I
JACK PWR DIAM 2.5MM
2 J1, J2
1 J5
1 J3
1 J4
15 STR-2CMS-NCC
16 SW-1K2-09-0320117 BAR3
SOLDER STRAP
SW 1K2 09-03201-02 EOA SE
3PTS A 2.54
3 SP1, SP2, SP3
1 SW1
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
21 CA-0805-100NF
22 CA-0805-10NF
23 CA-0805-1UF
24 CA-0805-22NF
25 CA-0805-22PF
26 CO-VS-B-4.7UF
CAPA CMS 0805 100NF
CAPA CMS 0805 10NF
CAPA C0805C105Z3VAC KEMET
CAPA CMS 0805 22NF
CAPA CMS 0805 22PF
CAPA VS-B 4.7UF 35V PANASONIC
27 DIO-MRA4007-SMA
28 LED-LPM670-G
29 LED-LSM676
DIODE RECTIF. MRA4007 SMA ON
MINI TOPLED VERTE LPM670-G OSRAM
HYPER MINI TOPLED SUPER-RED LSM676
4-14
4339C–CAN–07/05
C3, C7, C9, C10, C12, C14, C15,
C16, C17, C18, C19, C20, C21,
C22, C23, C24, C25, C26, C27,
22 C29, C32
1 C11
1 C31
2 C5, C8
4 C1, C2, C4, C6
2 C28, C30
1 D7
3 D1, D4, D5
4 D2, D3, D6, D8
AT89STK-06 Demo Board Software Demo Guide
A
B
C
VCC
JP1
EA
ISP_FLASH
/BUZZER
ADC_Temp
ADC_Pot
/EA
RX_UART
TX_UART
/INT0
/INT1
A16
R2
10 K
TWI_scl
TWI_sda
CS_RAM
CS_FLASH
VAREF
P1.[0..7]
5
C5
22 nF
C3
100 nF
VCC
P1.4/AN4/CEX1
P1.5/AN5/CEX2
P1.6/AN6/CEX3
P1.7/AN7/CEX4
EA
P3.0/RxD
P3.1/TxD
P3.2/INT0/
P3.3/INT1/
P3.4/T0
P3.5/T1
U2
RST
AT89C51CC03_PLCC44
7
8
9
10
11
12
13
14
15
16
17
AGND
DECOUPLING CAPACITOR
CLOSE TO THE DEVICE
AT89C51CC01/03_PLCC44
P1.7
P1.6
P1.5
P1.4
P3.0
P3.1
P3.2
P3.3
P3.4
P3.5
D
P2.[0..7]
AGND
Y2
VCC
AT89C51CC01/03_PLCC44
P3.6
P3.7
2
1
P1.3
P1.2
P1.1
P1.0
6
5
4
3
2
1
44
43
42
41
40
P1.3/AN 3/C EX0
P1.2/AN 2/EC I
P1.1/AN 1/T2EX
P1.0/AN 0/T2
VAR EF
VAG N D
R ESET
VSS
VC C
XTAL1
XTAL2
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
4
RX_CAN
TX_CAN
18
19
20
21
22
23
24
25
26
27
28
A15
A14
A13
A12
A11
A10
A9
A[8..16]
A16
4
39
38
37
36
35
34
33
32
31
30
29
P3.[0..7]
P4.1
P4.0
/RD
/WR
ALE
PSEN
P0.7/AD7
P0.6/AD6
P0.5/AD5
P0.4/AD4
P0.3/AD3
P0.2/AD2
P0.1/AD1
P0.0/AD0
P2.0/A8
XTAL2_44
C6
22 pF
C4
22 pF
P0.7
P0.6
P0.5
P0.4
P0.3
P0.2
P0.1
P0.0
ALE
3
A[8..16]
P0.[0..7]
8
9
10
11
12
13
14
15
16
17
18
19
20
VCC
AT89C51CC03_PLCC52
Date:
Size
A4
2
Thursday, January 08, 2004
Document Number
<Doc>
Sheet
AGND
1
1
of
DECOUPLING CAPACITOR
CLOSE TO THE DEVICE
C8
22 nF
AT89C51CC03_PLCC52
P0.5
P0.4
P0.3
P0.2
P0.1
P4.4
ALE
PSEN
P0.7
P0.6
ISP
C7
100 nF
VCC
P4.2
46
45
44
43
42
41
40
39
38
37
36
35
34
Y1
12 MHz
ALE
PSEN
P0.7/AD7
P0.6/AD6
NC
P0.5/AD5
P0.4/AD4
P0.3/AD3
P0.2/AD2
P0.1/AD1
P4.4/MOSI
P0.0/AD0
P2.0/A8
AGND
1
SW4
Title
2
CC0x_demob/MCU
P1.4/AN4/CEX1
P1.5/AN5/CEX2
P1.6/AN6/CEX3
P1.7/AN7/CEX4
EA
NC
P3.0/RxD
P4.3/SCK
P3.1/TxD
P3.2/INT0/
P3.3/INT1/
P3.4/T0
P3.5/T1
U1
AT89C51CC03_PLCC52
"Solder Strap Default:open"
close for CC02 only
SP1
ALE
/PSEN
D1
LED PWR GREEN
1 K
R1
P1.0
VCC
RX_UART
P4.3
TX_UART
/INT0
/INT1
A16
ISP_FLASH
/BUZZER
ADC_Ext
ADC_Pot
/EA
TWI_scl
TWI_sda
CS_RAM
CS_FLASH
RST
VAREF
3
A8
P1.[0..7]
A8
P1.7
P1.6
P1.5
P1.4
P3.0
P3.1
P3.2
P3.3
P3.4
P3.5
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7
A15
A14
5
A16
P1.3
P1.2
P1.1
P1.0
7
6
5
4
3
2
1
52
51
50
49
48
47
P1.3/AN 3/C EX0
P1.2/AN 2/EC I
P1.1/AN 1/T2EX
P1.0/AN 0/T2
VAR EF
VAG N D
R ESET
VSS
TESTI
VC C
VC C
XTAL1
XTAL2
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
21
22
23
24
25
26
27
28
29
30
31
32
33
AT89STK-06 Demo Board Software Demo Guide
A13
A12
A11
A10
A9
A8
A9
A10
A11
A12
A13
A14
A15
4
Rev
1.0.0
ISP_mode
P3.[0..7]
P4.1
P4.0
/RD
/WR
A[8..16]
P4.4
P4.2
P0.[0..7]
ALE
/PSEN
XTAL2_52
C2
22 pF
C1
22 pF
A
B
C
D
Appendix C: Board Schematics
Appendix C: Board Schematics
Figure 4-3. AT89STK-06 Board Schematics (1 of 4)
4-15
4339C–CAN–07/05
4-16
4339C–CAN–07/05
A
B
C
D
P3.[0..7]
P1.[0..7]
5
5
P1.0 Vcc_CPU
P1.1
Vss
P1.2 TWI_sda
P1.3
TWI_scl
P1.4
/TWI_IT
P1.5
/RST
P1.6
/EA
P1.7
/BP1
P3.0
A16
P3.1 CS_RAM
P3.2
Vss
P3.3
Xtal2
P3.4
Vss
P3.5
Spare0
/WD
Spare1
/RD
Spare2
P5.0
Spare3
P5.1
Spare4
P5.2
Spare5
P5.3
Spare6
P5.4
Spare7
P5.5
/Buzzer
P5.6
Vss
P5.7
Vss
47
45
43
41
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1
0
X
/ISP_F
/CS_RAM
FLASH
0
1
RAM
1
1
Connector Generic Board Left
48
46
44
42
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
External RAM Mapping
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
P3.0
P3.1
P3.2
P3.3
P3.4
P3.5
P3.6
P3.7
J1
4
2
1
XTAL2
A16
CS_RAM
/RST_IO
/EA
TWI_sda
TWI_scl
R4
4.7 K
JP2 MUTE
VCC
R3
4.7 K
4
VCC
INT0
P1.5
3
D2
LED PWR ORANGE
R7
1.2 K
SW2
R5
10 K
3
/BUZZER
INT1
SW3
R6
10 K
/INT0
/INT1
ALE
/PSEN
CS_FLASH
ISP_FLASH
VPOWER
2
Date:
Size
A4
4.35_12V
4.35_12V
Vss
Vss_out
CS_FLASH
/ISP_F
Spare12
Spare11
Spare10
Spare9
Spare8
/PSEN
Vss
ALE
Keyb.0
Keyb.1
Keyb.2
Keyb.3
Keyb.4
Keyb.5
Keyb.6
Keyb.7
Vss
Vss
J2
P0.0
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7
P4.0
P4.1
P4.2
P4.3
P4.4
P4.5
P4.6
P4.7
47
45
43
41
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1
P0.0
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7
P4.0
P4.1
P4.2
P4.3
P4.4
Thursday, January 08, 2004
Document Number
<Doc>
CC0x_demob/Generic_board
Connector Generic Board Right
48
46
44
42
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
Title
2
Sheet
1
2
of
P2.[0..7]
P4.0
P4.1
P4.2
P4.3
P4.4
P0.[0..7]
1
4
Rev
1.0.0
A
B
C
D
Appendix C: Board Schematics
Figure 4-4. AT89STK-06 Board Schematics (2 of 4)
AT89STK-06 Demo Board Software Demo Guide
A
B
C
D
1
6
2
7
3
8
4
9
5
VCC
5
DCD
DSR
Rx_PC
RTS
Tx_PC
CTS
DTR
C24
100 nF
AT6660
SUB-D9 FEMALE
RS232
P2
RS232 I/O
P4.1
P4.0
1
RxDC
TxDC
2
2
4
1
3
5
RXD
TXD
8
2
7
6
C1+
C1C2+
C2-
R1IN
R2IN
T1OUT
T2OUT
V-
V+
R1OUT
R2OUT
T1IN
T2IN
1
3
4
5
13
8
14
7
R10 120
4
6
2
12
9
11
10
V-
V+
R1OUT
R2OUT
T1IN
T2IN
6
2
12
9
11
10
C23
0.1 µF
Vcc
Vcc
Vcc
1
1.2 K
R14
3
Vcc
Rx_MCU
9
2
VCC
U6C
74HC125/SO
8
74HC125/SO
3
D6
LED PWR RED
RS-Rx
1.2 K
TP1
R12
2
2
Date:
Size
A4
Title
/RST_UART
ISP_mode
TX_UART
RX_UART
10k pot
ADC
VRef
C10
100 nF
AGND
R15
Vout 5
MAX6129BEUK33T
U6A
Vin
U3
C9
100 nF
VCC
ADC
D5
LED PWR GREEN
RS-Tx
C17
C18
0.1 µF 0.1 µF
C16
0.1 µF
C20
0.1 µF
MAX202ECSE
U5
C22
0.1 µF
C1+
C1C2+
C2-
R1IN
R2IN
T1OUT
T2OUT
Vcc
1
6
2
7
3
8
4
9
5
P1
SUB-D9 FEMALE
CAN
GND
CANL
CANH
DECOUPLING CAPACITOR
CLOSE TO THE DEVICE
MAX202ECSE
U7
C27
100 nF
74HC125/SO
1
3
4
5
13
8
14
7
Vcc
C14
0.1 µF C15
0.1 µF
Rs
Gnd
Vcc CANH
Vref CANL
U4
JP3
CAN Res
AT6660
C26
100 nF
MAX202ECSE
C21
0.1 µF
C19
0.1 µF
DTR
JP5
RTS
JP4
C25
100 nF
MAX202ECSE
1
1.2 K
D3
LED PWR RED
CAN-Rx
VCC
R9
1.2 K
VCC
R8
D4
LED PWR GREEN
CAN-Tx
CAN I/O
3
1
4
2
1
VC C
VC C
16
G ND
15
2
G ND
1
10
16
G ND
15
VTemp
TP3
ADC_Temp
1
12
5
Vcc
Sheet
74HC125/SO
U6D
J3
1
3
of
SPI Male
1
2
3
4
5
6
11
74HC125/SO
U6B
6
VCC
0.1 µF SS
MISO
SCK
MOSI
GND
C13 Vcc
Thursday, January 08, 2004
Document Number
<Doc>
CC0x_demob/Interfaces
R11
100 K
VAREF
1
NCP18WF104J03RB
Negative Temperature
Coefficient Resistor
R13
P3.5
P4.2
P4.3
P4.4
SPI Interface
C12
Not
100 nF Mounted
C11
10 nF
ADC_Pot
TP2
VPot
1
4
AT89STK-06 Demo Board Software Demo Guide
13
5
4
Rev
1.0.0
A
B
C
D
Appendix C: Board Schematics
Figure 4-5. AT89STK-06 Board Schematics (3 of 4)
4-17
4339C–CAN–07/05
A
B
C
5
3
2
1
XTAL2_44
XTAL2_52
Clock Circuit
/RST_UART
RST
/RST
SW5
PUSHBUTTON
RESET
Reset Circuit
CONNECTOR JACK PWR
Power
J4
1
3
+
4
Vcc
R19
1
U10A
4
"Solder Strap"
3
CD74HC14D
VOUT
2
Title
C29
100 nF
R20
AGND
C30
4.7 µF
R17
1.2 K
1
74HC14D
XTAL2
3
C32
100 nF
2
Date:
Size
A4
Monday, May 24, 2004
Document Number
<Doc>
CC0x_demob/POWER
0
1
VCC
TP4
Sheet
GND
TP5
PWR
VCC
VIN
VCC
D8
LED PWR RED
1
U9
MC78M05CDT
VPOWER
2
Charge
U10B
4
C28
4.7 µF
3
J5
Battery
D7
MRA4007
SW1
SWITCH SSL
ON/OFF
1
2
"Solder Strap"
SP3
SP2
2
X2_52
74HC14D
100
R16
JP6
Batt
1 K
C31
1 µF
-
+
2
1
X2_44
R18
10 k
2
U8
DF005S
4
2
1
Batt+
2
Batt- 1
4339C–CAN–07/05
G ND
4-18
3
D
5
1
1
4
of
4
Rev
1.0.0
A
B
C
D
Appendix C: Board Schematics
Figure 4-6. AT89STK-06 Board Schematics (4 of 4)
AT89STK-06 Demo Board Software Demo Guide
Appendix D: Default Configuration
Appendix D: Default Configuration
Table 1. Default Configuration
Reference
Name
Function
State
SP1
CC02 mode
For T89C51CC02/T89C5115 usage, allow to redirect the
ISP signal to P1.0, for hardware conditions.
Open
SP2
X2_44
Connect PLCC44 Xtal2 to XTAL2 of the generic extension
board
Open
SP3
X2_52
Connect PLCC52 Xtal2 to XTAL2 of the generic extension
board
Open
JP1
EA
ON : allows external execution
OFF: Internal code execution
Open (OFF)
JP2
MUTE
ON : Enable C51 generic extension board buzzer
OFF: Disable C51 generic extension board buzzer
Open (OFF)
JP3
CANRes
ON : Enable CAN terminator resistor
OFF: Disable CAN terminator resistor
Open (OFF)
JP4
RTS
ON : Enable RTS line to control ISP mode
OFF: Disable RTS line to control ISP mode
Open (OFF)
JP5
DTR
ON : Enable DTR line to drive MCU reset
OFF: Disable DTR line to drive MCU reset
Open (OFF)
JP6
Batt
ON : Enable Battery charge
OFF: Disable Battery charge
Open (OFF)
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
4339C–CAN–07/05
AT89STK-06 Demo Board Software Demo Guide
Atmel Headquarters
Atmel Operations
Corporate Headquarters
Memory
2325 Orchard Parkway
San Jose, CA 95131
TEL 1(408) 441-0311
FAX 1(408) 487-2600
Europe
Atmel Sarl
Route des Arsenaux 41
Case Postale 80
CH-1705 Fribourg
Switzerland
TEL (41) 26-426-5555
FAX (41) 26-426-5500
Asia
Room 1219
Chinachem Golden Plaza
77 Mody Road Tsimhatsui
East Kowloon
Hong Kong
TEL (852) 2721-9778
FAX (852) 2722-1369
Japan
9F, Tonetsu Shinkawa Bldg.
1-24-8 Shinkawa
Chuo-ku, Tokyo 104-0033
Japan
TEL (81) 3-3523-3551
FAX (81) 3-3523-7581
2325 Orchard Parkway
San Jose, CA 95131
TEL 1(408) 441-0311
FAX 1(408) 436-4314
RF/Automotive
Theresienstrasse 2
Postfach 3535
74025 Heilbronn, Germany
TEL (49) 71-31-67-0
FAX (49) 71-31-67-2340
Microcontrollers
2325 Orchard Parkway
San Jose, CA 95131
TEL 1(408) 441-0311
FAX 1(408) 436-4314
La Chantrerie
BP 70602
44306 Nantes Cedex 3, France
TEL (33) 2-40-18-18-18
FAX (33) 2-40-18-19-60
ASIC/ASSP/Smart Cards
Zone Industrielle
13106 Rousset Cedex, France
TEL (33) 4-42-53-60-00
FAX (33) 4-42-53-60-01
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
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906
TEL 1(719) 576-3300
FAX 1(719) 540-1759
Scottish Enterprise Technology Park
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 CONDITIONS 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 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
product names may be trademarks of others.
Printed on recycled paper.
4339C–CAN–07/05
/xM