SPI communication ??


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

    Default SPI communication ??

    does any one can help me to understand how to buid a SPI communication routine?
    I would use a AD7731 24 bit DeltaSigma ADC with a PIC16F876, the AD7731 use a SPI interface both for 8 or 16 bits configuration register and for 24 bits data word.
    Fist of all is possible to communicate via SPI with AD7731 as it use 8,16 and 24 bits data words?
    I suppose yes, and I can do it?

    Thanks

  2. #2
    CosMecc's Avatar
    CosMecc Guest


    Did you find this post helpful? Yes | No

    Default

    I2CRead and I2Cwrite commands could be usefull to communicate with the ADC?

  3. #3
    CosMecc's Avatar
    CosMecc Guest


    Did you find this post helpful? Yes | No

    Default

    or SHIFTIN, SHIFTOUT coul be more appropriate?

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


    Did you find this post helpful? Yes | No

    Default

    Hello. If you need SPI communication use SHIFTIN / SHIFTOUT command.

Similar Threads

  1. SPI Communication between two pic 16f877
    By anti83 in forum Serial
    Replies: 1
    Last Post: - 5th July 2008, 21:06
  2. Using SPI with External Interrupts
    By shaiqbashir in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 29th June 2008, 04:08
  3. 16-bit SPI problem
    By shaiqbashir in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th June 2008, 15:42
  4. SPI communication problem (newbie)
    By lm555cn in forum Serial
    Replies: 4
    Last Post: - 3rd March 2008, 15:33
  5. Replies: 3
    Last Post: - 22nd January 2008, 03:48

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