Shop OBEX P1 Docs P2 Docs Learn Events
what P2 I2C spin libraries are open source? — Parallax Forums

what P2 I2C spin libraries are open source?

Has anyone ever used parallax chips in an I2C Multimaster environment?

I have only found a library for a Single P2 as I2C Master "jm_i2c.spin".

See I2C serial protocol specifications below...

Comments

  • JonnyMacJonnyMac Posts: 9,159
    edited 2021-11-03 00:18

    To handle a multi-master environment you may need to run the I2C coms in its own cog so that it can detect communications on the bus before attempting its own. My simple driver assumes it's the only master and can transmit at any time, hence works inline (no cog).

    FWIW, there has been agreement for a very long time in the Propeller community that all objects would be released under MIT license.

  • Thank You. for the library.

Sign In or Register to comment.