Part Number: MSP-EXP430F5529LP
Other Parts Discussed in Thread: MSP430F5529
Tool/software: Code Composer Studio
Can someone point me to a simple (and hopefully commented) example of reading from an I2C device from the MSP-EXP430F5529LP. Like reading from a sensor - MPU9250, BMP280, etc. I feel like this should be one of the most basic examples and somehow I'm completely missing it.
I've found the examples that use 2 MSP-EXP430F5529LP to talk to each other, but those examples are mostly useless for example purposes. I'm looking for an example that reads from a sensor device. This means the MSP-EXP430F5529LP has to both write and read bytes from the I2C bus. The examples only do one or the other.
The driverlib example looks close, but how do I map the GPIO_PORT_P3 to the launchpads Px.x pin labels? Is that explained somewhere? Its not on the pinout document that came with the launchpad.
The ex1 master and slave examples are counterintuitive. The master should control the slave, but these examples are setup such that the master just listens and the slave just talks. What am I missing?
ex2 and ex3 have the master only transmitting. Again, shouldn't the master request data from the slave?
I think I'm just having trouble understanding the examples as they are not very well commented or self-explaining.

