Jump to content
43oh

MSP430 PC GUI Eval Tool


Recommended Posts

  • Replies 42
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Hey all,   I was working on a GUI that would be able to control any and all functions on a particular MSP430 processor from a PC GUI. Only limitations a course would be P1.1 and P1.2 which are requ

Sooo, I was bored today(and a little bit hungover)... so I was looking for something to do and remembered this:   And I thought: Why not... shouldn't be that hard.   GUI.cpp // Nathan Zimmerma

Rev 0.4 Released with digital input tab implemented.   Windows .exe download here: http://www.mediafire.com/?lmgc9g6k7dhs68d   Source code now at https://github.com/NateZimmer/MSP430-Eval-Tool  

Posted Images

GUI Rev 0.3 at http://www.mediafire.com/?85y99bphfx97yps (see first post for full updates)

 

Digital output tab fully implemented. Digital inputs almost implemented.... will get that one soon. Should have enough time over spring break to get analog inputs, SPI, I2C and a few useful misc functions implemented. =D

 

Requires code here: MSP430G2553 Rev 0.3 http://pastebin.com/gVBnqEbR

HW UART Jumpers required

Link to post
Share on other sites

It doesn't have to be a Rev. 1.5 LaunchPad, but if you have an earlier rev, be sure to swap the RXD and TXD lines going to the emulator section if you're using it for serial comms with your G2553. Search in these forums for "A useful dongle for G2553s on the LaunchPad" for more info.

 

I don't think you said what C compiler you're using for the mcu code (assume mspgcc?). Since you're assuming a known configuration (LaunchPad), could you provide an mcu binary? (Intel Hex format seems most common, but almost anything else would be OK, too)

 

Thanks for your efforts and for making this available.

Link to post
Share on other sites

Rev 0.4 Released with digital input tab implemented.

 

Windows .exe download here: http://www.mediafire.com/?lmgc9g6k7dhs68d

 

Source code now at https://github.com/NateZimmer/MSP430-Eval-Tool

 

post-4818-135135541655_thumb.png

 

 

It doesn't have to be a Rev. 1.5 LaunchPad, but if you have an earlier rev, be sure to swap the RXD and TXD lines going to the emulator section if you're using it for serial comms with your G2553. Search in these forums for "A useful dongle for G2553s on the LaunchPad" for more info.

 

I don't think you said what C compiler you're using for the mcu code (assume mspgcc?). Since you're assuming a known configuration (LaunchPad), could you provide an mcu binary? (Intel Hex format seems most common, but almost anything else would be OK, too)

 

Thanks for your efforts and for making this available.

 

Yup, your correct. Infact, i'd highly recommend using an FTDI breakout board as opposed to any launchpad(TI usb-> serial drivers are terrible). For plug and play sake, I said use rev 1.5 launchpad...

 

Regarding the compiler, sorry, I added that to the documentation now. I used CCS5(free edition) for compiling the msp430g2553.c code.

 

One favor, could you attach your files here. The links you provided are going to expire eventually.

Unless i'm mistaken, a user must log in for them to be able to see the code. Hence I try to avoid using the attachments on this site so anyone can view it. My code is now on github and should be there for awhile https://github.com/NateZimmer/MSP430-Eval-Tool :)

Link to post
Share on other sites

SPI Tab implemented....

 

post-4818-135135542998_thumb.png

External link

 

Get the GUI .exe and the main.c (for your msp430G2553) here: https://github.com/NateZimmer/MSP430-Eval-Tool

 

I've only tested a 16 bit packet for received... I know sent works up to the programed 8byte packet.

Worked great on my cold compensator IC... going to try it on some SPI wireless modules I bought... that should be a nice test since it requires some 8byte packets to be sent.

Link to post
Share on other sites

Hello,

Well done! This is really useful project. I hope that your future developments will improve it. I was wondering, is it possible to create software kind-of-PWM (more like pulse) at digital output tab? Slider or textbox to adjust how many times it turns output on/off? Would be useful to test some motor drives or something like that.

Anyway, good luck!

Link to post
Share on other sites

Hey all... just noticed a bug in my SPI... a good friend of my pointed out to me that there are 4 different methods of how a SPI CLK can be generated with respect to data (kinda makes me angry there isn't a standard for this....). See section 19.2.5.1 or 16.3.6.1 of the G2253 user guide...

 

post-4818-135135543003_thumb.jpg

External link

 

Annnyyhoww, will program in some buttons so you can config which SPI CLK method you want.

 

Next tab that i'll be implementing is analog inputs... then we can see about a PWM/Frequency tab =)

Other tabs that i'd like to work on are an I2C Master and then both a SPI slave and I2C slave. At that point i'd say the tool would be pretty darn useful :)

 

Also, could you upload your pics to 43oh. Those links will expire in a year if no one visits them. It might also create a problem where imageshack is blocked.

They will be changing in less then a year. + non members can see them :)

Link to post
Share on other sites
Hey all... just noticed a bug in my SPI... a good friend of my pointed out to me that there are 4 different methods of how a SPI CLK can be generated with respect to data (kinda makes me angry there isn't a standard for this....).

 

There is, it is called Microwire. :)

Link to post
Share on other sites
Also, could you upload your pics to 43oh. Those links will expire in a year if no one visits them. It might also create a problem where imageshack is blocked.

They will be changing in less then a year. + non members can see them

 

The code is available for all non-member's to see. It is not hidden - only files and images. Example.

 

Corrected post. Uploaded image to 43oh.

Please upload your images to the Forum's server. It's provided free as in beer where a visitor's only work is to register...the same way code is provided for free. You have to sweat a little to get it to work. There have been instances on other forums where someone tracks the progress of a thread, when all of a sudden they do not know what the poster was talking about because the content was in an expired image link.

Do not take this as a rude gesture, it's a polite request for this community.

Link to post
Share on other sites
Next tab that i'll be implementing is analog inputs... then we can see about a PWM/Frequency tab =)

Other tabs that i'd like to work on are an I2C Master and then both a SPI slave and I2C slave. At that point i'd say the tool would be pretty darn useful :)

 

That's great to hear :)

 

I am facing a lot of problems to make my Launchpad do something I want (beginner in MCUs, used to analogue electronics), and your tool is great for me, to try some relay/mosfet controlling and etc. For example, now I hooked up my hybrid amplifier to Launchpad and I use digital outputs coupled to mosfets to a) switch on tube heaters B) HV supply for tube stage c) Power stage :geek:

When I'll get temperature sensor, I might use it to see how hot it gets and then to switch on a fan which would be regulated by PWM tab :D

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...