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.

MSP430G2553: I2c Ports

Part Number: MSP430G2553
Other Parts Discussed in Thread: MSP430FR5870, MSP430F5308, MSP430FR6989, MSP430FR5994, MSP430F5529

Hello,

I want to communicate my MSP 4302553 with a sensor via I2C. It acts master in that mode.

I want another Master Controller(probably another MSP) to communicate with the above MSP(which should behave act as Slave).

So does MSPG2553 has 2 I2C ports? if not then whats my option?

Thanks

  • It only has 1 I2C bus. Choose a different chip or implement your own hand shaking to have your device switch between master and slave.

  • Hello Sagar,

    You could also do a SW I2C implementation or use a different comms interface (UART or SPI). A SW I2C takes up more resources (clock cycles and memory) and is usually slower so this may or may not work for your application. Check out the following app note for a SW I2C implementation that you can port over to your device. (http://www.ti.com/lit/slaa714 )

    As Mike mentioned, you could also move to another device that has two HW I2C modules.
  • Can you Suggest a MSP device with 2 I2C Ports?
    I am open to changing my hardware!

    Thanks!
  • Sagar,

    MSP430 has quite a few parts with multiple I2C interfaces. they are not typically in the same class of part as the MSP430G2553. Please use our Product Selection Tool ( www.ti.com/.../products.html ) to see which parts have 2 I2Cs and fit your other application requirements.

    The MSP430F5308 or MSP430FR5870 may be a good fit for you. The above link should already have a filter checked for 2 or more I2Cs. If not, you can find this filter on the panel to your left.
  • But They dont have any Launchpad for the mentioned MSP you have told?
  • Sagar,

    No but the MSP430F5529 , MSP430FR5994, and MSP430FR6989 all have Launchpads and 2 I2Cs. The Launchpad Standard Pinout only has one I2C brought out to the header pins; however, some of these devices may have a second I2C on alternate pins that do come out to the Launchpad headers. The User Guide for each Launchpad should tell you what exact pins com out to the Launchpad Header and what their Software-Configurable pin functions are.

**Attention** This is a public forum