Microlise ML10 User Manual

WT32i BLUETOOTH AUDIO MODULE
PRELIMINARY DATA SHEET
Monday, 11 November 2013 Version 0.2
Copyright © 2000-2013 Bluegiga Technologies
All rights reserved. Bluegiga Technologies assumes no responsibility for any errors which may appear in this manual.
Furthermore, Bluegiga Technologies reserves the right to alter the hardware, software, and/or specifications detailed here at any time without notice and does not make any commitment to update the information contained here. Bluegiga’s products are not authorized for use as critical components in life support devices or systems.
The WRAP is a registered trademark of Bluegiga Technologies The Bluetooth trademark is owned by the Bluetooth SIG Inc., USA and is licensed to Bluegiga Technologies.
All other trademarks listed herein are owned by their respective owners.
Bluegiga Technologies Oy
VERSION HISTORY
VERSION
COMMENT
0.1
Draft
0.2
Updated product codes and contact info
Bluegiga Technologies Oy
TABLE OF CONTENTS
1 WT32i Product Numbering ........................................................................................................................... 7
2 Block diagram ............................................................................................................................................... 8
3 Pinout and Terminal Description .................................................................................................................. 9
4 Electrical Characteristics ............................................................................................................................ 12
4.1 Absolute Maximum Ratings ................................................................................................................ 12
4.2 Recommended Operating Conditions ................................................................................................. 12
4.3 Digital Terminals.................................................................................................................................. 12
4.4 Audio Characteristics .......................................................................................................................... 13
4.4.1 ADC .............................................................................................................................................. 13
4.4.2 DAC .............................................................................................................................................. 13
4.4.3 A2DP Codecs............................................................................................................................... 14
4.5 RF Characteristics ............................................................................................................................... 16
4.5.1 RF Transceiver ............................................................................................................................ 16
4.5.2 Antenna Characteristics ............................................................................................................... 17
4.6 Current Consumption .......................................................................................................................... 20
5 Power Control and Regulation ................................................................................................................... 21
5.1 Reset ................................................................................................................................................... 23
5.1.1 Internal POR ................................................................................................................................ 24
6 Battery Charger .......................................................................................................................................... 26
7 GPIO and AIO Functions ............................................................................................................................ 27
7.1 iWRAP supported GPIO Functions ..................................................................................................... 27
7.2 Wi-Fi Co-existence Signals ................................................................................................................. 27
7.3 Outputting Internal Clocks ................................................................................................................... 29
7.4 Auxiliary ADC ...................................................................................................................................... 29
7.5 Software I2C Interface ........................................................................................................................ 29
8 Serial Interfaces .......................................................................................................................................... 30
8.1 UART Interface .................................................................................................................................... 30
8.1.1 Resetting Through UART Break Signal ....................................................................................... 31
8.1.2 UART Configuration While Reset is Active .................................................................................. 31
8.1.3 UART Bypass Mode .................................................................................................................... 31
8.2 USB Interface ...................................................................................................................................... 31
8.3 Programming and Debug Interface (SPI) ............................................................................................ 33
9 Audio Interfaces .......................................................................................................................................... 34
9.1 Stereo Audio Codec Interface ............................................................................................................. 34
9.1.1 ADC .............................................................................................................................................. 34
9.1.2 DAC .............................................................................................................................................. 36
9.1.3 Microphone Input ......................................................................................................................... 37
Bluegiga Technologies Oy
9.1.4 Line Input ..................................................................................................................................... 38
9.1.5 Output Stage ................................................................................................................................ 39
9.1.6 Mono Operation ........................................................................................................................... 41
9.1.7 Side Tone ..................................................................................................................................... 41
9.2 PCM Interface ..................................................................................................................................... 41
9.3 I2S Interface ........................................................................................................................................ 41
9.4 IEC 60958 Interface ............................................................................................................................ 43
10 Design Guidelines ................................................................................................................................... 45
10.1 Audio Layout Guide ..................................................................................................................... 45
10.1.1 EMC Considerations .................................................................................................................... 45
10.1.2 Choosing Capacitors and Resistors ............................................................................................ 45
10.2 RF Layout Guide .......................................................................................................................... 46
10.3 Example Application Schematics ................................................................................................. 49
11 Physical Dimensions ............................................................................................................................... 53
12 Soldering Recommendations .................................................................................................................. 55
13 Package .................................................................................................................................................. 56
14 Certification Guidance for an End Product Using WT32i........................................................................ 58
14.1 Bluetooth End Product Listing ...................................................................................................... 58
14.2 CE Approval of an End-Product ................................................................................................... 58
14.3 FCC Certification of an End Product ............................................................................................ 59
14.3.1 Co-location with Other Transmitters ............................................................................................ 60
14.4 IC Certification of an End Product ............................................................................................... 60
14.5 MIC Japan Certification of an End Product .................................................................................. 60
15 WT32i Certifications ................................................................................................................................ 60
15.1 Bluetooth ...................................................................................................................................... 60
15.2 CE ................................................................................................................................................ 60
15.3 FCC .............................................................................................................................................. 61
15.4 IC .................................................................................................................................................. 62
15.4.1 IC .................................................................................................................................................. 62
15.5 MIC Japan .................................................................................................................................... 63
15.6 KCC (South Korea) ...................................................................................................................... 63
15.7 Qualified Antenna Types for WT32i-E ......................................................................................... 63
16 Contact Information................................................................................................................................. 64
Bluegiga Technologies Oy
WT32i Bluetooth® Audio Module
DESCRIPTION
WT32i is the latest generation of Bluetooth modules. It provides highest level of integration with integrated 2.4GHz radio, DSP, battery charger, stereo codec, and antenna ready to hit mono and stereo audio applications. WT32i is also ready to support the latest Bluetooth 3.0 standard.
The embedded DSP core allows enhancement of the product with features such as advanced audio decoding (MP3, AAC, AAC+, aptX®), echo cancellation, noise reduction, and data manipulation.
Bluegiga’s flexible iWRAP firmware enables
device manufacturers to easily add wireless, secure, and standard-based Bluetooth connectivity into new or existing applications with very limited development and manufacturing effort.
WT32i is qualified as a Bluetooth Controller Subsystem. Combining with iWRAP Host Subsystem it makes a complete Bluetooth End Product without any additional Bluetooth qualifications. WT32i has FCC, IC, MIC Japan and KCC modular certification and it is fully tested for CE minimizing the certification costs for the end product.
KEY FEATURES:
Plug n’ Play Bluetooth Solution for
Mono and Stereo Audio Solutions
Integrated DSP, Stereo Codec, and
Battery Charger
Integrated Antenna and W.FL
Connector
Bluetooth 3.0 Compliant Bluetooth, CE, FCC, IC, KCC and MIC
Japan Qualified
Class 1 - Range up to 100 Meters Temperature range from
-40C to +85C
Low Power Consumption iWRAP™ Firmware for Controlling
Connections and Configuring Settings
Supported Bluetooth Profiles: A2DP,
AVRCP, HFP, HFP-AG, SPP, OPP, FTP, HSP, DUN, PBAP and HID
APPLICATIONS:
High quality wireless stereo headsets Wireless speakers Hands-free car kits
Bluegiga Technologies Oy
1 WT32i Product Numbering
WT32i-A-AI
Product series
Fimrware AI5 = iWRAP 5.0.2
C = custom
HW version
A = Chip antenna, industrial temperature
range
E = W.FL connector, industrial
temperature range
Bluegiga Technologies Oy
2 Block diagram
RAM
Baseband
DSP
MCU
Kalimba DSP
2.4
GHz
Radio
I/O
BC05-MM
XTAL
Balanced
filtter
Antenna
Flash
UART/USB
PIO
Audio In/Out
PCM/I2S
SPI
Reset
circuitry
Figure 1: Block Diagram of WT32i
BC05-MM
The BlueCore®5-Multimedia External is a single-chip radio and baseband IC for Bluetooth 2.4GHz systems. It provides a fully compliant Bluetooth v3.0 specification system for data and voice. BlueCore5-Multimedia External contains the Kalimba DSP coprocessor with double the MIPS of BlueCore3-Multimedia External, supporting enhanced audio applications.
XTAL
Ther reference clock of WT32i is generated with 26 MHz crystal. All BC05-MM internal digital clocks are generated using a phase locked loop, which is locked to the frequency of either the 26 MHz crystal or an internally generated watchdog clock frequency of 1kHz.
RESET CIRCUITRY
The internal reset circuitry keeps BC05-MM in reset during boot in order for the supply voltages to stabilize. This is to prevent corruption of the flash memory during booting. Please see chapter 5.1 for more detailed description.
BALANCED FILTER
The internal balanced filter provides optimal impedance matching and band pass filtering in order to achieve lowest possible in-band and out-of-band emissions.
ANTENNA
The antenna is a ceramic chip antenna with high efficiency. The antenna is insensitive to surrounding dielectric materials and requires only a small clearance underneath which makes it compatible with previous WT32I designs and well suitable for designs with high density.
FLASH
16 Mbit flash memory is used for storing the Bluetooth protocol stack and Virtual Machine applications. It can also be used as an optional external RAM for memory-intensive applications.
Bluegiga Technologies Oy
AUDIO_OUT_N_LEFT
AUDIO_OUT_P_LEFT
AUDIO_OUT_P_RIGHT AUDIO_OUT_N_RIGHT
GND
AUDIO_IN_N_LEFT AUDIO_IN_P_LEFT
GND
AUDIO_IN_N_RIGHT AUDIO_IN_P_RIGHT MIC_BIAS
GND
VDD_CHG VDD_BAT LED0
SPI_MOSI SPI_MISO SPI_CLK SPI_NCSB
PCM_CLK
PCM_SYNC
PCM_OUT
PCM_IN
PIO4
PIO5
PIO6
PIO7
PIO8
UART_NCTS
UART_NRTS
RESET
GND
VDD_IO
UART_TXD
UART_RXD
PIO10
PIO9
USB_D+
USB_D-
PIO3
PIO2
PIO1
PIO0
AIO1
AIO0
GND
GND
GND
VREG_ENA
1
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
GND
47
46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31
50 49 48
18
19202122232425
26
272829
30
Pin Number
Pin Name
Pad Type
Description
1
VREG_ENA
Input
SW configurable enable pin for the
internal regulators
2-3, 18, 31,
39, 43, 48
GND
GND
GND
17
VDD_IO
Power supply
1.7V - 3.6V power supply for the serial interfaces and GPIOs
37
VDD_BAT
Power supply / Charger
output
2.7V - 4.4V supply voltage for the
internal regulators and output of the
battery charger
38
VDD_CHG
Power supply
Nominal 5V supply voltage for the
battery charger
3 Pinout and Terminal Description
Figure 2: WT32i
Table 1: Supply Terminal Descriptions
Bluegiga Technologies Oy
Page 9 of 64
Pin
Number
Pin Name
Pin Type
Description
19
RESET
RESET
Active high reset. If not used, leave floating. When
connected, make sure that the reset is either pulled
high or floating (connected to high impedance)
during boot.
5
AIO0
Configurable I/O
AIO0 and AIO1 can be used to read the voltage
level through the internal ADC (refer to iWRAP
User Guide for details). AIO pins can also be
configured to be used as general digital IO pins
through PS settings. Internal clocks can be routed
out through AIO pins by setting corresponding PS settings. Note that the AIO pins are powered from
internal 1.5V supply so the maximum voltage level
of the AIO pins is 1.5V.
6
AIO1
7
PIO0
Configurable CMOS I/O
General purpose IO's can be configured with iWRAP for various functions. Each IO can be configured individually as output or input with
strong or weak pull-up/-down. Using particular PS setting GPIO pins can be used to implement WiFi
co-existence signaling between WT32i and a WiFi
radio. Software I2C interface can be implemented
for slow I2C functions such as configuring external
audio codec or display.
8
PIO1
9
PIO2
10
PIO3
13
PIO9
14
PIO10
22
PIO8
23
PIO7
24
PIO6
25
PIO5
26
PIO4
11
USB_D-
I/O
USB data minus
12
USB_D+
I/O
USB data plus with selectable internal 1.5k pull-up
resistor
15
UART_RXD
CMOS Input, weak internal
pull-down
UART data input
16
UART_TXD
CMOS output, tristate,
weak internal pull-up
UART data output
20
UART_NRTS
CMOS output, tristate,
weak internal pull-up
UART request to send, active low
21
UART_NCTS
CMOS Input, weak internal
pull-down
UART clear to send, active low
32
SPI_NCSB
CMOS Input, weak internal
pull-down
SPI chip select
33
SPI_CLK
CMOS Input, weak internal
pull-down
SPI clock
Bluegiga Technologies Oy
Page 10 of 64
34
SPI_MISO
CMOS Input, weak internal
pull-down
SPI data input
35
SPI_MOSI
CMOS output, tristate,
weak internal pull-down
SPI data output
36
LED0
Open drain output
LED driver
Pin
Number
Pin Name
Pin Type
Description
40
MIC_BIAS
Analog
41
AUDIO_IN_P_RIGHT
Analog
42
AUDIO_IN_N_RIGHT
Analog
44
AUDIO_IN_P_LEFT
Analog
45
AUDIO_IN_N_LEFT
Analog
46
AUDIO_OUT_N_RIGHT
Analog
47
AUDIO_OUT_P_RIGHT
Analog
49
AUDIO_OUT_N_LEFT
Analog
50
AUDIO_OUT_P_LEFT
Analog
26
PCM_IN / I2S IN
CMOS input, weak
internal pull-down
PCM or I2S data input
27
PCM_OUT / I2S_OUT
CMOS outptu, tristate,
weak internal pull-down
PCM or I2S data output
28
PCM_SYNC / I2S_WS
Bidirectional, weak
internal down
PCM sync or I2S word select. WT32i can
operate as a PCM/I2S master providing the
sync or as a slave receiving the sync
29
PCM_CLK / I2S_SCK
Bidirectional, weak
internal down
PCM or I2S clock. WT32i can operate as a
PCM/I2S master providing the clock or as
a PCM slave receiving the PCM clock. I2S
slave mode is not supported
Table 2: Terminal Descriptions
Table 3: Audio Terminal Descriptions
Bluegiga Technologies Oy
Page 11 of 64
Min
Max
Unit
Storage temperature range
-40
+85
°C
Operating temperature range
-40
+85
°C
VDD_IO
-0.4
3.6
V
VDD_BAT
-0.4
4.4
V
VDD_CHG
-0.4
6.5 V Digital Terminal voltages
VSS - 0.4V
VDD + 0.4V
V
AIO voltages
VSS - 0.4V
1.9V
V
Min
Max
Unit
Storage temperature range
-40
+85
°C
Operating temperature range
-40
+85
°C
VDD_IO
1.7
3.6
V
VDD_BAT
2.7
4.4
V
VDD_CHG
0
6.5
V
Digital Terminal voltages
0
VDD
V
AIO voltages
0
1.5V
V
Input/Output Characteristic
Min
Max
Unit
V
IL
input logic level low
-0.3
0.25 x VDD
V
V
IL
input logic level high
0.625 x VDD
VDD + 0.3
V
V
OL
output logic level low, I
OL
= 4.0mA
0
0.125
V
V
OL
output logic level high, I
OL
= -4.0mA
0.75 x VDD
VDD
V
Strong pull-up
-100
-10
µA
Strong pull-down
10
100
µA
Weak pull-up
-5
-0.2
µA
Weak pull-down
0.2
5
µA
4 Electrical Characteristics
4.1 Absolute Maximum Ratings
Table 4: Absolute Maximum Ratings
4.2 Recommended Operating Conditions
Table 5: Recommended operating conditions
4.3 Digital Terminals
Table 6: Digital Terminal Characteristics
Bluegiga Technologies Oy
Page 12 of 64
4.4 Audio Characteristics
Parameter
Conditions
Min
Typ
Max
Unit
Resolution
-
-
-
16
Bits
Input Sample Rate, F
sample
-
8 - 44.1
kHz
Signal to Noise Ratio, SNR
F
sample
8kHz
-
79 - dB
11.025kHz
-
77 - dB
16kHz
-
76 - dB
22.050kHz
-
76 - dB
32kHz
-
75 - dB
44.1kHz
-
75 - dB
Input full scale at maximum gain (differential)
-
4
-
mV rms
Input full scale at minimum gain (differential)
-
800
-
mV rms
3dB Bandwidth
-
20 - kHz
Microphone mode input impedance
-
6.0 - kHz
THD+N @ 30mV rms input
-
0.04 - %
Parameter
Conditions
Min
Typ
Max
Unit
Resolution
-
-
-
16
Bits
Output Sample Rate, F
sample
-
8
-
48
kHz
Signal to Noise Ratio, SNR
F
sample
8kHz
-
95 - dB
11.025kHz
-
95 - dB
16kHz
-
95 - dB
22.050kHz
-
95 - dB
32kHz
-
95 - dB
44.1kHz
-
95 - dB
Output Full Voltage Swing (differential)
-
750
-
mV rms
Allowed Load
Resistive
16 - O.C.
Ω
Capacitive
-
-
500
pF
4.4.1 ADC
4.4.2 DAC
Table 7: ADC characteristics
Bluegiga Technologies Oy
Page 13 of 64
THD+N 16Ω Load
-
-
0.1 % THD+N 100Ω Load
-
-
0.01
%
Table 8: DAC Characteristics
4.4.3 A2DP Codecs
4.4.3.1 SBC
SBC codec is the default codec used for Bluetooth A2DP connections. Any Bluetooth device supporting A2DP audio profile supports SBC codec. SBC was originally design to provide reasonable good audio quality while keeping low computational complexity. SBC does not require high bit rates. Thus it works sufficiently with Bluetooth where the bandwidth and the processing power are limited.
4.4.3.2 aptX®
The aptX is widely used in high quality audio devices. aptX can provide dynamic range up to 120 dB and it has the shortest coding delay (<2ms) than other coding algorithms. Using aptX® the whole system latency can be reduced significantly because unlike SBC, it does not require buffering the audio. SBC reproduces a limited audio band width whereas aptX® encode the entire frequency range of audio.
aptX® is more robust and resilient coding scheme than SBC and thus re-transmits does not occur as with SBC.
Both SBC and aptX® have flat frequency response up to 14 kHz. Up to 14 kHz both algorithms produce good quality audio with very little distortion. At frequencies higher than 14 kHz the benefit of aptX® becomes obvious. SBC exhibits increasing attenuation with increasing frequency but aptX® retains high reproduction quality.
aptX®requires purchasing a license for each Bluetooth address and the license agreement must be done with CSR. The combination of aptX® license and the Bluetooth address is programmed into the module in the module production line.
Figure 3: Frequency response of aptX and SBC codecs
Bluegiga Technologies Oy
Page 14 of 64
4.4.3.3 AAC
AAC (Advanced Audio Coding) achieves better sound quality than MP3 and it is the default audio format for YouTube and iPhone among others. AAC has long latency (>100ms) compared to aptX®. Because of high processing capacity requirement for encoding, WT32i does not support AAC as A2DP source. Thus WT32i can be used for receiving (A2DP sink) AAC (from iPhone for example) but it can not transmit AAC coded audio.
Bluegiga Technologies Oy
Page 15 of 64
4.5 RF Characteristics
Transceiver characteristic
Min
Typ
Max
Unit
Maximum transmit power
4.5
6
7.5
dBm
Minimum transmit power
-17
dBm
Transmit power stability over the temperature range
+/- 0.5
dB
Transmit power variation within the BT band
1
dB
Sensitivity DH1
RT
-90
dBm
-40C
-91
dBm
+85C
-86
dBm
Sensitivity 3DH5
RT
-83
dBm
-40C
-84
dBm
+85C
-80
dBm
4.5.1 RF Transceiver
Table 9: Transceiver characteristics
Table 10: Power control of WT32i
Bluegiga Technologies Oy
Page 16 of 64
Standard
Band /
Frequency
Min (AVG / PEAK)
Typ (AVG / PEAK)
Max (AVG / PEAK)
Limit by the Standard
(AVG / PEAK)
Unit
FCC part 15
transmitter
spurious
emissions
2nd harmonic
50 / 61
54 / 74
dBuV/m
3rd harmonic
< 40 /
50
54 / 74
dBuV/m
Band edge
2390MHz
54 / 74
dBuV/m
Band edge
2483.5MHz
54 / 74
dBuV/m
Band edge
2400MHz
(conducted)
-20
dBc
Band edge
2483.5MHz
(conducted)
-20
dBc
ETSI EN 300
328 transmitter
spurious
emissions
Band edge
2400MHz
-30
dBm
2nd harmonic
-35
-30
dBm
3rd harmonic
<-40
-30
dBm
ETSI EN 300
328 receiver
spurious
emissions
(2400 - 2479)
MHz
-47
dBm
(1600 - 1653)
MHz
-47
dBm
4.5.2 Antenna Characteristics
Note: Antenna characteristics may vary depending on the mother board layout. Following characteristics have been measured using DKWT32i
Antenna efficiency -3.5 dB (45%)  Peak gain 0 dBi
All the emissions tested with maximum 8 dBm TX power
Table 11: WT32i-A spurious emissions
Bluegiga Technologies Oy
Page 17 of 64
0 dB
-5 dB
-10 dB
-15 dB
-20 dB
-2 dB
-4 dB
-6 dB
-8 dB
-10 dB
-12 dB
-14 dB
Figure 4: Top view radiation pattern of DKWT32i
Figure 5: Side view radiation pattern of DKWT32i
Bluegiga Technologies Oy
Page 18 of 64
-1 dB
-2 dB
-3 dB
-4 dB
-5 dB
-6 dB
-7 dB
-8 dB
-9 dB
-10 dB
-11 dB
-12 dB
Figure 6: Front view radiation pattern
Bluegiga Technologies Oy
Page 19 of 64
4.6 Current Consumption
Operation Mode
Peak
Average
Unit
Idle
SET BT PAGEMODE 0 2000 0
12
2.0
mA
SET BT PAGEMODE 0 2000 1
2.0
SET BT PAGEMODE 0 2000 2
2.0
SET BT PAGEMODE 1 2000 0
32
2.0
SET BT PAGEMODE 1 2000 1
2.1
SET BT PAGEMODE 1 2000 2
2.1
SET BT PAGEMODE 2 2000 0
23
SET BT PAGEMODE 2 2000 1
2.2
SET BT PAGEMODE 2 2000 2
2.1
SET BT PAGEMODE 3 2000 0
23
SET BT PAGEMODE 3 2000 1
2.3
SET BT PAGEMODE 3 2000 2
2.2
SET BT PAGEMODE 4 2000 0
23
SET BT PAGEMODE 4 2000 1
2.3
SET BT PAGEMODE 4 2000 2
2.2
Sleep
SET BT PAGEMODE 0 2000 0
12
0.08
mA
SET BT PAGEMODE 0 2000 1
0.08
SET BT PAGEMODE 0 2000 2
0.08
SET BT PAGEMODE 1 2000 0
32
0.18
SET BT PAGEMODE 1 2000 1
0.18
SET BT PAGEMODE 1 2000 2
0.18
SET BT PAGEMODE 2 2000 0
23.5
SET BT PAGEMODE 2 2000 1
0.31
SET BT PAGEMODE 2 2000 2
0.19
SET BT PAGEMODE 3 2000 0
23
SET BT PAGEMODE 3 2000 1
0.4
SET BT PAGEMODE 3 2000 2
0.29
SET BT PAGEMODE 4 2000 0
23
SET BT PAGEMODE 4 2000 1
0.4
SET BT PAGEMODE 4 2000 2
0.29
Connected, Sniff disabled
SET BT SNIFF 0 20 1 8
4.7
Connected + Sniff, Master
SET BT SNIFF 40 20 1 8
3.9
Connected + Sniff, Master
SET BT SNIFF 1000 20 1 8
2.5
Connected + Sniff, Slave
SET BT SNIFF 40 20 1 8
3.6
Connected + Sniff, Slave
SET BT SNIFF 1000 20 1 8
2.5
A2DP Audio Streaming
A2DP SINK, INTERNAL CODEC
75
28
mA
A2DP Audio Streaming
A2DP SOURCE, INTERNAL CODEC
70
23
Table 12: Current consumption of WT32i
Bluegiga Technologies Oy
Page 20 of 64
Loading...
+ 44 hidden pages