This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS1224: Need code for RTC

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN

Hi,

 I using TMS570LS1224 board.I need to interface ds1307 RTC through i2c interfacing.The below table is a register table for i2c,

0x00 Seconds
0x01 Minutes
0x02 Hours
0x03 Day
0x04 Date
0x05 Month
0x06 Year
0x07 Control
0x08 
0x3F
RAM 
56 x 8

Kindly help me with sequence of i2c communication to set and get time to RTC module. 

  • Hello Kaleeswaran,

    The D1307 device is a MAXIM device and we simply don't have the experience or expertise to offer support on this topic. I would recommend approaching MAXIM to see if they might have a generic application level driver that can be integrated into the Hercules device on top of the I2C drivers provided by HalcoGen. You may need to write an interface layer to convert between the generic driver and Hercules drivers.