In SX Microcontrollers, SX/B Compiler and SX-Key Tool, g_daubach wrote: The various OSX?? settings from LP1 up to HS3 control the setting of the three FOSC2...FOSC0 bits in the Fuse word, where settings from 000b up to 110b select one of the seven available gains for the internal oscillator feedback driver that outputs to the OSC2 pin (111b selects an external RC network). There is no general rule which OSC setting to use because it depends on the type of the external resonator/xtal connected to OSC1/OSC2. Some components come with internal capacitors (like the "blue" Murata resonators available from Parallax), others require external capacitors, parallel resistors, etc. As a rule of thumb, you can say, the higher the clock frequency, the higher the gain setting should be. But as Bean mentioned, sometimes, it requires a bit of experimenting to find the right setting for a particular resonator/xtal. It is correct: Higher gains result in more supply current, and also cause some more EMI. Finding the lowest setting that works for a clock device is fine, but you should consider the possible ambient temperature range. When you minimize the gain, it can happen that the oscillator will not start at lower temperatures. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=245497#m245742 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)