Hardware I2C ?


Closed Thread
Results 1 to 2 of 2

Thread: Hardware I2C ?

  1. #1
    Join Date
    Nov 2003
    Posts
    98

    Default Hardware I2C ?

    Is there a PBP hardware I2C command like the I2CWRITE ?

    if not how do you do it in PBP using the on the board I2C hardware (SSP module) ?

    i am using the 16F690, but the question is more general than that chip

    while i am on this ...
    the application in mind is an I2C character LCD module, they also have one in SPI, any pros and cons code wise to use one over the other ?
    i am probably not pin constrained
    tia

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


    Did you find this post helpful? Yes | No

    Default Re: Hardware I2C ?

    Hi,
    No, there are no PBP commands for I2C using the SSP/MSSP module, you'll need to set it up and "run it" manually. Personally I've never used I2C so I'm not of much help on the specifics there but I've used the MSSP module in SPI mode on a couple of projects and once you get the hang of it it's pretty straight forward. I2C seems a bit more complicate than SPI but I don't think it should be too hard to figure out.

    /Henrik.

Members who have read this thread : 1

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts