background image

Page 

2

STK300 User Manual

Copyright © Kanda Systems Ltd. 1999.

All information contained in this publication, including product data, diagrams and
charts, represent information on products at the time of publication, and are subject to
change by Kanda Systems Ltd. without notice due to product improvements or other
reasons.
Kanda Systems Ltd. assumes no liability for the accuracy or use of the information.

Kanda Systems Ltd. assumes no responsibility for any damage, or infringement of any
third-party’s rights, originating in the use of any product data, diagrams, charts or
circuit application examples contained in this publication.

All copyright and trademarks are recognized and are the property of their owners.

No part of this publication may be reproduced or distributed in any form or by any
means, or stored in a database or retrieval systems, without the prior written
permission of Kanda Systems Ltd., except in the case of brief quotations embodied in
critical articles and reviews.

© Copyright 1999 Kanda Systems Ltd. all rights reserved.

Version 1

Kanda Systems Ltd.
Unit 17/18
Glanyrafon Enterprise Park
Aberystwyth
Ceredigion
SY23 3JQ
UK

Содержание STK300

Страница 1: ...Page 1 STK300 USER MANUAL Published by KANDA SYSTEMS LTD www kanda com...

Страница 2: ...ngement of any third party s rights originating in the use of any product data diagrams charts or circuit application examples contained in this publication All copyright and trademarks are recognized...

Страница 3: ...XT file included with the software Device Support The system software currently has support for the following devices AVRMEGA103 AVRMEGA103L AVRMEGA603 AVRMEGA603L Upgrades for new devices will be ava...

Страница 4: ...nd the following items in the box Main Board 1 Disk set ISP Dongle ISP Ribbon Cable System Requirements The minimum hardware and software requirements are 80386 processor or above 486 or above recomme...

Страница 5: ...d 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 will need to change the...

Страница 6: ...e given in the table overleaf Plug in MEGA board here Analog I P Port A Digital Port B Header Port C Header Port D Jumpers Disable Switches Port D Header Misc Header for non port pins 8 switches on Po...

Страница 7: ...eference if LK1 cut then EXTERNAL REF from header ONBOARD POT Closed CUT Under Board LCD Contrast If Cut add extra resistor Contrast Pot Closed External Connections All Ports are brought out to edge o...

Страница 8: ...PCs especially laptops programming problems may occur if the Bios Parallel Port settings are set to EPP Version 1 7 If programming problems do happen ensure that the Parallel Port settings in your BI...

Страница 9: ...ia the View menu The main menu details file and programmer operations and the configuration information is shown just below the menu bar A status indicator at the bottom of the screen shows whether an...

Страница 10: ...the operating voltage Select the required level of Vcc Vdd Most programming operations are at 5v even if the voltage is set differently Check the Atmel datasheets for voltages that can be used on the...

Страница 11: ...PROM buffer window respectively If lock bits are selected the security bits are programmed according to the Security Settings drop down list described above If Fuses are chosen a dialog box appears wi...

Страница 12: ...ta in the device If you are changing data then you cannot change any programmed bit from a 0 to a 1 without erasing the device first You can however change a bit from a 1 to a 0 So BB could be changed...

Страница 13: ...oftware and device support this function Run Runs the program downloaded to the device on the board Auto Program All operations selected in the Auto Program Options are carried out Auto Program Option...

Страница 14: ...to be programmed into the device is loaded into this buffer by the File Load Flash option or read from the device by the Device Read Flash option The size of the buffer changes to mirror the Flash mem...

Страница 15: ...the messages displayed right click and select Clear Status Status Indicator Displays a visual result of the current operation Red means that the operation failed Yellow means it is in progress and Gr...

Страница 16: ...sert JP1 jumper closed Jumper JP2 is used to set Brown out detector voltage For Brown Out 5V insert jumper JP2 jumper closed For Brown Out 3 3V remove jumper JP2 jumper open This should be set to the...

Страница 17: ...ather than operating randomly The brown out detector must be set to the same voltage as the circuit voltage Vcc 3 3V or 5V For 3 3V operation jumper JP2 must be removed jumper open and for 5V operatio...

Страница 18: ...External Connections All the ports are brought out to headers on the edge of the board In addition to the port pins each header has a connection for ground and Vcc to supply external circuits Note thi...

Страница 19: ...beled Analog for the A D inputs on Port F which is input only A 10V to 10V supply is provided on the connector marked Op Amp next to the crystal A lead from this connector can be used for an external...

Страница 20: ...if the RS232 is being used Using Real Time Clock A 32768 Hz crystal is connected to TOSC1 and TOSC2 pins Pin 19 and Pin 18 This can be used to generate a 1 second pulse by setting Timer 0 to Asynchron...

Страница 21: ...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 re testing Using Expansion Header The expansion hea...

Страница 22: ...rside of board marked cut This board is not designed for use with back lit LCD modules so the extra connections needed are not included and the power supply will not supply the current required The LC...

Страница 23: ...such as a 4053 or wire directly to the Pins of the device Without a multiplexer chip Serial Communications and SPI port will be unusable In addition the system 5 Volts and Ground need to be connected...

Страница 24: ...and no communications are required If Outputs are needed or RS2232 connections especially higher than a few milliamps then the multiplexed circuit is preferable Using an analogue multiplexer IC PB1 PE...

Страница 25: ...istor 1K5 is fine If you use this connection then the output will be low 0 during programming and a 1 at all other times Note that it will float if the programmer is not active i e the software is not...

Страница 26: ...to select i e the one on the left Alternatively use the File Menu and select Application Builder Start Window The first step is to select the device you want to use from the list on the top left label...

Страница 27: ...Change this value if you require the stack elsewhere in internal or external SRAM By default if the box is clear this value is set to be zero Note AT90S1200 devices have a hardware stack so this optio...

Страница 28: ...eparate page in the Application Builder Ports The ports required are selected in this section Note that Port C is Output only and Port F is input only Port A Port B Port D and Port E are standard inpu...

Страница 29: ...not be required so leave the box unchecked and set the XTALEN bit in the XDIV register when needed XDIV 7 Sleep Mode There are three sleep modes which can be preset in this option When sleep mode is r...

Страница 30: ...utput Compare Mode or neither PWM Enable becomes enabled when Output Compare is Clear and vice versa PWM Enable This enables Pulse Width Modulation mode for this Timer The resolution is set to 8 bit S...

Страница 31: ...et to 00 in the CPU clock cycle after a match The output can be configured as illustrated Timer 1 Window Timer 1 is 16 bit and is far more complicated than Timer 0 and has many more operating modes St...

Страница 32: ...a constant high level on the output pins depending on the settings of OutA and OutB Therefore you must enter a value in MatchA and MatchB which is less than TOP in order to get the modulation on OC1A...

Страница 33: ...Page 33 Timer 2 Window Timer 2 is an 8 bit Timer Counter Standard Operation...

Страница 34: ...Compare Value Field When the Timer value matches the value set in the Compare Value field which will occur twice every cycle on upcount and downcount the output action that results on PWM2 pin 17 PB7...

Страница 35: ...actual interrupts are checked Interrupts INT0 to INT3 are always low leveled triggered on pin 25 to pin 28 PD0 PD3 To select an interrupt check its box Interrupts INT4 to INT7 are triggered by change...

Страница 36: ...if no individual interrupts are checked The Comparator section is enabled if the Analogue Comparator Interrupt is checked The comparator can be disabled and the cause of the interrupt can be selected...

Страница 37: ...he transmitter and receiver The 9 bit characters box adds an extra character that can be used for parity or extra stop bit purposes SPI The SPI Enable section contains an enabling checkbox If Data ord...

Страница 38: ...data book for information on the dummy conversion needed ADC Free Run Makes the ADC constantly convert continuously updating the ADC Data Register If this box is not checked the ADC operates in Singl...

Страница 39: ...above 100kHz The maximum clock frequency for the ADC is 200KHz 50KHz to 200KHz so the main oscillator must be prescaled appropriately ADC Channels Used Selects which input lines AD7 AD0 are to be used...

Страница 40: ...utput clear The second column controls whether the internal pull up is enabled checked or disabled clear inputs only The third column is greyed until the line is selected as an output The boxes then c...

Страница 41: ...Page 41 Port C Window Port C is output only so the only choice is initial output value If external SRAM is enabled then this port is used for the upper byte of the address and is therefore disabled...

Страница 42: ...Page 42 Port F Window Port F is input only Any bits not used by the ADC can be used for standard input...

Страница 43: ...ar microcontrollers Low cost high performance PC based Logic Analysers and Logical Devices full CUPL Software with Schematic Capture Support Services High volume device programming design Consultancy...

Страница 44: ...cuitry connected to this system such as test boards and modules If any changes are made to the hardware supplied with this system such as a change in the crystal frequency or modifications to tracks o...

Страница 45: ...Page 45...

Отзывы: