• 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 » Microcontrollers » MSP430™ Microcontrollers » MSP430 Ultra-Low Power 16-bit Microcontroller Forum » MSP430G2553 and Bluegiga's BLE112
Share
MSP430™ Microcontrollers
  • Forum
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
MSP430 Resources
  • MSP430 Product Folder
  • MSP-EXP430G2 - MSP430 LaunchPad Value Line Development kit
  • MSP430 Getting Started Guide
  • MSP430 Microcontroller Projects
  • More Resources >
  • MSP430G2553 and Bluegiga's BLE112

    MSP430G2553 and Bluegiga's BLE112

    This question is not answered
    Andrew DeNicola
    Posted by Andrew DeNicola
    on Mar 25 2012 16:57 PM
    Prodigy10 points

    Has anyone tried interfacing with the BLE112? I am trying to communicate with it through the MSP's UART (USCIA0), but am not receiving a response. Bluegiga provides a nice API to interface with the device (http://www.bluegiga.com/files/bluegiga/BLE%20shared/BLE_Stack_API_reference_v1.3.pdf) and all I am trying to do is send/receive a 'Hello'. This is done by transmitting 0x00000001 to the device, and it should respond with the same thing. I believe the default baud rate for the BLE112 is 115200, which is what I have configured the MSP to. As far as documentation for the BLE112 itself is concerned, there is not very much of it :(

    Thanks!

    bluetooth G2553 BLE112 Low Energy
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Michal Roszkowski
      Posted by Michal Roszkowski
      on Apr 30 2012 05:39 AM
      Prodigy40 points

      I've got similar problem. My BLE112 module communicate with PC on UART (by adapter USB<->UART). I send comands by aplication BLEGUI. I flashed uartdemo project. When I send commands I don't receive any responce. I was able to comunicate with PC on USB, by I have to communicate on UART. Did you solve your problem and maybe coul you give me any advice?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jordan Hartmann
      Posted by Jordan Hartmann
      on May 03 2012 14:33 PM
      Prodigy60 points

      I am facing the same issue. I can see the 'system boot' message coming from the module, but am trying to send the hello message and don't get a response.

      I will post back if I figure it out.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jordan Hartmann
      Posted by Jordan Hartmann
      on May 04 2012 10:15 AM
      Prodigy60 points

      Ok I got it to where I can talk to it - for me I had to turn off the sleeposc function (which is supposedly not permitted for the BLE112) and specify a wakeup pin. These don't seem to have to both be done, but this is what got me talking to it. A little playing with it should get you the right combination. I may post back when I get it all hammered out the right way, but this should at least get you going.

      Here is my hardware.xml file

      <?xml version="1.0" encoding="UTF-8" ?>

      <hardware>
          <sleeposc enable="false" ppm="30" />
          <usb enable="false" />
          <txpower power="15" bias="5" />
          <script enable="false" />
       <usart channel="0" mode="uart" stop="high" start="low" stopbits="1" alternate="1" baud="57600"  endpoint="api" flow="false" />
       <port index="0" tristatemask="0" pull="down" />
        <wakeup_pin enable="true" port="1" pin="0" />
          <slow_clock enable="false" />
      </hardware>
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Michal Roszkowski
      Posted by Michal Roszkowski
      on May 07 2012 07:34 AM
      Prodigy40 points

      Did you try it with USART 1 Alt. 2 (P1.7, P1.6, P1.5, P1.4 <-> RX, TX, RT, CT)?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Michal Roszkowski
      Posted by Michal Roszkowski
      on May 08 2012 05:46 AM
      Prodigy40 points

      I have just checked my USB<->UART adapter. When I use a terminal program (Realterm) to send any char I can observe process on oscilloscope, but when I send command from blegui I can see notthing. Did you have similar problem?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Stefano Fante
      Posted by Stefano Fante
      on May 17 2012 08:58 AM
      Prodigy20 points

      I'm facing the same problem.

      It seem a problem related with the BL112 sleep mode.

      In order to communicate with the module I have to assert the wakeup pin.... no good.

      any advice?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Mikko Savolainen
      Posted by Mikko Savolainen
      on May 18 2012 03:23 AM
      Prodigy20 points

      Hello,

      The "problem" is most likely that the you have the power mode (PM3) enabled in the hardware configuration. This can cause the BLE112 to go into PM3, from where you need to wake it up using a GPIO. 

      If you do not want this operation, you can also disable the PM3 from the hardware configuration and then the GPIO wake-up is not needed.

      Regards,

      -Mikko Savolainen
      Bluegiga Technologies 

      BLE112 Bluegiga
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • armin Wicht
      Posted by armin Wicht
      on Jun 06 2012 08:32 AM
      Prodigy10 points

      Hello,

      I have a different Problem. I try to read an accelerometer via I2C. I already tried a lot to read it but I dont know where i have to put in the register Adress. I have the simple

      call hardware_i2c_read(adress, length)(result, data_len, data_data) line where i dont know to put in my register adress. And the next problem i dont know how to enable the pull-up's on pin 1_6 and 1_7. It should be in the hardware.xml, but i dont know already.  If anybody has an idea or better an example how to read and write to I2C sensors pls help....

      Thanx a lot

      Armin

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Mikko Savolainen
      Posted by Mikko Savolainen
      on Jul 17 2012 10:59 AM
      Prodigy20 points

      Hello Armin,

      Here's a code snipplet for you how to use the I2C and write a byte into a specific address:

      # Write to address 128 one byte (0xf5). 
      # written indicates how many bytes were successfully written.
      call hardware_i2c_write(128,1,"\xf5")(written)
      
      
      You should not need to configure the I2C pins separately, just make sure UART or SPI are not configured for channel 1.
      For more information, please have a look at the documentation on our web site.
      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