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.
Hi all,
I'm working on project that data is acquired and send to Smartphone via Bluetooth (Classic BT). First, I want test BT connection so I send a string to Smartphone. I have a launchpad MSP430F5529LP kit with SimpleLink CC2564MODEM.
About app on Android, I use a worked app (my colleague tested).
But I'm not have any experience of woking with BT . Ofcourse I downloaded MSP430 Bluetopia, setup and look at example, It's seem be too complicated. So I hope anyone here who had been working on BT suggest me creat an simple project that I can test BT connection.
Thank you very much!
Hi,
We have only one demo SPPLEDemo Lite which can run on MSP430F5529(MSP-EXP430F5529) and then scan and connect from your android phone (example using BlueTerm app).
See http://processors.wiki.ti.com/index.php/CC256x_MSP430_Bluetopia_Basic_SPPLEDemo_Lite_APP
As you are using the launchpad, First you need to connect the UART lines. make sure you follow the first three step from here http://processors.wiki.ti.com/index.php/CC256x_Testing_Guide
and you will need to make sure that your hardware connections are fine as per the "Hardware Porting Guidelines.pdf" file in the documentation folder of the SDK.
Hi Sundeep,
Thanks for your quick reply.
I read carefully the instruction on wiki.ti.com page, as you mentioned before, only SPPLEDemo Lite can run on MSP430F5529 (with Blueterm app). I imported this demo, modified hw connection (following Hardware Porting Guidelines.pdf)
After complie, the message:
"./lnk.cmd", line 48: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".text" size 0x2b12 . Available memory ranges: FLASH size: 0x1000 unused: 0xe56 max hole: 0xe56
Can you explain and how to fix it?
One more thing, I want add some code to interface with an sensor via SPI, How can I put on main function?
Thank you very much
Hi,
MSP430F5529 has only 128KB of flash. make sure you code (binary) does not exceed it.
You can remove few functionality's (as you want to try Classic BT, you can remove GATT and LE )from the code.
First, many thanks Sundeep. I solved the problem.
Second, I have some issue:
Now I'm using MSP430 Audio Sink kit. On kit, I want using 3 touch button as A3DP Snk project with addition: when press each touch button, it's also send o char to my device (Smartphone).
For example:
Press Back send character 'A'
Press Play/pause send character 'B'
Press Next send character 'C'
I was searching around, sb said using "SPP_Data_Write()" send data
Is that true? If true, where should I put this function
And do you have any suggestion?
Thank you very much
Hi,
Yes, But you should alo have a SPP connection before that.
When you use the Capacitive touch, ProcessCapTouch() will be called which is running as a from the Scheduler started from the main thread and from there you will call SendRemoteControlCommand() and then AUD_Send_Remote_Control_Command() to send the command. It should be here.
once the command is set successfully and you receive a conformation from remote you will get etAUD_Remote_Control_Command_Confirmation in the callback.
For more details please have a look at the code and the documentation folder as part of the SDK