Yes. i2crepstart is required. Otherwise I get compile error.
I found that DS1307 does not work on 3.3 volt. (can you please post your schematic of xmega & ds1307 ? )
I saw , DS1307 on 5 volts and (silabs) microprocessor on 3.3 volt, i2c pull up to 3.3 volt and then battery = 3 volt . Works well.
I am yet waiting for my new xmega chip and PCB.
Thanks for the replies.
Regards,
Devidas
↧