This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I've been searching for threads about using F5529LP with Raspberry PI via USB but this is the only thread I found:
Reading data from serial on Linux - MSP low-power microcontroller forum - MSP low-power microcontrollers...
Following the links mentioned in the post makes me uncertain about I can use MSP430F5529LP with rPI 1 or 2. I found numerous articles how to communicate with SPI, I2C or UART, but in my case the LP's SPI an I2C ports are used for other purposes. Due to the fact that the MSP SPI pins are equal to UART pins I can not use the UART for rPI communication.
Right now I am using MSP USB stack for device communication on Win7 so the obvious way is keep going with USB to rPI.
Do you have any experience with USB stack with rPI?
PS.: LINK on Page 6 amstan said he could use it with success.
My dream would become true if there was a step by step instruction with a simple CDC example ;)
Looking forward any feedback or suggestion. Thank you in advance.
Daniel:
I did a web search, and I quickly found two articles regarding connections. One is more detailed than the other...
http://mitchtech.net/raspberry-pi-msp430-spi/
http://etchingpathways.blogspot.com/2012/12/raspberry-pi-meets-ti-launchpad-msp430.html
It looks like the two boards do not plug directly together, but the mitchtech article shows some jumper wire connections.
Dear Todd,
Thank you very much for your quick reply. Maybe my problem/question was not totally clear (sorry for my poor English) but I am looking for solution when the rPI and MSP430 are connected together via USB cable and the communication is handled by TI USB stack. In this case I can manage only the USB API code om MSP side, consequently I can freely connect the MSP to Win-base os by sharing the USB Inf file and to rPI.
" I found numerous articles how to communicate with SPI, I2C or UART, but in my case the LP's SPI an I2C ports are used for other purposes. Due to the fact that the MSP SPI pins are equal to UART pins I can not use the UART for rPI communication."
Daniel:
Thanks for the explanation. You may need to develop some of this - the SPI code may provide some of the basics that you would need to apply to the USB Comm.
By the way, http://processors.wiki.ti.com/index.php/Getting_Started_with_the_MSP430_LaunchPad_Workshop has an excellent chapter on the USB.
MSP430 CDC device (from micro side point of view) will work on Win / Linux or any other platform that support CDC device. Here is example of my CDC device (my own USB stack, but this is irrelevant here) used by Win / Linux without any code changes on micro side.
http://forum.43oh.com/topic/2972-sbw-msp430f550x-based-programmer/?p=42575
Only question is if you are able to make interface (if it is needed) on OS side. Problem is not on micro side.
Yes. CDC should work just fine. If you plug your MSP430 CDC device (not FET) with some (non-composite) CDC example from TI USB API, it should be enumerated by OS. If it is enumerated than it will probably work just fine. CDC from OS side is like Uart, so basic Uart terminal will be able to display characters received from MSP430 CDC device.
BTW, you can check also slaa630 Android Applications With MSP430 USB on Mobile Devices
Hello,
My college told me we used Wheezy version of Raspbian, no additional package needed. In the MSPWare the TI shipped CDC example working out of the box. Do you recognize the the LP as a ttyxx device?
BTW, its important to mention make sure the Modem Manager is disabled on Linux, because after connecting an LP unwanted characters are coming from the host side :)
No It does not get installed as a ttyxx device at all- that is the issue. I am using Raspbian Noobs but I will switch to Wheezy as you indicated to see if that helps. I will post back
No I didn't, Daniel. Oh it would be awesome if you could send me an image! Or if he loaded a certain package all I need is the name of the package I need to load and install. But the image will certainly help a lot. Many thanks
Hey,
Sorry for my late reply. My college prepared an image for you:
Some useful info:
This version is tested with F5529LP Device (LED ON LED OFF Command.s)
**Attention** This is a public forum