|
本帖最后由 超級狗 于 2015-9-25 13:35 编辑 : S& c5 k( H* b+ Z3 u1 W7 {1 q
: s& y* U+ q& p& u, P晶振電路緩起振(Long Start-Up Time)問題,樓上兩位的意見都不錯。這篇肥死卡好(Freescale)的技術文檔中,有較詳細的文字說明,之前貼過一次。
0 W2 D7 [" j7 b* |8 t0 \8 v" I: Y6 f" w5 j6 V0 Q
7 Insufficient Loop Gain
& Q5 _1 U5 j; B4 wJust as overdriving the crystal can be a problem, insufficient drive can also be the source of many failures. For adequate loop gain, load capacitors must be sized correctly, and RB and RS values must be appropriate in the Pierce configuration. Load capacitance affects loop gain since the feedback voltage is obtained in both configurations from the voltage divider formed by C1 and the crystal, so it is very important to account for stray capacitance when
0 s! f( C3 ?" N0 r: W Ocalculating the value of C1 and C2. In the Pierce configuration, adding load capacitance will reduce loop gain in some cases. Resistors RB and RS also have an effect on loop gain in the Pierce configuration. Making RB bigger increases the loop gain, while reducing RB decreases it. In general, lower-frequency crystals require higher values for RB because their impedance is normally higher than that of high-frequency crystals. A typical value for RB is usually given in the microcontrollers' datasheet. Resistor RS has the opposite effect on loop gain, since loop gain is reduced when the resistor is increased and is increased when the resistor is reduced. To make sure that loop gain is sufficient, a potentiometer can be placed in series with the crystal. If loop gain is barely sufficient, increasing the resistance will soon prevent the oscillator from starting. The recommended procedure is to start with the potentiometer set at 0 Ω, then slowly increase the resistance. After each increment, power to the board should be removed and then restored. Eventually, the circuit will fail to start. When this happens, the total resistance (crystal + potentiometer) should be substantially larger than the worst-case resistance specified for the crystal. For example, for a good margin of safety, it would be nice to have the circuit oscillate with at least twice the maximum specified crystal resistance. The size of the potentiometer required for the test will increase as the crystal requency decreases (i.e., 1 kΩ for a 10 MHz crystal and 10 kΩ for a 32 kHz crystal). It is recommended that the previous test also be carried out at the highest temperature and lowest VDD at which the circuit is expected to operate, since loop gain in many oscillators tends to decrease as temperature increases and as VDD decreases.; x/ ?5 Z' e$ s
- H9 B) O' c) w
0 x5 ~( {( C# @! b9 A
8 Long Start-Up Time; J. _9 p( M; I9 ?. W
A long start-up time is usually a more common problem with low-frequency crystals, since they tend to start much more slowly than high-frequency crystals. One of the causes of a long start-up time is weak loop gain, which was addressed in Section 7, “Insufficient Loop Gain”. Oscillator start-up times will also be affected by the rise time of the power supply. When the power supply has a sharp rise time, the crystal will experience an energy impulse that will usually make it start faster than it would using a power supply with a slow rise time.
0 D' L- t4 I7 J/ Y0 B' S' h: g |
|