background image

Board Applications

9-4

STK200 Starter Kit

Analog Port: Marked on Board

The A/D converters can use either the on-board (Internal) Voltage Reference or an
external Voltage Reference.

9.4.1

Using Internal 
Reference

To use the internal on-board Voltage Reference, the pot marked “AREF” is used to set
the voltage level. The voltage level can be measured with a meter connected to the
header pins labeled “Analog Ref” and “Analog Gnd” in the above diagram or from the
two holes marked “Meter +” and “Meter -”.

9.4.2

Using External 
Reference

To use the A/D converters with an external Voltage Reference, the link marked “LK1”
must be cut. The voltage is applied to the pins marked “Analog Ref” and “Analog Gnd”
on the Analog header—see diagram above.

9.5

Using External 
RAM

The AT90S8515 and AT90S4414 can be used with external SRAM. A socket is provided
for a 28-pin RAM chip and for an address latch chip. These are next to the Atmel logo on
the board.

9.5.1

RAM 
Recommendations

A low-power 62256 SRAM is suggested with an access time of 70 ns. If a very fast RAM
is required, the crystal frequency may need to be increased. If a much slower SRAM is
used, the SRAM Wait State bit must be enabled in user software—see data book. The
layout of the 28-pin RAM socket is shown below, and any RAM with this pin-out could be
used.

RAM Socket pin layout

9.5.2

Address Latch

The board connections are for a 74HC573 device. This device will operate reliably with
the 4 MHz crystal supplied but if a faster crystal is inserted, a faster version of this
device may be required—74AHC573 or 74FHC573. Note that this option will alter the
EMC characteristics of the board and the CE mark will no longer be valid without retest-
ing.

CUT OUT MARKED

 ON BOARD

FOR ORIENTATION

NOT CONNECTED ON

28-PIN SOCKET

40-PIN DEVICES

ADC0 - ADC7 CONNECTED TO PORT A

PA0 - PA7

28-PIN DEVICES

ADC0 - ADC5 CONNECTED TO PORT C

PC0 - PC5

1

2

3

4

5

6

7

8

9

10

11

12

13

14

28

27

26

25

24

23

22

21

20

19

18

17

16

15

A14

A12

A7

A6

A5

A4

A3

A2

A1

A0

I/O0

I/O1

I/O2

VSS

VCC

WE

A13

A8

A9

A11

OE

A10

CS

I/O7

I/O6

I/O5

I/O4

I/O3

Summary of Contents for STK200

Page 1: ...Functions 4 2 4 2 External Connections 4 2 Section 5 Installing the Software 5 1 5 1 Windows 95 5 1 5 2 Windows 3 1 5 1 Section 6 How to use the Software 6 1 6 1 Projects 6 1 6 2 Files 6 1 6 3 Editing...

Page 2: ...tage Selection 7 2 7 3 Power and Lead Connections 7 2 7 4 Programming 8 Pin Parts 7 2 Section 8 Brown Out Detector 8 1 Section 9 Board Applications 9 1 9 1 Using Switches and LEDs 9 1 9 1 1 Using 8 Pi...

Page 3: ...ction 10 In System Programming 10 1 10 1 ISP Lead Layout 10 1 10 2 ISP Header Layout 10 2 10 3 Interface Using Resistors 10 2 10 4 Using an Analog Multiplexer IC 10 2 Section 11 Technical Support 11 1...

Page 4: ...Table of Contents iv...

Page 5: ...rmation on this product and any manual errata please read the AVR_ISR_REL TEX file included with the software or on the Atmel web site 1 1 Device Support The system software currently has support for...

Page 6: ...Introduction 1 2 STK200 Starter Kit...

Page 7: ...ion Board Disk set including Atmel AVR ISP software In System Programming ISP Dongle ISP Ribbon Cable AT90S8515 8PC Microcontroller 2 2 System Requirements The minimum hardware and software requiremen...

Page 8: ...Getting Started 2 2 STK200 Starter Kit...

Page 9: ...o the Dongle case and the other end is inserted into the programming interface on the board as shown The Dongle case is connected to one of the printer ports on the PC If this is not LPT1 then you wil...

Page 10: ...Connecting the Hardware 3 2 STK200 Starter Kit...

Page 11: ...CONTRAST ADJUSTMENT LCD CONNECTOR ANALOG REFERENCE VOLTAGE ADJUSTMENT 28 PIN A D PARTS FUTURE 40 PIN A D PARTS LK1 CUT FOR A D EXTERNAL REFERENCE ANALOG I P PORT A DIGITAL SOCKET FOR 40 PIN DIGITAL PA...

Page 12: ...load cannot exceed 100 mA for all headers combined See Using External Connections on page 9 1 and Using Analog Parts on page 9 3 for details Jumper Function Open Closed Default JP1 Voltage select 5V...

Page 13: ...EXE as the filename Press the OK button and the software installation program will begin The software will then be installed onto your computer and an icon and Program Group will be added to Program M...

Page 14: ...Installing the Software 5 2 STK200 Starter Kit...

Page 15: ...this information together for you so you do not have to remem ber and reload all of the files every time you use the programmer It will also allow you to store information such as the project name and...

Page 16: ...k on the right area of the window or press Ctrl A Once you have entered the required data then you can save the contents of the current window by using either the Save icon on the toolbar or by pressi...

Page 17: ...ou to open an existing project all associated files and settings Choose Open Project from the Project menu or use the speed button 6 8 Save Project It is available on the Project menu and the toolbar...

Page 18: ...ected value is larger than the buffer size you are informed Note The buffer size changes depending on the device selected 6 15 Find It is available on the Buffer menu Find is used to search for a hex...

Page 19: ...e appropriate location in the device Note This function will only verify the Program Memory In devices which also have EEPROM Memory available you must use the Verify EEPROM command The Speed button w...

Page 20: ...anager Warning Setting Lockbits may mean that you will be unable to perform further verifica tion on the device and disable further writing to the device However you will be able to re use the device...

Page 21: ...if you use a lot of pre production devices which may not have signature information included or you are using an unsupported device which has the same pro gramming algorithm Use with care 6 29 Edit a...

Page 22: ...How to use the Software 6 8 STK200 Starter Kit...

Page 23: ...er method of checking to see if it is inserted correctly is to check the notches on both the device and the programming socket At the end of the device you will notice a notch cut out There is a notch...

Page 24: ...the Hardware on page 3 1 The power supply 9 15V DC or 7 12V AC is plugged into the power connector 5 5 2 1 Barrel The Power On Off switch is located next to the power connector Insert the device befo...

Page 25: ...jumper JP2 must be removed jumper open and for 5V operation it must be closed These values are approximate and may vary with temperature and other factors If the brown out detector voltage is set to 5...

Page 26: ...Brown Out Detector 8 2 STK200 Starter Kit...

Page 27: ...shed by setting the direction control registers to 0 for input and 1 for output Typical set up code would be ldi r16 ff load immediate into temp storage register out DDRB r16 PORTB LED s is all output...

Page 28: ...it needs a heat sink to supply this current If your circuit will draw more than 1 Amp you may need a separate power supply 9 3 1 20 Pin and 40 Pin Digital Sockets The ports on the 40 pin digital socke...

Page 29: ...witches and the LEDs can be disconnected from the processor To isolate the LEDs remove the jumper set labeled Port B To isolate the switches remove the jumper set labeled Port D 9 4 Using Analog Parts...

Page 30: ...d 9 5 1 RAM Recommendations A low power 62256 SRAM is suggested with an access time of 70 ns If a very fast RAM is required the crystal frequency may need to be increased If a much slower SRAM is used...

Page 31: ...ons needed are not included and the power supply will not supply the current required The LCD can be driven in Memory Mapped or I O Mode see data sheet If the crystal has been changed to a faster crys...

Page 32: ...equired As this board has a 4 MHz crystal the percentage error on the Baud Rate will be between 0 2 and 7 8 Replacing the crystal with a 3 6846 MHz or 4 608 MHz crystal will reduce this error to zero...

Page 33: ...system 5 Volts and Ground need to be connected to the programming lead Do not exceed 5 volts or you may damage your computer 4 75 to 5 25 volts is allowed This warning applies to any ISP system 10 1 I...

Page 34: ...sing an Analog Multiplexer IC The multiplexer select can be driven from the LED connection on the programming lead as can a low power LED with its cathode connected to the LED connection via a suitabl...

Page 35: ...customer support As soon as we are aware of the problem we can solve it and send you an update very quickly via e mail If you wish to communicate via telephone the number is listed below Tel 44 1970...

Page 36: ...Technical Support 11 2 STK200 Starter Kit...

Page 37: ...r pursuant to this Section Buyer shall afford Atmel the opportunity to inspect such goods at Buyer s location and any such goods so inspected shall not be returned to Atmel without its prior written c...

Page 38: ...Appendix II Warranty Statement 12 2 STK200 Starter Kit...

Page 39: ...Appendix II Warranty Statement STK200 Starter Kit 12 3...

Page 40: ...trademarks of Atmel Corporation Terms and product names in this document may be trademarks of others Atmel Headquarters Atmel Operations Corporate Headquarters 2325 Orchard Parkway San Jose CA 95131 T...

Reviews: