Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: I2C (not SMBus) SW interface for M10k?

  1. #1
    Raw Wave rando's Avatar
    Join Date
    Mar 2004
    Location
    Redondo Beach, CA
    Posts
    1,973

    I2C (not SMBus) SW interface for M10k?

    Can anyone tell me if there is a true I2C host adapter on board the M10k and, more importantly, point me to some reference information and/or code that describes it?

    As part of Seth's AM/FM RDS radio project, I've been working on the basic I2C interface driver. Some of you are aware, we were planning to hook the boards up to the M10k I2C header for development/testing, before we waste any time developing a USB to I2C bridge.

    Based on my weekend of research, the only public control interface for the M10K I2C port implements the SMBus protocols only. Basically all the code or discussion threads I've found point back to the Linux i2c-viapro.c driver. That driver and the underlying control interface is essentially a clone of the Intel PIIX4 SMBus. I have a port of the Linux driver in Windows running in user space. It communicates with the underlying hardware through the Numega portio.sys sample driver from the MS DDK. This code works fine and correctly issues SMBus commands on the bus without any problems.

    SMBus is unfortunately only a subset of the full I2C bus. While it's possible to implement SMBus on top of the general I2C interface, the reverse is not possible. In the case of our tuner and signal processor ICs, the commands required cannot be contructed from the SMBus protocol primitives. We need native I2C (Start, Stop, Ack, Nack, Set/Clear Data, Set/Clear Clock), or at least something lower level than what SMBus offers.

  2. #2
    Jesus Freak antimatter's Avatar
    Join Date
    Jan 2004
    Location
    California
    Posts
    4,545
    Crapola.... I knew there was some funky business with the via's implimentation of the I2C.

    Good luck in finding what you need Rando
    -Jesus- King of Kings Lord of Lords

  3. #3
    Raw Wave rando's Avatar
    Join Date
    Mar 2004
    Location
    Redondo Beach, CA
    Posts
    1,973
    Well don't lose sleep over it or anything dude.

    We can always bitbang over the parallel port for initial testing. It doesn't look impossible to implement though performance will surely suck -- not that performance will be an issue in this case. The I/O interface sits idle except when you issue a command to change something. Even then, it's only a handful of bytes.

  4. #4
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    http://www.devasys.com/usbi2cio.htm

    You can pick one of these up to test with.
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  5. #5
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  6. #6
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  7. #7
    Maximum Bitrate GruvThang's Avatar
    Join Date
    Jul 2004
    Location
    Northern Virginia, USA
    Posts
    683
    Quote Originally Posted by frodobaggins
    http://www.devasys.com/usbi2cio.htm

    You can pick one of these up to test with.
    That looks nice, kinda pricey though!
    [COLOR=Navy][SIZE=1][FONT=Comic Sans MS]Tektility

  8. #8
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    Quote Originally Posted by GruvThang
    That looks nice, kinda pricey though!
    I'm not suggesting things for production, just so he can have something
    to test his chips out with.
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  9. #9
    Maximum Bitrate GruvThang's Avatar
    Join Date
    Jul 2004
    Location
    Northern Virginia, USA
    Posts
    683
    I am not thinking that it would be for production, it is just pricey for what the unit actually does, the rs232 is not any cheaper, they do offer "ease" of testing though!
    [COLOR=Navy][SIZE=1][FONT=Comic Sans MS]Tektility

  10. #10
    Raw Wave rando's Avatar
    Join Date
    Mar 2004
    Location
    Redondo Beach, CA
    Posts
    1,973
    OK, maybe I wasn't clear in the original post. I'm not looking for an alternate interface -- I'm aware that there are many options. The question is the M10K. Does it or doesn't it support native I2C over its (supposed) I2C header?

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

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