Help with timing issue


Closed Thread
Results 1 to 4 of 4
  1. #1
    BertMan's Avatar
    BertMan Guest

    Default Help with timing issue

    I have a 18F2520 connected to two spi devices. When I add a DEFINE like "DEFINE SHIFT_PAUSEUS 200" I can get spi device A to work, but not SPI device B. When I remark the DEFINE statement out, I can get SPI device B to work, but not A. How do I solve this delimma?

  2. #2
    BertMan's Avatar
    BertMan Guest


    Did you find this post helpful? Yes | No

    Default

    I have been trying to get these two devices to "talk" at the same time for a couple of weeks now, but they both seem to like a different clock frequency. Is there a way in pbp to allow this?

  3. #3
    BertMan's Avatar
    BertMan Guest


    Did you find this post helpful? Yes | No

    Default

    Okay then can someone answer me this. Why is it a device will work fine at default shift clock (50kHz) and not work fine at 200 uS slower?

  4. #4
    BertMan's Avatar
    BertMan Guest


    Did you find this post helpful? Yes | No

    Default

    Nevermind. I found an older more in depth datasheet for the device that states the SCLK high can be no longer than 50nS.

Similar Threads

  1. DMX receive issue
    By NoahLD in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 27th August 2014, 13:51
  2. 12F683 serout timing
    By Hobie Cat in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 21st December 2009, 16:57
  3. 18F2520 ADC issue
    By Acetronics2 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 24th August 2009, 16:11
  4. GPS clock timing !
    By bethr in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 3rd July 2008, 20:11
  5. 18F1320 ... Strange Memory
    By Acetronics2 in forum mel PIC BASIC Pro
    Replies: 43
    Last Post: - 9th April 2006, 09:55

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