IFoundry IFSYS-5651 User Manual

MSP430 Bluetooth Evaluation Kit
IFSYS-5651
User Guide
Revision 1.07
www.ifoundrysys.com
IFSYS-5651 MSP430 Bluetooth Evaluation Kit User Guide
Copyright © 2008 iFoundry Systems All Rights Reserved.
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.
The following products are trademarks of the respective companies:
Microsoft and Windows (and its product variations) are trademarks of Microsoft Corporation. Acrobat and Acrobat Reader are trademarks of Adobe Systems Incorporated. Bluetooth™ is a trademark owned by Bluetooth SIG Inc, and used by iFoundry Systems under license. Texas Instruments, TI, MSP430 and Code Composer Studio are trademarks of Texas Instruments Incorporated IAR, Embedded Workbench are trademarks of IAR CSR, BC03, BC05, BC07, BlueCore, BlueLabs are trademarks of Cambridge Silicon Radio Plc
Page 2 of 50
Copyright © 2008 iFoundry Systems
IFSYS-5651 MSP430 Bluetooth Evaluation Kit User Guide
CONTENTS
CONTENTS ..................................................................................................................................................................... 3
1 PRODUCT OVERVIEW......................................................................................................................................... 5
1.1 System requirements ................................................................................................................................. 5
1.2 Kit contents ................................................................................................................................................ 5
2 DOCUMENTATION NOTES ................................................................................................................................. 6
2.1 Illustrations and Windows flavours ............................................................................................................ 6
2.2 Terminology ............................................................................................................................................... 6
3 GETTING FAMILIAR WITH THE BOARD ............................................................................................................ 7
3.1 Connectors ................................................................................................................................................ 8
3.1.1MSP430 UART hardware limitations ............................................................................................. 8
3.2 Switches & LEDs ....................................................................................................................................... 9
3.3 Jumpers ................................................................................................................................................... 10
3.4 Modules / Components ............................................................................................................................ 11
3.5 MSP430 General Purpose I/O (GPIO) signals ........................................................................................ 11
3.5.1JP1 Header Signals ..................................................................................................................... 11
3.5.2JP2 Header Signals ..................................................................................................................... 12
3.5.3JP3 Header Signals ..................................................................................................................... 12
3.5.4JP5 Header Signals ..................................................................................................................... 13
3.6 IFSYS-5043 Module General Purpose I/O (GPIO) signals ..................................................................... 14
3.6.1JP4 Header Signals ..................................................................................................................... 14
4 PREPARING IFSYS-5651 FOR USE .................................................................................................................. 15
4.1 Downloading the IFSYS-5651 board software package .......................................................................... 15
4.2 Preparing for installation .......................................................................................................................... 15
4.3 Powering up the IFSYS-5651 board ........................................................................................................ 15
5 CONFIGURING IFSYS-5651 FOR OPERATION ............................................................................................... 16
5.1 Configuring for MSP430 and IFSYS-5043 development ......................................................................... 16
5.2 Configuring for MSP430 stand-alone development ................................................................................. 16
5.3 Configuring for MSP430 and external Bluetooth module development ................................................... 16
5.4 Configuring for IFSYS-5043 for external hosted development ................................................................ 16
5.5 Configuring for IFSYS-5043 stand-alone development ........................................................................... 17
5.6 Downloading firmware to the MSP430 .................................................................................................... 17
5.7 Downloading firmware to the IFSYS-5043 Bluetooth Module ................................................................. 17
6 SETTING UP IFSYS-5651 FOR MSP430 SOFTWARE DEVELOPMENT ......................................................... 18
6.1 Development tools & environment........................................................................................................... 18
6.2 Configuration for MSP430 software development ................................................................................... 19
6.3 Board configuration/Jumper settings ....................................................................................................... 19
Page 3 of 50Copyright © 2008 iFoundry Systems
IFSYS-5651 MSP430 Bluetooth Evaluation Kit User Guide
7 SETTING UP IFSYS-5043 AS AN HCI BLUETOOTH MODULE ....................................................................... 21
7.1 Preparations ............................................................................................................................................ 21
7.2 Serial cable configuration ........................................................................................................................ 22
7.3 Configuration for IFSYS-5043 hosted development ............................................................................... 23
7.4 Default IFSYS-5043 Configuration .......................................................................................................... 23
8 SETTING UP IFSYS-5043 FOR STAND-ALONE DEVELOPMENT .................................................................. 24
8.1 Development tools & environment .......................................................................................................... 24
8.2 Preparations ............................................................................................................................................ 25
8.3 Configuration ........................................................................................................................................... 27
8.4 IFSYS-5043 Program Development ....................................................................................................... 27
9 DOWNLOADING FIRMWARE TO IFSYS-5043 BLUETOOTH MODULE ......................................................... 28
9.1 Preparations for firmware download to IFSYS-5043 ............................................................................... 28
9.2 Backing-up original IFSYS-5043 firmware .............................................................................................. 29
9.3 Procedure for downloading firmware to IFSYS-5043 module ................................................................. 31
9.4 Restoring HCI UART firmware to IFSYS-5043 ....................................................................................... 33
10DOWNLOADING FIRMWARE TO MSP430 MICROCONTROLLER ................................................................. 34
11INSTALLING THE USB-TO-SERIAL DRIVER ................................................................................................... 35
11.1Attaching the IFSYS-5651 to your computer’s USB port ........................................................................ 40
11.2Determining the virtual COM port ........................................................................................................... 44
11.3Uninstalling or re-installing the software ................................................................................................. 46
12PRODUCT WEBSITE ......................................................................................................................................... 48
12.1IFSYS-5651 product website .................................................................................................................. 48
12.2Discussion Forum ................................................................................................................................... 48
13SUPPORT ........................................................................................................................................................... 49
14ORDERING NUMBERS ...................................................................................................................................... 49
Page 4 of 50
Copyright © 2008 iFoundry Systems
IFSYS-5651 MSP430 Bluetooth Evaluation Kit User Guide
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.
1.1 System requirements
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.
1.2 Kit contents
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
Page 5 of 50Copyright © 2008 iFoundry Systems
IFSYS-5651 MSP430 Bluetooth Evaluation Kit User Guide
2 DOCUMENTATION NOTES
2.1 Illustrations and Windows flavours
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.
Page 6 of 50
Copyright © 2008 iFoundry Systems
IFSYS-5651 MSP430 Bluetooth Evaluation Kit User Guide
3 GETTING FAMILIAR WITH THE BOARD
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.
Page 7 of 50Copyright © 2008 iFoundry Systems
IFSYS-5651 MSP430 Bluetooth Evaluation Kit User Guide
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.
REF NAME / TYPE CONNECTED TO DESCRIPTION / PURPOSE
RJ1 RJ45
connector
JTAG JTAG 14-pin
connector
SD1 SD Memory
Card connector
P1 DB9M MSP430 UART2 Used as a generic port or connected to an external
P2 DB9M MSP430 UART1 Used as a generic port or connected to an Oximeter for
P3 DB9M IFSYS-5043
USB1 Mini USB MSP430 UART3 Primary function is to provide power to the IFSYS-5651.
CSR development tools.
JTAG debugger for software development
Accepts SD memory cards
UART
Firmware download port for IFSYS-5043 Bluetooth module
Used with MSP430 development environment..
Provide storage for developer’s applications.
Bluetooth module for MSP430 applications.
MSP430 applications. Connects IFSYS-5043 to an external host or to an Oximeter
for IFSYS-5043 applications. If IFSYS-5043 module is connected to the MSP430, this port is unused/unconnected.
The miniUSB serves two different modes, controlled by MODE jumper (details in Jumpers section)
3.1.1 MSP430 UART hardware limitations
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.
Page 8 of 50
Copyright © 2008 iFoundry Systems
IFSYS-5651 MSP430 Bluetooth Evaluation Kit User Guide
3.2 Switches & LEDs
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.
REF NAME /
TYPE
RST RST
button
S1 Button 1 MSP430 (P2-4) /
S2 Button 2 MSP430 (P2-5) /
S3 Button 3 MSP430 (P2-6) /
LED1 Red LED MSP430 (P4-0) /
LED2 Yellow
LED
LED3 Green LED MSP430 (P4-2) General use – driven by MSP430 GPIO pin LED4 Blue LED MSP430 (P4-3) General use – driven by MSP430 GPIO pin PWR LED5
(Green)
CONNECTED TO DESCRIPTION / PURPOSE
Board reset Performs a hardware reset to the IFSYS-5651 board (MSP430
and IFSYS-5043) Button is connected to both the MSP430 microcontroller and
IFSYS-5043 (PIO7)
IFSYS-5043 (PIO4)
IFSYS-5043 (PIO5)
IFSYS-5043 (PIO2)
MSP430 (P4-1) / IFSYS-5043 (PIO3)
Power supply Power LED - Indicates IFSYS-5651 board is powered on when
IFSYS-5043 Bluetooth Module, and should be sensed by only one application at any time (either running on MSP430 or IFSYS-5043)
Button is connected to both the MSP430 microcontroller and IFSYS-5043 Bluetooth Module, and should be sensed by only one application at any time (either running on MSP430 or IFSYS-5043)
Button is connected to both the MSP430 microcontroller and IFSYS-5043 Bluetooth Module, and should be sensed by only one application at any time (either running on MSP430 or IFSYS-5043)
General use – driven by either MSP430 GPIO pin or IFSYS­5043 (in stand-alone mode). LEDSEL jumper selects between MSP430 and IFSYS-5043.
General use – driven by either MSP430 GPIO pin or IFSYS­5043 (in stand-alone mode). LEDSEL jumper selects between MSP430 and IFSYS-5043.
lit
Page 9 of 50Copyright © 2008 iFoundry Systems
IFSYS-5651 MSP430 Bluetooth Evaluation Kit User Guide
3.3 Jumpers
Following is a list of jumpers used on the board, and their respective functions.
NAME REF PURPOSE JUMPE
MODE W28 Sets MSP430 to normal
5043 CONN
LEDSEL W18 Determines if LED1 & LED2 are
operating mode or firmware download mode
W21 Determines if IFSYS-5043 is
connected to RS232 at P3 (stand-alone mode), or to MSP430 (MSP430 hosted mode)
driven by MSP430 or IFSYS­5043 in stand-alone mode
R ON
1-2 NORM – Normal MSP430 operating mode 2-3 FWDL – MSP430 firmware download
1-2 INT – IFSYS-5043 is connected to UART0
2-3 EXT – IFSYS-5043 is connected to RS232
1-2 MSP430 – LEDs controlled by MSP430 2-3 5043 – LEDs controlled by IFSYS-5043
SETTING / DESCRIPTION
mode
of MSP430
connector P3
Page 10 of 50
Copyright © 2008 iFoundry Systems
IFSYS-5651 MSP430 Bluetooth Evaluation Kit User Guide
3.4 Modules / Components
The table below shows other important items related to the IFSYS-5651 board.
MODULE / COMPONENT
NAME
RJ45 cable Programming cable used to programming the IFSYS-5043
IFSYS-5043 iFoundry Bluetooth Module (can be operated as an HCI
Prototyping area For prototyping external circuitry -na-
DESCRIPTION / PURPOSE CONNECTS TO
Between PC and the
module
module, or stand-alone module)
IFSYS-5043 module via connector RJ1
MSP430, or external host such as a PC
3.5 MSP430 General Purpose I/O (GPIO) signals
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”.
3.5.1 JP1 Header Signals
JP1 HEADER SIGNALS PIN SIGNAL MSP430
PIN
1 PIO-6-0 97 P6-0 2 PIO-6-1 98 P6-1 3 PIO-6-2 99 P6-2 4 PIO-6-3 100 P6-3 5 PIO-6-4 1 P6-4 6 PIO-6-5 2 P6-5 7 PIO-6-6 3 P6-6 8 PIO-6-7 4 P6-7 9 PIO-7-4 5 P7-4 10 PIO-7-5 6 P7-5 11 PIO-7-6 7 P7-6 12 PIO-7-7 8 P7-7
MSP430 PIN NAME
PIN SIGNAL MSP430
PIN
MSP430 PIN NAME
Page 11 of 50Copyright © 2008 iFoundry Systems
IFSYS-5651 MSP430 Bluetooth Evaluation Kit User Guide
3.5.2 JP2 Header Signals
JP2 HEADER SIGNALS PIN SIGNAL MSP430
PIN
1 PIO-7-2 55 P7-2 2 PIO-7-3 56 P7-3 3 PIO-4-6 49 P4-6 4 PIO-4-7 50 P4-7 5 PIO-4-4 47 P4-4 6 PIO-4-5 48 P4-5 7 PIO-3-7 42 P3-7 8 -nc- -nc- -nc-
MSP430 PIN NAME
PIN SIGNAL MSP430
3.5.3 JP3 Header Signals
JP3 HEADER SIGNALS PIN SIGNAL MSP430
PIN
1 PIO-2-2 27 P2-2 2 PIO-2-3 28 P2-3 3 PIO-2-0 25 P2-0 4 PIO-2-1 26 P2-1 5 PIO-1-6 23 P1-6 6 PIO-1-7 24 P1-7 7 PIO-1-4 21 P1-4 8 PIO-1-5 22 P1-5 9 PIO-1-0 17 P1-0 10 PIO-1-3 20 P1-3
MSP430 PIN NAME
PIN SIGNAL MSP430
PIN
PIN
MSP430 PIN NAME
MSP430 PIN NAME
Page 12 of 50
Copyright © 2008 iFoundry Systems
IFSYS-5651 MSP430 Bluetooth Evaluation Kit User Guide
3.5.4 JP5 Header Signals
JP5 HEADER SIGNALS PIN SIGNAL MSP430
PIN
1 PIO-11-0 84 P11-0 2 PIO-11-1 85 P11-1 3 PIO-11-2 86 P11-2 4 -nc- -nc- -nc­5 PIO-10-6 82 P10-6 6 PIO-10-7 83 P10-7 7 PIO-10-2 78 P10-2 8 PIO-10-3 79 P10-3 9 PIO-10-0 76 P10-0 10 PIO-10-1 77 P10-1 11 PIO-9-6 74 P9-6 12 PIO-9-7 75 P9-7 13 PIO-9-2 70 P9-2 14 PIO-9-3 71 P9-3 15 PIO-9-0 68 P9-0 16 PIO-9-1 69 P9-1 17 PIO-8-6 66 P8-6 18 PIO-8-7 67 P8-7 19 PIO-8-4 61 P8-4 20 PIO-8-5 65 P8-5 21 PIO-8-2 59 P8-2 22 PIO-8-3 60 P8-3 23 PIO-8-0 57 P8-0 24 PIO-8-1 58 P8-1
MSP430 PIN NAME
PIN SIGNAL MSP430
PIN
MSP430 PIN NAME
Page 13 of 50Copyright © 2008 iFoundry Systems
IFSYS-5651 MSP430 Bluetooth Evaluation Kit User Guide
3.6 IFSYS-5043 Module General Purpose I/O (GPIO) signals
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.
3.6.1 JP4 Header Signals
JP4 HEADER SIGNALS PIN SIGNAL IFSYS-
5043
PIN
1 BT-PIO-0 2 PIO0 2 BT-PIO-1 49 PIO1 3 BT-PIO-8 48 PIO8 4 BT-PIO-9 47 PIO9 5 BT-PIO-10 46 PIO10 6 BT-PIO-11 45 PIO11 7 BT-AIO-0 13 AIO0 8 BT-AIO-1 14 AIO1 9 BT-AIO-3 15 AIO3 10 -nc- -nc- -nc­11 BT-TXD 24 UART_TX 12 BT-RXD 22 UART_RX 13 BT-RTS# 23 UART_RTS 14 BT-CTS# 20 UART_CTS
IFSYS-5043 PIN NAME
PIN SIGNAL IFSYS-
5043
PIN
IFSYS-5043 PIN NAME
Page 14 of 50
Copyright © 2008 iFoundry Systems
IFSYS-5651 MSP430 Bluetooth Evaluation Kit User Guide
4 PREPARING IFSYS-5651 FOR USE
This section explains how to set up the IFSYS-5651 Development Board
4.1 Downloading the IFSYS-5651 board software package
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.
4.2 Preparing for installation
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.
4.3 Powering up the IFSYS-5651 board
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.
Page 15 of 50Copyright © 2008 iFoundry Systems
Loading...
+ 35 hidden pages