BlueCore01 CASIRA Bluetooth Development Kit User Manual AN007 Cambridge Silicon Radio Ltd Unit 300, Science Park, Milton Road, Cambridge CB4 0XL England. Registered in England UK 3665875 Tel: Development kit support +44 (0)8709 410249 General Enquiries +44 (0)1223 424167 Fax: +44 (0)1223 424178 E-mail: Development kit support: ev-support@CSR.com Software Bug Reports: bcswbugs@CSR.com Sales: sales@CSRadio.com http://www.CSR.
Change History Version Date Comment a b c 20 APR 2000 12 MAY 2000 25 AUG 2000 First draft from standard literature First Release Alpha 5 Update; Note added on page 20 BC01-um-001c Page 2 of 26
CONTENTS 1 DEFINITIONS 1.1 Acronyms and Abbreviations 4 4 2 HARDWARE OVERVIEW. 6 3 CASIRA BLUETOOTH DEVELOPMENT KIT 8 4 HARDWARE SETUP 9 5 OVERVIEW OF THE BLUECHAT APPLICATION.
1 DEFINITIONS Bluetooth A set of technologies providing short range audio and data transfer over radio connections. BlueCore Single chip Bluetooth System from CSR. 1.
SDD Service Discovery Database– an element of Bluetooth SDP Service Discovery Protocol a Bluetooth protocol stack layer SPI Serial Peripheral Interface – a synchronous, single master, serial interface USB Universal Serial Bus BC01-um-001c Page 5 of 26
2 HARDWARE OVERVIEW. The CSR CASIRA Bluetooth Development kit has been developed primarily to assist CSR’s customers in the development of host-side software and external radio circuits outside the BlueCoreT M ICs. It will also be used to assist CSR’s customers to evaluate the BlueCoreT M chips. The Evaluation system consists of two identical modules that allow the user to send both data and voice over a Bluetooth link.
levels on the RS232 port conform to the RS232 standard and are generated on the motherboard. It is also possible to connect to the BlueCoreT M01 UART using CMOS (3V) levels using the second internal Molex connector on the 3V UART/Serial PCM port. The USB port is type “B”. SPI Interface LEDs 3VUART/ Serial PCM Port PIO Interface Detachable Radio Module Reset Motherboard Inside the CASIRA Development kit Bluetooth USB Functionality. First systems do not support USB.
3 CASIRA BLUETOOTH DEVELOPMENT KIT The following items are included in the CASIRA Bluetooth Development kit Qty Description 1 Carry-case with handle and external sleeve 2 CASIRA Bluetooth Development Kit Units 2 Power supplies 2 SPI Programming leads 2 5 Metre long RS232 leads 2 Country specific Mains adapter plugs 2 Audio Headsets 1 CSR CASIRA Bluetooth Development kit CDROM containing documentation and software. 1 CCL BlueStack SDKlite CDROM containing documentation and software.
4 HARDWARE SETUP Remove the power supplies and the appropriate mains power connectors from the carry case and push the mains connector onto the power supplies, making sure that they are fully pressed home. Plug these two power supplies into the mains but DO NOT connect the DC output connector to the BlueCore Evaluation System units yet. The power supplies should be connected AFTER the BlueChat application is installed and configured.
5 OVERVIEW OF THE BLUECHAT APPLICATION. The CSR CASIRA Bluetooth Development kit is supplied with a PC program called BlueChat that allows the user to send text, send a file and set up a voice connection between the two system units. A single window display gives a constant report on the Bluetooth radio link via a watch window. The communication between the PC and the CASIRA Bluetooth Development kit Units is at the HCI level.
6 INSTALLING THE BLUECHAT APPLICATION The BlueChat Application allows the user to issue commands via the RS232 port of a PC running under Windows™98 or Windows™ NT to the Development system units. The software must be installed from the CSR CASIRA Bluetooth Development kit CDROM provided. System Requirements for the BlueChat Application - Pentium processor-based personal computer - Microsoft Windows™98 or Windows™ NT v4.
7 CONFIGURING THE BLUECHAT APPLICATION Start the BlueChat Program on each PC by double Clicking on the BlueChat shortcut on your desktop, or on the BlueChat Icon in the BlueChat folder. A port selection window will appear: Click on the drop down menu button and select the COM port that you connected the serial cable to for that PC. Click “OK” when your selection is complete. Up to two BlueChat windows may be open at any one time allowing a single PC to be used for both evaluation modules.
8 ESTABLISHING AN ACL CONNECTION First make sure that the Xfer type is still set at the default power-on value of ‘data’.
On completion of the Inquiry, the addresses of any Slaves found will be shown in the “Bluetooth Device Addresses” list. Next select a Slave from the list as shown below. It is only necessary that the the address is shown (selected) in the “Connect to:” window, it is NOT necessary to hit return at this point.
9 SENDING TEXT BETWEEN SYSTEM UNITS OVER AN ACL CONNECTION Once the connection between the two modules has been completed text data can be sent by clicking on the Chat link window and typing a message. The text should appear in the Chat link window at the other BlueChat PC.
Select a file to transfer from your chosen directory : Finally press the Send button to transmit the file. A progress bar is shown at during the transmission and when completed the file transfer information is given.
11 DISCONNECTING AN ACL CONNECTION Pressing the Disconnect button at either system unit will stop the command transfer and close down the ACL connection It is necessary to re-establish the roles of master and slave after a disconnect. However the BlueChat application will remember the Bluetooth device addresses from previously discovered slaves so it is not necessary to repeat an Inquiry before reestablishing an ACL connection.
13 SENDING CUSTOM HCI COMMANDS. By editing Bluechat.HCI it is possible to add your own custom HCI commands these may be transmitted across the Bluetooth link. This is achieved by pulling down the HCI command menu by right clicking on the BlueChat toolbar and selecting “HCI commands” as shown above. 14 FLASH LOADER INSTRUCTIONS. The CASIRA Bluetooth Development kit is pre-configured with firmware on the BlueCoreT M chips that allows data and voice communication.
14.1 Installing the CSR_Flashloader program. System Requirements for Installing the Flash Loader Application - Pentium processor-based personal computer - Microsoft WindowsT M98 or WindowsT M NT v4.0 (service pack 3.0 or later) - 16 MB of RAM (24 MB recommended) - 10 MB of available hard disk space which includes room for the Firmware binary files. Installation instructions 1. Insert the CASIRA Bluetooth Development kit CDROM into your CDROM drive. 2. From your CDROM run the “install.
The unit is now ready for Flash Memory programming to commence. SPI connector CN18 [Nearest the reset button] 14.3 Running CSR_Flashloader. Click on the CSR_Flashloader shortcut that you created previously. With the application running the display should be: Click on the Stop XAP button to stop the internal processor . NOTE: If you experience any problems running this software from a laptop/notebook PC remove the link CN18 from the Casira motherboard as illustrated above.
Click on the Upload Program Code button to select the file to upload. A new dialog box is displayed. Select the file to upload and click on the Open button.
On completion of the upload the result window will be as shown below. If the file to be uploaded is the same as the file already in Flash then the window will be as follows: Finally we need to verify the code that was uploaded. Click on the Verify Program Code button .
A file select dialog box is displayed. Select the file to verify against. Verification of the uploaded code is shown in the information window.
Now press the Start button or power cycle the CASIRA Bluetooth Development kit Unit for the new code to take effect. Selct “Quit” when loading and verification is complete.
15 CAMBRIDGE CONSULTANTS LIMITED COMMAND AND WATCH WINDOW APPLICATION. The Command and Watch Window Application allows the user to issue commands via the RS232 port of a PC running under Windows™ NT 4.0 to the Evaluation system. The software allows the user to generate scripts that may be used as simple applications using the CCL BlueStack (upper layers host software). This software must be installed from the separate CDROM provided by CCL in the CASIRA Bluetooth Development kit carry case.
17 APPENDIX: KNOWN FIRMWARE / SOFTWARE DEFICIENCIES AT ALPHA RELEASE: 1. The operation of the System Units can be unreliable when first operated. If the inquire or connect fails during the first BlueChat session it is necessary to stop and start the session again to correctly establish Bluetooth links (rather than repeatedly select the Connect or Inquire buttons). It some cases it is necessary to repeat this procedure until a connection is successfully established. 2.