This photo is not contractual and may be modified without notification by Atmel.
AT89STK-11 Hardware User Guide2-4
7676B–8051–08/07
Hardware Description
Power Supply
Full UART
External
Power
PC Host
C51
P2
P3
EA
RST
ISP
Expansion
TWI
P0
P1
SPI
INT0
Leds:
PWR
ALE
16MHz
Quartz
PLCC44
3V or 5V
INT1
Area
User LEDsUser Push Buttons
2.2Block Diagram
Figure 2-2. Block Diagram of AT89STK-11
Figure 2-2 shows the functional block diagram of the AT89STK-11, with the I/O usage.
2.3Power Supply
2.3.1Power Supply
Sources
2.3.1.1JACK PWR
Connector
The on-board power supply circuitry allows various power supply configurations. This
gives the user the capability to power the devices in the 3V and in the 5V voltage range.
The power supply source can come from two different and exclusive sources:
either from the JACK PWR connector
either from the 2-point sip EXT connector.
The Jack power connector implemented on board is a female Jack connector with internal 2.1mm conductor. It requires a male JACK outlet with 2.1mm capability.
No specific polarization is mandatory as on-board diode rectifier gives a protection
against inadvertent polarization invertion.
When using the JACK power supply, the board is powered with a 5V voltage.
2-5AT89STK-11 Hardware User Guide
7676B–8051–08/07
Hardware Description
Figure 2-3. Male JACK Outlet and Wires
Note:Do not mount more than one power supply source on AT89STK-11 Board.
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.3.1.2External EXT
connector
The battery power connector implemented on board is a male two point SIP connector.
It requires an external power cable with a female 2 points connector.
When powered though this interface, polarization is mandatory as no protection is given
on board.
The EXT power supply circuitry support input supply from 2.7V up to 5.5V DC.
Figure 2-4. EXT PWR Female Connector / Cable
Note:Do not mount more than one power supply source on board.
Note:Keep SP1 closed when using the EXT input
2.4Reset
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.1Power-on RESET The on-board RC network acts as power-on RESET.
2.4.2RESET Push ButtonBy pressing the RESET push button on the board, a warm RESET of the microcontroller
is performed.
AT89STK-11 Hardware User Guide2-6
7676B–8051–08/07
Hardware Description
2.5Features
This section presents the various features such as leds, buttons, etc... available on the
board.
2.5.1Push-Buttons RESET can be used to apply warm reset to the MCU
ISP can be used with RESET to apply hardware conditions resulting in bootloader
start
INT0 push-button can be used to activate INT0 input
INT1 push-button can be used to activate INT1 input
2.5.2User Push buttons PB0, PB1, PB2 and PB3 are four push-buttons available for user application
They are made available on a 6 pins socket and in the expansion area so user can use
them according to the application needs.
2.5.3Indicator LEDs PWR led is driven by input of voltage regulator
Rx led is connected to Rx of UART MCU (SP3 jumper can be soldered or not)
Tx led is connected to Tx of UART MCU (SP4 jumper can be soldered or not)
ALE led is connected to ALE of MCU
2.5.4User LEDs LED0, LED1, ... LED7 are height leds available for user application
They are made available on a 10 pins socket and in the expansion area so user can use
them according to its application needs.
2.5.5PortsPort 0 and Port 2 are made available on two 10 pins sockets to ease user interconnec-
tion to the MCU.
The are also available on the expansion area.
2.5.6ClocksAn external clock can be connected to the board to control externally XTAL1 input clock
of MCU by using the XTAL1 from the expansion area.
In the same way, another external clock can be connected to control externally the PCA
clock (P1.2/ECI).
2.6Interfaces
2.6.1TWI The TWI connector is controlled by hardware TWI I/O of MCU (for Product including this
feature). The signals sda and scl are controlled by the TWI ports of MCU.
This TWI bus is also connected to the expansion area.
External TWI pull-ups are not provided on the AT89STK-11.
2.6.2SPI The SPI connector is directly connected to SPI I/O of the MCU.
2.6.3RS-232The DB9 connector is connected to on-chip UART peripheral through a standard RS232
driver/receiver. Two leds are provided to indicate activity on Rx and Tx lines (They can
be disconnected removing solder pad SP3 and SP4).
2.6.4OCDThe On-Chip Debug interface (OCD) is provided on a 6-pin connector.
2-7AT89STK-11 Hardware User Guide
7676B–8051–08/07
Hardware Description
This interface enables the debug of the application through ATMEL OCD dongle for
AT89C51RE2/IE2/RD3/IE3 only.
2.6.5Expansion AreaIn addition to a 16x29 pad array, two rows of pads are given on the right side of the
board to offer all the MCU signals tu user application. Any application expansion can be
built on board through this interface.
2.7Board Settings
The C51 Demo Board has the following settings:
Jumpers
Solder straps
Test points
2.7.1JumpersThe following table provides an overview of the jumpers, the solder straps and their
default configuration.
Table 2-1. Jumpers and Switches Overview
ReferencePCB LabelFunctionDefault
Jumper J11 J11RTS of RS232OFF
Jumper J12 J12DTR of RS232OFF
Jumper J13J13OFF
Figure 2-5. Jumper Setting Definition
2.7.2Solder StrapsSolder straps allow to modify the board configuration for specific usage.
Table 2-2. Solder Straps Overview
ReferencePCB LabelFunctionDefault
Solder strap SP1SP1External Power Supply IsolationSoldered
Test points are used to check the internal power supply of the microcontroller.
Table 2-3. Table of Test Points
ReferencePCB LabelFunction
TP1VCC
TP2,TP3GNDTest point for GND
Test point for Vcc
2-9AT89STK-11 Hardware User Guide
7676B–8051–08/07
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.1Board Configuration To use ISP mode, no specific configuration is necessary on the board. Only make sure
that the EA pin of the product is tied to Vcc (internal code execution only).
3.1.2Operating Mode To enter in ISP mode, press both the RESET and ISP buttons simultaneously.
First release the RESET button and then the ISP button. The device enters in
ISP mode.
3.2Auto ISP Mode
3.2.1Board Configuration To use Auto ISP mode, put the board in the same configuration as ISP mode and also:
AT89STK-11 Hardware User Guide3-10
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.
Close RTS (J11) jumper
Close DTR (J12) jumper
7676B–8051–08/07
ISP Programming
3.3FLIP Software
3.4Batchisp
Software
FLIP software runs on Windows® and Linux® Operating Systems. FLIP supports in-system programming of Flash C51 devices through RS232. The latest version of FLIP
software can be downloaded from the Atmel web site, www.atmel.com.
Batchisp is an In-System Programming application which can perform the same operations as FLIP but is designed to be launched from the DOS command window.
The main purpose of batchisp is to automate ISP operations on several parts. It may
also be launched from an IDE like Keil's uVision®2 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 signals which can control on the
Board the RST and PSEN I/O of MCU.
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906, USA
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
Literature Requests
www.atmel.com/literature
Disclaimer: The informa tion in this documen t is provided in conn ect ion with Atmel products. No licen se, express or implied, by estoppel or other wis e, to any
intelle ctual proper ty right is granted by this document or in c onnection with the sale of A tme l 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
repr ese nta tio ns or warr anties with resp ect to the accuracy or c omp leteness of the con ten ts o f th is document and reserves the right to m ake changes t o specifications
and product de scription s at an y ti me withou t no tice. Atmel does not ma ke any commit ment to update the informatio n co nta ine d he rein. Unl ess specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’sAtmel’s products are not intended, authorized, or warranted for use as
components in applications intended to support or sustain life.