USB interface for I2C


+ Reply to Thread
Results 1 to 3 of 3

Thread: USB interface for I2C4460 days old

  1. #1
    Member Eriond's Avatar
    Join Date
    Sep 2005
    Posts
    115
    Thumbs Up
    Received: 0
    Given: 5
    Total Downloaded
    640.30 MB

    0 Not allowed!

    Post USB interface for I2C

    Hi,

    I need to quickly make a generic I<sup>2</sup>C interface. It has to be USB connected.
    I'm thinking of using a 18F4550, applying the USB Wizard and then mainly use HBUSIN/HBUSOUT.

    Should I use the interrupt based USB code or is a tight loop better suited for this kind of application?

    Secondly, there are so many combinations of both adress length (8/16 bit) and data (bit, byte, byte array, word, word array, dword and float), so what would be the best approach to handle them all? (considering both read and write operations).

    Eventually I want to end up with a poor mans version of this or similar device.

    /Eriond

  2. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  3. #2
    Prolific Poster rcurl's Avatar
    Join Date
    Mar 2002
    Posts
    1,864
    Thumbs Up
    Received: 31
    Given: 55
    Total Downloaded
    2.38 GB

    0 Not allowed!

    Default

    Hi Eriond-

    Before you re-invent the wheel, have you seen this?
    http://www.microchip.com/stellent/id...cName=en028600
    It does all you are asking for and much more, and costs a fraction as much as the device you are looking at.

    -Rick

  4. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  5. #3
    Member Eriond's Avatar
    Join Date
    Sep 2005
    Posts
    115
    Thumbs Up
    Received: 0
    Given: 5
    Total Downloaded
    640.30 MB

    0 Not allowed!

    Post

    Great, thanks! I'll start with one of those, and in case it doesn't cover my needs, I'll make my own.

    /Eriond

  6. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Newhaven 2x20 LCD with I2C Interface
    By Peter Truman in forum Proton Plus Compiler v3
    Replies: 9
    Last Post: 20th May 2014, 16:50
  2. Compass HMC6352 I2C interface
    By Dave-S in forum Proton Plus Compiler v3
    Replies: 21
    Last Post: 17th May 2013, 13:23
  3. Multiple PIC CPU's sharing the same I2C interface
    By glenlivet in forum Proton Plus Compiler v3
    Replies: 4
    Last Post: 5th October 2009, 09:32
  4. TPA81 I2C interface HELP
    By fgcity in forum Proton Plus Compiler v3
    Replies: 1
    Last Post: 9th January 2008, 17:02
  5. [SOLVED !] usb gps mouse interface
    By citldave in forum GPS
    Replies: 1
    Last Post: 14th May 2004, 21:30

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