i2c rtc code

Discussion in 'Embedded Systems and Microcontrollers' started by jibanforum, Mar 29, 2011.

  1. jibanforum

    jibanforum Thread Starter New Member

    Joined:
    Mar 29, 2011
    Messages:
    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.
  2. beenthere

    beenthere Retired Moderator

    Joined:
    Apr 20, 2004
    Messages:
    15,815
    Location:
    Missouri, USA (GMT -6)
    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?

    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.
    jibanforum likes this.
  3. HallMark

    HallMark Member

    Joined:
    Apr 3, 2011
    Messages:
    91
    Location:
    {GMT +5.30} ~India~
    If you are aware of C language and going to write code in C then you may be get some reference code for the I2C.
Similar Threads
Forum Title Date
Embedded Systems and Microcontrollers Need help on MSP430 sinusodial pwm code Feb 17, 2015
Embedded Systems and Microcontrollers code repeat Feb 9, 2015
Embedded Systems and Microcontrollers Need help with smd code Feb 8, 2015
Embedded Systems and Microcontrollers i want to display on lcd screen but can't able working 8051 controller.plz anyone chek my code Jan 31, 2015
Embedded Systems and Microcontrollers Building bare arduino code with zero warning Dec 17, 2014

Share This Page