Page 1
Quick Start Guide WICED Smart WICED Smart™ Development System MMPWICED-Smart-QSG203-R 5300 California Avenue • Irvine, CA 92617 • Phone: 949-926-5000 • Fax: 949-926-5203 September 24, 2014...
Page 2
, WICED™, WICED™ Smart, and the Connecting ® ® everything logo are among the trademarks of Broadcom Corporation and/or its affiliates in the United States, certain other countries and/or the EU. Any other trademarks or trade names mentioned are the property of their respective owners.
Application Test Example........................18 Viewing Traces from the WICED Smart Tag .................... 19 What Now ..............................21 Appendix A: Testing a WICED Smart Tag with Windows 8 ........... 22 The Hello Sensor Tag Application......................22 The Hello Client PC Application ......................23 Testing the Hello Application.........................
Page 4
Figure 3: Reset Button ............................. 16 Figure 4: Coin Cell Power Switch Positions ..................... 17 Figure 5: LightBlue iOS Application Showing the WICED Smart Tag Heart Rate Monitor Application.... 18 Figure 6: Configure UART for Tracing ......................19 Figure 7: Connecting the WICED Smart Tag to a PC Running Windows 8 ............. 22 Figure 8: HelloClient Select Device Window....................
Page 5
WICED Smart Quick Start Guide List of Tables List of Tables Table 1: Overview of the WICED Smart SDK Top-Level Directory..............9 ® Broadcom WICED Smart Development System September 24, 2014 • MMPWICED-Smart-QSG203-R Page 5...
WICED Smart sample applications using the WICED Smart Integrated Development Environment (IDE). The instructions in this document must be completed before the WICED Smart SDK and WICED Smart Tag can be used. Note: This document applies to WICED Smart SDK 2.1.x.
Broadcom through a distribution channel can acquire technical documentation and software from the Broadcom Support Community website (community.broadcom.com). For Broadcom documents, replace the "xx" in the document number with the largest number available to ensure you have the most current version of this document.
S y s t e m O v e r v i e w The WICED Smart development system is composed of a WICED Smart tag, the WICED Smart Software Development Kit (SDK), and the WICED Smart Integrated Development Environment (IDE).
WICED Smart core Bluetooth components Hardware and Software Requirements • The WICED Smart SDK runs on 32- and 64-bit versions of Microsoft Windows, OS X, and Linux. • The SDK is distributed as: – A standalone 7zip file suitable for all operating systems.
4. In the Pre-Installation Summary window, click Next to install using the current IDE and SDK folder selections. (Click Previous once or twice to modify the SDK and/or IDE installation folders, respectively.) After installation has completed, start the WICED Smart IDE by using the WICED Smart IDE desktop icon. Broadcom ®...
1. Each of the eight DIP switches on the SW4 mini-switch are set to ON. 2. SW2 should be in the VUSB position (up) and SW3 should be in the VREG position (down). Connect the WICED Smart tag to the development PC with a USB cable; the USB UART driver will load automatically.
COM40 and COM41. The assigned port numbers vary among systems. The first port (HCI UART) is used to download the application to the WICED Smart tag; the second can be used to talk to the chip over the peripheral UART.
Windows 8” on page 22 describes an alternate method for testing applications running on the WICED Smart tag. You can also use a Windows 7 PC equipped with a Broadcom chip or with a Broadcom chip-based Bluetooth 4.0 dongle.
BCM20737TAG_Q32 WICED Smart tag platform. The example below creates a new target for the Heart Rate Monitor application. The target will then be used to build and download the application to the WICED Smart tag. In the IDE Make Target pane: 1.
Page 15
WICED Smart Quick Start Guide Build and Load a Sample Application Double-click the newly created heart_rate_monitor-BCM920737TAG_Q32 download target to build the heart rate monitor application: the IDE console pane (bottom center of the IDE window) displays the build progress. The build target is appended with the download option, which tells the tool chain to download the firmware when the build is complete.
WICED Smart Quick Start Guide Build and Load a Sample Application During firmware download, a red LED labeled 'D2' on the WICED Smart tag flashes to indicate that a firmware download is in progress. If the WICED Smart tag is not recognized or detected by the programming tools, the following message may appear: Detecting device...
WICED Smart Quick Start Guide Run an Application Note: If the problem persists after following the instructions above, the EEPROM on the WICED Smart tag may be corrupted. See the instructions in “Recovering a Corrupt WICED Smart Tag” on page 27 to erase the EEPROM on the tag.
To see measurements update in real time: tap BLE HR Monitor > Heart Rate > Heart Rate Measurement and then tap Start Notify at the bottom of the Details screen. Figure 5: LightBlue iOS Application Showing the WICED Smart Tag Heart Rate Monitor Application Start/ Note: A description of the heart rate monitor application is provided in the header comments of the heart_rate_monitor.c source file located in the WICED Smart SDK at:...
4. Wait for the Build Finished message to display in the console window. 5. Locate the mini-switch (SW4) on the WICED Smart tag, and set DIP switch 2 to the OFF position. The final switch settings of mini-switch SW4 are: 1 = ON, 2 = OFF, and 3 through 8 = ON.
Page 20
Instead of using the console window of the IDE, a terminal emulation program, such as Tera Term or Hyperterm, can be used. Configure the terminal emulation program to use the COM port used by the WICED Smart tag (see “Verify Driver Installation” on page 12 for instructions on identifying the COM port to use).
WICED Smart Quick Start Guide What Now What Now Now that you have a basic understanding of how to compile and download a WICED Smart application, we recommend building and running the example applications provided in the WICED Smart SDK applications directory.
This appendix describes how to use applications running on a Windows 8 PC to interact with a WICED Smart tag. The PC used for testing may be the same PC used to develop WICED Smart applications, or a different PC can be used.
WICED Smart Quick Start Guide Testing a WICED Smart Tag with Windows 8 The Hello Client PC Application The Hello Client (hello_client) PC application is provided with the SDK to complement the Hello Sensor (hello_sensor) tag application. It is located here: <WICED-Smart-SDK>\Wiced-Smart\Apps\hello_sensor\peerapps\Windows\HelloClient\Release...
WICED Smart Quick Start Guide Testing a WICED Smart Tag with Windows 8 Testing the Hello Application To test the application with a WICED Smart tag, follow the instructions provided for each of the Hello Service characteristics (see Figure 9, below).
2. To revert to the C/C++ perspective (rather than the Debug perspective for example), click the C/C++ icon in the top-right corner of the window. Shortcuts A useful cheat-sheet outlining shortcuts for the WICED Smart IDE (Eclipse) is included in the <WICED-Smart- IDE>/Readme directory or online here: http://www.cheat-sheets.org/saved-copy/eclipseCDT8.0-cheatsheet.pdf Particularly useful keystrokes are listed below: •...
To use the feature, edit the make target for the required application to add the UART=COMx parameters. BT_DEVICE_ADDRESS=<address> Figure 11 shows two WICED Smart tags connected to a PC and appropriate targets to build and download the hello client and hello sensor applications. Figure 11: Configuration for Two WICED Smart Tags Broadcom ®...
S ma rt Ta g The following steps describe how to recover a WICED Smart tag if the EEPROM is corrupted. 1. Identify the USB-serial COM port assigned to the WICED Smart tag. Refer to the instructions provided in “Verify Driver Installation” on page 12, if required.
Page 28
Information furnished by Broadcom Corporation is believed to be accurate and reliable. However, Broadcom Corporation does not assume any liability arising out of the application or use of this information, nor the application or use of any product or circuit described herein, neither does it convey any license under its patent rights nor the rights of others.
Need help?
Do you have a question about the WICED Smart and is the answer not in the manual?
Questions and answers