Dietmar Scherhoff wrote:
Hello world (of MSP430)!
Only a stupid simple question for profis:
MSP430F1232 and some I2C-bus action.
- I didn't find some functionality in the docs.
- I didn't find some in the sourceforge search engine.
yes, you have to do this in software, but we dont have yet a example
ported to gcc. (i think one of the larger, future parts will contain I2C
in hardware)
What is the best way to handle this little problem?
depends on your situation, do you ned a bus master or slave?
the master is relatively easy as you make the timing to drive the bus.
there is an application note on TI.com for that.
a slave device is slighly more complicated and i dont know of any code
examples right now.
Write some nice C-functions?
Integrate some assembler-routines. e.g. from the TI app-notes ?? Big job ??
should be no big deal to port the code from the app note.
chris