I have bought a EZ430-RF256xT (v2.1) kit and I cannot run the demo.
When I press switch one the red led start blinking fast then it goes solid while at the same time the blue LED starts blinking.
So far so good, but it is expected the blue LED goes solid afterwards but both LED turn off (the connection can not establish and the bluetooth enters low power mode.)
I guess the reason is the boards can't find each others to connect.
The names of the bluetooth devices as detected on my computer bluetooth are BlueMSP-DemoF6BD and BlueMSP-DemoF6CF.
Inside the sdk_bluetooth_config.h file the names are set as following:
/* Local device name Note : upper limit for the lenght of Bluetooth device name * is 24 characters */#define SDK_CONFIG_DEVICE_NAME "BlueMSP-Demo"/* Name of the Remote BT Device to which SPP connection has to be established */#define SDK_REM_DEV_NAME_PREFIX "BlueMSP-Demo"
I tried reprogramming both devices (the usb and target device) but still they are not connecting.....
I would really appreciate some help here.
Please take a look at the following wiki page: http://processors.wiki.ti.com/index.php/EZ430-RF2560#MSP430BT5190_Interfaces
First of all, I tried to run the demo on kits right out of the box but I couldn't get the blue LED turn solid.
I followed all the steps in the wiki page (processors.wiki.ti.com/index.php/EZ430-RF256x) and the one you mentioned but the modules do not connect.
This is what happens:
When I connect the board to the power source, the RED LED start blinking very fast for about a second then it turns solid.
While the Red LED is solid, the Blue LED starts flashing.
If I press SW1 now, the Blue LED starts flashing faster.
Now according to the tutorial after 20-30 seconds the Blue LED has to turn solid but it won't. It keeps blinking forever.
Next, I decided to reprogram the boards using IAR.
I open the ez430-accl.eww workspace and make sure "LibTI_init_script_BT_CC256x.r43" library is included and "LibTI_init_script_BT_CC2560.r43" is excluded according to:
When I download the code onto the board I get the following that says "Invalid parameter(s)"
Mon Apr 09, 2012 01:22:01: Firmware version 30066536 Mon Apr 09, 2012 01:22:01: Interface dll version 22.214.171.124 Mon Apr 09, 2012 01:22:01: Invalid parameter(s) Mon Apr 09, 2012 01:22:01: Device : MSP430F5438A Mon Apr 09, 2012 01:22:01: External voltage : 0.0 V Mon Apr 09, 2012 01:22:01: VCC voltage : 3.5 V Mon Apr 09, 2012 01:23:44: Download complete. Mon Apr 09, 2012 01:23:44: Loaded debugee: C:\Texas Instruments\EZ430-RF256x SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\ez430-accl\iar\release\Debug\Exe\ ez430-accl.d43 Mon Apr 09, 2012 01:23:44: Target reset
I also used FET-Pro430 to reprogram the board with all the tests passing. I used the binary that came with the SDK (ez430-accl.d43)
Here's the report for FET-Pro430:
Reading Code File ........................... done-- Code size = 0x1BB15 ( 113429 ) bytes=====================================JTAG communication initialization.... OKVerifying Security Fuse .................... OKErasing memory ............................... doneJTAG communication initialization.... OKAll memory Blank checking............. OKFlash programming .................... doneVerifying check sum ......................... OK -------- D O N E --- ( run time = 269.0 sec.)
Now very strangely after programming the Kit using the ez430-accl.d43, BOTH LEDS starts blinking together without ever turning off.
I am really getting desperate and I am suspecting the modules are faulty....
Any help is really appreciated.
The provided binary is for the previous version of the board. That's why you see both LEDs blinking. You will have to compile a new binary with the correct SP. It seems that you do that but you selected the incorrect MSP430. You should select MSP430BT5190.
Thanks for your response. I am still having issues. I doubled check the target device is set to "MSP430BT5190" in Options->Device Options. I think the device shown in log is the USB emulator device:
Mon Apr 09, 2012 01:22:01: Device : MSP430F5438A
The LED flashing pattern is right but they don't connect.
I tried paring and connecting to the dongles using my laptop (Macbook) and Android phone with no success. Both devices are being discovered on boh MacBook and Android phone. When I press connect on Laptop/Android the blue LED on the dongle starts flashing (just the exact same way SW1 is pressed on the board). However devices never connect or pair with each other.
I am really confused.
I recorded the following two videos to show the problem:
Thank you for the videos. It seems that there are two different issues.
1) EZ430-RF256x to EZ430-RF256x Setup: It seems that the device is not starting the connection. Please note that the Blue LED has two states: low blinking and a fast blinking. The low blinking starts automatically and it indicates that the device is visible. The fast blinking indicates that the device is trying to connect to another device. This one starts by pressing S1. In your video, it seems that it does not go to this state because the first S1 push brings the device out of sleep only. You need to press S1 once again to start the connection request and therefore Blue LED should flash fast.
2) EZ430-RF256x to Android Setup: Did you rename your phone to BlueMSP-DemoXXXX? Otherwise,the connection will not go thru. Also, please note that if the connection goes thru but there is no data transfer, the phone may kill the connection.
P.S. You won't be able to connect to an iPhone because it requires MFI support.
Thanks a lot for your response. I finally managed to revolve the issue.
One of the dongles was not correctly programmed and the Bluetooth name showing on my android phone was like BlueMSP-Demo1FGBD (five hex characters after the dash instead of four).
Although I had tried reprogramming both dongles before, apparently something had gone wrong when I was last programming one of the dongles.
Also, you were right on about changing my Android phone name before connecting. I did change the name on my phone and it started working.
Thanks again for your time.
I see you edited the accelerometer code. I tried it myself but always enters sdk_error_handler function and have not discovered the problem.
Could you send me the code for the IAR to start my MSP430?
I would really appreciate it.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.