Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Gudjon I. Gudjonsson <gudjon@gu...> - 2008-07-02 13:49:13
|
Hi > Would anyone have an example about how to interface rs5c372a with 8051 > via i2c protocol? I tried to use > http://sdccokr.dl9sec.de/dld/top03_pac01.zip with no luck. > i2c_write() always failed. The RS5C372A slave address is 0x64. > Thanks in advance. > > rs5c372a datasheet: http://www.datasheetcatalog.org/datasheets/480/482022_DS.pdf I made the attached library for my applications on the p89c668 microcontroller, but it has worked with all I2C chips I have used. Sorry, I haven't got time to explain more but I hope it works. There are no error checks in the code. I did not find any solution around different implementation for the last byte written. Cheers Gudjon |