Shop OBEX P1 Docs P2 Docs Learn Events
SMBus question — Parallax Forums

SMBus question

TCTC Posts: 1,019
edited 2013-11-25 12:58 in Propeller 1
Hello All,

Has anyone used SMBus with the Propeller? I know it is similar to I2C but not quite. What would be my best option on getting it to work with the Prop?

Thanks
TC

Comments

  • jazzedjazzed Posts: 11,803
    edited 2013-11-25 12:31
    Hi.

    SMB is essentially a super-set of I2C.

    The physical and link layers are identical IIRC.

    Network protocol layers formalize error handling and transfer methodology like multiple byte read/write, etc....

    What aspect of SMB do you need that I2C doesn't provide?
  • TCTC Posts: 1,019
    edited 2013-11-25 12:38
    jazzed wrote: »
    Hi.

    SMB is essentially a super-set of I2C.

    The physical and link layers are identical IIRC.

    Network protocol layers formalize error handling and transfer methodology like multiple byte read/write, etc....

    What aspect of SMB do you need that I2C doesn't provide?

    I just dont know anything about it (or I2C), and I was just wondering if anyone had some experience with it, and what method they used.
  • MagIO2MagIO2 Posts: 2,243
    edited 2013-11-25 12:43
    On the first glance it does not look too bad:
    http://www.maximintegrated.com/app-notes/index.mvp/id/476

    You could simply try it with an I2C driver.

    If it does not work the timing diagrams in the SMBus specs and a COG recording the signals can help to find the problem.
  • TCTC Posts: 1,019
    edited 2013-11-25 12:52
    MagIO2 wrote: »
    ]
    You could simply try it with an I2C driver.

    If it does not work the timing diagrams in the SMBus specs and a COG recording the signals can help to find the problem.

    I was thinking the same thing. I think I will just have to get the part, and see what happens. worst case, I will be back on here looking for help.
  • MagIO2MagIO2 Posts: 2,243
    edited 2013-11-25 12:56
    If you need some code for sampling signals, I just wrote a driver for 1-wire bus and had the need of such a recorder myself.
  • TCTC Posts: 1,019
    edited 2013-11-25 12:58
    MagIO2 wrote: »
    If you need some code for sampling signals, I just wrote a driver for 1-wire bus and had the need of such a recorder myself.

    I might just take you up on that offer after I get the chip. Thank You
Sign In or Register to comment.