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.

Compiler/CC2642R: Need CC2642 ROM Based Internal Eeprom and I2C Drivers

Part Number: CC2642R


Tool/software: TI C/C++ Compiler

Hi Team,

Could you please help us on CC2642 ROM Based Internal Eeprom and I2C Drivers, or any example project which contains the ROM Based internal Eeprom and I2C Drivers drivers.

Regards,

Srinivas.V

  • Look in this folder under the SDK install path for the device specific I2C driver: source\ti\drivers\i2c

  • Hi ,

    Thanks for your reply.

    The path you have mentioned was flash based and TI-RTOS based drivers support. we are looking for ROM based drivers.Any way we found the path, which is mentioned below.

                                     source\ti\devices\cc13x2_cc26x2\driverlib\i2c

    But we need one example application which is using the ROM based  I2C API's, similar way we need for internal eeprom drivers as well.

    Regards,

    Srinivas.V

  • The driver I pointed to use the driverlib (ROM) functions. It's not practically possible to use the ROM functions directly. As you see from the driver, it does as an example power management. 

  • Hi ,

    Thanks for your reply.

    We agree with you, the path you specified is internally using the ROM API's only, but our intention is we need the drivers without TI_RTOS calls, it is just like functions which is mentioned in below path.

                             ti\common\cc26xx\board_support_pkg\CC26X2R1_CC13X2R1_LAUNCHXL

    If you check this SPI Flash drivers there is not dependency on TI_RTOS and other layers.Similar way we need the CC2642R Internal EEPROM drivers as well.

    Regards,

    Srinivas.V

  • The files found under   ti\common\cc26xx\board_support_pkg\CC26X2R1_CC13X2R1_LAUNCHXL is intended for BIM usage only. It's not clear why you don't want to use the existing I2C driver? 

  • Hi TER,

    Thanks for your reply,

    We also intended to use for Boot Loader only. That is the reason we are looking for ROM based I2C Drivers which are not included the TI RTOS layers, pure ROM based only. Could any one knows the driver path for cc2642 Internal Eeprom, it is very helpful to us, same thing we intended to use in our customized Boot Loader.

    Regards,

    Srinivas.V

  • Out of curiosity, why do you want to use I2C in a bootloader? 

    As far as I know the drivers we have under  ti\common\cc26xx\board_support_pkg\CC26X2R1_CC13X2R1_LAUNCHXL is the only ones developed without using a OS. 

  • Hi TER,

    Thanks for your reply.

    We  want to use the I2C in a Boot loader, because we need to communicate with slave device through I2C layer to update the Flash status through led indication. That is the reason we require the I2C drivers without using the TI RTOS layers, similar way we have for SPI for External flash operation which are under below mentioned path.

    "  ti\common\cc26xx\board_support_pkg\CC26X2R1_CC13X2R1_LAUNCHXL"

    Any idea about these ROM Based "I2C and Internal Eeprom"  drivers, please share the code path to me, or else if you people suggest any modification to existing i2c drivers also good for me, we will follow the same instructions.

    Could you please expedite the response, so that we can discuss more points on these issues.

    Regards,

    Srinivas.V

     

     

  • As far as I know the drivers we have under  ti\common\cc26xx\board_support_pkg\CC26X2R1_CC13X2R1_LAUNCHXL is the only ones developed without using a OS. Meaning that if you need something that is not in this folder you have to write these yourself based on the I2C driver and how the other ROM based drivers are written.