BTM510/511 MULTIMEDIA MODULE USER MANUAL www.lairdtech.
BTM510/511 Bluetooth® Multimedia Module TABLE OF CONTENTS CONTENTS BTM510/511 Bluetooth® Module ...3 Overview . ............................................. 3 BTM510/511 Key Features . .................. 3 Specifications .................................4 Detailed Specifications .......................... 4 Pin Definitions ....................................... 6 Operating Parameters ....................8 Voltage Specifications ........................... 8 Notes for PCB Layout .....................
BTM510/511 Bluetooth® Multimedia Module OVErVIEW ANd kEy FEATurES The BTM510 and BTM511 are low-power Bluetooth® modules designed for adding robust audio and voice capabilities. Based on the market-leading Cambridge Silicon Radio BC05 chipset, these modules provide exceptionally low power consumption with outstanding range. Supporting the latest Bluetooth® Version 2.1+EDR specification, these modules provide the important advantage of secure simple pairing that improves security and enhances easy use.
BTM510/511 Bluetooth® Multimedia Module SPECIFICATIONS CATEGORIES FEATURE IMPLEMENTATION Wireless Specification Standards Supported Bluetooth® v2.1 + EDR Transmit Class Class 2 Frequency 2.402 – 2.
BTM510/511 Bluetooth® Multimedia Module SPECIFICATIONS CATEGORIES FEATURE IMPLEMENTATION Command Interface AT Instruction set Comprehensive control of connection and module operation, including extensions for Audio control. Direct mapping of GPIO to audio functions, e.g. Play, Volume, etc.
BTM510/511 Bluetooth® Multimedia Module SPECIFICATIONS 6 www.lairdtech.
BTM510/511 Bluetooth® Multimedia Module SPECIFICATIONS Note: 1. 2. Reset input is active low. Input is pulled up to VDD_IN via 22k. Minimum reset pulse width is 5ms. LED drive pins are open drain outputs and hence the external circuit to the right should be used. The voltage on the module pad should be maintained below 0.5V in which case the Ron of the FET is around 20Ω.
BTM510/511 Bluetooth® Multimedia Module OPERATING PARAMETERS Operating Parameters Recommended Operating Conditions Operating Condition Min Max VDD_USB (USB compatibility not required) 1.7 3.6 VDD_USB (USB compatibility required) 3.1 3.6 VDD_IO 1.7 3.3 VDD_IN 3.0 3.6 Voltage Specifications Logic Levels (VUSB) Input Voltage Levels Min Typ Max Vih 0.625VDD_USB VDD_USB+0.3 Vil -0.3 0.25VDD_USB Voh (Iout = -4mA) 0.75VDD_USB VDD_USB Vol (Iout = 4mA) 0 0.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 Introduction This document describes the protocol used to control and configure the BT-MM Bluetooth device. The AT commands described in the document apply to firmware releases from V14.0.9 onwards. The protocol is similar to the industry standard Hayes AT protocol used in telephony modems which is appropriate for cable replacement scenarios, as both types of devices are connection oriented.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 10 www.lairdtech.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 AT Command Set Assumptions 1. All commands are terminated by the carriage return character 0x0D, which is represented by the string in descriptions below this cannot be changed. 2. All responses from the device have carriage return and linefeed characters preceding and appending the response. These dual character sequences have the values 0x0D and 0x0A respectively and shall be represented by the string . 3.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 The following RFCOMM based UUIDs are defined in the Bluetooth Specification:Profile Name UUID Profile Name UUID Serial Port 0x1101 Intercom 0x1110 LAN Access Using PPP 0x1102 Fax 0x1111 Dialup Networking 0x1103 Audio Gateway (HSP) 0x1112 IrMC Sync 0x1104 WAP 0x1113 OBEX Object Push 0x1105 WAP_CLIENT 0x1114 OBEX File Transfer 0x1106 0x1107 Advanced Audio Distribution 0x110D IrMC Sync Command Headset 0x1108
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 8. ATSn=m {Set S Register} As with modems, the Bluetooth module employs a concept of registers which are used to store parameters, such as escape sequence character, inquiry delay time etc, as listed in detail below. The value part ‘m’ can be entered as decimal or hexadecimal. A hexadecimal value is specified via a ‘$’ leading character. For example $1234 is a hexadecimal number.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 Register Default Range Comment S303 0 0..0xFFFFFF Set Company ID: IEEE Company ID, 24bit hexadecimal, Required for UNIT INFO Response in AVRCP target mode, default value is 0. S305 1 0..1 Accept UNIT INFO request: 0 – reject 1 – accept S306 1 0..1 Accept SUBUNIT INFO request: 0 – reject 1 – accept S310 1 0..
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 Register Default Range Comment S330 1 1..15 Configure inquiry response of AT+BTI (Bitmask): 1 – show device address 2 – show class of device 4 – show friendly name 8 – show extended inquiry data Values can be ORed S415 0 0..1 Enable Microphone Input Gain, adds extra 24dB to input gain S416 0 0..1 Enable MicBias S417 0 0..15 Set MicBiasCurrent S418 0 0..15 Set MicBiasVoltage S419 6 0..
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 Register Default Range Comment S512 1 0..7 Specify power up state. When set to 0, AT+BTO is required to open the device for Bluetooth® activity. When set to 1, it proceeds to a state as if AT+BTO was entered. When set to 2, it will be discoverable only, similar to issuing AT+BTQ. When set to 3, it will be connectable but not discoverable e.g. AT+BTG When set to 4, it will be connectable and discoverable e.g. AT+BTP.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 Register Default Range Comment S531 0 0..5 Specifies the mode on connection establishment. 0 = Normal, that data is exchanged between UART and RF 1 = LOCAL_COMMAND. UART input is parsed by the AT interpreter and RF data is discarded 2 = REMOTE_COMMAND. RF input is parsed by the AT interpreter and UART data is discarded. If S Reg 536 is not 1 then this register cannot be set to 2 and an ERROR will be returned 3 = LOCAL_COMMAND.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 Register Default Range Comment S551 0x3211 0xFFFF This register specifies in each 4 bit nibble, how the outgoing modem status bits to the remote peer gets its value. Bluetooth® allows for RTR, RTC, DV and IC bits to be exchanged over an RFCOMM connection. Nibble 0..3 specifies the source for RTC 4..7 specifies the source for RTR 8..11 specifies the source for DV (i.e. DCD) 12..15 specifies the source for IC (i.e.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 Register Default Range Comment S554 0 0..900 If S Register 512>=2 and <=7 then this register specifies a time in seconds for which the device will stay in the S512 mode after power up or reset. On timeout, it will abort the discoverable and/or connectable and fall back into S512=1 mode, when it is deaf and dumb.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 Register Default Range Comment S592 0 0..1 Set this to 1 to reduce the trusted device database to just 1 record when autosaving of pairing is enabled via S reg 538 S593 0 0..1 Automatically append last 6 digits of local bluetooth address to the friendlyname which was set via AT+BTN or AT+BTF S689 0 -450..+215 Set codec output gain in dBr * 10 S690 0 -450..+215 S730 0 0..1 Enable Auxiliary DAC S731 0 0..
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 13. ATIn {Information} This will return the following information about the Laird Technologies device. I0 The product name/variant. I1 The CSR firmware build number. I2 The Laird Technologies firmware build number. For internal use only. I3 The Laird Technologies firmware revision. I4 A 12 digit hexadecimal number corresponding to the Bluetooth address of the device. I5 The manufacturer of this device.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 14. ATO {Enter Data Mode} (letter ‘o’) Return to data mode. Assume that the module is in data mode after OK is received. Responds with an error if there is no Bluetooth connection. Response: CONNECT 123456789012 Or Response: ERROR nn 15. AT&Fn {Set S Register Defaults} This command will only work when the device is in local command and unconnected mode.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 2. AT+BTC {Set Device Class Code} This command is used to set the device class code which will be sent in subsequent inquiry responses. It can be read back using the AT+BTC? Command, as described below. The device class setting is valid until the module is reset or power cycled. is a 6 digit hexadecimal number derived as per section “1.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 7. AT+BTF {Get Remote Friendly Name} This command gets the remote friendly name of the peer specified. Response: ,”Friendly Name” OK 8. AT+BTG {Enable Cautious Page Scanning ONLY} Make device connectable and wait for a connection from device with Bluetooth address .
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 12. AT+BTIN {Inquire} As per AT+BTI but the response includes the device class code and friendly name for all inquiry responses. Please refer to the ‘ERROR ESPONSE’ note in the description for AT+BTI. The friendly name strings are in UTF-8 format as per the Bluetooth specification.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 18. AT+BTN? {Read Friendly Name from Non-volatile Memory} Read the default friendly name from non-volatile memory. Response: ”My FriendlyName” OK 19. AT+BTP {Enable Cautious Page/Inquiry Scanning} Enable page scanning and wait for a connection from device with Bluetooth address .
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 25. AT+BTT {Add Trusted Device} This command is used to store the cached link key in the non-volatile database. If the database is full it will respond with an ERROR. If the device is already in the database, then the key is replaced. If the link key cache is empty, that is, a pairing has not been performed since the device was powered, then the response will be an ERROR.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 Hardware Unit Control This section covers S-Registers and AT-Commands that are related to hardware units within the module. 1. Audio Loopback Mode For testing purposes, an audio loopback mode will be introduced. The stereo audio input signal is fed through the Kalimba DSP with running SBC codec, and is directed back to the audio stereo output. Audio Loopback Mode is controlled with the new AT Command “AT+BTL”.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 Table 3-3: Gain Table Output Gain Level or Input Gain Level S589 or S590 Overall Gain (dBr) S689 or S690 22 +21.5 21 +18.0 20 +15.5 19 +12.0 18 +9.5 17 +6.0 16 +3.5 15 0 14 -3.0 13 -6.0 12 -9.0 11 -12.0 10 -15.0 9 -18.0 8 -21.0 7 -23.5 6 -27.0 5 -29.5 4 -33.0 3 -35.5 2 -39.0 1 -41.5 0 -45.0 Table 3-4: Gain Settings AT Commands and S-Registers 29 www.lairdtech.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 3. Mic Input Gain A microphone preamplifier which adds extra 20dB to input gain, is controlled by S-Register 415. 4. Mic Bias Mic Bias will be enabled with S-Register 416. Mic Bias Current is controlled by S-Register 417. Mic Bias Voltage is controlled by S-Register 418. 5. Auxiliary DAC The auxiliary DAC is enabled with S-Register 730. The DAC output level is set by S-Register 731. 6.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 Table 3-6: A2DP - S-Registers and AT-Commands Task AT-Command / SRegister Comment Set A2DP role S300 [0..
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 3.1.1 Initiate AVRCP control connection AT+AVD Initiate AVRCP control connection to Bluetooth address . The module must be configured as AVRCP Control by S register 301 = 1. Furthermore a category must be selected in S register 302.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 3.1.5 Send remote control command AT+AVC, Send a remote control command to a connected AVRCP target. Internally, a PASS THROUGH command is created and sent to the PANEL subunit of the AVRCP target. is the value for the actual remote control command. Valid values are specified in Table 3 8. Some Operation IDs can be replaced by mnemonics, see Table 3 8.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 3.2.4 PASS THROUGH Indication An incoming PASS THROUGH command will be indicated by an unsolicited message AVPTI For subunit_idhex see Table 3 9. For operation_idhex see Table 3 8. : ‘0’ is Button pushed ‘1’ is Button released 3.2.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 35 www.lairdtech.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 Table 3-9: AV/C Unit/Subunit Types Unit / Subunit Type Value Monitor 0x00 Audio 0x01 Printer 0x02 Disc 0x03 Tape recorder player 0x04 Tuner 0x05 CA 0x06 Camera 0x07 Reserved 0x08 Panel 0x09 Bulletin board 0x0A Camera storage 0x0B Vendor unique 0x1C Reserved for all 0x1D Extended 0x1E Unit 0x1F Table 3-10: AVRC Response Types AVRC Response Type Read-Value (S311, sent in response) Write-Value (S311) Not
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 Secure Simple Pairing (SSP) Secure Simple Pairing is supported on the BT-MM module. A set of S Registers provides configuration capabilities for SPP: • Security Level – S320 • IO-Capability – S321 • Force man-in-the-middle-protection (MITM) – S322 • Disable legacy pairing – S323 For details see Table 3 1. Link Key Management On BT-MM link keys are managed by the AT firmware. 1. Dedicated Bonding In BT2.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 Miscellaneous 1. Profile Connection Status The connection status of a profile can be queried by an ATI-Command. This might be helpful in order to decide whether to disconnect all connected profiles (via ATH*) or a certain one. For details please see Table 3 12.
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 Appendix BT-MM Unsolicited Messages Message Comment CONNECT 123456789012,110D A2DP control connection established ‘123456789012’ – bd_ addr of peer device ‘110D’ – Profile UUID indicating A2DP NO CARRIER 110D A2DP connection rejected or closed (if S329==0) CONNECT 123456789012,110E AVRCP control connection established ‘123456789012’ – bd_ addr of peer device ‘110E’ – Profile UUID indicating AVRCP NO CARRIER 110E AVRCP connection
BTM510/511 Bluetooth® Multimedia Module CONFIGURING THE BTM510/511 40 www.lairdtech.com Error Description 18 Not USED 19 Not USED 20 Not safe to write to Non-volatile Store - Ongoing Bluetooth Connection 21 Link Key Cache is Empty 22 Link Key Database is Full 23 Malloc returned NULL - Resource Issue 24 Remote Address same as Local Address 25 Connection Setup Fail, DSR Not asserted 26 Unauthenticated licence 27 Max Responses (See S Register 518) too high.
BTM510/511 Bluetooth® Multimedia Module MECHANICAL DRAWINGS Units RF OUT 34 Global pitch Pad Centre to Board edge Pad Centre to Board edge Global length of pad to edge of board Recommended pcb Footprint Pad Width 0.7 Typ 10.6 Pad Length 1.65 Typ 40 39 28 12 RF OUT (See Note 1) 7.6 34 5.5 15.2 1x11 pin pitch 1 (all dimensions in mm) 27 7 pin pitch 1x14 21.2 41 www.lairdtech.
B C D Laird Technologies A PIO_6/WLAN_ACT PIO_7/RF_ACTIVE PIO_0/BT_ACTIVE 1 VCC_IO VCC_IO VCC_IO 5 MIC_A_N MIC_B_N MIC_A_P MIC_B_P R13 10K R8 10K R18 10K 2 1 2 1 2 1 2 1 2 R30 2K2 NF SW4 1 2 1 2 NF SW3 NF SW2 NF 3 4 R36 2K2 15pF C11 15pF C14 15pF C13 15pF C12 3 4 3 4 3 4 AGND L2 15n AGND AGND MIC_A_N_DIFF 15n L4 15n L3 15n AGND L1 NF 0R R31 NF 0R R28 NF 0R NF 0R R34 1 1 AGND R38 R32 0R R29 0R NF 15pF C7 R19 NF 0R SPKR_B_N SPKR_A
B C Laird Technologies A PIO_3/RI Module_TX PIO_1/DCD 100n C18 2 1 VCC_3V3 R64 10K 5 AGND AGND SPKR_B_P SPKR_A_P MIC_B_N MIC_A_N R62 10K 1 2 VCC_3V3 10K R56 R52 10K 10K VCC_3V3 PIO_1/DCD PIO_5/DTR Module_RTS RESET_ Module_TX VCC_IO SPI_CS_PC SPI_CLK_PC PIO_5/DTR Module_RTS 2 1 D 1 2 1 2 VCC_IO 10K R44 1 2 1 R65 10K 1 3 5 7 9 11 VCC_IO 1 3 5 7 9 NF 1 3 5 0R 2 NF JP4 R68 JP2 NF Header 6X2 JP1 1 2 4 6 8 10 12 2 4 6 8 10 1 0R 2 R67 2 4 6 R49 1 R66
B C Laird Technologies A JP5 BLM18PG221SN1D USB B Vcc DD+ GND 12 3 4 RESET_FTDI L5 5 D- 10K R84 NF C28 USB_DCD USB_DTR USB_PIO_3/RI USB_DSR 2 2 R85 1 2 N/F 2 Q1 1 USB_MOD_D- 1K R77 2 3 5 USB_MOD_D+ USB+ USB- USB_CTS USB_RTS USB_TX USB_RX NF 0R VDD_CONN NF 0R 2 0R R82 1 R94 1 2 R93 1 10K R78 0R 1 R81 1 CN1 DC Power jack_2.1mm 1 D+ VDD_USB 2 4K7 R88 Diode_S1A 1n C30 IRF5810 4 6 VCC_3V3 10K R87 4.
BTM510/511 Bluetooth® Multimedia Module ORDERING INFORMATION ORDERING INFORMATION BTM510 BTM511 DVK-BTM510 DVK-BTM511 Bluetooth® Multimedia Module (external antenna) Bluetooth® Multimedia Module with integrated antenna Q2-2009 Development Board with BTM510 soldered in place Q1-2009 Development Board with BTM511 soldered in place Q2-2009 General Comments This is a preliminary datasheet. Please check with Laird Technologies for the latest information before commencing a design. If in doubt, ask.
Laird Technologies is the world leader in the design and manufacture of customized, performance-critical products for wireless and other advanced electronics applications.