Download BTM510/511 Multimedia Module User Guide
Transcript
BTM510/511 User Guide ® Bluetooth Multimedia Module 2.8.1 Analogue Audio Interface Bluecore BC05 contains an onboard codec, providing analogue input and output capabilities for audio signals. The following sections describe details of this onboard codec. 2.8.1.1 Onboard Codec Gain Analogue input and output gains (Input Amplifier, Output Amplifier, Figure 2-30) can be set to one of 23 steps called “Gain Level”. To each gain level, an overall gain (dBr) is assigned, according to Table 2-68. The overall gain is formed by an analogue and a digital component as outlined in Table 2-68. Gain values can be specified either as gain level or as overall gain by separate S Registers. Note that a pair of such S-Registers always updates the partner S-Register (e.g. S589 – S689 and S590 – S690). For S689 and S690 the value must be overall gain in dBr multiplied by ten. If the input value doesn’t match a gain table entry, the nearest possible value is set. The actual value can be checked by reading S689/S690. The value of S689/S690 is printed out multiplied by ten to avoid non integer numbers. The command class AT+G… enables incremental and decremental gain settings. The increment/decrement command corresponds to one row up/down in the gain table (Table 2-68). The Gain level registers S589/S689 and S590/S690 are not affected by increment/decrement commands. Instead, the current gain level is cached and can be retrieved by AT+G(I|O)?. There are two further commands to restore the cached gain level from S589/S590. They are AT+G(I|O)R) and (AT+G(I|O)S. The latter saves the currently cached gain level to S589/S590. Figure 2-30: BTM51x Stereo Audio Codec Block Diagram Table 2-68: BTM51x Gain Table Output Gain Level or Input Gain Level S589 or S590 22 Overall Gain (dBr) Digital Analogue S689 or S690 Component Component +21.5 7 7 Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/bluetooth Laird 163 Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610