Shop OBEX P1 Docs P2 Docs Learn Events
I2C EEPROM driver in ASM? — Parallax Forums

I2C EEPROM driver in ASM?

epmoyerepmoyer Posts: 314
edited 2008-12-30 21:24 in Propeller 1
Is anyone aware of an I2C EEPROM driver written in ASM? There isn't one in the Object Exchange. I'm about to end up writing one to support some Coyote-1 work I'm doing, but I'd rather not reinvent the wheel if there's already one out there.

Thanks!

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The World's First Open Source Guitar Pedal:··http://www.OpenStomp.com

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-12-30 20:30
    The I2C driver that's part of FemtoBasic is in assembly and is intended for use as a general purpose I2C / low-level-SPI driver. It's "sdspiFemto.spin" in the FemtoBasic archive from the Object Exchange. The comments at the beginning of the object give most of the details. The Spin interface is not buffered, but the assembly routines support double buffering and I have used them that way.
  • epmoyerepmoyer Posts: 314
    edited 2008-12-30 21:24
    It looks like your driver should do the trick for me. Thanks Mike!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    The World's First Open Source Guitar Pedal:··http://www.OpenStomp.com
Sign In or Register to comment.