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.

RF2500T and i2c

Other Parts Discussed in Thread: CC2500

Hello,

i have a RF2500 kit and i want connect a MCU with i2c to my target board.

Can I do this?

I know that the msp and cc2500 is communicated over the SPI Port and the SPI Port is sharing his pin with i2c.

Can i switch SPI with I2C during the program is running?

 

Regards

 

ABendig

  • Hi,

    You could use the USCI I2C lines if you do NOT want to use the RF chip because the I2C clock line (P3.2) is also connected to the CC2500. You could not use them both at the same time, however since that line is connected. You could use a software I2C with free GPIOs if you need an alternate solution, however. The following application note shows how this can be implemented: http://focus.ti.com/mcu/docs/mcusupporttechdocsc.tsp?sectionId=96&tabId=1502&abstractName=slaa330

    Edit: I suppose I didn't really address your question: As mentioned above, on the eZ430-RF2500 development board the I2C clock line (P3.2) is also connected to the CC2500 chip. It turns out you have to add P3DIR |= 0x0F before P3SEL |= 0x06 in order to disable the CC2500. Once this is done the I2C clock line works correctly. Depending on how often you need to switch back and forth, this option may work for you.

  • Thank you Brandon for this hint.

    The solution with software i2c is what i'm looking for.

     

    abendig

  • Thank you Brandon for this hint.

    The solution with software i2c is what i'm looking for.


    abendig

**Attention** This is a public forum