NEW DATABASE - 350 MILLION DATASHEETS FROM 8500 MANUFACTURERS
AT89STK-08 80C51 RS232 AT89C51RB2 AT89C51RC2 AT89C51RD2 AT89C51IB2 AT89C51ED2 - Datasheet Archive
. Hardware User Guide Table of Contents Section 1 Introduction
AT89STK-08 AT89STK-08 Starter Kit . Hardware User Guide Table of Contents 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 2.6 2.7 Board Overview.2-3 Block Diagram.2-4 Power Supply .2-4 Reset.2-5 Feature Description.2-6 Interface .2-6 Board Settings .2-7 Section 3 ISP Programming . 3-9 3.1 3.2 3.3 3.4 Manual ISP Mode .3-9 Auto ISP Mode .3-9 FLIP Software .3-10 Batchisp Software .3-10 Section 4 Appendix A: Board Layout . 4-11 Appendix B: Bill of Materials . 4-12 Appendix C: Board Schematics . 4-14 Appendix D: References/Acronyms . 4-19 4.1 4.2 AT89STK-08 AT89STK-08 Hardware User Guide References.4-19 Acronyms .4-19 v 11/0480C51 80C5111/04 Section 1 Introduction This document describes the AT89STK-08 AT89STK-08 board dedicated to the standard C51 microcontrollers with in-system programming. All of the microcontroller I/Os are made available in two connectors for extension. 1.1 Features · · · · · · · · · · · · · · 1.2 Stand-alone Board In-System Programmable (ISP) including `Auto ISP' feature On-board Voltage Regulator Two sockets PLCC44-pin package PLCC68-pin package On-board 3V or 5V power supply circuitry from an external power connector from an external battery On-board RESET Leds : Power, ALE, RS232 RS232 Rx and Tx External MCU clock connector External PCA clock connector TWI, SPI and RS232 RS232 connectors INT0 Push-button Connectors for Card Extension Commercial Temperature Range: 0 to +70°C Operating Temperature Dimension: 75 mm x 100 mm Supported Devices AT89C51RB2 AT89C51RB2 AT89C51RC2 AT89C51RC2 AT89C51RD2 AT89C51RD2 AT89C51IB2 AT89C51IB2 AT89C51ED2 AT89C51ED2 AT89C51IC2 AT89C51IC2 AT89C51ID2 AT89C51ID2 AT89STK-08 AT89STK-08 Hardware User Guide 1-1 4368A80C51 80C5111/04 Section 2 Hardware Description 2.1 Board Overview Figure 2-1 shows the AT89STK-08 AT89STK-08 board. Figure 2-1. AT89STK-08 AT89STK-08 This photo is not contractual and may be modified without notification by Atmel. AT89STK-08 AT89STK-08 Hardware User Guide 2-3 4368A80C51 80C5111/04 Hardware Description 2.2 Block Diagram Figure 2-2 shows the functional block diagram of the AT89STK-08 AT89STK-08, with the I/O usage. Figure 2-2. Block Diagram of AT89STK-08 AT89STK-08 PC Host Connectors for Card Extension SPI Full UART TWI LCD,Leds,Switches ADC,EEPROM P1 External Clock C51 32KHz Qtz P3 PLCC44 PLCC44 PLCC68 PLCC68 P4 = P1 = Keyboard P3 P4 P0 P2 EA RST ISP INT0 External Power Supply 3V or 5V Power (9-12V,Battery) Leds: PWR ALE External Addressing Buzzer Xtal2 INT1 2.3 Power Supply The on-board power supply circuitry allows various power supply configurations. 2.3.1 Power Supply Sources The power supply source can come from two different and exclusive sources: - either from J1, JACK PWR connector - either from J2, 9V (Battery connector) 2.3.1.1 J1 - JACK PWR Connector Requires a male JACK outlet 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 voltage gap during measurement and instrumentation. 2-4 4368A80C51 80C5111/04 AT89STK-08 AT89STK-08 Hardware User Guide Hardware Description Figure 2-2 . Male JACK Outlet and Wires Caution: Do not mount more than one power supply source on AT89STK-08 AT89STK-08 Board. 2.3.1.2 J2 - 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 board. The jumper J3 can be used to reload a 9V battery.(WARNING: polarity connection must be verified). 2.3.2 Internal Voltages Vcc can be controlled with R3 potentiometer. 2.4 Reset To be compatible with Atmel microcontrollers which have (or not) its on-chip RESET circuitry (c.f.microcontroller datasheet), the board provides a RESET signal witch can come from 2 different sources: 2.4.1 Power-on RESET The on-board RC network acts as power-on RESET. 2.4.2 RESET Push Button By pressing the SW3 RESET push button on the board, a warm RESET of the microcontroller is performed. AT89STK-08 AT89STK-08 Hardware User Guide 2-5 4368A80C51 80C5111/04 Hardware Description 2.5 Feature Description The Jumpers which are listed in the following descriptions are gathered in Table 2-1 on page 7. . 2.5.1 LEDs - PWR : D2 led is driven by input of voltage regulator - Rx : D4 led is connected to Rx of UART MCU (J17 jumper can be soldered or not) - Tx : D5 led is connected to Tx of UART MCU (J19 jumper can be soldered or not) - ALE : D3 led 2.5.2 INT0 Switch SW4 can be used to activate INTO input 2.5.3 Clocks An external clock can be connected at SYS CLK connector (J22) to control externally XTAL1 input clock of MCU. The J24 jumper is used to disconnect this optional input. Another external clock can be connected at PCA CLK connector (J23) to control externally the PCA clock (P1.2/ECI). The J25 jumper is used to disconnect this optional input. 2.6 Interface 2.6.1 TWI The TWI connector J9 can be controlled by: - Hardware TWI I/O of MCU (for Product including this feature). The signals TWI_hard_sda and TWI_hard_scl are controlled by the TWI ports of MCU. - Software TWI. This can be done using the J10 and J11 jumpers which respectively connect to TWI_soft_sda and TWI_soft_scl. They can be software driven on standard I/O P3.4 and P3.5 This TWI bus is also connected to the J6 2X24 connector. External TWI pull-ups are not provided on the AT89STK-08 AT89STK-08. 2.6.2 SPI The SPI connector J8 is connected to SPI I/O of the MCU. 2.6.3 RS-232C RS-232C The P1 DB9 connector is connected to on-chip UART peripheral through a RS-232 RS-232 driver/receiver. 2.6.4 Connectors for Card Extension Two 2 x 24 connectors offer an extension to the board. Be careful to plug the MCU board into an extension board correctly: All microcontroller I/Os are available in extension connectors. See Figure 4-5 on page 16. 2-6 4368A80C51 80C5111/04 AT89STK-08 AT89STK-08 Hardware User Guide Hardware Description 2.7 Board Settings The C51 Demo Board has the following settings: Jumpers Switches Solder straps Test points 2.7.1 Jumpers, Switches The following table provides an overview of the jumpers, switches and their default configuration. Table 2-1. Jumpers and Switches Overview Reference PCB Label Function Default Jumper J4 EA External Address (external code) OFF Refill of 9V accumulator OFF Jumper J3 Jumper J5 ICC Consumption measurement ON Jumper J11 TWI_SCL Selection of SCL TWI : hard or soft hard Jumper J10 TWI_SDA Selection of SDA TWI : hard or soft hard Jumper J18 RTS RTS of RS232 RS232 OFF Jumper J20 DTR DTR of RS232 RS232 OFF Power On/Off OFF Switch SW1 Solder strap J24 SYS CLK External clock to control XTAL1 Not soldered Solder strap J25 PCA CLK External clock to control PCA clock Not soldered Switch A16 A16 output (0, 1, or P1.4) 1 Jumper J13 J13 A16 = P1.4 or driven by A16 switch ON Switch BUZZER Buzzer output switched between P1.4 or P3.3 (J15 jumper in series) P3.3 Jumper J15 J15 Disconnects BUZZER output ON Solder strap J17 Rx Led Soldered Solder strap J19 Tx Led Soldered Figure 2-3. Jumper Setting Definition AT89STK-08 AT89STK-08 Hardware User Guide 2-7 4368A80C51 80C5111/04 Hardware Description 2.7.2 Solder Straps Solder straps allow to modify the board configuration for specific usage. Table 2-2. Solder Straps Overview Reference PCB Label Function Default Solder strap J24 SYS CLK External clock to control XTAL1 Open Solder strap J25 PCA CLK External clock to control PCA clock Open Solder strap J17 Rx Led Close Solder strap J19 Tx Led Close Figure 2-4. Solder Strap Definition 2.7.3 Test Points Test points are used to check the internal power supply of the microcontroller. Table 2-3. Table of Test Points Reference Vcc Test point for Vcc TP2,TP3 4368A80C51 80C5111/04 Function TP1 2-8 PCB Label GND Test point for GND AT89STK-08 AT89STK-08 Hardware User Guide Section 3 ISP Programming The On-Chip memories and configuration bytes can be programmed using the ISP mode of the device and Atmel's FLexible In-system Programmer Software (FLIP) described below. 3.1 Manual ISP Mode See Section "FLIP Software", page 10. 3.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). 3.1.2 Operating Mode To enter in ISP mode, press both the RESET (SW3) and ISP (SW6) buttons simultaneously. First release the RESET button and then the ISP button. The device enters in ISP mode. 3.2 Auto ISP Mode 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.2.1 Board Configuration To use Auto ISP mode, put the board in the same configuration as ISP mode and also: Close RTS (J18) jumper Close DTR (J20) jumper AT89STK-08 AT89STK-08 Hardware User Guide 3-9 4368A80C51 80C5111/04 ISP Programming 3.3 FLIP Software FLIP software runs on Windows® and Linux® Operating Systems. FLIP supports in-system programming of Flash C51 devices through RS232 RS232. The latest version of FLIP software can be downloaded from the Atmel web site, www.atmel.com. 3.4 Batchisp Software Batchisp is an In-System Programming application which can perform the same operations than FLIP but is designed to be launched from the DOS command window. The main purpose of batchisp is to automate ISP operations on a lot of parts. It may also be launched from an IDE like Keil's uVision2 one : you can compile and link your embedded program, generate the HEX file and download it to the target hardware without leaving the Keil's IDE. This makes embedded software development and test faster. Autoisp function is an operation which allows to enter in ISP mode without any hardware handling.This is done thanks to DTR and RTS RS232 RS232 signals which can control on the Board the RST and PSEN I/O of MCU. 3-10 4368A80C51 80C5111/04 AT89STK-08 AT89STK-08 Hardware User Guide Section 4 Appendix A: Board Layout Figure 4-1. Board Components View Diagram AT89STK-08 AT89STK-08 Hardware User Guide 4-11 4368A80C51 80C5111/04 1 6 C9,C10, 2 1 C11 3 0 C12 4 2 C8,C6 5 18 C5,C7,CD1,CD2,CD3,CD4 CD5,CD6,C15,C16,C17,C18 C19,C20,C21,C22,C23,C24 7 1 C1 8 3 C2,C3,C4 9 1 R5 10 6 R1,R9,R13,R14,R15,R18 11 2 R10,R11 12 3 R6,R7,R8 13 1 R2 14 1 R12 15 1 R16 16 1 R17 17 1 R3 18 2 D5,D3 19 1 D4 20 1 D2 21 1 D1 22 0 D6 23 1 U10 24 2 U7,U8 25 1 U1 26 1 U2 27 1 U3 28 1 U5 29 1 U6 30 1 U9 31 3 TP1,TP2,TP3 32 7 J3,J4,J5,J13,J15,J18,J20 33 2 J10,J11 34 7 J16,J17,J19,J21,J24,J25,J26 35 1 J1 36 2 J22,J23 37 1 P1 38 2 J6,J7 39 1 J2 40 1 J9 41 1 J8 42 3 SW3,SW4,SW6 43 2 SW1,SW5 44 1 SW7 45 1 Y1 46 1 Y2 Item Qty Reference 4-12 4368A80C51 80C5111/04 CAPACITOR CAPACITOR CAPACITOR CAPACITOR CAPACITOR Comments 10µF CAPACITOR 1µF CAPACITOR 180 RESISTOR 1K RESISTOR 2.2K RESISTOR 10K RESISTOR 270 RESISTOR 100K RESISTOR 4.7M RESISTOR 820 RESISTOR 1K ADJ 11 Turns Trimmer LED GREEN LED Green LED RED LED Red LED PWR GREEN LED GREEN M RA4007 RA4007 DIODE Rectifier SM BJ15A BJ15A 74AHC244D 74AHC244D 8 Lines Non-Inverter Buffer M AX202ECSE AX202ECSE RS-232 RS-232 Transceiver DF005S DF005S Pont redresseur LM 317 Regulator 3V/5V 74HC14D 74HC14D Inverter AT8xC51_PLCC44 PLCC44 Socket PLCC44 PLCC44 AT8xC51xx_PLCC68Socket PLCC68 PLCC68 74HC125/SO 74HC125/SO Buffer TEST POINT TEST POINT JUM PER 2 WAYS JUM PER DROIT SIM RANGE PLE JUM PER 3 WAYS JUM PER DROIT SIM RANGE PLE "grain de café" CONNECTOR JACK P POWER CONNECTOR CONNECTOR BNC . SUB-D9 FEM ALE CONNECTOR SUBD9 FEMALE COUDE HEADER 24X2 2x24 Headers CONNECTOR SIP2 Connector M 2cts TA CONNECTOR SIP4 Connector M right angle 4cts TA CONNECTOR SIP6 R Connector M right angle 6cts TA PUSH-BUTTON PUSH BUTTON SWITCH Switch ON/OFF SW KEY-SPDT Switch ON/ON CRYSTAL Crystal 16MHz CRYSTAL Crystal 32.768KHzz 22pF 4.7pF dummy 10nF 100nF Part Diam: 2.5mm SM RIGHT ANGLE B PITCH:2,54mm or 2,84mm with harpoons . . . . SM D 09 03201 02 montage droit 500mA type 1K2 . HC49/S HC49/S 16M Hz . . . . . . . . . . . . . . PART NUM BER 'FCN-724P036-AU/S FCN-724P036-AU/S' BARETTE DE . PART NUM BER 'FCN-724P036-AU/S FCN-724P036-AU/S' BARETTE Socket Socket . . . SAMTEC . . . . . . Kony Kony . Fujitsu SO20 Philips SO16 M AXIM SM specific General Semic D SOT-223 National SO . . Vrrm=50 If=1.0 Ifsma=50.0 Vf=1.1 Ir=5µ Kemet Kemet Philips Philips Philips Philips Philips Philips Philips Philips Cermet Siemens Siemens Siemens ON Kemet Kemet Kemet Kemet M anufacturer CASE T356 CASE 0805 CASE 0603 CASE 0603 CASE 0603 CASE 0603 CASE 0603 CASE 0603 CASE 0603 CASE 0603 T63XB T63XB PLCC-2 PLCC-2 . SM A CASE 0805 CASE 0603 CASE 0603 CASE 0805 CASE 0805 Package 16V-20/+80% 16V-20/+80% 1/16W-5 1/16W-5%SM D 1/16W-5 1/16W-5%SM D 1/16W-5 1/16W-5%SM D 1/16W-5 1/16W-5%SM D 1/16W-5 1/16W-5%SM D 1/16W-5 1/16W-5%SM D 1/16W-5 1/16W-5%SM D 1/16W-5 1/16W-5%SM D 1/4W-5%SMD LGT679-CO LGT679-CO LED Green TOPLED 2mA SMD LST679-CO LST679-CO LED Red TOPLED 2mA SM D LPM LED Green Mini TOPLED 10mA SM 670 D SM Vf=1.1 If=1.0 Vrrm=1000 D 50V-5%Ceramic 50V-5%Ceramic 50V-5%Ceramic 50V-10%Ceramic 50V-10%Ceramic Tech. Caracteristics Appendix B: Bill of Materials Appendix B: Bill of Materials Figure 4-2. Bill of Materials Table AT89STK-08 AT89STK-08 Hardware User Guide Appendix C: Board Schematics Appendix C: Board Schematics AT89STK-08 AT89STK-08 Hardware User Guide 4-13 4368A80C51 80C5111/04 Appendix C: Board Schematics Figure 4-3. AT89STK-08 AT89STK-08 Schematics (1 of 4) 4-14 4368A80C51 80C5111/04 AT89STK-08 AT89STK-08 Hardware User Guide Appendix C: Board Schematics Figure 4-4. AT89STK-08 AT89STK-08 Schematics (2 of 4) AT89STK-08 AT89STK-08 Hardware User Guide 4-15 4368A80C51 80C5111/04 Appendix C: Board Schematics Figure 4-5. AT89STK-08 AT89STK-08 Schematics (3 of 4) 4-16 4368A80C51 80C5111/04 AT89STK-08 AT89STK-08 Hardware User Guide Appendix C: Board Schematics Figure 4-6. AT89STK-08 AT89STK-08 Schematics (4 of 4). AT89STK-08 AT89STK-08 Hardware User Guide 4-17 4368A80C51 80C5111/04 Appendix D: References/Acronyms Appendix D: References/Acronyms 4.1 References AT89C51Rx2 Product Datasheet. 4.2 Acronyms FLIP: FLexible In-system Programming ISP: In-System programming LPC: Low Pin Count microcontroller HPC: High Pin Count microcontroller (by opposition to LPC) 4-18 4368A80C51 80C5111/04 AT89STK-08 AT89STK-08 Hardware User 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 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 literature@atmel.com Web Site http://www.atmel.com © Atmel Corporation 2004. Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company's standard warranty which is detailed in Atmel's Terms and Conditions located on the Company's web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel's products are not authorized for use as critical components in life support devices or systems. © Atmel Corporation 2004. All rights reserved. Atmel®, logo and combinations thereof are registered trademarks, and Everywhere You Are(SM) are the trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. Printed on recycled paper. 4368A80C51 80C5111/04 /xM