18F2520 clock speed ?


Closed Thread
Results 1 to 25 of 25

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Location
    Toronto, Ontario
    Posts
    23


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Yes I had cheched the manual, just didn't know or cared who wrote it. I don't run and post a question here or anywhere unless I just can't figure something out. I will read anything I can get my hands on, online or otherwise, until I find the solution. Granted, I'm no expert, so this process can take some time, but usually I will succeed. I DID refer to the manual, don't need a forum to tell me to look there first. As I said, I had also ALREADY tried using DEFINE OSC 10Mhz, it did not work. The output baud timing was way off. I also wasn't sure about what config fuses to set with the U2 programmer regarding the xtal. The original crystal is a SMT type, 10 Mhz. I tried all different fuse settings, which of course affected the timing, but none gave the proper result at the pic output. So I installed a SMT 4Mhz xtal and, you guessed it-works great.

  2. #2
    Join Date
    Dec 2007
    Location
    Toronto, Ontario
    Posts
    23


    Did you find this post helpful? Yes | No

    Wink

    one more thing....

    "where do I find your book ?" = Melanie's manual
    Melanie's manual = MicroEngineering Labs, Inc. PICBASIC PROtm Compilier manual
    .....ok, thanks for that manwolf...

    And from Mel's profile,
    "Occupation:
    I DO NOT work for MeLabs or Crownhill. Both those companies however continue to get my vote. "
    Now I am curious, did you write this manual, or is that an urban legend 'around these parts'.
    ?
    your PBP pal,

    John

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Gixxer View Post
    one more thing....
    "where do I find your book ?" = Melanie's manual
    Melanie's manual = MicroEngineering Labs, Inc. PICBASIC PROtm Compilier manual
    .....ok, thanks for that manwolf...
    And from Mel's profile,
    "Occupation:
    I DO NOT work for MeLabs or Crownhill. Both those companies however continue to get my vote. "
    Now I am curious, did you write this manual, or is that an urban legend 'around these parts'.
    ?
    your PBP pal,
    John
    Melanie's manual <> PicBasicPro Compiler manual...however...
    Melanie's REFERENCE manual used way back when Melanie didn't know anything about PicBasicPro may have been the PicBasicPro Compiler manual, written by microEngineering Labs, Inc (at least that's what I've assumed all along). Can't remember the name of the person(s) that are responsible for the upkeep/updating of the core of PicBasicPro itself off hand though...

  4. #4
    Join Date
    Dec 2007
    Location
    Toronto, Ontario
    Posts
    23


    Did you find this post helpful? Yes | No

    Talking

    LOL, all I wanted to do was avoid desoldering the original 10mhz SMT xtal with a 4mhz, but the desoldering took far less effort.
    Thanks to all that replied anyhow.

    John

  5. #5
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    I had also ALREADY tried using DEFINE OSC 10Mhz, it did not work.
    That's because DEFINE OSC 10Mhz is the wrong syntax.

    I didn't write the book - That's urban legend! (but I have seen it once in a previous life). I have never used the paper copy, because I downloaded the pdf and it's a hell of a lot easier to use the Adobe FIND feature to locate exactly what I'm looking for, rather than waste time thumbing through a hundred pages.

    And if people can't figure where to download the pdf... then takeup landscape gardening for a hobby!

    And finally John, the reason folks are reluctant to help when you haven't got a manual, is it usually applies to someone that has not acquired a legal copy (since the manual comes free with the product).

  6. #6
    Join Date
    Dec 2007
    Location
    Toronto, Ontario
    Posts
    23


    Did you find this post helpful? Yes | No

    Default

    Hey Mel,

    If you or others are "reluctant to help when you haven't got a manual" ...because..."it usually applies to someone that has not acquired a legal copy (since the manual comes free with the product).", then thats fine by me. If you happened to read post 9 you would see that I stated I recently moved, which translates in english to I can't locate my PBP book that came with the software. Thats the "book" you told me to look in. What do you do, test people to see if they possess this stupid book ? I too, since my PURCHASE of PBP for $249.95, also use the pdf AND my printed copy of the manual. I also PURCHASED the MELABS U2 programmer as already stated, or do ya think I "acquired" that illegally too(downloading of matter-maybe there is a pbp command for that!). My only mistake in all of this was basically a typo that you pointed out-DEFINE OSC 10Mhz, which was how I typed it in my post because I was tired. However, in my program I did enter it minus the Mhz--it did not work. I don't know why it didn't work, but the timing was still off. Go figure, thats why I posted my question in the first place. The couple of posts I made in the past which were promptly and maturely answered by "Mister E", was how I thought it worked around here-not having someone call you a thief.......geeez !

  7. #7
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    I wasn't accusing you personally of anything. I did however reflect on the attitude of a large number of contributors to this forum.

Similar Threads

  1. Clock Speed
    By Del Tapparo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 24th November 2007, 03:06
  2. Replies: 14
    Last Post: - 26th September 2007, 06:41
  3. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 21:36
  4. clock speed
    By Armando Herjim in forum General
    Replies: 1
    Last Post: - 30th November 2006, 13:25
  5. Faster Clock Speed for Shiftin/out?
    By achilles03 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 15th December 2005, 03:15

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts