Basic I2C Driver

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1
Request group membership
By: Michael Green, created: 2013-04-04 | updated: 2013-04-04

 

This is a simple Spin I2C driver intended mostly for accessing I2C serial EEPROMs like the boot EEPROM. There are low level routines included that can be used to access other I2C devices, but the specific routines to do so would have to be written by the user. See "i2cObjectv2" for an object with specific routines.
 
Version 1.3 includes logic to support non-memory devices. See comments.
Original File Upload
AttachmentSize
Binary Data Basic_I2C_Driver_1.spin12.69 KB