ADIS16250: Help with setting up SPI


Closed Thread
Results 1 to 29 of 29

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Location
    Mexico
    Posts
    47


    Did you find this post helpful? Yes | No

    Default

    Hello, the reset pin must be high or low, try adding RST=1 or RST=0

  2. #2
    Payatronico's Avatar
    Payatronico Guest


    Did you find this post helpful? Yes | No

    Talking no no no

    muchacho amigo mio

    RST must be high, RST=1.
    maybe the problem is the crystal, try with a 4mhz cristal and more slowly speed of comunication, quiza asi se solucione tu problema chico

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Are the data adresses that I am shifting out correct? That is what I think I am doing wrong. I couldn't fully understand the datasheet's SPI output.

    Thanks,
    InitialDriveGTR

  4. #4
    Join Date
    Sep 2006
    Location
    Mexico
    Posts
    47


    Did you find this post helpful? Yes | No

    Default

    The data adresses is ok. However, the ADIS16250 SPI clock speed is 2.5 MHz, you need to decrease your clock speed in order to transfer data between devices.

    Try reading the status register of the ADIS16250 ($3C).

  5. #5


    Did you find this post helpful? Yes | No

    Default

    How does one go about decreasing the SPI clock speed?

    Thanks,
    Benjamin B. Roy

  6. #6
    Join Date
    Sep 2006
    Location
    Mexico
    Posts
    47


    Did you find this post helpful? Yes | No

    Default

    Hello. add this line to your code:

    DEFINE SHIFT_PAUSEUS ms

    ms is the time in milliseconds between clock pulses

  7. #7


    Did you find this post helpful? Yes | No

    Default

    What would be a good pause time? (Note that I am completely new to this)a

Similar Threads

  1. Winbond ISD1700 Voice Recorder
    By RFEFX in forum mel PIC BASIC Pro
    Replies: 58
    Last Post: - 22nd April 2014, 10:00
  2. PICKit2 - warning about configuration words
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 26
    Last Post: - 4th August 2009, 14:01
  3. Using SPI with External Interrupts
    By shaiqbashir in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 29th June 2008, 04:08
  4. 16-bit SPI problem
    By shaiqbashir in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th June 2008, 15:42
  5. How to configure SPI in PICBASIC PRO?
    By moogle in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 15th April 2007, 18:31

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