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.

TMS320F28069: how to interface BQ32002 or any other rtc using I2C to TMS320F28069

Part Number: TMS320F28069
Other Parts Discussed in Thread: BQ32002, C2000WARE

Hi,I am trying to interface bq32002 rtc with TMS320F28069 using I2C .

so,anybody can guide me please?

Thank you

  • Hi Mihir,

    Are you needing help with Hardware, Software, or both for interfacing with the board?

    Please reference the BQ32002 datasheet for details on HW setup/considerations and the required data format the device expects when being written to or read from.

    For software help I'd suggest referencing the i2c_eeprom example within C2000ware, located at the directory below:

    C:\ti\c2000\C2000Ware_2_00_00_02\device_support\f2806x\examples\c28\i2c_eeprom

    This is an interrupt driven i2c example for interfacing with an eeprom slave. You will need to edit the software to fit your slave device and application. For a more straight-forward SW example to work off of you can look at what I provided in the below E2E post. Simple functions for reading/writing to i2c slave registers are included:

    https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/773846

    Best,

    Kevin

  • Hi ,

    Thank you very much i will try this and let you know the status.

    Thank you