Btm520/521 data module user manual innovative technology for a connected world www.Lairdtech.Com.
2 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module contents btm520/521 bluetooth ® module ..3 overview .............................................. 3 btm520/521 key features ................... 3 specifications ................................5 detailed specificat...
3 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module the btm520 and btm521 are the most advanced low power, multimedia bluetooth modules on the market. They have been designed by laird technologies to meet the needs of developers who require the ultimate bluetooth aud...
4 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module features • fully featured bluetooth multimedia module • supports csr road tunes and blue tunes applications • bluetooth v2.1+edr • supports mono and stereo headset applications • ideal for medical applications using...
5 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module categories feature implementation wireless specification standards supported bluetooth ® v2.1 + edr transmit class class 1 frequency 2.402 – 2.480 ghz channels 79 channels frequency hopping adaptive frequency hoppin...
6 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module 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...
7 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module pin signal description voltage specification 1 pcm_in pcm data i/p vpads 2 pcm_out pcm data o/p vpads 3 pcm_sync pcm sync i/p vpads 4 pcm_clk pcm clk i/p vpads 5 gnd 6 spi_mosi spi bus serial i/p vpads 7 spi_csb spi...
8 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module specifications pin signal description voltage specification 55 unused 56 unused 57 unused 58 pio3 / usb_vsense vio 59 pio14 / csb host i/o vpads 60 aux_dac vio 61 pio4 host i/o vio 62 pio5 / bt_state / bt_pror- ity ...
9 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus 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.6 vdd...
10 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module operating parameters the voltage on the module pad should be maintained below 0.5v in which case the r on of the fet is around 20Ω. Provided that this condition is met, then the current flowing through the diode is...
11 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 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....
12 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 glossary of terms description a2dp : advanced audio distribution profile adc : analogue to digital converter aghfp : audio gateway hands-free profile at : command prefix, ‘attention’ avrc...
13 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 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 r...
14 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 the following rfcomm based uuids are defined in the bluetooth specification:- 4. Atdl {remake connection} make a connection with the same device and service as that specified in the most ...
15 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 table 3-1: s-register list register default range comment s0 1 -1..15 number of ring indication before automatically answering an incoming connection. A value of 0 disables autoanswer. If...
16 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 register default range comment s302 0 0..4 set avrcp category: 0 is feature disabled (default) 1 is player/recorder 2 is monitor/amplifier 3 is tuner 4 is menu s303 0 0..0xffffff set comp...
17 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 register default range comment s325 1 0..1 store link key automatically on dedicated bonding outgoing (dbo), identical with s538 s326 1 0..1 store link key automatically on general bondin...
18 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 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 ...
19 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 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 b...
20 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 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 fo...
21 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 register default range comment s554 0 0..900 if s register 512>=2 and for which the device will stay in the s512 mode after power up or reset. On timeout, it will abort the discoverable a...
22 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 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 automatical...
23 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 13. Atin {information} this will return the following information about the laird technologies device. For recognised values of n. All other values of n will generate an error. Response: ...
24 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 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. Respon...
25 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 2.At+btc{setdeviceclasscode} 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 descri...
26 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 7.At+btf{getremotefriendlyname} this command gets the remote friendly name of the peer specified. Response: ,”friendly name” ok 8.At+btg{enablecautiouspagescanningonly} enable page scanni...
27 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 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 response’ note in the description...
28 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 18 at+btp{enablecautiouspage/inquiryscanning} enable page scanning and wait for a connection from device with bluetooth address . If the specified address is 000000000000 then incoming co...
29 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 24.At+btt{addtrusteddevice} 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...
30 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 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 ...
31 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 table3-3:gaintable 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 -...
32 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 3.Micinputgain a microphone preamplifier which adds extra 20db to input gain, is controlled by s-register 415. 4.Micbias mic bias will be enabled with s-register 416. Mic bias current is ...
33 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 table3-6:a2dp-s-registersandat-commands task at-command / sregister comment set a2dp role s300 [0..2] 0 = feature not set 1 = a2dp sink (default) 2 = a2dp source advertise service s102 12...
34 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 3.1.1 initiateavrcpcontrolconnection at+avd hex > initiate avrcp control connection to bluetooth address hex >. The module must be configured as avrcp control by s register 301 = 1. Furth...
35 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 3.1.5 send remote control command at+avc hex >, send a remote control command to a connected avrcp target. Internally, a pass through command is created and sent to the panel subunit of t...
36 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 3.2.4 passthroughindication an incoming pass through command will be indicated by an unsolicited message avpti hex > hex > for subunit_id hex see table 3 9. For operation_id hex see table...
37 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 table3-8:avrcp-operationidandmnemonicforremotecontrolcommands command operation id mnemonic select 0x00 up 0x01 down 0x02 left 0x03 right 0x04 right up 0x05 right down 0x06 left up 0x07 l...
38 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 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 0x...
39 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 secure simple pairing (ssp) secure simple pairing is supported on the bt-mm+ module. A set of s registers provides configuration capabili- ties for spp: • security level – s320 • io-capab...
40 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 miscellaneous 1.Profileconnectionstatus 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 p...
41 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 appendix bt-mm+ unsolicited messages bt-mm+ error responses message comment connect 0123456789012,110d a2dp control connection established ‘0123456789012’ – bd_ addr of peer device ‘110d’...
42 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module configuring the btm520/521 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 retur...
43 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module mechanical details recommended pcb footprint (all dimensions in mm) 1 12 13 27 28 54 40 39 34 rf out (see note 1) 15.2 21.2 1x11 1x14 pin pitch pin pitch pad width 0.7 typ pad length 1.65 typ 5.5 7 10.6 7.6 module ...
44 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module 5 5 4 4 3 3 2 2 1 1 d d c c b b a a ag nd ag nd ag nd ag nd ag nd ag nd ag nd ag nd ag nd ag nd ag nd vc c_ io vc c_ io vc c_ io vc c_ io sp kr _a _p sp kr _a _n sp kr _b _n sp kr _b _p m ic _b ia s m ic _a _p m ic...
45 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module 5 5 4 4 3 3 2 2 1 1 d d c c b b a a ag nd ag nd vc c_ io vc c_ 3v 3 vc c_ io vc c_ 3v 3 vc c_ 3v 3 vc c_ 3v 3 vc c_ 3v 3 vc c_ io vc c_ io vc c_ 3v 3 vc c_ io vc c_ 3v 3 vc c_ 3v 3 vc c_ io vc c_ io vc c_ io vc c_ ...
46 www.Lairdtech.Com laird technologies btm520/521 bluetooth ® multimedia plus module 5 5 4 4 3 3 2 2 1 1 d d c c b b a a d- 50 oh m t ra ck 50 _o hm t ra ck d+ vd d_ 3v 3_ io vd d_ us b vd d_ 3v 3_ io vd d_ co nn vd d_ us b vc c_ 3v 3 vc c_ 3v 3 vc c_ 3v 3 vd d_ co nn vd d_ us b vc c_ 3v 3 vc c_ 3v...
47 btm520/521 bluetooth ® multimedia plus module global solutions: local support tm usa: +1.800.492.2320 europe: +44.1628.858.940 asia: +852.2268.6567 wirelessinfo@lairdtech.Com www.Lairdtech.Com/wireless ordering information btm520 bluetooth ® multimedia plus module (external antenna) btm521 blueto...
48 laird technologies is the world leader in the design and manufacture of customized, performance-critical products for wireless and other advanced electronics applications. Laird technologies partners with its customers to find solutions for applications in various industries such as: network equi...