problems with Timers (by Ilie)
Timers of software do not correspond with reality , on output I have a led and watched the clock.
Pin soft time Realy Time
33 6 sec 1.35 min (95 sec)
34 50x60=3000ms(3sec) 1min(60sec)
I do not understand why, in reality (physical) on electronic board are differences over the software program ?
Thanks
(no subject) (by Jonathan Westhues)
My guess would be that the processor is not running with the clock frequency that you specified to LDmicro.
In particular, note that it's running around 6/95 ~ 1/16 as fast as you expected. You specified a clock frequency of 16 MHz, so that corresponds to an actual clock frequency of 1 MHz.
This is exactly what would happen if you neglected to program the fuses, since the ATmega32 runs off a 1 MHz RC oscillator by default. Check CKSEL, and the rest of the configuration bits.
(no subject) (by Ilie)
Thanks so much for kindness, I do with avrstudio with picture settings and push progam.
It work for that long time, but I did, the settings are on the external quartz 16mhz.
Thank you veri much.