I wrote an I2C memory interface code for the msp430f12x
It can write and read to 24fxxx I2C memory and I tested it with msp430-gcc
If you want I'll mail it to you...

Cheers
Malan

Quoting Chris Liechti <[email protected]>:

> 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
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: ObjectStore.
> If flattening out C++ or Java code to make your application fit in a
> relational database is painful, don't do it! Check out ObjectStore.
> Now part of Progress Software. http://www.objectstore.net/sourceforge
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
> 




-------------------------------------------------
Pietas Mail

Server configured by
DataCore
Malan Joubert
05/2002

Reply via email to