Résumé du contenu de la page N° 1
AT89STK-06 Demo Board
..............................................................................................
Hardware User Guide
Résumé du contenu de la page N° 2
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..........................
Résumé du contenu de la page N° 3
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 boar
Résumé du contenu de la page N° 4
Introduction Figure 1-1. AT89STK-06 board 1-2 AT89STK-06 Demo Board Software Demo Guide 4339C–CAN–07/05
Résumé du contenu de la page N° 5
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, Human ISP, Potentiometer Applicable MCU INT0, INT1 Generic External t°C Power Sensor LED Power Supply Board Connector Human Generic Board (optionnal) 2.2 Power Supply The on-board power supply circuitry allows various power supply configurations. 2.2.1 Power Su
Résumé du contenu de la page N° 6
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
Résumé du contenu de la page N° 7
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 pin 5 Gn
Résumé du contenu de la page N° 8
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 pin 7 CAN-H CAN DB9 front view 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 indi
Résumé du contenu de la page N° 9
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 gener
Résumé du contenu de la page N° 10
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 extensi
Résumé du contenu de la page N° 11
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
Résumé du contenu de la page N° 12
Section 3 Device Programming 3.1 In-System The on-chip memories and configuration bytes of the AT89C51CC0x parts can be pro- grammed using the ISP mode of the device. Programming 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/
Résumé du contenu de la page N° 13
Device Programming 3-12 AT89STK-06 Demo Board Software Demo Guide 4339C–CAN–07/05
Résumé du contenu de la page N° 14
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
Résumé du contenu de la page N° 15
Appendix B: Bill of Materials Appendix B: Bill of Materials Figure 4-2. Bill of Materials Table Item Code no Description QuantityReference 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 D
Résumé du contenu de la page N° 16
Appendix C: Board Schematics Appendix C: Board Schematics Figure 4-3. AT89STK-06 Board Schematics (1 of 4) AT89STK-06 Demo Board Software Demo Guide 4-15 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 A11 P2.3 VCC AGND C1 C1 A[8..16] CS_RAM A12 P2.4 22 pF 22 pF P2.[0..7] CS_FLASH A13 P2.5 RST A14 P2.6 Y1 Y1 VAREF A15 P2.7 12 MHz 12 MHz C2 C2 22 pF 22 pF D D U1 U1 VCC AT89C51CC01/03_PLCC44 XTAL2_52 DECOUPLING CAPACITOR C3 C3 CLOSE TO THE DEVICE 100 nF 100 nF VCC AL
Résumé du contenu de la page N° 17
Appendix C: Board Schematics Figure 4-4. AT89STK-06 Board Schematics (2 of 4) 4-16 AT89STK-06 Demo Board Software Demo Guide 4339C–CAN–07/05 5 4 3 2 1 VCC R3 R3 R4 R4 J1 J1 4.7 K 4.7 K 4.7 K 4.7 K R5 R5 R6 R6 J2 J2 P0.[0..7] D D 10 K 10 K 10 K 10 K P1.0 P0.0 48 47 48 47 VPOWER P1.0 Vcc_CPU 4.35_12V P0.0 P1.1 P0.1 46 45 46 45 P1.1 Vss 4.35_12V P0.1 P1.2 P0.2 44 43 44 43 P1.2 TWI_sda TWI_sda Vss P0.2 P1.3 P0.3 42 41 42 41 TWI_scl P1.3 TWI_scl Vss_out P0.3 P1.4 P0.4 40 39 40 39 P1.4 /TWI_IT /INT1
Résumé du contenu de la page N° 18
Appendix C: Board Schematics Figure 4-5. AT89STK-06 Board Schematics (3 of 4) AT89STK-06 Demo Board Software Demo Guide 4-17 4339C–CAN–07/05 5 4 3 2 1 ADC TP1 TP1 CAN I/O VCC R10 R10 120 120 VCC VAREF VRef VRef ADC_Pot U3 U3 MAX6129BEUK33T MAX6129BEUK33T P1 P1 TP2 TP2 TP3 TP3 R8 R8 R9 R9 1 1 5 1 VPot VPot 1 R11 R11 Vin Vout 1.2 K 1.2 K 1.2 K 1.2 K GND 6 100 K 100 K JP3 JP3 CANL VTemp VTemp 2 D4 D4 D3 D3 CAN Res CAN Res CANH 7 ADC_Temp R12 R12 D LED PWR GREEN LED PWR GREEN LED PWR RED LED PWR RE
Résumé du contenu de la page N° 19
Appendix C: Board Schematics Figure 4-6. AT89STK-06 Board Schematics (4 of 4) 4-18 AT89STK-06 Demo Board Software Demo Guide 4339C–CAN–07/05 5 4 3 2 1 VPOWER VCC TP4 TP4 U9 U9 ON/OFF MC78M05CDT MC78M05CDT 1 2 1 2 1 VIN VOUT D D JP6 JP6 SW1 SW1 + Batt Batt SWITCH SSL SWITCH SSL VCC VCC U8 U8 D7 D7 DF005S DF005S MRA4007 MRA4007 - C28 C28 C29 C29 C30 C30 1 2 R16 R16 4.7 µF 4.7 µF 100 nF 100 nF 4.7 µF 4.7 µF R17 R17 1.2 K 1.2 K J4 J4 100 100 3 2 1 J5 J5 D8 D8 CONNECTOR JACK PWR CONNECTOR JACK PWR L
Résumé du contenu de la page N° 20
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 gene