• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » Bluetooth® Applications » EZ430-RF256xT Demo problem
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

EZ430-RF256xT Demo problem

This question is answered
Mehrdad Majzoobi
Posted by Mehrdad Majzoobi
on Mar 28 2012 23:24 PM
Prodigy90 points

Hi,

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.
Thanks,
Mehrdad
EZ430-RF256xT
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Arild Kolsrud
    Posted by Arild Kolsrud
    on Mar 30 2012 17:34 PM
    Suggested Answer
    Intellectual1320 points

    Please take a look at the following wiki page: http://processors.wiki.ti.com/index.php/EZ430-RF2560#MSP430BT5190_Interfaces

    Arild

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mehrdad Majzoobi
    Posted by Mehrdad Majzoobi
    on Apr 09 2012 01:43 AM
    Prodigy90 points

    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:

    http://processors.wiki.ti.com/index.php/CC256x_Bluetooth_Versions_and_Service_Packs

    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 2.4.9.1 
    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.... OK
    Verifying Security Fuse .................... OK
    Erasing memory ............................... done
    JTAG communication initialization.... OK
    All memory Blank checking............. OK
    Flash programming .................... done
    Verifying 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.
    Thanks,
    Mehrdad
    EZ430-RF256xT
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mehrdad Majzoobi
    Posted by Mehrdad Majzoobi
    on Apr 13 2012 18:14 PM
    Prodigy90 points

    any ideas?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Miguel
    Posted by Miguel
    on Apr 17 2012 23:28 PM
    Suggested Answer
    Genius11555 points

    Mehrdad,

    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.

    Miguel

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mehrdad Majzoobi
    Posted by Mehrdad Majzoobi
    on Apr 18 2012 02:45 AM
    Prodigy90 points

    Hi Miguel,

    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:

    http://www.youtube.com/watch?v=bQzRxsxmbjc

    http://www.youtube.com/watch?v=WIFVuC5fMhI

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Miguel
    Posted by Miguel
    on Apr 18 2012 22:29 PM
    Verified Answer
    Verified by Mehrdad Majzoobi
    Genius11555 points

    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.

    Regards,

    Miguel

    P.S. You won't be able to connect to an iPhone because it requires MFI support.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mehrdad Majzoobi
    Posted by Mehrdad Majzoobi
    on Apr 18 2012 23:31 PM
    Prodigy90 points

    Miguel,

    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.

    Mehrdad

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Giovanni Rivera
    Posted by Giovanni Rivera
    on Nov 01 2012 09:46 AM
    Prodigy50 points

    Hello Mehrdad

    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.

    thanks

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

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.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use