Pookie

I2C Between 2 MSP430s

5 posts in this topic

Hello again,

I am trying to connect up 2 MSP430FR4133 using the slave_sender and Master_reader examples in the energia given examples. There is no information about which pins to use but RXD and TXD are the only pins outputting on the scope so i have tried these pins. I have also tried connecting up the pins that say they are for SPI on the pin layout to no success. Any help would be greatly appreciated.

Kind regards,

Chris    

Share this post


Link to post
Share on other sites

Have you visited http://energia.nu? A pins map is provided for each supported LaunchPad.

Have you performed a search about I²C on this very forum? It contains the answer to your question —hint: pull-ups.

Why are you posting the same question twice? One suffices. 

Rickta59 likes this

Share this post


Link to post
Share on other sites

Thanks for the reply Rei Vilo,

For the MPS430FR4133 the Energia pin layout example lists the A4 and A5 pins as P1.4 and P1. I have attached the pins from the 2 boards together and complied the slave_sender code on 1 device and master_reader on the other. I have also tried attaching a 3.2k resistor to each of the pins to VCC as it said to do this on another forum post regarding I2c.

Any recommendations would be appreciated.

I did read some of the I2C forum posts in this area and have not found a solution. I don't think i posted the same question twice?

         

Share this post


Link to post
Share on other sites

yep i have. The picture below shows the mps430 wiring and code. the exact same thing works with the Arduino's I have also in the picture.

image1.thumb.JPG.05c041c45857a6168b9dd2a8a0dba927.JPGye

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now