--- In AVR-Chat@yahoogroups.com, "user1295" <user1295@y...> wrote: > > I'm taking my first mircoprocessing class and we are working with > the atmel 1200 chip and I do not know how to program a clock cycle > for it/ I am using AVR studio 4 if that matters. If you can help > me I will love it. If you would like to see the lab that I am > working from just let me know and I will get it to you "programming the clock cycle" is an unknown term. Does this refer to the frequency that the 1200 will operate? To set this frequency, it is most common to use a crystal between pins 4 and 5. The 1200 chip clock will be the frequency of the crystal. With the 1200 it is also possible to use an internal clock as the chip system clock. This is called setting the configuration fuses and requires a parallel programmer with a +12v supply. I believe that you can also feed a +5volt square wave into one of the crystal pins to operate the system clock. Guitar foot pedal digital delays often set the precise amount of delay with a potentiometer knob. These knobs control the frequency of a square wave generator ( often the VCO section of a 74HC4046 chip) that is acting as the system clock for the processor making the delay. Some newer models of AVR allow setting the internal system clock of the chip by changing configuration fuse settings. The Tiny26 can be set to 1, 2, 4 ,8, or 16MHz. The 1200 AVR (which is the oldest chip in the family) almost always has its system clock set by a crystal. Sure, upload the microcontroller lab page. We love doing other people's homework.
Message
Re: 90S1200
2005-02-02 by alan_probandt
Attachments
- No local attachments were found for this message.