Please help me at C code for reading time from DS1407 on I2C bus.I am able to R/W data to an EEPROM on the same bus.But when i read the time i get 0xffff for hrs,mins and secs even after initializing the RTC chip. Please help.
Does it work if you remove the EEPROM and have only the DS1407 connected? Have you looked on the Dallas site for examples and/or Application Notes?