I can test for that then (ie whether PLL is picky only on INT clock).
I'll run a test with both internal and external clocks and PLL on/off (this could even be done programmatically, I guess).
Seems to me that my article has generated a lot of work for me to do! Live and learn...
Search found 64 matches
- Wed Apr 04, 2012 7:37 pm
- Forum: Compiler
- Topic: Problems with the PIC18F25K22
- Replies: 31
- Views: 15321
- Wed Apr 04, 2012 7:05 pm
- Forum: Compiler
- Topic: Problems with the PIC18F25K22
- Replies: 31
- Views: 15321
- Wed Apr 04, 2012 7:03 pm
- Forum: Compiler
- Topic: Problems with the PIC18F25K22
- Replies: 31
- Views: 15321
Many thanks for the contribution to the WIKI - it's nice to see someone learning and sharing with others... No problem David, my pleasure. It's my way of giving back to others (hopefully), having received help right here in this forum myself. And it ensures that I have learned enough to be confiden...
- Wed Apr 04, 2012 7:00 pm
- Forum: Compiler
- Topic: Problems with the PIC18F25K22
- Replies: 31
- Views: 15321
...getting the PLL to work is finicky. It must be done just right, and if it doesn't go then you'll be left with your default just clock, rather than your desired 4x clock. When using PLL, the SCS<1:0> bits (System Clock Select) in the OSCCON must both be set to zero. I shall re-read up on this and...
- Wed Apr 04, 2012 6:55 pm
- Forum: Compiler
- Topic: Problems with the PIC18F25K22
- Replies: 31
- Views: 15321
Every PIC I've ever worked with has within it an internal ~31kHz oscillator which it defaults to. This is the same one the internal Timer registers are clocked from by default. In the event of external osc failure, it also defaults to this. You can test this--write a program which toggles the on/of...
- Wed Apr 04, 2012 6:17 pm
- Forum: Compiler
- Topic: Problems with the PIC18F25K22
- Replies: 31
- Views: 15321
New Article: Setting the 18F25K22 Oscillator with Swordfish
I've finally put together this, as yet, unverified article. Anyone care to verify it for technical accuracy, typos, bits that confuse rather than clarify? http://www.sfcompiler.co.uk/wiki/pmwiki.php?n=SwordfishUser.ProgrammingThePIC18F25K22OscillatorWithSwordfish I'm happy to take all constructive f...
- Wed Apr 04, 2012 6:14 pm
- Forum: Wiki Announcements
- Topic: New Article: Setting the 18F25K22 Oscillator with Swordfish
- Replies: 0
- Views: 10035
New Article: Setting the 18F25K22 Oscillator with Swordfish
I think I've finally grasped the bare essentials in getting my 18F25K22 chip to run with Swordfish. http://www.sfcompiler.co.uk/wiki/pmwiki.php?n=SwordfishUser.ProgrammingThePIC18F25K22OscillatorWithSwordfish Aimed at the beginner getting to grips with FOSC, OSCCON and OSCTUNE and wondering (as did ...
- Tue Apr 03, 2012 6:34 am
- Forum: Wiki Announcements
- Topic: New article: Using Dropbox with Swordfish
- Replies: 0
- Views: 7044
New article: Using Dropbox with Swordfish
I've posted a new article for Swordfish users who use (or who would like to use) the Dropbox file backup/sharing application. Under normal circumstances you can't move the UserLibrary folder as Swordfish expects it to be where it should be. This article shows you how to get around that limitation in...
- Tue Apr 03, 2012 6:23 am
- Forum: Compiler
- Topic: Problems with the PIC18F25K22
- Replies: 31
- Views: 15321
Thanks for the welcome, Senarcharim. I've made a start on the "Absolute Beginners' Guide to understanding Clocking Using Swordfish with the Amicus18 board and 18F25K22 PIC" (I'm still working on that title). I was distracted, however, by building a XINO basic board last night to contain said 18F25K2...
- Sun Apr 01, 2012 8:14 pm
- Forum: Compiler
- Topic: Problems with the PIC18F25K22
- Replies: 31
- Views: 15321
PIC clock settings for absolute beginners
Flushed with my recent wiki article on using Dropbox with Swordfish, I'm very seriously considering another article called something like "Clock settings for the PIC18F25K22 using Swordfish and the Amicus18 board". OK, it's a working title. Basically, as an absolute (but keen) PIC beginner I'm think...
- Sun Apr 01, 2012 2:06 pm
- Forum: Modules
- Topic: Can't find the user library when compiling
- Replies: 8
- Views: 5031
OK, David, you've talked me round. I've written it, got the XP part of it validated by none other than our very own Jerry Messina and have double checked the Windows 7 part (which although I had to carry out myself, was before the article was written so may contain unclear parts). Can be found under...
- Fri Mar 30, 2012 7:04 pm
- Forum: Modules
- Topic: Can't find the user library when compiling
- Replies: 8
- Views: 5031
Elegant solution - just don't ask me to do it again!
@RangerBob I did what you suggested; once on my Windows 7 PC which has the mklink utility you mentioned as standard. Then I had to do it all again on my XP machine after downloading the " junction " utility from here: http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx The syntax is much t...
- Thu Mar 29, 2012 7:18 pm
- Forum: Modules
- Topic: Can't find the user library when compiling
- Replies: 8
- Views: 5031
Thanks for that detailed suggestion, Jerry. It almost works for me. It would totally work if I could give a relative file path to the include files, or an absolute file path. So something like include "..\myLibrary\SomeFolder\utils.bas" or "c:\dropbox\myLibarary.utils.bas" would solve my issue. As i...
- Thu Mar 29, 2012 4:08 pm
- Forum: Modules
- Topic: Can't find the user library when compiling
- Replies: 8
- Views: 5031
When you "cannot be relocated" I guess you mean that Swordfish doesn't currently support that feature :) How about considering this a formal request to allow it to be user-defined, in exactly the same way that you allow the default startup folder to be defined in the View, Editor Options? I'd even b...
- Thu Mar 29, 2012 7:05 am
- Forum: Compiler
- Topic: Problems with the PIC18F25K22
- Replies: 31
- Views: 15321
Thanks for the replies. Regarding the 5v issue, I have (inadvertently) applied 5v to an input pin of an 18F25K20 with no ill effects (yet). I did read about the max voltage wrt the supplied Vdd but as you say Microchip themselves even do this. But as I'm cautious I'll keep to the specified limits. M...