• 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 » Low Power RF Bluetooth® Low Energy & ANT Forum » CC2540DK and iPhone 4S
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

CC2540DK and iPhone 4S

CC2540DK and iPhone 4S

This question is not answered
Ido Kleinman
Posted by Ido Kleinman
on Aug 13 2012 06:53 AM
Prodigy30 points

I am looking for a working & documented example project for iPhone 4S (BLE) communicating with the CC2540DK (not mini) based on the SmartRF05EB motherboard + CC2540 modules.. My final application is will be transferring simple binary data at low data rates between phone and CC2540 board.

I've encountered only examples for working with the keyfob + apple/android phones.. 

Why is the main (and more expensive) Devkit overlooked?

If such example does not exist - is there a recommended way to "port" the keyfob mini example into CC2540DK ?

Please help

CC2540DK SmartRF05EB mini keyfob iphone BLE iphone4S 2540
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • greenja
    Posted by greenja
    on Aug 14 2012 14:21 PM
    Guru11610 points

    Hello Ido,

    You are going to have write your own code for the iPhone to CC2540DK.  Everything should be almost identical since you are using the same CC2540 chip.  The CC2540DK comes with CC2540EM modules.  You should be able to program those with the iPhone 4S TI example, unless of course you really want to have the LCD option for your demonstration.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ido Kleinman
    Posted by Ido Kleinman
    on Aug 16 2012 06:54 AM
    Prodigy30 points

    I know it's the same chip, the question is how do I port it from the keyfob (dk-mini) to the cc2540em as there are many hardware changes.

    I just want the iphone to connect and transfer few KBs of proprietry data.
    LCD, peripherials are not relevant for me right now (though the module is powered from an smartRF05EB board) 

    Any direction?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • greenja
    Posted by greenja
    on Aug 16 2012 15:48 PM
    Guru11610 points

    The first thing to so would be to look at the schematics to determine how the differences in boards affects how the code will run.  That is, if the code is looking for a button press to initiate or broadcast and the EM doesn't have buttons, well you'll have to change the code.

    Look at the board configuration file for the different configurations.  In the IAR, look at what changes are made when you switch from CC2540EM and the key fob.  Like any other porting process, you just have to go through what files are used and how the define statements affect them.  

    More than likely though it has to do with the button to start advertising.  The EM doesn't have any. Load the key fob code into the EM and connect switches to P0_0 and P0_1 and follow the startup procedure for connections to the key fob.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Hsin-Dar Lee
    Posted by Hsin-Dar Lee
    on Aug 27 2012 10:33 AM
    Prodigy10 points

    Hi,

    I made a board by CC2540 EM and just fully follows the CC2540 mini kit's design. However, TI Demo APP for iPhone 4s only can connect with the mini kit with KEYFOB hex file. Same hex file doesn't work with neither CC2540DK (not the mini one) nor my own board.  TI Demo APP closes immediately  when I try to connect. 

    ps: "BLE Scanner" APP on iPhone 4s can find the CC2540DK and my own board with KEYFOB hex file.  But why TI original demo APP can't.....

    Is anyone can connect CC2540DK or CC2540EM to iPhone4S?

    Thank you so much

    HD

    2540 CC2540DK iphone
    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