MIBAM and 40Mhz (10Mhz x 4 PLL) 18F452 - Chip does not work


Closed Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185

    Default MIBAM and 40Mhz (10Mhz x 4 PLL) 18F452 - Chip does not work

    Hi there,

    I am using DT's MIBAM routine with 20 port/LEDs.
    With 18F452, set to 4x10Mhz PLL clock, chip does not work.

    It works with 20Mhz HSOSC with no problem.

    Any ideas why it does not work with 40MHz?
    I will use 24 ports with 40MHz.

    Thank you.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: MIBAM and 40Mhz (10Mhz x 4 PLL) 18F452 - Chip does not work

    Hi Sayzer,

    Does it do anything at all? Or is it just dead at that point?
    DT

  3. #3
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default Re: MIBAM and 40Mhz (10Mhz x 4 PLL) 18F452 - Chip does not work

    The circuit has a digit to show the animation mode number. At 40MHz, sometimes( ! ) the digit comes and goes. But port pins used for MIBAM never works.

    Thank you Darrel.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  4. #4
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,597


    Did you find this post helpful? Yes | No

    Default Re: MIBAM and 40Mhz (10Mhz x 4 PLL) 18F452 - Chip does not work

    Can you confirm that the PIC does indeed work at 40MHz? Maybe you are having a hardware problem with the oscillator (I had something similar once using a breadboard).

    Can you add a simple test, maybe blink an LED at a fixed interval?
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  5. #5
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: MIBAM and 40Mhz (10Mhz x 4 PLL) 18F452 - Chip does not work

    Sayzer,

    After checking the program, going through the math, compiling for an 18F @ 40mhz and not finding anything wrong ... I put together a breadboard with an 18F4620 running at 40Mhz with a 10Mhz crystal and 24 LED's.

    It works fine.

    BAM_INFO says ...
    Message[301]: MESSAGE: ('BAM_INFO' - MinPeriod= 173 inst, Cycle= 22774 inst, Pins= 24, FREQ= 219 Hz)
    DT

  6. #6
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default Re: MIBAM and 40Mhz (10Mhz x 4 PLL) 18F452 - Chip does not work

    Thank you very much Darrel.

    I also went through the hardware, and found nothing wrong.
    10Mhz xtall, 15pf caps, HSPLL (DEF. OSC 40) does not work.
    20Mhz xtall, 15pf caps, HS_OSC (DEF. OSC 20) works.

    Testing it with 40Mhz using a test code (without MIBAM) is ok.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  7. #7
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,597


    Did you find this post helpful? Yes | No

    Default Re: MIBAM and 40Mhz (10Mhz x 4 PLL) 18F452 - Chip does not work

    Quote Originally Posted by Darrel Taylor View Post
    ...
    I put together a breadboard with an 18F4620 running at 40Mhz with a 10Mhz crystal and 24 LED's.

    It works fine.
    ...
    Sayzer was using an 18F452, not an 18F4620, maybe it's a problem with a particular chipset and not the 18F family?

    One thought, Sayzer, did you try with another 18F452? That would rule out a defective unit.

    And if you want to rule out the breadboard, try it on another one. I've had only one breadboard so far with a defective track in it.

    And a really dumb question, did you confirm that power to the circuit was good? Forgetting to readjust the voltage or current on a variable power supply like the one I use could make for freaky results; not saying that I ever did that noob mistake.

Members who have read this thread : 2

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