![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
STK520 .............................................................................................. user guide
STK520 user guide 3 7510a?avr?08/05 table of contents section 1 introduction............................................................................................1-2 section 2 using the STK520 top module .............................................................2-4 2.1 connecting the STK520 to the stk500 starter kit .................................. 2-4 2.1.1 placing an at90pwm3 on the STK520............................................. 2-4 2.1.2 placing an at90pwm2 on the STK520............................................. 2-5 2.2 programming the avr.............................................................................. 2-7 2.2.1 in-system programming .................................................................... 2-7 2.2.2 high-voltage programming ................................................................ 2-8 2.3 jtagice mkii connector ......................................................................... 2-9 2.4 STK520 jumpers, leds & test points.................................................... 2-11 2.5 dali interface......................................................................................... 2-12 2.6 potentiometer ......................................................................................... 2-13 section 3 troubleshooting guide ........................................................................3-14 section 4 technical specifications......................................................................4-16 section 5 technical support ...............................................................................5-17 section 6 complete schematics .........................................................................6-20 introduction STK520 user guide 1-2 7510a?avr?08/05 section 1 introduction the STK520 board is a top module designed to add at90pwm family support to the stk500 development board from atmel corporation. the STK520 includes connectors and hardware allowing full utilization of the new fea- tures of the at90pwm, while the zero insertion force (zif) socket allows easy to use of so24 & so32 packages for prototyping. this user guide acts as a general getting started guide as well as a complete technical reference for advanced users. notice that in this guide, the word avr is used to refer to the target component (at90pwm2, at90pwm3...) figure 1-1. STK520 top module for stk500 introduction 1-3 STK520 user guide 7510a?avr?08/05 1.1 features ? STK520 is a new member of the successful stk500 starter kit family. ? supports the at90pwm2 & at90pwm3. ? dali hardware interface. ? supported by avr studio ? 4. ? zero insertion force socket for so24 & so32 packages. ? high voltage parallell programming. ? serial programming. ? dali peripherals can be disconnected from the device. ? 6 pin connector for on-chip debugging using jtag mkii emulator. ? potentiometer for the demo application. ? quick reference to all switches and jumpers in the silk-screen of the pcb. using the STK520 top module STK520 user guide 2-4 7510a?avr?08/05 section 2 using the STK520 top module 2.1 connecting the STK520 to the stk500 starter kit connect the STK520 to the stk500 expansion header 0 and 1. it is important that the top module is connected in the correct orientation as shown in figure 2-1. the expand0 written on the STK520 top modul e should match the expand0 written beside the expansion header on the stk500 board. figure 2-1. connecting STK520 to the stk500 board note: connecting the STK520 with wrong orientation may damage the board. 2.1.1 placing an at90pwm3 on the STK520 the STK520 contains both a zif socket for a so32 package. care should be taken so that the device is mounted with the correct orientation. figure 2-2 shows the location of pin1 for the zif socket. using the STK520 top module 2-5 STK520 user guide 7510a?avr?08/05 figure 2-2. pin1 on zif socket caution: do not mount an at90pwm3 on the STK520 at the same time as an avr is mounted on the stk500 board or at the same time as an at90pwm2 is mounted on the STK520 board. none of the devices might work as intended. 2.1.2 placing an at90pwm2 on the STK520 the STK520 contains both a zif socket for a so24 package. care should be taken so that the device is mounted with the correct orientation. figure 2-2 shows the location of pin1 for the zif socket. figure 2-3. pin1 on zif socket pin1 pin1 using the STK520 top module STK520 user guide 2-6 7510a?avr?08/05 caution: do not mount an at90pwm2 on the STK520 at the same time as an avr is mounted on the stk500 board or at the same time as an at90pwm3 is mounted on the STK520 board. none of the devices might work as intended. using the STK520 top module 2-7 STK520 user guide 7510a?avr?08/05 2.2 programming the avr the avr (at90pwm2, at90pwm3...) can be programmed using both spi and high- voltage parallel programming. this section will explain how to connect the programming cables to successfully use one of these two modes. the avr studio stk500 software is used in the same way as for other avr parts note: the at90pwm3 also support self programming, see avr109 application note for more information on this topic. 2.2.1 in-system programming figure 2-4. in-system programming to program the at90pwm3 using isp programming mode, connect the 6-wire cable between the isp6pin connector on the stk500 board and the isp connector on the STK520 board as shown in figure 2-4. the device can be programmed using the serial programming mode in the avr studio4 stk500 software. note: see stk500 user guide for information on how to use the stk500 front-end software for isp programming. using the STK520 top module STK520 user guide 2-8 7510a?avr?08/05 2.2.2 high-voltage programming figure 2-5. high-voltage (parallel) programming to program the avr using high-voltage (parallel) programming, connect the progc- trl to portd and progdata to portb on the stk500 as shown in figure 2-5. make sure that the tosc-switch is placed in the xtal position. as described in the stk500 user guide (jumper settings), mount the bsel2 jumper in order to high-voltage program the atmega devices. this setting also applies to high- voltage programming of the avr. the device can now be programmed using the high-voltage programming mode in avr studio stk500 software. note: see the stk500 user guide for information on how to use the stk500 front- end software in high-voltage programming mode. note: for the high-voltage programming mode to function correctly, the target voltage must be higher than 4.5v. using the STK520 top module 2-9 STK520 user guide 7510a?avr?08/05 2.3 jtagice mkii connector see the following document : ?jtagice mkii quick start guide? which purpose is ?connecting to a target board with the avr jtagice mkii?. this note explains which signals are required for isp and which signals are required for debugwire. figure 2-6 shows how to connect the jtagice mkii probe on the STK520 board. figure 2-6. connecting jtag ice to the STK520 the isp connector is used for the at90pwm3 built-in debugwire interface. the pin out of the connector is shown in table 2-1 and is compliant with the pin out of the jtag ice available from atmel. connecting a jtag ice to this connector allows on-chip debug- ging of the at90pwm3. more information about the jtag ice and on-chip debugging can be found in the avr jtag ice user guide, which is available at the atmel web site, www.atmel.com. using the STK520 top module STK520 user guide 2-10 7510a?avr?08/05 figure 2-7. jtag connector table 2-1. STK520 isp connector pinout squid cable colours target pins STK520 isp pinout target pins squid cable colours grey miso 1 2 vtg purple black sck 3 4 mosi red green reset 5 6 gnd brown using the STK520 top module 2-11 STK520 user guide 7510a?avr?08/05 2.4 STK520 jumpers, leds & test points table 2-2. STK520 jumpers jumper function description jp1 xt1 connect stk500 xt1 circuit to avr pe1 jp2 xt2 connect stk500 xt2 circuit to avr pe2 jp3 reset connect stk500 reset circuit to avr pe0 jp4 rx connect rxd dali to rxd input of the avr jp5 tx connect txd dali to txd output of the avr jp6 vtg useful to measure the vcc and avcc current jp7 ana ref connect stk500 ref circuit to avr aref jp8 d2a isolate d2a outpu jp9 amp0+ isolate amp0+ input jp10 amp0- isolate amp0- input jp11 amp1+ isolate amp1+ input jp12 amp1- isolate amp1- input jp13 potentiometer supply from analog v ref jp14 potentiometer output to adc0 input table 2-3. STK520 leds led function description d3 rx rx data detected by dali interface d4 tx tx data sent to dali interface table 2-4. STK520 test points test point function description t1 gnd electrical ground of the STK520 board t2 gnd electrical ground of the STK520 board t3 aref aref pin of the avr t4 d2a d2a output of the avr t5 dali rectified dali line t6 tx tx data sent to dali interface t7 rx rx data detected by dali interface using the STK520 top module STK520 user guide 2-12 7510a?avr?08/05 2.5 dali interface STK520 includes a non-isolated dali interface. the dali interface converts avr rxd and txd pin level to dali compatible electrical level. it acts as a duplexer, so it inter- faces the two rxd and txd lines to one dali line. to use the dali interface, it is necessary to mount txd and rxd jumpers. when these jumpers are removed, the avr is not inflenced by the interface. the txd and rxd avr pins are also available on stk500 pd3 and pd4 connectors. thanks to a diode bridge, the dali connector is not polarized. figure 2-8. dali figure 2-9. dali connector avr txd rxd dali transmitter dali receiver jp4 jp5 pd4 pd3 dali lin e bridge rectifier j3 rx led & test point tx led & test point using the STK520 top module 2-13 STK520 user guide 7510a?avr?08/05 2.6 potentiometer the STK520 includes a potentiometer. to use the potentiometer, please mount jp13 and jp14 jumper. the potentiometer is supplied by aref and it delivers a voltage to the avr adc0 input. figure 2-10. potentiometerr 2.6.0.1 xt1 jumper as the jumper jp1 (xt1) is short circuited by printed circuit board wire, it?s always on. so it?s not mounted. to open this jumper, it?s necessary to cut the wire between jp1 pin (solder side). it?s possible to open xtal1 circuit which comes from stk500 board by removing the xtal1 jumper on the stk500 board. 2.6.0.2 reset jumper as the jumper jp3 (reset) is short circuited by printed circuit board wire, it?s always on. so it?s not mounted. to open this jumper, it?s necessary to cut the wire between jp3 pin (solder side). it?s possible to open reset circuit which comes from stk500 board by removing the reset jumper on the stk500 board. STK520 user guide 3-14 rev. 7510a?avr?08/05 section 3 troubleshooting guide note: 1. see the application note ?avr065: lcd driver for the STK520 lcd? on how to con- trol the lcd-display or the the application note ?avr064: STK520 ? a temperature monitoring system with lcd output?. table 3-1. troubleshooting guide problem reason solution serial programming does not work isp cable not connected. connect the isp cable according to figure 2-4. stk500 target voltage error. please refer to the at90pwm3 datasheet for the serial programming voltage limits. adjust the target voltage on the stk500 board accordingly. the rstdisbl fuse is programmed. use parallel programming to unprogram the rstdisbl fuse. parallel programming does not work. cables not connected properly. please refer to figure 2-5 for correct parallel programming setup. stk500 target voltage error. please refer to the at90pwm3 data sheet for the parallel programming voltage limits. adjust the target voltage on the stk500 board accordingly. emulation does not work. isp cable not connected. connect the isp cable according to figure 2-7. conflict with stk500 reset remove reset jumper on stk500 board dwen fuse is not programmed please set the dwen bit using parallel programming the rstdisbl fuse is programmed. use parallel programming to unprogram the rstdisbl fuse. technical specifications STK520 user guide 4-16 7510a?avr?08/05 section 4 technical specifications system unit physical dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 x 119 x 27 mm weight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 0 g operating conditions voltage supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1,8v - 5,5v temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0 c - 50 c dali interface maximum dali voltage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25v maximum input dali current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500ma technical support STK520 user guide 5-18 7510a?avr?08/05 section 5 technical support for technical support, please contact avr@atmel.com. when requesting technical sup- port, please include the following information: ? which target avr device is used (complete part number). ? target voltage and speed. ? clock source and fuse setting of the avr. ? programming method (isp or high-voltage). ? hardware revisions of the avr tools, found on the pcb. ? version number of avr studio. this can be found in the avr studio help menu. ? pc operating system and version/build. ? pc processor type and speed. ? a detailed description of the problem. STK520 user guide 6-18 rev. 7510a?avr?08/05 section 6 complete schematics on the following pages the complete schematics and assembly drawing of the STK520 revision a are shown. complete schematics 6-19 STK520 user guide 7510a?avr?08/05 figure 6-1. schematics, 1 of 4 5 5 4 4 3 3 2 2 1 1 d d c c b b a a xt1 xt2 ref pe0 pd2 pb5 pc3 pb6 pd4 pb7 pd6 pd7 pc5 pb[7..0] pd1 pb0 pc4 pb1 pc7 pd3 pb4 pc0 pc6 pd0 pb3 pd5 pc1 pc[7..0] pc2 pb2 pd[7..0] pe1 pe2 pe[2..0] reset pe2 pe[2..0] pb[7..0] pc[7..0] pd[7..0] vtg vtg vtg vtg areft pe2 pe1 pe0 title size document number rev date: sheet of complete schematics STK520 user guide 6-20 7510a?avr?08/05 figure 6-2. schematics, 2 of 4 5 5 4 4 3 3 2 2 1 1 d d c c b b a a pd4 pd2 pd3 pd3 pd4 pd4 pe0 pd[7..0] pd[7..0] pe[2..0] vtg vtg vtg vtg vtg title size document number rev date: sheet of complete schematics 6-21 STK520 user guide 7510a?avr?08/05 figure 6-3. schematics, 3 of 4 5 5 4 4 3 3 2 2 1 1 d d c c b b a a pc7 pc5 pc4 pc3 pc2 pc1 pc0 pe2 pe1 pe[2..0] pb2 pb4 pb0 pb[7..0] pb3 pb1 pb5 pb6 pc6 pd7 pd6 pd5 pd4 pd3 pd2 pd0 pd[7..0] pb7 pc[7..0] pd1 pe0 pc[7..0] pb[7..0] pe[2..0] pd[7..0] avtg vtg areft pb4_so pb3_so vtg_so avtg aref_so title size document number rev date: sheet of complete schematics STK520 user guide 6-22 7510a?avr?08/05 figure 6-4. schematics, 4 of 4 5 5 4 4 3 3 2 2 1 1 d d c c b b a a pd1 pb6 pb5 pb2 pb1 pb0 pb[7..0] pe0 pe1 pe[2..0] pb7 pd7 pd5 pd4 pd3 pd2 pd0 pd[7..0] pd6 pe2 pb[7..0] pe[2..0] pd[7..0] vtg_so avtg aref_so pb3_so pb4_so title size document number rev date: sheet of complete schematics 6-23 STK520 user guide 7510a?avr?08/05 figure 6-5. assembly drawing, 1 of 1 jumper printed on recycled paper. 7510a?avr?08/05 /0m disclaimer: the information in this document is provided in connec tion with atmel products. no license, express or implied, by estoppel or otherwise,to anyintellectu- alproperty right is granted by this document or in connection with the sale of atmel products. except as set forth in atmel?s terms and condi-tions of sale located on atmel?s web site, atmel assumes no liability wh atsoever and disclaims any express, implied or statutorywar- ranty relating to its products including, but not limited to, the implied warranty of merchantability, fitness for a particu- larpurpose, or non-infringement. in no event shall atmel be li able for any direct, indirect, co nsequential, punitive, special or inciden-tal damages (including, without limitation, damages for loss of profits, business interruption, or loss of informa- tion) arising outof the use or inability to use this document, even if atmel has been advised of the possibility of such dam- ages. atmel makes norepresentationsor warranties with respect to the accuracy or completeness of the contents of this document and re serves the right to make changes to specificationsand product descripti ons at any time without notice. atmel does not make any commitment to update the information contained herein. unless specifically provided otherwise, atmel products are no t suitable for, and shall not be used in, automotive applications. atmel?s products are not intended, authorized, or warranted for useas components in applications intended to support or sustainlife. ? atmel corporation 2005 . all rights reserved. atmel ? , logo and combinations thereof, are registered trademarks, and everywhere you are sm are the trademarks of atmel corporati on or its subsidiaries. other terms and product names may be trademarks of others. atmel headquarters atmel operations corporate headquarters 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 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 memory 2325 orchard parkway san jose, ca 95131 tel 1(408) 441-0311 fax 1(408) 436-4314 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 scottish enterprise technology park maxwell building east kilbride g75 0qr, scotland tel (44) 1355-803-000 fax (44) 1355-242-743 rf/automotive theresienstrasse 2 postfach 3535 74025 heilbronn, germany tel (49) 71-31-67-0 fax (49) 71-31-67-2340 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 e-mail literature@atmel.com web site http://www.atmel.com |
Price & Availability of STK520
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |