Software Engineers [hardware] of oscillator 1

Software engineers to learn hardware, due to the inherent characteristics of the hardware, software engineer may need to adjust habits, for example, a software engineer before habits are like brains, less willing hands, hands that is knocked code actually equal brains. But not the same hardware, the hardware to mental and physical, but also to do it. If you do not learn hands-on hardware, then, that most of the results are likely to fall by the wayside.
Hardware is one of the elements constituting these basic characteristics of the elements we need to understand, it was said, and I use the time to look up the manual is not on line yet? Different. The reason why people need to remember, or that we need quick thinking and memory, the key factor is the quick thinking is sustained, especially when the key is sustained, and high-speed running, this time, the brain through a complex reasoning, the final result is still in the form of memories stored in our brain, and generally not the same memories, this after the results of the experience is very valuable, memory and passive effect through the active memory of the experience is quite different, experience the results will be used directly as input to another process of reasoning, and mechanical memory at the time as an input, it may be necessary to confirm aspects of our thinking, efficiency is very different.
So, if you want the hardware also learn something, then you need to follow the laws of hardware, more hands.
Well, put aside gossip, we talk today oscillator.
What is an oscillator? Hardware engineers already familiar with, but our software engineers do not come into contact with the object, so much to understand them.
We recall the content of the article before, often referred to the concept of the clock, square wave clock frequency of the microcontroller is certain, as long as the microcontroller starts, the clock began to work, and continuously outputs a constant frequency square wave. To do what this clock, you put the microcontroller imagine a band, this clock is the rhythm that we often say that the beating time. This beat time can not be used indiscriminately, because the whole band are to play according to the rhythm of, say, the beginning of 10 beats, violin playing, beat the 11th time, joined the piano. 20 beat when deep cello also add to the mix, this time, the violin suspended. 30 beat when both violin and flute add to the mix, 40 beats, piano, cello, flute are stopped, ending the violin. You see how important the beat, beat microcontroller clock is, without a clock, what the timing is gone, do not know what time of each unit to work, what time the end of the work. There is a clock can be easily handled, each unit MCU can be arranged according to their own plans clock.
As mentioned above, the microcontroller clock is a square wave of a certain frequency, this is how the square wave generated? Where there is a dedicated hardware unit to generate a clock squarer, called an oscillator.
Oscillator in basic electronic hardware unit, it can not do without, almost everywhere. Although we do not delve into the theory, but need to understand the basic principles of this oscillator, that is, how it works, is the Editor's Note.
To note here that not only can generate a square wave oscillator, it is possible to generate a triangular wave and sine wave.
Due to space constraints, I will oscillator is divided into two sections, the please a lot of understanding. Thank you!

Guess you like

Origin blog.csdn.net/wwwmagic/article/details/91947444