Dec 7, 2006 #1 ubuntu_amateur Member level 4 Joined Sep 24, 2006 Messages 71 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 1,665 under Linux, which type of device does 24c64 belong to? char device or block device? to write a i2c bus driver, may I refer to a sketch driver of tty? could anyone proviced some suggestions?
under Linux, which type of device does 24c64 belong to? char device or block device? to write a i2c bus driver, may I refer to a sketch driver of tty? could anyone proviced some suggestions?
Dec 8, 2006 #2 asprakash Member level 1 Joined Nov 20, 2006 Messages 41 Helped 1 Reputation 2 Reaction score 0 Trophy points 1,286 Location Chennai, India Activity points 1,573 I m not sure, but I hope it belongs to char driver. coz, I2C send the data by SDA . If I m not correct, Let me know. ============ Prakash (LiNuXbAbY) ============
I m not sure, but I hope it belongs to char driver. coz, I2C send the data by SDA . If I m not correct, Let me know. ============ Prakash (LiNuXbAbY) ============
Dec 9, 2006 #3 ubuntu_amateur Member level 4 Joined Sep 24, 2006 Messages 71 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 1,665 I found a driver for 24cxx: **broken link removed** but I don't understand it. if used GPIO pin to simulate I2C bus, how to modify it to be suitable?
I found a driver for 24cxx: **broken link removed** but I don't understand it. if used GPIO pin to simulate I2C bus, how to modify it to be suitable?
Dec 20, 2006 #4 V vsomeshwar Newbie level 5 Joined Dec 20, 2006 Messages 8 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,314 It is char device. becoz we send & recieve data serially bit by bit. If u understand i2c protocol ,u can easily write driver.
It is char device. becoz we send & recieve data serially bit by bit. If u understand i2c protocol ,u can easily write driver.