One-Wire Timing Using PLL


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    mmm, as it worked with a 4MHZ, i'll bet on a hardware problem now. something like a lack of supply filtering. Placing 0.1uF capacitor close to each sensor and close to each IC + couple of 10uF tantalum could fix it.

    Did you monitor the supply line???


    No problem with the LCD???

    But i've never tested OWIN/OUT @40MHZ so... i can just bet on few things.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Well I tried the caps thing and the same result. I then again tried the parasite power right on the board and it worked fine so that got me thinking about the 4.7k pull-up on the data line. I thought that maybe the resistance was a little too high so I tried a 2.2k and low and behold, it can to life. What I don't really understand though is why the difference when I switched between the 4 and 10 MHz crystals.

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Well all i can say, using the PLL the difference is 24MHZ. The problem would be the same with some I2C device at high SCL frequency. Some datasheet will suggest 1.8K for high frequency and 4.7K for lower frequency.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Need Single wire serial LCD converter example
    By polymer52 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 16th December 2009, 03:30
  2. 18F4520 and internal osc & PLL
    By pwhitt in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 15th September 2008, 07:38
  3. 16F628 and LMX2306 PLL loading.. help
    By kessral in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 11th June 2008, 18:03
  4. Pll?
    By atwoz in forum General
    Replies: 2
    Last Post: - 19th December 2007, 11:20
  5. RPM with wire and PIC
    By Dwayne in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th December 2004, 21:42

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