Hi all, I am using 89V51RD2. I want to implement I2C bus on it for interfacing with E2PROM, RTC, and PN531. How do I do it? I got source code from a website for I2C implementation but it is of no use. Can anybody will help out with bit banging. Please...
Thank you Erik. But I already implemented I2c by myself. E2PROM and RTC are working fine with it. But the problem is communicating with PN531. I get ACK from PN351 for each byte transferred to it. Also after sending 'Slave address + read bit' it gives ACK and then i never get expected Reply. Sometimes it does not give ACK also.
a link to the manufacturers datasheet would be helpful
Thanks Erik! I will check it and get back here.