I2C with 10 bit addressing


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107

    Default I2C with 10 bit addressing

    If hardware I2C in PBP wasn't tough enough already, I need to write a master/slave routine that can handle 10-bit addresses. Has anyone in this group accomplished this?
    Charles Linquist

  2. #2
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    And I should add that the receive side (at least) must be interrupt-driven and run in an 18F part.
    Charles Linquist

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    I have not tried this, just a thought...

    Would it work to set the address up as WORD size and and pull out the bits you need as an array and send those parts? Probably not... the expression thing would be a problem???
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    uChip talks about 10 bit addresses in the 18F8722 datasheet. Time to roll up my sleeves and try to make it work.
    Charles Linquist

  5. #5
    Join Date
    Oct 2008
    Location
    Southern California
    Posts
    17


    Did you find this post helpful? Yes | No

    Question How's it going?

    Any luck so far? I'm going to have to tackle this someday too...
    Don't let the magic smoke out of an electronic component. It won't work correctly after that!

  6. #6
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    Not yet - right now, I'm cheating, I solved the problem temporarily by hiring a guy to write a 10-bit master/slave port in an Altera chip. That chip is driven by an ARM9 processor running Linux.

    Are you doing IPMI stuff?
    Charles Linquist

Similar Threads

  1. I2C Master/Slave 16F88/16F767 working code
    By DanPBP in forum Code Examples
    Replies: 2
    Last Post: - 23rd October 2012, 22:31
  2. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 21:07
  3. PICBasic newbie problem
    By ELCouz in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 12th February 2008, 00:55
  4. Need help with 16f819 10 bit ADC
    By bannrikae in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 26th September 2005, 15:20
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 01:07

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