i2c rtc code

Thread Starter

jibanforum

Joined Mar 29, 2011
1
hello i want to interface rtc using i2c am using pcf8523 chip i need the code in asm how to control the resistors accessing the register plz help me out.
 

beenthere

Joined Apr 20, 2004
15,819
I doubt is anyone has that code for you, but you might explain in more detail what you are trying to do.

The RTC chip has a data sheet that describes it operation? Do you have it and do you understand it?

how to control the resistors accessing the register
This makes no sense. If your microprocessor has an I2C interface, it also has a data sheet that describes how to pass data through it.

Assembler code is different for every microprocessor and application.
 
Top