Search the Community
Showing results for tags 'SDL'.
Found 1 result
ElectricCowboy posted a topic in GeneralHello, I want to connect my MSP-EXP430F5529LP ("MSP430") LaunchPad to an external device via I2C. Which I2C port should I use? (1) The MSP430 Quick Start Guide (slau536.pdf) includes a diagram of the BoosterPack connector showing two sets of I2C ports: -set#1- I2C - SCL - PM_UCB1SOMI - PM_UCB1SCL - P4.2 I2C - SDA - PM_UCB1SIMO - PM_UCB1SDA - P4.1 -set#2- UCB0SDA - UCB0SIMO - P3.0 UCB0SCL - UCB0SOMI - P3.1 (2) I am using the sample project, usci_b_i2c_ex3_masterTxSingle.c. MSP430ware->Libraries->Driver Library->MSP430F5xx_6xx->Example Projects->USCI_B_I2C->usci_b_i2c_ex3_masterTxSingle The source file references "USCI_B0_Base" throughout (and not "USCI_B1_Base"). Question: Should I use SCL on P4.2 and SDA on P4.1 and change all software to "USCI_B1_Base"? Question: Or should I use SCL on P3.1 and SDA on P3.0 and use "USCI_B0_Base"? If I do, do I configure the pinmux? How would I do that? It seems to me that the sample project is assuming that the I2C is connected to UCB0 (and not UCB1), but the MSP430 LaunchPad, in its standard configuration, is using UCB0 for I2C. I appreciate any help from the community! ElectricCowboy