Atmel AT89STK-06 User manual

Type
User manual

This manual is also suitable for

AT89STK-06 Demo Board
..............................................................................................
Hardware User Guide
AT89STK-06 Demo Board User Guide 1
4339B–CAN–11/04
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-1
Rev. 4339B–CAN–11/04
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: 6V 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
Introduction
1-2 AT89STK-06 Demo Board User Guide
4339B–CAN–11/04
Figure 1-1. AT89STK-06 board
AT89STK-06 Demo Board User Guide 2-3
Rev. 4339B–CAN–11/04
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
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 6 up to 15V DC
CAN Network
CAN
Power SupplySensor LED
FLIP, Host, Batch ISP
Human
Reset,
ISP,
INT0,
Human
External
Power
Potentiometer
t°C
Generic
Connector
Board
Generic Board (optionnal)
UART
INT1
Applicable MCU
Hardware Description
2-4 AT89STK-06 Demo Board User Guide
4339B–CAN–11/04
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.
+
-
+
-
+
-
Hardware Description
AT89STK-06 Demo Board User Guide 2-5
4339B–CAN–11/04
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
Figure 2-5 . Typical PC Connection Lay-out
Figure 2-6. RS-232 DB9
1
RS-232 DB9 front view
pin 2
5
69
234
78
RS-TxD
pin 3 RS-RxD
pin 4
pin 6
pin 5 Gnd
pin 7 RS-CTS
pin 8 RS-RTS
AT89C51CC0x / RS-232 DB9
PC / DB9 serial port
Pin Nb
(COM1 or COMx)
Function Pin Nb Function
2TxD (AT89C51CC0x)
5Gnd
2
3
RxD (PC)
TxD (PC)3RxD (AT89C51CC0x)
5 Gnd
Green Rx LED Red Tx LED
“Auto_ISP”
Jumpers
Hardware Description
2-6 AT89STK-06 Demo Board User Guide
4339B–CAN–11/04
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
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
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
5
CAN DB9 front view
pin 2
1
96
432
87
CAN-L
pin 7 CAN-H
pin 3 Gnd
pin 5 CAN-SHLD
pin 6 Gnd
(Can be set to Gnd)
Red Rx LED Green Tx LED
Can Res Jump
er
(Here Open)
SPI Connector front view
pin 1
MOSI
pin 2 SS
pin 3
Gnd
pin 5
pin 4
1 56234
pin 6
Vcc
MISO
SCK
Hardware Description
AT89STK-06 Demo Board User Guide 2-7
4339B–CAN–11/04
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
Figure 2-10. Jumper Setting Definition
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)
strap
jumper header
Ex: 1-2
OFFON or
Hardware Description
2-8 AT89STK-06 Demo Board User Guide
4339B–CAN–11/04
2.5.2 Solder straps Solder straps allow to modify the board configuration for specific usage such as
T89C51CC02 compatibility.
Figure 2-11. Solder Strap definition
2.5.2.1 T89C51CC02/T89C5115
Support (SP1)
When using T89C51CC02 or T89C5115 products with the AT89STK-06 board ( see
¨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
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
Solder gout
Solder Pad
“Open
“Close”
AT89STK-06 Demo Board User Guide 2-9
Rev. 4339B–CAN–11/04
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 User Guide 3-11
Rev. 4339B–CAN–11/04
Section 3
Device Programming
3.1 In-System
Programming
The on-chip memories and configuration bytes of the AT89C51CC0x parts can be pro-
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 User Guide 4-13
Rev. 4339B–CAN–11/04
Section 4
Appendix A: Board Layout
Figure 4-1. Board Components View Diagram
J2J1
Appendix B: Bill of Materials
4-14 AT89STK-06 Demo Board User Guide
4339B–CAN–11/04
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
21 CA-0805-100NF CAPA CMS 0805 100NF 22
C3, C7, C9, C10, C12, C14, C15,
C16, C17, C18, C19, C20, C21,
C22, C23, C24, C25, C26, C27,
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
Appendix C: Board Schematics
AT89STK-06 Demo Board User Guide 4-15
4339B–CAN–11/04
Appendix C: Board Schematics
Figure 4-3. AT89STK-06 Board Schematics (1 of 4)
5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
A14 P2.6
P3.1
A12 P2.4
A8
P3.3
A10
A8 P2.0
A13
A15 P2.7
A12
A16
P3.5
A11
A15
P0.6
P0.5
P3.4
P0.3
P4.2
A14
P0.0
A13 P2.5
P3.0
A10 P2.2
A9 P2.1
P0.4
P0.7
A11 P2.3
P3.6
P3.2
P0.2
P0.1
A9
P3.7
A8
P3.0
P3.1
P3.2
P3.3
P3.4
P3.5
P1.6
P1.0
P1.5
P1.5
P1.2
P1.4
P1.1
P1.0
P1.7
P1.6
P1.3
P1.2
P1.1
P1.3
P1.4
P1.0
P1.7
A16
P0.5P0.5P0.5P0.5P0.5P0.5P0.5P0.5P0.5P0.5
P0.3P0.3P0.3P0.3P0.3P0.3P0.3P0.3P0.3P0.3
PSENPSENPSENPSENPSENPSENPSENPSENPSENPSEN
P0.2P0.2P0.2P0.2P0.2P0.2P0.2P0.2P0.2P0.2
A14
P0.7P0.7P0.7P0.7P0.7P0.7P0.7P0.7P0.7P0.7
A9
A11
P0.1P0.1P0.1P0.1P0.1P0.1P0.1P0.1P0.1P0.1
A15
P0.6P0.6P0.6P0.6P0.6P0.6P0.6P0.6P0.6P0.6
A10
A12
P4.4P4.4P4.4P4.4P4.4P4.4P4.4P4.4P4.4P4.4
P0.4P0.4P0.4P0.4P0.4P0.4P0.4P0.4P0.4P0.4
ALEALEALEALEALEALEALEALEALEALE
A13
AGND
VCC AGND
AGND
VCC
VCC
VCC
VCC
AGND
VCC
P0.[0..7]
A[8..16]
P4.1
P4.0
P3.[0..7]
A[8..16]
/PSEN
/INT0
P1.[0..7]
VAREF
TWI_scl
RX_UART
ISP_FLASH
A16
XTAL2_44
/BUZZER
TX_UART
/RD
/WR
/EA
TX_UART
RX_UART
/INT0
/EA
/INT1
ALE
XTAL2_52
P4.0
P4.1
P0.[0..7]
P3.[0..7]
CS_RAM
TWI_sda
/INT1
P1.[0..7]
A[8..16]
RST
/RD
/WR
P4.3
P2.[0..7]
TWI_sda
TWI_scl
CS_RAM
CS_FLASH
VAREF
ISP_FLASH
/BUZZER
ADC_Pot
A16
P4.2
P4.4
/PSEN
ALE
CS_FLASH
RST
ADC_Ext
ADC_Temp
ADC_Pot
ISP_mode
Title
Size Document Number Rev
Date: Sheet
of
<Doc> 1.0.0
CC0x_demob/MCU
A4
14Thursday, January 08, 2004
Title
Size Document Number Rev
Date: Sheet of
<Doc> 1.0.0
CC0x_demob/MCU
A4
14Thursday, January 08, 2004
Title
Size Document Number Rev
Date: Sheet of
<Doc> 1.0.0
CC0x_demob/MCU
A4
14Thursday, January 08, 2004
RX_CAN
TX_CAN
AT89C51CC01/03_PLCC44
AT89C51CC03_PLCC52
DECOUPLING CAPACITOR
CLOSE TO THE DEVICE
DECOUPLING CAPACITOR
CLOSE TO THE DEVICE
close for CC02 only
"Solder Strap Default:open"
Y2Y2
C8
22 nF
C8
22 nF
R1
1 K
R1
1 K
C3
100 nF
C3
100 nF
R2
10 K
R2
10 K
C2
22 pF
C2
22 pF
SP1SP1
D1
LED PWR GREENALE
D1
LED PWR GREENALE
RESET
44
VSS
43
EA
11
P3.0/RxD
12
P3.1/TxD
13
P3.2/INT0/
14
P3.3/INT1/
15
P3.4/T0
16
P3.5/T1
17
P3.6/WR
18
P3.7/RD
19
P1.7/AN7/CEX4
10
P1.6/AN6/CEX3
9
P1.5/AN5/CEX2
8
P1.4/AN4/CEX1
7
P1.3/AN3/CEX0
6
P1.2/AN2/ECI
5
P1.1/AN1/T2EX
4
P1.0/AN0/T2
3
P2.7/A15
22
P2.6/A14
23
P2.5/A13
24
P2.4/A12
25
P2.3/A11
26
P2.2/A10
27
P2.1/A9
28
P2.0/A8
29
P0.7/AD7
37
P0.6/AD6
36
P0.5/AD5
35
P0.4/AD4
34
P0.3/AD3
33
P0.2/AD2
32
P0.1/AD1
31
P0.0/AD0
30
XTAL1
41
XTAL2
40
ALE
39
PSEN
38
VAGND
1
VAREF
2
VCC
42
P4.0/TxD C
20
P4.1/RxDC
21
AT89C51CC01/03_PLCC44
U2
AT89C51CC03_PLCC44
AT89C51CC01/03_PLCC44
U2
AT89C51CC03_PLCC44
C5
22 nF
C5
22 nF
SW4
ISP
SW4
ISP
Y1
12 MHz
Y1
12 MHz
VSS
52
TESTI
51
EA
12
P3.0/RxD
14
P3.1/TxD
16
P3.2/INT0/
17
P3.3/INT1/
18
P3.4/T0
19
P3.5/T1
20
P3.6/WR
21
P3.7/RD
22
P1.7/AN7/CEX4
11
P1.6/AN6/CEX3
10
P1.5/AN5/CEX2
9
P1.4/AN4/CEX1
8
P1.3/AN3/CEX0
7
P1.2/AN2/ECI
6
P1.1/AN1/T2EX
5
P1.0/AN0/T2
4
P2.7/A15
25
P2.6/A14
26
P2.5/A13
28
P2.4/A12
29
P2.3/A11
30
P2.2/A10
31
P2.1/A9
32
P2.0/A8
34
P0.7/AD7
44
P0.6/AD6
43
P0.5/AD5
41
P0.4/AD4
40
P0.3/AD3
39
P0.2/AD2
38
P0.1/AD1
37
P0.0/AD0
35
XTAL1
48
XTAL2
47
ALE
46
PSEN
45
RESET
1
VAGND
2
VCC
49
VCC
50
VAREF
3
NC
13
NC
27
NC
42
P4.0/TxD C
23
P4.1/RxDC
24
P4.2/MISO
33
P4.3/SCK
15
P4.4/MOSI
36
AT89C51CC03_PLCC52
U1
AT89C51CC03_PLCC52
AT89C51CC03_PLCC52
U1
AT89C51CC03_PLCC52
C7
100 nF
C7
100 nF
C1
22 pF
C1
22 pF
C4
22 pF
C4
22 pF
C6
22 pF
C6
22 pF
1 2
JP1
EA
JP1
EA
Appendix C: Board Schematics
4-16 AT89STK-06 Demo Board User Guide
4339B–CAN–11/04
Figure 4-4. AT89STK-06 Board Schematics (2 of 4)
5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
P3.2
P3.3
P3.1
P1.6
P1.4
P3.6
P3.0
P1.3
P1.0
P1.2
P3.5
P1.7
P1.1
P1.5
P3.4
P3.7
P0.0
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7
P4.1
P4.0
P2.1
P2.2
P2.7
P2.0
P2.6
P2.4
P2.3
P2.5
P4.2
P4.3
P4.4
VCC
VCC
/BUZZER
TWI_scl
TWI_sda
P1.[0..7]
P3.[0..7]
/EA
XTAL2
/RST_IO
A16
CS_RAM
/PSEN
ALE
P0.[0..7]
P2.[0..7]
P4.0
VPOWER
CS_FLASH
P4.1
P4.2
P4.3
P4.4
ISP_FLASH
/INT0
/INT1
Title
Size Document Number Rev
Date: Sheet
of
<Doc> 1.0.0
CC0x_demob/Generic_board
A4
24Thursday, January 08, 2004
Title
Size Document Number Rev
Date: Sheet of
<Doc> 1.0.0
CC0x_demob/Generic_board
A4
24Thursday, January 08, 2004
Title
Size Document Number Rev
Date: Sheet of
<Doc> 1.0.0
CC0x_demob/Generic_board
A4
24Thursday, January 08, 2004
RAM
External RAM Mapping
FLASH
/ISP_F
/CS_RAM 1
110
0X
R3
4.7 K
R3
4.7 K
D2
LED PWR ORANGE
P1.5
D2
LED PWR ORANGE
P1.5
Vss
2
Vss
4
Keyb.7
6
Keyb.6
8
Keyb.5
10
Keyb.4
12
Keyb.3
14
Keyb.2
16
Keyb.1
18
Keyb.0
20
ALE
22
Vss
24
/PSEN
26
Spare8
28
Spare9
30
Spare10
32
Spare11
34
Spare12
36
/ISP_F
38
CS_FLASH
40
Vss_out
42
Vss
44
4.35_12V
46
4.35_12V
48
P4.7
1
P4.6
3
P4.5
5
P4.4
7
P4.3
9
P4.2
11
P4.1
13
P4.0
15
P2.7
17
P2.6
19
P2.5
21
P2.4
23
P2.3
25
P2.2
27
P2.1
29
P2.0
31
P0.7
33
P0.6
35
P0.5
37
P0.4
39
P0.3
41
P0.2
43
P0.1
45
P0.0
47
J2
Connector Generic Board Right
J2
Connector Generic Board Right
SW2
INT0
SW2
INT0
R4
4.7 K
R4
4.7 K
P5.7
2
P5.6
4
P5.5
6
P5.4
8
P5.3
10
P5.2
12
P5.1
14
P5.0
16
/RD
18
/WD
20
P3.5
22
P3.4
24
P3.3
26
P3.2
28
P3.1
30
P3.0
32
P1.7
34
P1.6
36
P1.5
38
P1.4
40
P1.3
42
P1.2
44
P1.1
46
P1.0
48
Vss
1
Vss
3
/Buzzer
5
Spare7
7
Spare6
9
Spare5
11
Spare4
13
Spare3
15
Spare2
17
Spare1
19
Spare0
21
Vss
23
Xtal2
25
Vss
27
CS_RAM
29
A16
31
/BP1
33
/EA
35
/RST
37
/TWI_IT
39
TWI_scl
41
TWI_sda
43
Vss
45
Vcc_CPU
47
J1
Connector Generic Board Left
J1
Connector Generic Board Left
R7
1.2 K
R7
1.2 K
R6
10 K
R6
10 K
SW3
INT1
SW3
INT1
12
JP2 MUTEJP2 MUTE
R5
10 K
R5
10 K
Appendix C: Board Schematics
AT89STK-06 Demo Board User Guide 4-17
4339B–CAN–11/04
Figure 4-5. AT89STK-06 Board Schematics (3 of 4)
5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
TxDC
RxDC
CANH
CANL
GND
CTS
DSR
RTS
DTR
DCD
Rx_PC
Rx_MCU
Tx_PC
VCC VCC
AGND
VCC
Vcc
VCC
Vcc
Vcc
Vcc
Vcc
Vcc
Vcc
VCC
Vcc
P4.1
P4.0
ADC_Temp
ADC_Pot
P3.5
P4.2
P4.3
P4.4
ISP_mode
TX_UART
/RST_UART
RX_UART
VAREF
Title
Size Document Number Rev
Date: Sheet
of
<Doc> 1.0.0
CC0x_demob/Interfaces
A4
34Thursday, January 08, 2004
Title
Size Document Number Rev
Date: Sheet of
<Doc> 1.0.0
CC0x_demob/Interfaces
A4
34Thursday, January 08, 2004
Title
Size Document Number Rev
Date: Sheet of
<Doc> 1.0.0
CC0x_demob/Interfaces
A4
34Thursday, January 08, 2004
ADC
CAN I/O
SPI Interface
SS
MISO
SCK
MOSI
GND
VCC
ADC
RS232 I/O
AT6660
MAX202ECSEMAX202ECSE 74HC125/SO
DECOUPLING CAPACITOR
CLOSE TO THE DEVICE
Negative Temperature
Coefficient Resistor
Not
Mounted
C26
100 nF
C26
100 nF
5 6
4
U6B
74HC125/SO
U6B
74HC125/SO
1
TP2
VPot
TP2
VPot
1
TP3
VTemp
TP3
VTemp
R15
1.2 K
R15
1.2 K
D6
LED PWR RED
RS-Rx
D6
LED PWR RED
RS-Rx
C11
10 nF
C11
10 nF
D5
LED PWR GREEN
RS-Tx
D5
LED PWR GREEN
RS-Tx
C17
0.1 µF
C17
0.1 µF
C24
100 nF
C24
100 nF
1 2
JP4
RTS
JP4
RTS
1
TP1
VRef
TP1
VRef
R14
1.2 K
R14
1.2 K
RXD
4
TXD
1
CANH
7
CANL
6
Vcc
3
Vref
5
Gnd
2
Rs
8
U4
AT6660
U4
AT6660
C27
100 nF
C27
100 nF
C1+
1
C1-
3
C2+
4
C2-
5
VCC
16
GND
15
V+
2
V-
6
R1OUT
12
R2OUT
9
T1IN
11
T2IN
10
R1IN
13
R2IN
8
T1OUT
14
T2OUT
7
U5
MAX202ECSE
U5
MAX202ECSE
R10 120R10 120
5
9
4
8
3
7
2
6
1
P2
SUB-D9 FEMALE
RS232
P2
SUB-D9 FEMALE
RS232
C13
0.1 µF
C13
0.1 µF
C19
0.1 µF
C19
0.1 µF
1 2
JP5
DTR
JP5
DTR
Vin
1
Vout
5
GND
2
U3 MAX6129BEUK33TU3 MAX6129BEUK33T
C9
100 nF
C9
100 nF
C12
100 nF
C12
100 nF
C21
0.1 µF
C21
0.1 µF
C15
0.1 µF
C15
0.1 µF
R13
NCP18WF104J03RB
R13
NCP18WF104J03RB
5
9
4
8
3
7
2
6
1
P1
SUB-D9 FEMALE
CAN
P1
SUB-D9 FEMALE
CAN
R9
1.2 K
R9
1.2 K
C22
0.1 µF
C22
0.1 µF
2 3
1
U6A
74HC125/SO
U6A
74HC125/SO
C14
0.1 µF
C14
0.1 µF
D3
LED PWR RED
CAN-Rx
D3
LED PWR RED
CAN-Rx
C10
100 nF
C10
100 nF
C20
0.1 µF
C20
0.1 µF
D4
LED PWR GREEN
CAN-Tx
D4
LED PWR GREEN
CAN-Tx
R8
1.2 K
R8
1.2 K
R11
100 K
R11
100 K
R12
10k pot
R12
10k pot
C23
0.1 µF
C23
0.1 µF
9 8
10
U6C
74HC125/SO
U6C
74HC125/SO
1
2
3
4
5
6
J3
SPI Male
J3
SPI Male
1 2
JP3
CAN Res
JP3
CAN Res
C16
0.1 µF
C16
0.1 µF
C1+
1
C1-
3
C2+
4
C2-
5
VCC
16
GND
15
V+
2
V-
6
R1OUT
12
R2OUT
9
T1IN
11
T2IN
10
R1IN
13
R2IN
8
T1OUT
14
T2OUT
7
U7
MAX202ECSE
U7
MAX202ECSE
C25
100 nF
C25
100 nF
C18
0.1 µF
C18
0.1 µF
12 11
13
U6D
74HC125/SO
U6D
74HC125/SO
Appendix C: Board Schematics
4-18 AT89STK-06 Demo Board User Guide
4339B–CAN–11/04
Figure 4-6. AT89STK-06 Board Schematics (4 of 4)
5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
Batt- Batt+
VCC
AGND
Vcc
VCC
VPOWER
/RST
RST
/RST_UART
XTAL2_44
XTAL2_52
XTAL2
Title
Size Document Number Rev
Date: Sheet
of
<Doc> 1.0.0
CC0x_demob/POWER
A4
44Monday, May 24, 2004
Title
Size Document Number Rev
Date: Sheet of
<Doc> 1.0.0
CC0x_demob/POWER
A4
44Monday, May 24, 2004
Title
Size Document Number Rev
Date: Sheet of
<Doc> 1.0.0
CC0x_demob/POWER
A4
44Monday, May 24, 2004
CD74HC14D
"Solder Strap"
Reset Circuit
Clock Circuit
"Solder Strap"
ON/OFF
+
-
Charge
X2_44 X2_52
1 2
SW1
SWITCH SSL
SW1
SWITCH SSL
D8
LED PWR RED
PWR
D8
LED PWR RED
PWR
SP2SP2
C29
100 nF
C29
100 nF
R17
1.2 K
R17
1.2 K
C28
4.7 µF
C28
4.7 µF
3
2
1
J4
CONNECTOR JACK PWR
Power
J4
CONNECTOR JACK PWR
Power
SW5
RESET
PUSHBUTTON
SW5
RESET
PUSHBUTTON
R16
100
R16
100
C32
100 nF
C32
100 nF
C31
1 µF
C31
1 µF
3 4
U10B
74HC14D
U10B
74HC14D
R18
10 k
R18
10 k
1
TP5
GND
TP5
GND
1 2
D7
MRA4007
D7
MRA4007
VIN
1
GND
3
VOUT
2
U9
MC78M05CDT
U9
MC78M05CDT
R19
1 K
R19
1 K
R20
0
R20
0
1 2
U10A
74HC14D
U10A
74HC14D
1 2
J5
Battery
J5
Battery
1 2
JP6
Batt
JP6
Batt
C30
4.7 µF
C30
4.7 µF
1
3
2
4
-+
U8
DF005S
-+
U8
DF005S
SP3SP3
1
TP4
VCC
TP4
VCC
Appendix D: Default Configuration
AT89STK-06 Demo Board User Guide 4-19
4339B–CAN–11/04
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)
Appendix E: References/Acronyms
4-20 AT89STK-06 Demo Board User Guide
4339B–CAN–11/04
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
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21

Atmel AT89STK-06 User manual

Type
User manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI