Why do we need oscillators and clocks in a - TopicsExpress



          

Why do we need oscillators and clocks in a microcontroller? ans::: In general an oscillator is used ot generate a clock signal. The clock signal generally changes between two or more states with the transition between the two states being very short (this transition is called an "edge"). The purpose of the clock is to help all the parts of the microcontroller work together. The purpose of the clock is to make it easier to know when different parts of the microcontroller are going to change state. This is accomplished by having parts of the chip that can only change state on a clock edge. By knowing the speed of the clock, and how many cycles a particular operation takes to accomplish you can know exactly when the result will be available. The oscillators cycles on and off millions of times a seconds. This is the speed of the processor. Typically every 4 oscillator cycles is a clock cycle. The processor can do one instruction in a clock cycle, some take more that one clock cycle. Oscillators and the clock control the speed of the processor.
Posted on: Wed, 09 Oct 2013 17:24:11 +0000

Trending Topics



Recently Viewed Topics




© 2015