ahgan84 0 Posted November 16, 2011 Share Posted November 16, 2011 Hi guys, Recently I begin to study on I2C communication for my MSP430F5325. I've found some I2C sample coding in the below link: http://www.ti.com/litv/zip/slac503 But all it got its one way only. Either its receive only or transmit only. I want to do transmit and receive. Is there any combine coding for transmit and receive? Quote Link to post Share on other sites
TopHatHacker 25 Posted November 16, 2011 Share Posted November 16, 2011 well i may be whhhaaaaay off but the way i've used i2c in the past is set a variable/flag/message/something so that the next time the master polls for information, whatever info you wanted to give to the master, the master will come and get it. I don't think it does transmit and receive in the traditional sense, but in programming you can implement something. I believe its mostly for getting information from peripherals.. the only time i've used it was to get 3axis data off a wii nunchuck. oh and here's the wiki on i2c.. not sure it helps anything... but i did go through the effort of googling for it, so you can have it http://en.wikipedia.org/wiki/I%C2%B2C I'm sure there will be a post after this one that explains i2c in a better fashion ahgan84 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.