Pasm I2C Driver

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: created: 2013-04-12 | updated: 2013-04-12

Pasm I2C Driver - This is an assembly version of Mike Green's Basic I2C Driver. This object uses the same calling interface so that it can be used in any project that currently uses the Basic I2C Driver. It provides a substantial improvement in speed over the Spin-only driver, and is usefull for accessing EEPROMs at higher speed. The constant, DELAY_CYCLES should be adjusted to provide the desired bus clocking speed.

 

Original File Upload
AttachmentSize
Binary Data pasm_i2c_driver.spin23.46 KB

Comments

[originally posted by Anonymous on 2011-02-18 01:52:59] Works great. Fast and efficient.

[originally posted by Anonymous on 2011-05-16 02:34:34] This driver has proved itself to be reliable, well coded and documented. I've used some of the PASM routines for other (non-EEPROM) I2C devices and haven't experienced any hick-ups to date.