In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJMonty wrote: Sparks, Actually the [b]IRC_CAL IRC_SLOW[/b] directive won't cause any calibration to occur. Calibration only happens using the IRC_4MHZ value. Both the IRC_SLOW and IRC_FAST directives tell the SX-Key to simply set the calibration to the slowest or highest of the 8 possible settings. The advantage to using one of these is that it eleminates the IDE giving you a warning message that no IRC-CAL directive has been specified while noty slowing programming down at all. Back in the gnarly old days of the IDE, the IRC_CAL setting was a global setting stored in the configuration dialog. This meant you had to manually change it to whatever each project needed. This was prone to error as it was easy to forget to change the setting on the configuration dialog. By adding the directive, you store the info with the project so it automatically programs the chip correctly The side effect is that the IDE wants to make sure you give it some value for IRC_CAL. It will default to IRC_SLOW if none is given. Thanks, PeterM ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=230849#m231197 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)