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.

CC2650MODA: SPI, I2C

Guru 16770 points
Part Number: CC2650MODA
Other Parts Discussed in Thread: CC2650, CC2650STK

Hi

At first, I think CC2650MODA includes General Peripherals and Sensor Controller and each function has I2C individually.

Is my understanding correct?

If it is yes, is there any difference of I2C between two functions.

we assume that a charger device which has I2C connects to CC2650MODA.

In this case, CC2650MODA should be a host of I2C. 

Do you have sample code of CC2650 for I2C host?

BestRegards

  • Yes, CC2650MODA includes General Peripherals and Sensor Controller and each function has I2C individually. You can refer to I2CTMP007 example at dev.ti.com/.../node
  • Hi

    Thank you for your reply.

    I had two additional question.

    1.
    I found I2CTMP007 in my directory C:\TI\tirtos_cc13xx_cc26xx_2_21_01_08\examples\TI\CC2650STK.
    However, I could not import i2ctmp007 into CCS. CCS version is 8.3.
    Could it be possible to use "IMPORT CCS Project" for i2ctmp007 example?

    2.
    >Yes, CC2650MODA includes General Peripherals and Sensor Controller and each function has I2C individually.
    Which I2C function is used in i2ctmp007?

    BestRegards
  • 1. User Resource explorer in CCS to import i2ctmp007 example instead of importing it from CCS->File.

    2. i2ctmp007 uses General I2C Peripherals.

  • Hi Yikai

    Thank you for your reply.
    I did not install tirtos_cc13xx_cc26xx into CCS, so I installed it with new CCSv9 and reached i2ctmp007 project sample.

    >2. i2ctmp007 uses General I2C Peripherals.
    I understand i2ctmp007 uses General I2C peripherals.
    While, where can I get I2C sample that uses SCE?

    Could it be possible to use both of them for typical utility of I2C? Or is there any restriction?

    If possible, please tell us what sample would be good to test GPIO (INPUT/OUTPUT) operation?

    BestRegards
  • YOu can download Sensor Controller Studio and find i2c example using SCE. I see no problem to use both of them for typical utility of I2C. For testing GPIO, you can use pin interrupt example at dev.ti.com/.../node
  • Thank you very much for your quick response!