Atmel ATSTK600 500 Starter Kit and Development System. ATSTK600 ATSTK600 Fiche De Données

Codes de produits
ATSTK600
Page de 61
 
42 
AVR079 
8133A-AVR-04/08 
This parameter is intended to be used as a way of telling if the power on STK600 has 
been lost or turned off and then back again. 
This way, the host software can tell if the programmer needs to be initialized again 
before continuing with its operation. 
If the returned value is 0 the CMD_SET_CONTROL_STACK must be executed 
before continuing with any high voltage programming commands. 
11.8 PARAM_DISCHARGEDELAY 
This parameter sets a time period for which the reset line has a higher resistance for 
each time it is toggled. 
The purpose is to reduce the maximum current caused by the discharge/recharge of 
a decoupling capacitor connected to the reset pin. 
When the reset is toggled a resistor of 510ohm will be switched in, which reduces the 
peak current to an acceptable level for the internal components of the STK600. 
The delay should be set to: t>510ohm*C 
If no capacitor is connected this parameter could be set to 0. 
11.9 PARAM2_AREF0 
The parameter value is voltage in volts x100, i.e. a parameter value of 449 (decimal) 
corresponds to 4.49V.  
The maximum value is 5.5V, or parameter value 550. 
11.10 PARAM2_AREF1 
Same as for AREF0. 
11.11 PARAM2_CLOCK_CONF 
This is a two-byte value, which configures the chip oscillator. 
Table 11-3. Two-byte value. 
D15 D14 D13 D12 D11 D10 D9   
D8 
OCT3 OCT2 OCT1 OCT0 DAC9 DAC8 DAC7 DAC6 
 
Table 11-4. Two-byte value. 
D7 D6 D5 D4 D3 D2 D1 D0 
DAC5 DAC4 DAC3 DAC2 DAC1 DAC0 X 
 
The frequency is given by the formula: 
Equation 11-1. Frequency 
1024
2
2078
2
DAC
f
OCT
=