Académique Documents
Professionnel Documents
Culture Documents
Revision 1.07
19 January 2009
www.ifoundrysys.com
IFSYS-5651 MSP430 Bluetooth Evaluation Kit User Guide
Information contained within this document is part of the intellectual property of iFoundry Systems (“IFS”).
No part of this document may be copied or reproduced in any form or by any means without the prior written
consent of IFS.
IFS makes no warranties with respect to this document and disclaims any implied warranties of
merchantability and fitness for a particular purpose. Information in this document is subject to change
without notice. While every attempt is made to ensure accuracy, IFS shall not be liable for any errors or
omissions that may appear in this document.
IFS reserves the right to make changes at any time to the software, firmware or hardware contained in this
product.
CONTENTS
CONTENTS .....................................................................................................................................................................3
1 PRODUCT OVERVIEW.........................................................................................................................................5
1.1 System requirements.................................................................................................................................5
1.2 Kit contents ................................................................................................................................................5
1 PRODUCT OVERVIEW
Thank you for using the IFSYS-5651 MSP430 Bluetooth Evaluation Kit. This kit was designed
as a development platform for the Texas Instruments MSP430 54xx series microcontroller,
and iFoundry’s IFSYS-5043 Bluetooth HCI Module. It is intended for software developers and
product designers who would like to evaluate Texas Instruments’ MSP430F54xx series
microcontroller, and to create embedded designs, especially for Bluetooth related
applications. Developers can also use the platform to evaluate the IFSYS-5043 Bluetooth HCI
Module in stand-alone (non-hosted) mode, as an HCI UART module. The IFSYS-5043
module can be controlled by an external host such as a PC, or the on-board MSP430
microcontroller through its UART interface.
In order to use the IFSYS-5651 MSP430 Bluetooth Evaluation Kit, you should ensure that
your system has the following capabilities:
• one computer with at least two USB ports (V1.1 or later)
• Microsoft Windows Vista, Microsoft Windows XP (preferably with latest service
packs), or Windows 2000. Note that earlier versions of Windows are not
supported, and some of the tools provided by third parties may be require
specific Windows versions.
Prior to using this kit, please ensure that you have the following items:
# Description Qty
1 Getting Started Guide (this document) 1
2 IFSYS-5651 MSP430 Bluetooth Development Board 1
3 USB cable 1
4 Programming Cable for IFSYS-5043 Bluetooth Module 1
2 DOCUMENTATION NOTES
The user should note that illustrations shown in this document may appear different on
your computer due to the extent to which the Microsoft Graphical User Interface can be
customized, or due to the different flavours of Microsoft Windows. For the purpose of this
document, Windows XP is used as representative of Microsoft Windows series operating
systems.
2.2 Terminology
The following terms, when used in the context of running or installing software, will be
used to convey the following meaning within this document:
Click or Click on – means place the mouse and click once to activate the selection. This
is usually used when requesting user to press a button on screen
Press – same is Click on, but normally used in a narrower context to mean click once on
a button.
Select - Put your mouse over the indicated entity and press the mouse button once. This
usually used to bring an item (such as a tab, or dialog window) into focus.
This section is intended to familiarize you with the IFSYS-5651 MSP430 Bluetooth
Development Board. The key elements of the IFSYS-5651 Development Board are as
indicated in the diagram below.
3.1 Connectors
Following is a list of connectors used on the board, and their respective functions. The
connectors may in later sections be referred to by either name or reference designation.
Refer to the board diagram on the previous page for connector and component locations.
The developer of MSP430 applications is advised about the limitations with regards to
the MSP430 serial communications. MSP430 provides a basic 3-wire UART
communication. For applications that require hardware based (RTS/CTS) flow control,
this capability is simulated by MSP430 GPIO lines.
It should be noted that simulated hardware flow control incurs processor cycles, and
the developer should decide between implementing simulated hardware flow control,
or use software based flow control schemes.
All UART ports of the MSP430 are of the 3-wire type. Please refer to the schematics
for the IFSYS-5651 MSP430 Bluetooth Development Board for details on which GPIO
pins are allocated for UART flow control purposes.
Following is a list of switches and LEDs used on the board, and their respective functions.
The components may in later sections be referred to by either name or reference
designation. Refer to the board diagram on the previous page when locating these
components.
3.3 Jumpers
Following is a list of jumpers used on the board, and their respective functions.
The table below shows other important items related to the IFSYS-5651 board.
Following is a list of MSP430 GPIOs which are not tied to specific board functions and can
be freely designated for any purpose. The components may in later sections be referred
to by either name or reference designation. It may be helpful to reference the board
diagram on the previous page when locating these components. In the following sections,
the term “-nc-“ means “not connected”.
Following is a list of MSP430 GPIOs which are not tied to specific board functions and can
be freely designated for any purpose. The components may in later sections be referred
to by either name or reference designation. It may be helpful to reference the board
diagram on the previous page when locating these components.
In order to use the IFSYS-5651 Development Board, you will need to install software and
documentation that comes with it. This can be downloaded from iFoundry’s website from
the links provided in Section 12 - PRODUCT WEBSITE.
Uncompress the IFSYS-5651 package you downloaded on your PC. The package will be
stored under a top level folder called “IFSYS-5651”. All other folders will be referred from
this “home” folder location.
Prior to running any of the demo programs for the MSP430 please ensure that you have
installed the USB-to-Serial driver for the IFSYS-5651 board. Instructions for this is located
in Section 11 - INSTALLING THE USB-TO-SERIAL DRIVER.
Once you have done this, you should proceed to Section 5 - CONFIGURING IFSYS-
5651 FOR OPERATION.
The IFSYS-5651 board is powered up through the USB connector. This happens when
the board is normally connected to a PC or other host. Even if the PC is not involved in
the transfer of data, the USB cable will still be necessary, if only to supply power to the
IFSYS-5651 board.
The IFSYS-5651 MSP430 Bluetooth Development board has versatile functionality, and can
operate in a number of different modes:
• it can be used to develop embedded Bluetooth applications based on both the
MSP430 and IFSYS-5043 Bluetooth Module,
• it can be used to develop Bluetooth applications based on the MSP430 and a
Bluetooth Module that is connected externally to one of the MSP430 UART ports
• it can be used to develop embedded applications for the MSP430 alone, or
• it can serve as a stand-alone Bluetooth development platform for the IFSYS-5043
Bluetooth Module.
• It can be used to develop application using the IFSYS-5043 as an HCI module alone.
This section details how to configure the IFSYS-5651 board to operate in any of these modes,
as well as configure the board to support firmware download operations to either the MSP430
or IFSYS-5043 module.
This is the configuration for developing MSP430 applications which make use of the on-
board IFSYS-5043 Bluetooth module based on CSR’s BC03 single chip radio.
This is the configuration for developing MSP430 applications that do not make use of the
on-board IFSYS-5043 Bluetooth module.
In this mode, the IFSYS-5043 Bluetooth module is connected to an external host, such as
a PC or other similar device running a Bluetooth stack. The IFSYS-5043 operates as an
HCI UART device in this case.
In this mode, the IFSYS-5043 Bluetooth module operates as a stand-alone module, with
the Bluetooth stack as well as application residing wholly on the IFSYS-5043 module
itself.
This mode is used for downloading applications to the MSP430. Applications can be
sample applications that are provided by iFoundry, or those that you develop for the
IFSYS-5651 board.
This section shows you how the IFSYS-5651 can be set up for developing MSP430
applications.
The diagram below shows the key components related to setting up the IFSYS-5651
board for MSP430 development.
At this point, the development configuration should look similar to the one shown in the
diagram below.
This section shows you how the IFSYS-5043 can be set up as a generic HCI module for
connection to a host controller such as the on-board MSP430, an external PC or other similar
device. In this case, the host is likely to be running a Bluetooth stack as well as applications
on top of that.
7.1 Preparations
Key components related to setting up for hosted IFSYS-5043 development are shown in
the diagram below.
Connect up the IFSYS-5651 development board to the PC using a serial RS232 cable
and the USB cable, as shown below.
The IFSYS-5043 is shipped as a Bluetooth HCI module configured for 3-wire UART
interface based on Bluetooth SIG’s H3W specification. The H3W interface is set at
9600bps data rate.
This section shows you how the IFSYS-5043 can be set up for stand-alone development in
which the IFSYS-5043 module hosts all the Bluetooth firmware and the applications you
develop for it within the module itself.
CAUTION
The IFSYS-5053 Bluetooth module comes loaded with HCI Bluetooth firmware. It
is strongly recommended that you first save this firmware in case you need to
restore it at a future date. Bluetooth addresses are unique to each module and
you should note the specific IFSYS-5651 board that the saved firmware belongs
to. For instructions on how to save the HCI firmware on a IFSYS-5043 module,
please follow the instructions listed in Section 9.2 - Backing-up original IFSYS-
5043 firmware.
With the exception of the Programming Cable for IFSYS-5043 Bluetooth Module, these
tools are available under license from Cambridge Silicon Radio. It is assumed that the
developer has access to these tools in order to develop stand-alone applications for the
IFSYS-5043 Bluetooth module. CSR can be contacted at www.csr.com.
8.2 Preparations
In Standalone mode, the IFSYS-5043 module is able to make use of the following
resources:
• LEDs - LED1 and LED2
• Buttons – S1, S2 and S3. The RST button performs a hardware reset of the IFSYS-
5043 module.
8.3 Configuration
Once you have configured the jumpers on the IFSYS-5651 board, you can connect the
board to the PC as follows:
Once you have developed your application, follow the procedure in Section 9 -
DOWNLOADING FIRMWARE TO IFSYS-5043 BLUETOOTH MODULE to download
your firmware into the IFSYS-5043 module.
If for any reason you need to reload the original HCI firmware into the IFSYS-5043, follow
the procedure described in Section 9.4 - Restoring HCI UART firmware to IFSYS-5043.
Note that standalone IFSYS-5043 applications can access an external RS232 peripheral
attached to P3 connector.
This section describes the procedure for downloading firmware to the IFSYS-5043 Bluetooth
module. The reader is also encouraged to understand the programming environment for
developing applications for the IFSYS-5043 Bluetooth module.
Prior to downloading firmware, please ensure that the following items are available:
• A PC or laptop with a parallel port
• IFSYS-5651 Development Board
• Programming Cable for IFSYS-5043 Bluetooth Module (Part number MECB02061)
(supplied as part of the Evaluation Kit)
• USB cable (supplied as part of the Evaluation Kit)
Before doing any firmware modification of the IFSYS-5043 module firmware, it is strongly
encouraged to keep a backup of the original firmware as the original firmware contains a
known working condition of IFSYS-5043 in HCI mode. It is also because the IFSYS-5043
module on your IFSYS-5651 contains a unique Bluetooth Address and crystal frequency
trim value trimmed to the IFSYS-5043 on your IFSYS-5651 board.
This section describes the procedure to back up IFSYS-5043 firmware. Do note that the
following procedures is based on one version of CSR software and this may change at
CSR’s discretion.
At this point you should have two files of the same name with two different
extensions, .xdv and .xpv. You should keep these files in a safe place, and relate
the files to the specific board. In the event that you want to restore these files, you
should restore them to the same board that you saved them from.
This section explains the procedure for downloading firmware to the IFSYS-5043 module
using BlueFlash. However, during the firmware development process, firmware download
is done via BlueLab as part of the debugging process.
Click on Choose File, locate and select the firmware you want to download to the IFSYS-
5043 module. If you are restoring the “as shipped” firmware to an IFSYS-5651 board, you
should select the files you originally saved in the previous section.
The following screen shows that download process has been completed successfully.
In the event that you would like to restore the IFSYS-5043 with the original firmware that
shipped with it, follow the procedure in the last section, to download firmware that you
originally saved.
There are two ways in which firmware can be downloaded to the MSP430 microcontroller. If
you are using commercial development tools such IAR Embedded Workbench or TI Code
Composer Studio, you should use the JTAG firmware download features that are built into
these tools. To download code using this approach, please refer to the documentation
provided by the manufacturer of your development tools.
If you are not using these tools, and simply want to try out the sample/demo applications
provided by iFoundry, you can use the procedure outlined in the following sections. This
downloading method uses the UART port provided through the miniUSB connector on the
IFSYS-5651 board, and obviates the requirement for JTAG based tools. This approach uses a
software download utility provided by iFoundry.
For complete instructions on using this utility to download firmware to the MSP430, please
refer to the document MSP430 Flash Utility User Guide.
IFSYS-5651 uses an on-board USB-to-Serial converter from Silicon Labs based on the
CP210x device. In order for the IFSYS-5651 port to appear as a virtual COM port on your
computer, you need to install the USB-serial driver. This section details the driver installation
procedure.
CAUTION
Driver installation should be performed WITHOUT the IFSYS-5651
board attached to the USB port, and be performed BEFORE the
board is plugged in for the first time.
When you have located the file, double click on it to start the installation process. The
following screen will appear.
The selected folder will now be displayed on screen. Press Next to proceed.
Driver installation will start at this point, with the progress indication displayed on the
screen below. Typically this process should take only a few seconds.
Once the driver has been installed, you will see the following screen.
At this point, driver installation has been completed. Press Finish to exit the program.
Now you are ready to physically attach the IFSYS-5651 board to the USB port on your
computer.
Before attaching the IFSYS-5651 board to the USB port, please note the important point
below.
CAUTION
In the event that you intend to attach two IFSYS-5651 boards to the
same computer (but on different USB ports), you should start off by
attaching only one. This step is important because you need to
record which virtual COM port the device appears at.
When you attach the first IFSYS-5651 board, Windows normally detects and recognizes
the board through its USB connection, and attempts to load the driver you installed in the
previous step.
If this is the first time you are attaching the IFSYS-5651 on a particular USB port,
Windows will prompt you with the following screen:
You will then be presented with the following screen, which appears to be the same as the
one shown earlier. This is normal, as Windows needs to install the virtual COM ports now.
You should now reach the following screen, which indicates that the driver has been
activated for the USB-to-Serial device.
CAUTION
Note that if you plug the IFSYS-5651 board into another USB port for
the first time, you might need to go through this section again.
You can ascertain if the driver has been loaded by looking at the Windows Device
Manager entry. To do this, follow the steps below.
Right-click on the “My Computer” and select Properties from the choices to bring up the
System Properties screen below.
Select the Hardware tab in the System Properties dialog box. A screen like the one below
will appear.
Look for the entry, under Ports (COM & LPT), that reads CP210x USB to UART Bridge
Controller (COMx). Make a note of the port indicated as COMx. You will need this
information later, to use with the IFSYS-5651 test program.
CAUTION
Note the “COMx” port that the adapter is installed on. This is the virtual COM port
driver that will be needed to run the some of the programs for the IFSYS-5651 board.
At this point, the environment has been configured for using the IFSYS-5651
Development Board.
If at some point you need to uninstall the software, or to re-install it, you should simply run
the driver installation software again. The software can intelligently detect if a previous
version has been installed in your system.
Upon re-invoking the driver installation software, the following screen will be displayed.
Select the desired choice by clicking once in the radio button on the dialog box above:
• Modify to change the program components,
• Repair to re-install all program components installed by the previous setup,
• Remove to uninstall the driver,
and click Next to proceed, or Cancel to exit the program without making changes.
CAUTION
If you are installing a new version over an older existing version, we would
recommend that you remove the earlier installation first, and then re-boot your
computer prior to installing the newer version, for best results.
If you chose Remove, the following confirmation dialog box will pop up.
Upon confirmation, the following screen will be displayed, showing progress indication of
the operation.
When the operation has been completed, the following screen will be displayed.
12 PRODUCT WEBSITE
This section provides links to obtaining information and resources related to the IFSYS-5651
board.
Documentation, sample code, utilities and schematics for the IFSYS-5651 board can be
obtained from iFoundry’s website at the following link:
http://www.ifoundrysys.com/support_product.asp
Scroll down and click on the IFSYS-5651 MSP430 Bluetooth Evaluation Kit link to
proceed to the IFSYS-5651 product page.
iFoundry is hosting a discussion forum on the IFSYS-5651 product. To join the discussion
forums, please go to the IFSYS-5651 product website.
13 SUPPORT
Should you run into any problems, you may contact iFoundry in any of the following ways:
• For technical support, please e-mail: support@ifoundrysys.com
• For sales support, please e-mail: sales@ifoundrysys.com
• iFoundry web site: www.ifoundrysys.com
As iFoundry continues to enhance our kits, please review our web site from time to time to
check for available updates.
14 ORDERING NUMBERS
P/N: MDMA02060
Page 50 of 50 Copyright © 2008 iFoundry Systems