CC and C Technologies BT0002M Bluetooth module User Manual User s Guide Revised 1

CC&C; Technologies, Inc. Bluetooth module User s Guide Revised 1

Contents

Manual

Bluetooth ModuleUser’s GuideVersion 1.0
 Federal Communication Commission Interference Statement This equipment has been tested and found to comply with the limits for a Class Bdigital device, pursuant to Part 15 of the FCC Rules.    These limits are designed toprovide reasonable protection against harmful interference in a residential installation.This equipment generates, uses and can radiate radio frequency energy and, if notinstalled and used in accordance with the instructions, may cause harmfulinterference to radio communications.  However, there is no guarantee thatinterference will not occur in a particular installation.   If this equipment does causeharmful interference to radio or television reception, which can be determined byturning the equipment off and on, the user is encouraged to try to correct theinterference by one of the following measures: ● Reorient or relocate the receiving antenna. ● Increase the separation between the equipment and receiver. ● Connect the equipment into an outlet on a circuit different from that to which thereceiver is connected. ● Consult the dealer or an experienced radio/TV technician for help. FCC Caution: Any changes or modifications not expressly approved by the partyresponsible for compliance could void the user's authority to operate this equipment.       This device complies with Part 15 of the FCC Rules. Operation is subject to thefollowing two conditions: (1) This device may not cause harmful interference, and (2)this device must accept any interference received, including interference that maycause undesired operation. IMPORTANT NOTE: FCC Radiation Exposure Statement: This equipment complies with FCC radiation exposure limits set forth for anuncontrolled environment. This equipment should be installed and operated withminimum distance 20cm between the radiator & your body. This transmitter must not be co-located or operating in conjunction with any otherantenna or transmitter.
This device is intended only for OEM integrators under the following conditions:1)  The antenna must be installed such that 20 cm is maintained between theantenna and users, and2)  The transmitter module may not be co-located with any other transmitter orantenna.As long as 2 conditions above are met, further transmitter test will not be required.However, the OEM integrator is still responsible for testing their end-product for anyadditional compliance requirements required with this module installed (for example,digital device emissions, PC peripheral requirements, etc.).IMPORTANT NOTE: In the event that these conditions can not be met (for examplecertain laptop configurations or co-location with another transmitter), then the FCCauthorization is no longer considered valid and the FCC ID can not be used on thefinal product. In these circumstances, the OEM integrator will be responsible for re-evaluating the end product (including the transmitter) and obtaining a separate FCCauthorization.  End Product LabelingThis transmitter module is authorized only for use in device where the antenna may beinstalled such that 20cm may be maintained between the antenna and users (forexample access points, routers, wireless ADSL modems, and similar equipment). Thefinal end product must be labeled in a visible area with the following: “Contains TXFCC ID: PANBT0002M”.Manual Information That Must be IncludedThe users manual for end users must include the following information in a prominentlocation “ IMPORTANT NOTE: To comply with FCC RF exposure compliancerequirements, the antenna used for this transmitter must be installed to provide aseparation distance of at least 20 cm from all persons and must not be co-located oroperating in conjunction with any other antenna or transmitter.This is modular approval and only two antennas have been tested with this device.Only those antennas tested in the certification application are authorized. Any otherantenna used with the module may require a separate authorization and ID number.Tested to Comply with FCC Standards FOR HOME OR OFFICE USE
1. General Description CC&C BT-0002M Bluetooth module class II is powered by CSR BlueCore2, whichwith RF and baseband function been integrated in a single chip and was designed forBluetooth 2.4 GHz wireless applications.  With band-pass filter, balun, crystal andflash memory built on, it can reduce external components and provide a hardwareengineer with a speed and convenient way to complete their designs. Because ofcompact sizes, they can easily design into customers’ target devices. For instance,they can be used for PDA, notebook, tablet PC, keyboard and mouse as an internalmodule. The BT-0002M develops the Bluetooth protocol stacks, profiles and with aplenty of software development and integration experiences, CC&C can helpcustomer to design a specific device.2. General SpecificationModel Name BT-0002MProduct Name BT Module (CSRBC02)-Class IISize 52x19x2.7mmWeight 2.8 gramSpecification Bluetooth spec. 1.1Antenna terminal 50 OhmPower Class Class-IIDigital interface Board to board connector forUSB interface orUART interfaceOperating Voltage 3.3V +/- 0.3V ; 5V (USB)Operating Current TBDOperating Temp. -10 ~ 70℃3. Pin assignment
4. General Radio CharacteristicsTransmitter Min Typ Max Unit RemarksMaximum RF Output Power -2 0 3.23 dBmRF Power control range 25 dBm±140 ±175 kHz 11110000modModulation Characteristics±115 kHz 1010modInitial Carrier Freq accuracy ±25 kHz PRBS9±25 kHzDH1±20 kHz/50us Drift Rate±40 kHzDH3±20 kHz/50us Drift Rate±40 kHzCarrier Freq driftDH5±20 kHz/50us Drift Rate20dB bandwidth formodulated carrier|M-N|=2 -20 dBmIn-band   spuriousemissions |M-N|>=3 -40 dBmReceiver Min Typ Max Unit RemarksSensitivity DH1, DH3, DH5 --75 -dBmC/ICO-Channel TBD 11 dBC/ I1MHz TBD 0 dBC/ I2MHz TBD -30 dB *1C/ I2MHz TBD -40 dB *1C/ IImage TBD -9 dBInterferencePerformanceC/ IImage TBD -20 dB *1Intermodulation Characteristics TBD dBm30MHz-2000MHz -10 dBm2000-2399MHz -27 dBm2498-3000MHz -27 dBmOut-of-bandBlocking3GHz-12.75GHz -10 dBm
5. BlueCore 2-External Data1) Device Features■ Low power 1.8V operation■ Small footprint in 96-Ball VFBGA Package (6x6mm)■ Fully qualified Bluetooth component■ 0.18µm CMOS technology■ Full speed class 2 Bluetooth operation with full 7 slave piconet support■ Support for 8Mbit external Flash■ Minimum external components■ Operates over full industrial temperature range ( -40  ≦ T ≦105°C)2) General DescriptionBlueCore2-External is a single chip radio and baseband IC for Bluetooth 2.4GHzradios implemented in CMOS technology. When used with external ROMcontaining the CSR Bluetooth software stack, it provides a fully compliant Bluetoothsystem for data and voice communications.3) ApplicationsThe design is optimised to require few external RF components to facilitate rapiddesign of the application printed circuit board and therefore the fastest possible timeto market and lowest overall cost. Included in the device are auto-calibration andbuilt-in-self-test (BIST) routines to simplify development, type approval andproduction test. All hardware and device firmware is fully compliant with theBluetooth specification.■ PC Notebooks■ Cellular Handsets■ Cordless Headsets■ Personal Digital Assistants (PDAs)■ Computer Accessories (Compact Flash, PCMCIA and SD cards)
4) Description of Functional BlocksRadio Transceiver and SynthesiserThe receiver features a near-zero IF architecture that allows the channel filters to beintegrated on to the die. Sufficient out-of-band blocking specification at the LNA inputallows the radio to be used in close proximity to GSM and W-CDMA cellular phonetransmitters without being de-sensitised. The use of a digital FSK discriminator meansthat no discriminator tank is needed and its excellent performance in the presence ofnoise allows BlueCore2-External to exceed the Bluetooth requirements for co-channeland adjacent channel rejection. Fast AGC is implemented by measuring the RSSI ona slot-by-slot basis and adjusting the front-end LNA gain to keep the first mixer inputsignal within a limited range. This improves the dynamic range of the receiver ininterference-limited environments.The transmitter features a direct IQ modulator to minimise the frequency drift during atransmit timeslot and results in a well controlled modulation index. A digital basebandtransmit filter provides the required spectral shaping.The maximum transmit power of +7dBm allows BlueCore2-External to be used inClass 2 and Class 3 radios and its support for transmit power control allows a simpleimplementation for Class 1 with an external RF power amplifier.The radio synthesiser is fully integrated with no requirement for an external VCOscreening can, varactor tuning diodes or LC resonators.The radio has several built-in automatic calibration routines to maintain the radioperformance within specification across temperature and ageing. No LNA, PA orTX/RX switch is required for Class 2 operation across the device’s full operatingtemperature range.Auxiliary FeaturesThe device contains two clock sources: one reference oscillator for the RF carrierfrequency and one low frequency clock oscillator that is used as an interval timerduring sleep modes, i.e., Sniff, Hold or Park.The reference oscillator requires an external crystal. Alternatively, the crystalterminals can be driven from an external reference clock.The reference frequency canbe in the range of 8-32MHz in multiples of 250kHz.The low frequency clock oscillator requires no external components. It is calibratedautomatically and maintains an accuracy of better than 250ppm. This oscillatorconsumes less than 2µA and is permanently enabled.
Physical Layer DSP Hardware EngineDedicated logic is used for forward error correction, header error control, cyclicredundancy check, encryption, data whitening, access code correlation and audiotranscoding to translate between A-law, µ-law and linear voice data from the host andA-law, µ-law and Continuously Variable Slope Delta (CVSD) voice data over the air,voice interpolation for lost packets and rate mismatches are performed by thesoftware.Burst Mode ControllerDuring radio transmission the Burst Mode Controller (BMC) constructs a packet fromheader information previously loaded into memory-mapped registers by the softwareand payload data/voice taken from the appropriate ring buffer in RAM. During radioreceptions, the burst mode controller stores the packet header in memory-mappedregisters and the payload data in the appropriate ring buffer in RAM. This architectureminimises the intervention required by the processor during transmission andreception.Micro-controller, Interrupt Controller and Event TimerThe micro-controller, interrupt controller and event timer run the Bluetooth softwarestack and control the radio and host interfaces. A 16-bit RISC micro-controller is usedfor low power consumption and efficient use of memory.Memory Management UnitThe memory management unit provides a number of dynamically allocated ringbuffers that hold the data which is in transit between the host and the air or vice versa.The dynamic allocation of memory ensures efficient use of the available RAM and isperformed by a hardware memory management unit to minimise the overheads on theprocessor during data/voice transfers.RAM32Kbytes of on-chip RAM is provided and is shared between the ring buffers used tohold voice/data for each active connection and the general purpose memory requiredby the Bluetooth stack.ROMUp to 8Mbits of external Flash or masked programmed ROM (16 bit data words) canbe attached giving maximum flexibility for running complete applications on chip. TheROM can be programmed over the synchronous serial/UART or USB interfaces afterthe device is mounted in the target application.
5) CSR Bluetooth Software StackBlueCore2-External is supplied with Bluetooth stack firmware that runs on itsmicrocontroller and is resident in the external Flash memory. The stack occupies4Mbits of storage.The BlueCore Stack Software is compliant with the Bluetooth v1.1 specification. Itimplements all the features described in the specification, including optional features.Piconets: up to seven slaves.    Power Saving: Hold, Sniff and ParkData integrity: Channel Quality Driven Data Rate (CQDDR) and RSSIAudio: full support for SCORole Switch: can reverse master/slave relationshipDevice Firmware UpgradeBlueCore2-External is supplied with boot loader software which implements astandard Device Firmware Upgrade (DFU) capability. This allows new firmware to beuploaded to the external Flash memory through BlueCore2-External's UART/USBports.Additional Software for Host ImplementationA companion device, BlueCore2-PC can be ordered which includes software for a fullWindows 98/ME or Windows 2000 Bluetooth host-side stack and application togetherwith the IC hardware described in this datasheet. Contact CSR for more details.Additional Software for Other Embedded ApplicationsWhen the upper layers of the Bluetooth protocol stack are run as firmware onBlueCore2-External a UART software driver is supplied that presents the HCI, L2CAP,RFCOMM and Service discovery APIs to higher Bluetooth stack layers running on thehost. The code is provided as .C. source or object code. Other software drivers can bedeveloped on request. Contact CSR Sales for more information.Casira Development SystemThis is available to allow the evaluation of BlueCore2- External hardware and softwareand as the base of a toolkit for developing host software. Contact CSR Sales for moreinformation.Profiles Supported Via HCIThe supplied software stack is a full implementation of Bluetooth up to and includingHCI, so all profiles and associated applications are supported.
Application Specific Software Development EnvironmentFirmware supplied with BlueCore2-External contains a protected user softwareexecution environment as a Virtual Machine (VM). The user may write customapplication code to run on the BlueCore VM using the BlueLab software developmentkit, available separately from CSR.    This code will then execute alongside the mainBlueCore firmware. The user is able to make calls to the BlueCore firmware forvarious operations.The execution environment is structured so the user application does not adverselyaffect the main software routines, thus ensuring that the Bluetooth stack softwarecomponent does not need re- qualification when the application is changed.Using the VM and BlueLab, the user is able to develop applications such as acordless headset or other profiles without the requirement of a host controller.BlueLab is supplied with example code, including a full implementation of the headsetprofile.6) External InterfacesTransmitter/Receiver Inputs/OutputTerminals TX_A and TX_B form a balanced current output. They require a DCconnection to VDD and should be connected through a balun to the antenna. Theoutput impedance is capacitive and remains constant irrespective of whether thetransmitter is enabled or disabled.    For Class 2 operation these terminals also act asdifferential receive input terminals with an internal TX/RX switch. For Class 1operation the RF_IN ball is provided, which is single-ended and presents a capacitiveinput. A swing of up to 0.5V rms can be tolerated at this terminal. An external antennaswitch can beconnected to RF_IN.Asynchronous Serial Data Port (UART) and USB PortUART_TX, UART_RX, UART_RTS, and UART_CTS form a conventionalasynchronous data serial port. The interface is designed to operate correctly whenconnected to other UART devices such as the NS16550A. The signalling levels are0V and VDD_PADS. The interface is programmable over a variety of bit rates; no,even or odd parity; one or two stop bits and hardware flow control on or off. Thedefault condition on power-up is pre-assigned in the external Flash memory.The maximum UART data rate is 1.5Mbit/s. Two-way hardware flow control isimplemented by UART_RTS and UART_CTS. UART_RTS is an output and is activelow. UART_CTS is an input and is active low. These signals operate according tonormal industry
convention.The port carries a number of logical channels: HCI data (both SCO and ACL), HCIcommands and events, L2CAP API, RFCOMM API, Service Discovery API anddevice management. For the UART, these are combined into a robust tunnelingprotocol, BlueCore Serial Protocol (BCSP), where each channel has its own softwareflow control and cannot block other data channels. In addition, the Bluetoothspecification part H4 format is supported.Alternatively a firmware version is available to support full speed (12Mbit/s) USB.USB_D+ and USB_D- are available on dedicated terminals. Both Open HostController Interface (OHCI) and Upper Host Controller Interfaces (UHCI) aresupported.The firmware in Flash can be downloaded through this port by DFU if the CSR-supplied boot loader is first programmed.Firmware shipped with BlueCore2-External includes security features to preventmisuse of this upgrade facility.PCM Codec InterfacePCM_OUT, PCM_IN, PCM_CLK, PCM_SYNC carry up to three bidirectionalchannels of voice data, each at 8 ks/s.    The format of the PCM samples can be 8-bitA-law, 8-bit µ-law, 13-bit linear or 16-bit linear. The PCM_CLK and PCM_SYNCterminals can be configured as inputs or outputs depending on whether BlueCore2-External is the master or slave of the PCM interface.BlueCore2-External interfaces directly to PCM audio devices such as the:Qualcomm MSM 3000 series and MSM 5000 series CDMA devices,OKI MSM7705 four channel µ/A-law codec,Motorola MC145481 8-bit µ/A-law codec,Motorola MC145483 13-bit linear codec and theMitel MT93LI6 Echo cancelling codec.BlueCore2-External is also compatible with theMotorola SSITM interface.Synchronous Serial PortBlueCore2-External is a slave device using terminals SPI_MOSI, SPI_MISO,SPI_CLK and SPI_CSB. This interface is used for program emulation/debug and ICtest. It is also the means by which the external Flash ROM may be programmed .insitu. before any 'boot' program is loaded. The designer should be aware that nosecurity protection is built into the hardware or firmware associated with this port.Parallel PIO PortFifteen lines of programmable bidirectional I/O are provided. PIO[11:0] are powered
from VDD_PIO and AIO[2:0] are powered from VDD_MEM. PIO[0] and PIO[1] arenormally dedicated to TXEN and RXEN, but they are available for general use. Any ofthe PIO lines can be configured as interrupt request lines or as wake-up lines fromsleep modes. PIO[6] can be configured as a request line for an external clock source.This is useful when the clock to BlueCore2- External is provided from a system ASIC.I2C InterfacePIO[3] and PIO[2] can be used to form a master I2C interface. The interface is formedusing software to drive these lines and is thus suited only to relatively slow functionssuch as driving a dot matrix LCD display, a keyboard scanner or an EEPROM.

Navigation menu