eZ430

As a newbie and mostly or ‘totally’ an ‘analog man’, I wanted to make a try in the µC world. What a satisfaction when I discovered the eZ430! A complete system (hard+soft) for 20$, a dream for someone who is not really sure it will ‘do it’!

I think that I’m not the only one in that situation (from what I’ve fund during my search on the net) and I thing it would be of a great interest for all of us (the newbies!) to found support especially for this system, and why not to create a specific group for it (if a sort of ‘teatcher’ is ready to spend time doing that job : tutorials, helps …) .

I have at that moment a specific problem, and if anyone can help …:

After the ‘classic’ exercise with the system (flashing a led…!) I’m now try to go further and want to use I2C devices with my eZ430.

On the TI support site, I was not able to find an application using the new USI module with I2C. There is an example with the USI module and SPI, but it’s easier (from my point of view!) to program than I2C (where you have to manipulate the START and STOP signal, ACK …)

As I tried to write the routines in C and find some ‘difficulties’, I would REALLY appreciate if someone could send me ‘I2C.C’ routines I could use in my project (driving an DAC by I2C to drive a VHF bandpass filter), which would use the advantage of the USI module.

Perhaps the routines are already on the web (in an application …) but I didn’t find it! As the MSP430F2013 is almost new, I’m not sure…

If you know a site where a ‘newbie’ could find ways to improve, I’m also earing! (routines with lots of code description is a golden mine !!)

Didier

http://www-s.ti.com/sc/techzip/SLAC080.zip

c code samples, see index in Readme.txt

msp430x20x3_usi_06.c I2C Master Receiver, single byte

msp430x20x3_usi_07.c I2C Master Transmitter, single byte

msp430x20x3_usi_08.c I2C Slave Receiver, single byte

msp430x20x3_usi_09.c I2C Slave Transmitter, single byte

http://www-s.ti.com/sc/techzip/SLAC081.zip

Assembly code samples, see index in Readme.txt

msp430x20x3_usi_02.s43 SPI full-Duplex 3-wire Master

msp430x20x3_usi_03.s43 SPI full-Duplex 3-wire Slave

Thank you very much OldCow. :smiley:

In fact, I’ve downloaded those files few days ago, and the last file was msp430x20x3_usi_05.c, for SPI bus!!! :?

I didn’t see that it has been released. Thank’s also to TI! :oops:

I’ll try to implement the code to see where I was wrong!

Hope it will also help other members to know about this release!

Nevertheless, if someone is ready to become a ‘teatcher’ for MSP430F2013 newbies, just tell to this great forum …I’ll be the first ‘student’… :wink:

Didier.

I don’t know if I’m up on enough of the 430 to be a teacher but I’m glad to share what I do… I2C is one area where I haven’t looked.

I do think the ez430 is a wonderful piece of work. $20 gets you in-circuit debugging on 2 pins. pretty darn good. I wish there was a better source for small quantities of the chips, though. digikey has some and that seems to be it. Guess I’ll need to rely on TIs sample-generosity.

by the way, do you know about the yahoo group? it’s somewhat active.

Jameco has a small selection of MSP430’s. Mouser has a huge selection.

unfortunately, Mouser doesn’t seem to stock any of the 430F2xx series.

digikey, on the other hand, seems to have lots of the the F2xx parts.