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.
Part Number: MSP-EXP430F5438
Tool/software: Code Composer Studio
Hi All,
I would like to get some help to get defualt MSP-EXP430F5438 Experimenter Board : User Experience Demo Code.
I have downloaded it from CCS resource Explorer MSP430 and loaded to board. It just Shows backlight LCD,nothing else like I see in Video demo.
https://www.youtube.com/watch?v=_SwqtiAtKSM
Please help me with demo code to explore more of board Features.
I would like to take base demo code and modify according my requriements.
Also, Please help me with any Audio Play back and PWM codes,if already avaible for this board.
Regards,
VR
Hi VR,
Which device do you used (F5438 or F5438A)? Which compiler do you use and which output format?
Hi Raju,
I see you are having a problem getting the LCD to display anything when running the user experience code on the MSP-EXP430F5438 board.
There is one of the FAQ items in the board user's guide www.ti.com/.../slau263 section 6.1 FAQ #8: "When I run the example code, nothing happens on the LCD". It has a list of things to check - can you please try these?
1. Can you see the Revision number on the MSP-EXP430F5438 board. The software online is for the Rev 0-03 board, and the rev 0-02 hardware is incompatible. You can also try pausing the code while debugging, to see if it is trapped in the while(1) loop near that beginning of the code that does the board revision check.
2. It could be that the contrast is just really low so it is difficult to see anything on the display. You can try switching how you are powering the board and changing the power switch accordingly. You can also try changing the contrast setting using the menu options - this will be difficult when you are not able to see the menu, but using breakpoints in the code while running in the debugger, you should be able to determine what menu option is currently highlighted. You'll need to go to the settings menu (the last option in the main menu) and then to select the LCD contrast option, then use the S2 button repeatedly to increase contrast (again you can use code breakpoints to observe what the contrast setting is). Someone had a similar issue here: e2e.ti.com/.../2071062
Regards,
Katie
Hi Raju,
There are a couple of TI Designs for audio record and playback for MSP430s using PWM. You may want to try TIDM-VOICEBANDAUDIO or TIDM-FILTERING-SIGNALPROCESSING. These TI Designs include a design guide, example software, and information about the hardware used. For some (TIDM-FILTERING-SIGNALPROCESSING) it even uses only boards available for order on ti.com - e.g. BOOSTXL-AUDIO boosterpack.
I'd recommend referencing the code & design guides for both of these as your reference - I think that only the TIDM-FILTERING-SIGNALPROCESSING has record functionality, but the design guide for the TIDM-VOICEBANDAUDIO design goes into more detail and theory about PWM DAC for audio playback.
There are also a couple of useful application notes about PWM DAC: PWM DAC Using MSP430 High-Resolution Timer www.ti.com/lit/pdf/slaa497 and Using PWM Timer_B as a DAC www.ti.com/lit/pdf/slaa116.
I hope that these resources will help since they are all more focused on the specific type of functionality you are trying to implement.
Regards,
Katie
Hi Katie, I have tried to use above monetioned referecnes for my Experiment. Somehow, It is not working.
Please help me with standalone code of PWM Audio on Headset Jack via P4.4 or User Experience Demo code.
If User experience Demo works, I can extract working Portion to my requirement.. Looking for froward for your help.
Regards,
Raju
Hi Jace H,
Thanks for your reply. I have referred few other reference designs and playback codes to use Timer B0.
However, I am unable to hear any voice or noise with Adaption to my board. I have abasic question.
How can we hear Audio with 62K or 32KHy PWM frequency. I could hear some noise around 4kHz PWM frequncy with other codes.
Please suggest.
Regards,
Raju
Hello Raju,
I was reading this thread and realized that you might be able to reverse engineer the Out-of-the-Box user experience to get your audio application working. Please read through this thread which explains how to get the User Experience Demo to work on your setup. The problem is that you must use the compiler that was present at the time the example code was written. Here is a screenshot to show you the exact compiler version you need and where to change the settings.
With this info hopefully you will be able to step through the code (especially the audio playback portion of it) to see how it can help you.
Best regards,
Matt Calvo
**Attention** This is a public forum