SPI support


Closed Thread
Results 1 to 4 of 4

Thread: SPI support

  1. #1
    Join Date
    Dec 2005
    Posts
    1,073

    Default SPI support

    The Features page on the PBP3 web page says Synchronous Serial including I2C and SPI but I can find nothing in the online manual about SPI.

    I have upgraded to PBP3 Gold but have yet to install it. Support for SPI was a factor in deciding to upgrade. Have I wasted my money?

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,521


    Did you find this post helpful? Yes | No

    Default Re: SPI support

    Hi Dave,
    I suspect they're talking about SHIFTIN/SHIFTOUT (for SPI) and I2CIN/I2COUT for I2C.

    There's no support for hardware (MSSP module) driven synchronous communication (like it is for the (E)USART with HSERIN/HSEROUT), however it's not very hard to do "manually", at least not SPI. It seems a bit more complicated to set the MSSP module up for I2C but I've never actually done it so...

    /Henrik.

  3. #3
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default Re: SPI support

    Henrik,

    I suspect you're right but the page does say Built-In Commands for operations common to embedded development and the line I quoted above is included beneath that heading. There are I2CRead and I2CWrite commands but none for SPI.

    I think it's extremely misleading and I'm disappointed. But, as they already have my money, my disappointment probably doesn't matter much.

    PICAXE does have commands for both I2C and SPI on the newer chips with PLL so I may have to try that.

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


    Did you find this post helpful? Yes | No

    Default Re: SPI support

    Quote Originally Posted by dhouston View Post
    I think it's extremely misleading and I'm disappointed. But, as they already have my money, my disappointment probably doesn't matter much.
    Of course it matters.
    If you are truly unhappy with your purchase ... give us a call.
    The phone number is on the home page http://melabs.com

    Quote Originally Posted by dhouston View Post
    There are I2CRead and I2CWrite commands but none for SPI.
    It's not obvious at first, but like Henrik said ... SHIFTIN/SHIFTOUT are for SPI (Serial Peripheral Interface).
    DT

Members who have read this thread : 1

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