Csr8645 CSR
Csr8645 CSR
Csr8645 CSR
■ 80MHz RISC MCU and 80MIPS Kalimba DSP CSR8645 Stereo ROM Solution
■ Internal ROM, serial flash memory and EEPROM
interfaces with aptX™
■ Stereo codec with 2 microphone inputs
■ Radio includes integrated balun
2-mic CVC Audio Enhancement
■ 5-band fully configurable EQ
■ CSR's latest CVC technology for narrowband and
wideband voice connections including wind noise Fully Qualified Single-chip
reduction
■ Wideband speech supported by HFP v1.6 profile Bluetooth® v4.0 System
and mSBC codec
■ Voice recognition support for answering a call,
Production Information
enables true hands-free use
■ Multipoint HFP connection to 2 phones for voice
■ Multipoint A2DP connection enables a headset CSR8645A04
(A2DP) connection to 2 A2DP source devices for
music playback Issue 6
■ Secure simple pairing, CSR's proximity pairing
Note:
CSR8645 BGA is a ROM-based device where the product code has the form CSR8645Axx. Axx is the specific
ROM-variant, A04 is the ROM-variant for CSR8645 Stereo ROM Solution with aptX.
Minimum order quantity is 2kpcs taped and reeled.
Supply chain: CSR's manufacturing policy is to multisource volume products. For further details, contact your
local sales account manager or representative.
CSR8645 Stereo ROM Solution with aptX Audio Development Kit DK-8645-10064-1A
PIO Port
TX
DMA ports
Bluetooth Bluetooth Radio
BT_RF
Baseband and Balun
RX
MIC_AN
High-quality ADC
MIC_AP
Memory MIC_BN
High-quality ADC
Management MIC_BP
Unit
SPKR_LN
High-quality DAC
SPKR_LP
DMA ports
Audio SPKR_RN
High-quality DAC
Interface SPKR_RP
VDD_AUDIO
ROM
VDD_AUDIO_DRV
Switch
PIO Port
VBAT
PM 0.85V to SENSE VBAT_SENSE
80MHz MCU PMU 1.35V 1.35V
Digital 1.2V 1.8V 1.35V
Interface Low-voltage Low-voltage
Microphone 2 Low-voltage Switch- Switch- Bypass Li-ion
DM1 80MHz DSP PCM1 / I S and VDD_ANA VDD_AUX
Inputs VDD_DIG mode mode LDO Charger CHG_EXT
BIST Linear Linear
VM Accelerator (MEMS) Linear Regulator Regulator
Engine Regulator Regulator
DM2 (MPU) Regulator VCHG
SENSE SENSE SENSE SENSE SENSE
2 x Digital MICs
Digital Audio
VREGIN_DIG
VDD_DIG_MEM
VDD_ANA_RADIO
VDD_AUX_1V8
VDD_AUX
LXL_1V8
SMPS_1V8_SENSE
LX_1V35
SMPS_1V35_SENSE
3V3_USB
G-TW-0007440.4.3
Production Information Page 5 of 114
This material is subject to CSR's non-disclosure agreement CS-218182-DSP6
© Cambridge Silicon Radio Limited 2011-2012 www.csr.com
Document History
Revision Date Change Reason
List of Figures
Figure 1.1 Device Pinout .................................................................................................................................. 14
Figure 2.1 Simplified Circuit BT_RF ................................................................................................................. 23
Figure 3.1 Clock Architecture ........................................................................................................................... 25
Figure 5.1 Kalimba DSP Interface to Internal Functions .................................................................................. 28
Figure 6.1 Serial Flash Interface ...................................................................................................................... 29
Figure 7.1 Universal Asynchronous Receiver .................................................................................................. 31
Figure 7.2 Example I²C EEPROM Connection ................................................................................................. 33
Figure 8.1 LED Equivalent Circuit .................................................................................................................... 35
Figure 9.1 Audio Interface ................................................................................................................................ 36
Figure 9.2 Audio Codec Input and Output Stages ............................................................................................ 38
Figure 9.3 Audio Input Gain ............................................................................................................................. 39
Figure 9.4 Microphone Biasing ......................................................................................................................... 42
List of Tables
Table 7.1 PS Keys for UART/PIO Multiplexing ................................................................................................ 30
Table 7.2 Possible UART Settings ................................................................................................................... 31
Table 7.3 Standard Baud Rates ....................................................................................................................... 32
Table 8.1 Alternative PIO Functions ................................................................................................................. 34
Table 9.1 Alternative Functions of the Digital Audio Bus Interface on the PCM1 Interface ............................. 36
Table 9.2 ADC Audio Input Gain Rate ............................................................................................................. 40
Table 9.3 DAC Digital Gain Rate Selection ...................................................................................................... 41
Table 9.4 DAC Analogue Gain Rate Selection ................................................................................................. 41
List of Equations
Equation 3.1 Crystal Calibration Using PSKEY_ANA_FTRIM_OFFSET .............................................................. 26
1 2 3 4 5 6 7 8 9 10
A A1 A2 A3 A4 A5 A6 A7 A8 A9 A10
B B1 B2 B3 B4 B5 B6 B7 B8 B9 B10
C C1 C2 C9 C10
E E1 E2 E5 E6 E9 E10
F F1 F2 F5 F6 F9 F10
G G1 G2 G9 G10
H H1 H2 H9 H10
J J1 J2 J3 J4 J5 J6 J7 J8 J9 J10
G-TW-0007438.1.1
K K1 K2 K3 K4 K5 K6 K7 K8 K9 K10
Note:
SPI and PCM1 interfaces are mapped as alternative functions on the PIO port.
LED driver.
Alternative function: programmable
LED driver.
Alternative function: programmable
output PIO[30].
LED[1] K1 Bidirectional VDD_PADS_1 Note:
As output is open-drain, an external
pull-up is required when PIO[30] is
configured as a programmable
output.
LED driver.
Alternative function: programmable
output PIO[29].
LED[0] J2 Bidirectional VDD_PADS_1 Note:
As output is open-drain, an external
pull-up is required when PIO[29] is
configured as a programmable
output.
Charger input.
VCHG K5
Typically connected to VBUS (USB supply) as Section 12 shows.
Auxiliary supply.
VDD_AUX B2
Connect to 1.35V supply, see Section 12 for connections.
K A2 - 0.21 - G - 0.08 -
J
H A3 - 0.45 - H - 0.15 -
G
E
F a - 0.05 - J - 0.08 -
E
D
b 0.27 0.32 0.37 n - 68 -
C
B
A
D 5.45 5.5 5.55 SD - 0.25 -
3
a C
2X A1 Corner F C D1 - 4.5 - SE - 0.25 -
Index Area C
G C Seating
Bottom View Plane E 5.45 5.5 5.55 Ball diam. - 0.3 -
2
10 9 8 7 6 5 4 3 2 1
Solder land
A E1 - 4.5 - - 0.275 -
opening
B
C
SE
D
Notes 1. Dimension b is measured at the maximum solder ball diameter,
E
parallel to datum plane C.
E1
F 2. Datum C (seating plane) is defined by the spherical crowns of
G
the solder ball.
e
H 3. Parallelism measurement shall exclude any effect of mark on
J
top surface of package.
K
Description 68-ball Very Thin, Fine Pitch Ball Grid Array (VFBGA) Package
G-TW-0007437.7.2
SD
e nX Øb 1 Size 5.5 x 5.5 x 1mm JEDEC MO-225
D1 ØH M C AB
ØJ M C
Pitch 0.5mm Units mm
VDD
_ On-chip Balun
PA BT_RF
+
VSS_BT_RF
2.2 RF Receiver
The receiver features a near-zero IF architecture that enables the channel filters to be integrated onto the die.
Sufficient out-of-band blocking specification at the LNA input enables the receiver to operate in close proximity to
GSM and W‑CDMA cellular phone transmitters without being desensitised. A digital FSK discriminator means that
no discriminator tank is needed and its excellent performance in the presence of noise enables CSR8645 BGA to
exceed the Bluetooth requirements for co‑channel and adjacent channel rejection.
For EDR, the demodulator contains an ADC which digitises the IF received signal. This information is then passed
to the EDR modem.
2.5 Baseband
2.5.1 Burst Mode Controller
Bluetooth
Reference Clock
Radio
G-TW-0000189.3.3
Auxiliary Digital
PLL Circuitry
2401.9832
PSKEY_ANA_FTRIM_OFFSET = ( − 1) × 220 ≈ −7
2402
Equation 3.3: Example of PSKEY_ANA_FTRIM_OFFSET Value for 2401.9832MHz
4.1 VM Accelerator
CSR8645 BGA contains a VM accelerator alongside the MCU. This hardware accelerator improves the performance
of VM applications.
Registers
Instruction Decode ALU
DSP, MCU and Memory Window Control
Program Flow DEBUG
Flash Window
DM2 DSP Data Memory 2 Interface (DM2)
G-TW-0005522.2.2
PM DSP Program Memory Interface (PM)
1.8V
Serial Quad I/O Flash
MCU Program VDD
MCU RESET#/HOLD#/IO3
WP#/IO2
MCU Data QSPI_FLASH_CLK
CLK
Memory
Serial Flash
QSPI_FLASH_CS#
Interface
Management CS#
Unit QSPI_IO[0]
DI/IO0
Kalimba DSP Program QSPI_IO[1]
G-TW-0008502.1.2
DO/IO1
Kalimba DSP
G-TW-0008555.2.2
PIO[9] or PIO[17] UART_CTS
To communicate with the UART at its maximum data rate using a standard PC, the PC requires an accelerated
serial port adapter card.
Table 7.2 shows the possible UART settings.
2
01
9600 0x0027 39 -0.82%
,2
20
19200 0x004f 79 0.45%
ry
38400 157 -0.18%
ua
0x009d
br
57600 236 0.03%
Fe
0x00ec
y,
76800 0x013b 315 0.14%
da
0x03b0
.h
om
0x161e
eu
CSR8645 BGA provides a debug SPI interface for programming, configuring (PS Keys) and debugging the
CSR8645 BGA. Access to this interface is required in production. Ensure the 4 SPI signals and the SPI/PCM# line
are brought out to either test points or a header. To use the SPI interface, the SPI/PCM# line requires the option of
being pulled high externally.
CSR provides development and production tools to communicate over the SPI from a PC, although a level translator
circuit is often required. All are available from CSR.
1.8V C1
R1 R2 R3 10nF
2.2kΩ 2.2kΩ 2.2kΩ U1
8 1
VCC A0
PIO[12]/QSPI_FLASH_CS#/I2C_WP 7 2
WP A1
G-TW-0008557.1.1
PIO[10]/QSPI_FLASH_CLK/I2C_SCL 6 3
SCL A2
PIO[11]/QSPI_IO[0]/I2C_SDA 5 4
SDA VSS
24AAxxx
The I²C EEPROM requires external pull-up resistors, see Figure 7.2.
CSR recommends 400kHz capable I²C EEPROMs.
Function
PIO
Debug SPI SPI Flash UART PCM EEPROM
(See Section 7.3) (See Section 6.5) (See Section 7.2) (See Section 9.3) (See Section 7.4)
PIO[13] - QSPI_IO[1] - - -
PIO[14] - - UART_RX - -
PIO[15] - - UART_TX - -
PIO[16] - - UART_RTS - -
PIO[17] - - UART_CTS - -
See the relevant software release note for the implementation of these PIO lines, as they are firmware build-
specific.
LED Supply
VDD = VF + VR + VPAD
The supply domain in Section 1.2 for LED[2:0] must remain powered for LED functions to operate.
The LED current adds to the overall current. Conservative LED selection extends battery life.
Digital
MMU Voice Port Voice Port Audio
Memory
G-TW-0007451.4.3
2 x Differential
Stereo DAC Outputs
Audio
Codec 2 x Differential
Register Interface Registers Driver ADC Inputs
The term PCM in Section 9.3 and its subsections refers to the PCM1 interface.
PCM_OUT SD_OUT
PCM_IN SD_IN
PCM_SYNC WS
PCM_CLK SCK
Table 9.1: Alternative Functions of the Digital Audio Bus Interface on the PCM1 Interface
CSR8645 BGA is designed for a differential audio output. If a single-ended audio output is required, use an
external differential to single-ended converter.
To avoid any confusion regarding stereo operation this data sheet explicitly states which is the left and right
channel for audio output. With respect to audio input, software and any registers, channel 0 or channel A
represents the left channel and channel 1 or channel B represents the right channel.
PIO[EVEN] Clock
Digital MIC Interface Digital Mic Digital Codec 16 Input C
PIO[ODD] Data
MIC_BP
High-quality ADC Digital Codec 16 Input B
MIC_BN
MIC_AP
High-quality ADC
MIC_AN
Mux
Digital Codec 16 Input A
PIO[EVEN] Clock
Digital MIC Interface Digital Mic
PIO[ODD] Data
G-TW-0007452.3.2
SPKR_LN
High-quality DAC 16
SPKR_LP
Low-pass Filter
SPKR_RN
High-quality DAC 16
SPKR_RP
Low-pass Filter
9.2.2 ADC
Figure 9.2 shows the CSR8645 BGA consists of 2 high-quality ADCs:
■ Each ADC has a second-order Sigma-Delta converter.
■ Each ADC is a separate channel with identical functionality.
■ There are 2 gain stages for each channel, 1 of which is an analogue gain stage and the other is a digital
gain stage, see Section 9.2.4.
G-TW-0005535.4.3
System Gain = ADC Pre-amplifier + ADC Analogue Gain + ADC Digital Gain
CSR8645 BGA has an analogue gain stage based on an ADC pre-amplifier and ADC analogue amplifier:
■ The ADC pre-amplifier has 4 gain settings: 0dB, 9dB, 21dB and 30dB
■ The ADC analogue amplifier gain is -3dB to 12dB in 3dB steps
■ The overall analogue gain for the pre-amplifier and analogue amplifier is -3dB to 42dB in 3dB steps, see
Figure 9.3
■ At mid to high gain levels it acts as a microphone pre-amplifier, see Section 9.2.13
■ At low gain levels it acts as an audio line level amplifier
0 0 8 -24
1 3.5 9 -20.5
2 6 10 -18
3 9.5 11 -14.5
4 12 12 -12
5 15.5 13 -8.5
6 18 14 -6
7 21.5 15 -2.5
9.2.8 DAC
The DAC consists of:
■ 2 fourth-order Sigma-Delta converters enabling 2 separate channels that are identical in functionality, as
Figure 9.2 shows.
■ 2 gain stages for each channel, 1 of which is an analogue gain stage and the other is a digital gain stage.
Digital Gain Selection DAC Digital Gain Setting Digital Gain Selection DAC Digital Gain Setting
Value (dB) Value (dB)
0 0 8 -24
1 3.5 9 -20.5
2 6 10 -18
3 9.5 11 -14.5
4 12 12 -12
5 15.5 13 -8.5
6 18 14 -6
Analogue Gain Selection DAC Analogue Gain Analogue Gain Selection DAC Analogue Gain
Value Setting (dB) Value Setting (dB)
7 0 3 -12
6 -3 2 -15
5 -6 1 -18
4 -9 0 -21
Microphone Bias
(MIC_BIAS)
C1
Input
R1
C2 Amplifier
MIC_AN
+ MIC1
Microphone Bias
(MIC_BIAS)
C3 MIC_BP
G-TW-0008073.2.2
Input
R2
C4 Amplifier
MIC_BN
+ MIC2
For the digital microphone interface to work in this configuration ensure the microphone uses a tristate
between edges.
■ The left and right selection for the digital microphones are appropriately pulled up or down for selection on
the PCB.
C1
C2
MIC_AP
C3
MIC_BN
G-TW-0008474.1.2
C4
MIC_BP
C1
MIC_AP
C2
MIC_AN
C3
MIC_AP
G-TW-0008476.1.1
C4
MIC_AN
SPKR_LP
SPKR_LN
SPKR_RP
DAC Interface
Side Tone
ADC Interface
ADC
0 -32.6dB 8 -8.5dB
1 -30.1dB 9 -6.0dB
2 -26.6dB 10 -2.5dB
3 -24.1dB 11 0dB
4 -20.6dB 12 3.5dB
5 -18.1dB 13 6.0dB
6 -14.5dB 14 9.5dB
7 -12.0dB 15 12.0dB
The values of side tone are shown for information only. During standard operation, the application software
controls the side tone gain.
The following PS Keys configure the side tone hardware:
■ PSKEY_SIDE_TONE_ENABLE
■ PSKEY_SIDE_TONE_GAIN
■ PSKEY_SIDE_TONE_AFTER_ADC
■ PSKEY_SIDE_TONE_AFTER_DAC
The position of the binary point is between bit[10] and bit[9], where bit[11] is the most significant bit.
For example:
Equation 9.1 shows the equation for the IIR filter. Equation 9.2 shows the equation for when the DC blocking is
enabled.
The filter is configured, enabled and disabled from the VM via the CodecSetIIRFilterA and
CodecSetIIRFilterB traps. This requires firmware support. The configuration function takes 10 variables in the
following order:
(1 +b −1 −2 ) (1 +b −1 −2 )
z +b z z +b z
01 02 11 12
Filter, H(z) = Gain × ×
(1 +a −1 −2 ) (1 +a −1 −2 )
01 z +a 02 z 11 z + a12 z
PCM_OUT
PCM_IN
PCM_CLK 128/256/512/1536/2400kHz
G-TW-0000217.3.4
PCM_SYNC 8/48kHz
PCM_IN
PCM_CLK Up to 2400kHz
G-TW-0000218.3.3
PCM_SYNC 8/48kHz
PCM_CLK
G-TW-0000219.2.2
PCM_OUT 1 2 3 4 5 6 7 8
Figure 9.11: Long Frame Sync (Shown with 8-bit Companded Sample)
CSR8645 BGA samples PCM_IN on the falling edge of PCM_CLK and transmits PCM_OUT on the rising edge.
PCM_OUT is configurable as high impedance on the falling edge of PCM_CLK in the LSB position or on the rising
edge.
PCM_SYNC
PCM_CLK
G-TW-0000220.2.3
PCM_OUT 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Or
SHORT_PCM_SYNC
PCM_CLK
G-TW-0000221.3.2
PCM_OUT 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
Figure 9.13: Multi-slot Operation with 2 Slots and 8-bit Companded Samples
PCM_SYNC
PCM_CLK
PCM_OUT 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
G-TW-0000222.2.3
Do Not Do Not
PCM_IN Care 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 Care
B1 Channel B2 Channel
8-bit
Sample
PCM_OUT 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Zeros
Padding
A 16-bit slot with 8-bit companded sample and zeros padding selected.
Sign
Extension
PCM_OUT 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
13-bit
G-TW-0000223.2.3
Sample
PCM_OUT 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Audio
Gain
A 16-bit slot with 13-bit linear sample and audio gain selected.
128
4MHz DDS generation.
Selection of frequency
- 256 - kHz
is programmable. See
Section 9.3.10.
512
fmclk PCM_CLK frequency
48MHz DDS
generation. Selection
of frequency is 2.9 - - kHz
programmable. See
Section 9.3.10.
48MHz DDS
- PCM_CLK jitter - - 21 ns pk-pk
generation
t dmclksynch t dmclkhsyncl
PCM_SYNC
f mlk
t mclkh t mclkl
PCM_CLK
t dmclklpoutz
t dmclkpout tr ,t f t dmclkhpoutz
G-TW-0000224.2.3
t dmclksynch t dmclkhsyncl
PCM_SYNC
f mlk
t mclkh t mclkl
PCM_CLK
t dmclklpoutz
t dmclkpout tr ,t f t dmclkhpoutz
t supinclkl t hpinclkl
t sclkh t tsclkl
PCM_CLK
t hsclksynch t susclksynch
PCM_SYNC
t dpoutz
G-TW-0000226.3.2
t supinsclkl t hpinsclkl
f sclk
t sclkh t tsclkl
PCM_CLK
t susclksynch t hsclksynch
PCM_SYNC
t dpoutz
t dpoutz
t dsclkhpout tr ,t f
t supinsclkl t hpinsclkl
Equation 9.3: PCM_CLK Frequency Generated Using the Internal 48MHz Clock
Set the frequency of PCM_SYNC relative to PCM_CLK using Equation 9.4:
PCM_CLK
f =
SYNC_LIMIT × 8
PCM_OUT SD_OUT
PCM_IN SD_IN
PCM_SYNC WS
PCM_CLK SCK
Table 9.8: Alternative Functions of the Digital Audio Bus Interface on the PCM Interface
Configure the digital audio interface using PSKEY_DIGITAL_AUDIO_CONFIG, see BlueCore Audio API
Specification and the PS Key file.
SCK
SCK
SCK
G-TW-0000230.3.2
SD_IN/OUT MSB LSB MSB LSB
I2 S Mode
- WS Frequency - - 96 kHz
t ssu t sh
t ch t cl
SCK(Input)
topd
SD_OUT
t isu t ih G-TW-0000231.2.2
SD_IN
- WS Frequency - - 96 kHz
Table 9.12: I²S Master Mode Timing Parameters, WS and SCK as Outputs
WS(Output)
t spd
SCK(Output)
t opd
SD_OUT
G-TW-0000232.2.2
t isu t ih
SD_IN
Regulators
Supply Rail
Supply
Switch-mode VDD_AUX VDD_ANA
Configuration
Linear Linear
1.8V 1.35V Regulator Regulator 1.8V 1.35V
Dual-supply
ON ON OFF OFF SMPS SMPS
SMPS
Single-supply
ON OFF ON ON SMPS LDO
SMPS
Parallel-
ON ON ON ON SMPS LDO
supply SMPS
EN
VBAT_SENSE Charger Charge Bypass Linear
OUT
50 to 200mA Reference Regulator 3V3_USB
SENSE
VBAT
IN OUT
1.35V LX_1V35
Switch-mode
EN
RegulatorSENSE
SMPS_1V35_SENSE
Reference
IN OUT
1.8V LX_1V8
Switch-mode
EN
RegulatorSENSE
SMPS_1V8_SENSE
Auxiliary Circuits
IN
VDD_ANA
OUT
Regulator VDD_ANA_RADIO
EN SENSE
Bluetooth
VDD_PADS_1
I/O
VDD_PADS_2
Audio Circuits
Mic Bias
MIC_BIAS
Audio Driver
VDD_AUDIO_DRV
Audio Core
VDD_AUDIO
VDD_DIG OUT
Regulator VDD_DIG_MEM
SENSE
EN
VBAT_SENSE Charger Charge Bypass Linear
OUT
50 to 200mA Reference Regulator 3V3_USB
SENSE
VBAT
IN SENSE
1.35V SMPS_1V35_SENSE
Switch-mode
EN
Regulator OUT
LX_1V35
Reference
IN OUT
1.8V LX_1V8
Switch-mode
EN RegulatorSENSE
SMPS_1V8_SENSE
Auxiliary Circuits
IN
VDD_ANA OUT
Regulator VDD_ANA_RADIO
EN SENSE
Bluetooth
VDD_PADS_1
I/O
VDD_PADS_2
Audio Circuits
Mic Bias
MIC_BIAS
Audio Driver
VDD_AUDIO_DRV
Audio Core
VDD_AUDIO
VDD_DIG VREGIN_DIG
OUT
Regulator VDD_DIG_MEM
SENSE
L1
4.7µH
VBAT LX_1V8 1.8V Supply Rail
LX
G-TW-0008945.1.2
1.8V Switch-mode
3V3_USB Regulator SMPS_1V8_SENSE C3
SENSE 2.2µF
C1 C2 VSS_SMPS_1V8
2.2µF 2.2µF
To 1.35V Switch-mode
Regulator Input
G-TW-0008946.1.2
1.35V Switch-
3V3_USB mode Regulator SMPS_1V35_SENSE C3
SENSE 4.7µF
C1 C2 VSS_SMPS_1V35
2.2µF 2.2µF
To 1.8V Switch-mode
Regulator Input
L1
4.7µH
LX
LX_1V8 1.8V Supply Rail
1.8V Switch-mode
G-TW-0008947.1.2
Regulator SMPS_1V8_SENSE C3
SENSE 2.2µF
VSS_SMPS_1V8
Figure 10.5: 1.8V and 1.35V Switch-mode Regulators Outputs Parallel Configuration
The integrated bypass LDO linear regulator can operate down to 3.0V with a reduced performance.
VREGENABLE should be asserted after the VBAT supply when VREGENABLE is not used as a power-on
button.
The internal regulators described in Section 10.1 to Section 10.7 are not recommended for external circuitry
other than that shown in Section 12.
For information about power sequencing of external regulators to supply the CSR8645 BGA contact CSR.
Pin Name I/O Type Full Chip Reset Pin Name I/O Type Full Chip Reset
The reset protection is cleared after typically 2s (1.6s min to 2.4s max).
If RST# is held low for >2.4s CSR8645 BGA turns off. A rising edge on VREGENABLE or VCHG is required to
power on CSR8645 BGA.
Disabled No X
Table 11.1: Battery Charger Operating Modes Determined by Battery Voltage and Current
(a) Iterm is approximately 10% of Ifast for a given Ifast setting
Standby Mode
G-TW-0005583.3.2
Trickle Charge Mode Iterm
Itrickle Vhyst
Battery Voltage
Vfast
Vfloat
The battery voltage remains constant in Fast Charge Constant Voltage Mode, the curved line on Figure 11.1 is
for clarity only.
The Vfast threshold detection has hysteresis to prevent the charger from oscillating between modes.
CHG_EXT TR 1
External Pass Device
VBAT_SENSE
Rsense
VBAT
R1
G-TW-0005585.2.3
BAT 1
220mΩ Li+ Cell
C1
4.7µF
VBA T_SENSE
CHG_EXT
S1
MFB
C1 C2 C3 L1 C4 C5 C6 L2 C7 C8 C9 C10 C11
2u2 2u2 2u2 4u7 2u2 10n 10n 4u7 4u7 15p 2u2 470n 100n
K10
H9
C2
K4
K5
K7
K6
A1
B5
A7
B2
K8
K3
E5
E6
K2
J6
J7
J9
SMPS_1V 8_SENSE
SMPS_1V 35_SENSE
LX_1V35
VCHG
VB A T_SENSE
LX_1V8
V DD_A UDI O
V DD_A NA _RADI O
VD D_PAD S_1
VD D_PAD S_2
3V3_USB
CHG_EXT
VB AT
VREGIN _DIG
VREGENA BLE
VD D_AU X_1V8
V DD_DIG _MEM
V DD_A UDI O_DRV
V DD_A UX
XT1
26MHz
C1
XTAL_IN
AUX L DO 1V35
J2 LED_0
PIO[29]/LED[0]
3V3
ANA L DO 1V35
K1 LED_1
BYPASS REG 1V35 SMPS DIG LDO PIO[30]/LED[1]
B10 LED_2 LED Outputs
PIO[31]/LED[2]
1V35 F9 PIO_0
PIO[0]
F10 PIO_1
PIO[1]
E9 PIO_6
U2 PIO[6]
G10 PIO_7
PIO[7]
ANT 2 4 BT_RF A3 E10 PIO_8
OUT IN BT_RF PIO[8]
PIO
CSR8645 BGA
PIO[21]
2.45GHz
H1
PCB Layout Notes
PIO_2
PIO[2]/PCM1_IN/SPI_MOSI
J5 PIO_3
PIO[3]/PCM1_OUT/SPI_MISO
E1 PIO_4
Ensure the following components are placed next to CSR8645 BGA PIO[4]/PCM1_SYNC/SPI_CS#
PIO[5]/PCM1_CLK/SPI_CLK
J1 PIO_5 PIO / PCM1 / Debug SPI / I2S
and have good low impedance connections both to signal and GND
J4 SPI_PCM# SPI / PCM# High For SPI. Low For All Other Functions
SPI_PCM#
C2 and C3
E2 PIO_12
PIO[12] / QSPI_FLASH_CS# / I2C_WP
Ensure the following tracks have good low impedance connections PIO[10] / QSPI_FLASH_CLK / I2C_SCL
F5 PIO_10
(no via share and short thick tracks) PIO[11] / QSPI_IO[0] / I2C_SDA
G2 PIO_11 PIO / Serial Flash / I2C
G1 PIO_13
PIO[13] / QSPI_IO[1]
LX_1V35 to Inductor
D2 AIO_0
MIC BIAS AIO[0] Analogue Input / Output
L1 to C4 Track
VSS_BT_LO_AUX
VSS_SMPS_1V35
H10 USB_P
VSS_SMPS_1V8
L2 to C7 Track USB_P
J10 USB_N USB (12Mbps)
USB_N
VSS_A UDIO
VSS_BT_RF
MI C_BIAS
SPKR_RN
SPKR_RP
SPKR_LN
SPKR_LP
VSS_DIG
AU _REF
MI C_AN
C4 to GND
MI C_AP
MI C_BN
MI C_BP
C7 to GND J3 RSTB
RST# Reset
J8
F6
MIC_1N A10
B3
MIC_BIAS B9
MIC_2P B7
MIC_2N B8
B4
B6
A2
A5
K9
A8
MIC_1P A9
A4
A6
VBAT to Battery and C2 should be <1Ω from battery SP100
SPK R_RN
SPK R_LN
SPK R_RP
SPK R_LP
2u2
CSR recommends low Rdc inductors (<0.5Ω) for L1 and L2 for optimum power efficiency
Left Right
Dual-microphone Inputs
For example Taiyo Yuden CB2012T4R7M L5 Speakers (16Ω to 32Ω)
MIC_2
15nH
Suggest analogue and digital grounds are separated if possible Mic2 C18
15p
BLU E
GND
G-TW-0009073.3.2
D
24AAxxx HOLD/SIO3
R104 R108 1V8_SMPS 4
1% PIO_n VSS
220mR
LED_2
LED_1
LED_0
7
G
PIO_n
PIO_n
PIO_n
PIO_n
PIO_n
S
VBAT 400mR SPI Flash
Size of EEPROM Depends on Voice Prompt Requirements
C2 R3
470n 100k 1V35
VREGENABLE VREGENABLE
VBAT & VCHG grounded
D
Q1 C3 C4 C5 C6 C8 C9 C10 C11
FDV301N 100n 2u2 100n 470n 15p 2u2 470n 100n
or Equivalent
G
S
R2 GND GND GND GND GND GND GND
K 10
K4
K5
K8
K3
K2
K7
K6
H9
A1
A7
B5
C2
B2
E5
E6
J6
J9
J7
100k
LX _1V8
L X_1V35
VDD_A UDIO
VREGENA BL E
SMPS_1V8_SENSE
SMPS_1V 35_SENSE
VCHG
VDD_AUX _1V8
VDD_ANA _RADIO
VDD_PADS_1
VDD_PADS_2
V REGIN_DIG
VBA T_SENSE
3V3_USB
CHG_EXT
VBAT
VDD_AUDIO_DRV
VDD_AUX
V DD_DIG_MEM
XT1
26MHz
GND GND
C1
VREGENABLE Delay Circuit XTAL_IN
VREGENABLE Should be Asserted After
The System Supply Has Risen in This Configuration.
CSR8645 BGA
2.45GHz
PIO[2]/PCM1_IN/SPI_MOSI H1 PIO_2
PIO[3]/PCM1_OUT/SPI_MISO J5 PIO_3
PIO[4]/PCM1_SYNC/SPI_CS# E1 PIO_4
PIO[5]/PCM1_CLK/SPI_CLK J1 PIO_5 PIO / PCM1 / Debug SPI / I2S
SPI_PCM# J4 SPI_PCM# SPI / PCM# High For SPI. Low For All Other Functions
AIO[0] D2 AIO_0
MIC BIAS Analogue Input / Output
VSS_BT_LO_AUX
VSS_SMPS_1V 35
USB_P H10
VSS_SMPS_1V8
USB_N J10
VSS_AUDIO
VSS_BT_RF
MIC_BIAS
SPKR_RN
SPKR_L N
SPKR_RP
SPKR_L P
VSS_DIG
AU_REF
MIC_AN
MIC_AP
MIC_BN
MIC_BP
RST# J3 RSTB
Reset
A2
B3
F6
A5
J8
K9
A8
MIC_1N A 10
MIC_1P A 9
B9
B7
MIC_2N B8
B4
A4
B6
A6
SP100
STAR
MIC_2P
C12
SPKR_RN
SPKR_L N
SPKR_RP
SPKR_L P
2u2
L4 R1 R2
MIC_1
15nH 2k2 2k2
Mic1 C17
15p
MIC_BIAS Left Right
Dual-microphone Inputs Speakers (16 - 32Ω)
L5
MIC_2
G-TW-0010745.1.1
15nH
Mic2 C18
15p
Note :
For a 1.8V Input It Is Impossible to Maintain Mic Bias Performance.
CSR Recommends An External Mic Bias Supply If Required.
1V8_SMPS
1V8_SMPS 1V35_SMPS
C2 C3 L1 C4 C5 C6 L2 C7 C8 C9 C10 C11
2u2 2u2 4u7 2u2 10n 10n 4u7 4u7 15p 2u2 470n 100n
RSTB
SMPS_1V35_SENSE K10
V REGENABL E K4
VCHG K 5
V BA T K7
LX_1V8 K 6
SMPS_1V8_SENSE H9
VDD_A UX _1V 8 A1
VDD_A UDIO A 7
L X _1V 35 K 8
V REGIN_DIG K 3
VDD_DIG_MEM K 2
VDD_A UDIO_DRV B5
VDD_A UX B2
VDD_A NA _RADIO C2
VDD_PA DS_1 E5
VDD_PA DS_2 E6
CHG_EXT J6
V BA T_SENSE J7
3V3_USB J9
XT1
26MHz
C1
XTA L_IN
CSR8645 BGA
2.45GHz
PIO[2]/PCM1_IN/SPI_MOSI H1 PIO_2
PIO[3]/PCM1_OUT/SPI_MISO J5 PIO_3
PIO[4]/PCM1_SYNC/SPI_CS# E1 PIO_4
PIO[5]/PCM1_CLK/SPI_CLK J1 PIO_5 PIO / PCM1 / Debug SPI / I2S
SPI_PCM# J4 SPI_PCM# SPI / PCM# High For SPI. Low For All Other Functions
AIO[0] D2 AIO_0
MIC BIAS Analogue Input / Output
A2 V SS_BT_L O_A UX
K9 V SS_SMPS_1V35
MIC_BIAS B9 MIC_BIA S
B6 SPK R_RN
B4 SPK R_L N
A6 SPK R_RP
A4 SPK R_L P
F6 V SS_DIG
A8 AU_REF
MIC_1N A 10 MIC_AN
MIC_1P A 9 MIC_AP
MIC_2N B8 MIC_BN
B7 MIC_BP
RST# J3 RSTB
Reset
SP100
STAR
MIC_2P
C12
SPKR_RN
SPKR_L N
SPKR_RP
SPKR_L P
2u2
L4 R1 R2
MIC_1
15nH 2k2 2k2
Mic1 C17
15p
G-TW-0010746.1.1
Left Right
Dual-microphone Inputs
MIC_2
L5 Speakers (16 - 32Ω)
15nH
Mic2 C18
15p
1V8_SMPS
1V8_SMPS
1V8_SMPS 1V35
SMPS_1V 35_SENSE K 10
V REGENA BLE K 4
V CHG K 5
V BA T K 7
LX _1V 8 K 6
SMPS_1V 8_SENSE H9
V DD_A UX _1V 8 A 1
V DD_A UDIO A 7
LX _1V 35 K 8
V REGIN_DIG K 3
V DD_DIG_MEM K 2
V DD_A UDIO_DRV B5
V DD_A UX B2
V DD_PA DS_1 E5
V DD_PA DS_2 E6
CHG_EX T J6
V BA T_SENSE J7
3V 3_USB J9
XT1
26MHz
C1
XTAL_IN
1V35 PIO[0] F9
PIO[1] F10
PIO[6] E9
U2 PIO[7] G10
ANT 2 4 BT_RF A3 PIO[8] E10
OUT IN BT_RF
PIO[9] G9
PIO[18] D9
Bluetooth RF PIO[19] C9
3 1 PIO[20] C10
GND GND
PIO[21] D10
CSR8645 BGA
2.45GHz
PIO[2]/PCM1_IN/SPI_MOSI H1
PIO[3]/PCM1_OUT/SPI_MISO J5
PIO[4]/PCM1_SYNC/SPI_CS# E1
PIO[5]/PCM1_CLK/SPI_CLK J1 1V8_SMPS C100
SPI_PCM# J4
R105 R106 R107 10n
2k2 2k2 2k2 U101
8 1
VCC A0
PIO[12] / QSPI_FLASH_CS# / I2C_WP E2 7 2
WP A1
PIO[10] / QSPI_FLASH_CLK / I2C_SCL F5 6 3
SCL A2
PIO[11] / QSPI_IO[0] / I2C_SDA G2 5 4
SDA VSS
PIO[13] / QSPI_IO[1] G1
24AAxxx
PIO[14] / UART_RX F2
PIO[15] / UART_TX D1
PIO[16] / UART_RTS F1
PIO[17] / UART_CTS H2
AIO[0] D2
MIC BIAS
A 2 V SS_BT_L O_A UX
K 9 V SS_SMPS_1V 35
MIC_BIA S B9 MIC_BIA S
B6 SPK R_RN
B4 SPK R_LN
A 6 SPK R_RP
A 4 SPK R_LP
F6 V SS_DIG
A 8 A U_REF
MIC_1N A 10 MIC_A N
MIC_1P A 9 MIC_A P
MIC_2N B8 MIC_BN
B7 MIC_BP
RST# J3
SP100
STAR
MIC_2P
C12
SPK R_RN
SPK R_LN
SPK R_RP
SPK R_LP
2u2
L4 R1 R2
MIC_1
15nH 2k2 2k2
Mic1 C17
15p
G-TW-0010747.1.1
Left Right
Dual-microphone Inputs Speakers (16 - 32Ω)
L5
MIC_2
15nH
Mic2 C18
15p
Supply Voltage
Supply Voltage
Normal Operation
Combined 1.8V and 1.35V Switch-mode Regulator Min Typ Max Unit
Normal Operation
(a) Minimum input voltage of 4.75V is required for full specification, regulator operates at reduced load current from 3.1V.
Normal Operation
Load current - - 60 mA
(a) In the external mode, the battery charger meets all the previous charger electrical characteristics and the additional or superseded electrical
characteristics are listed in this table.
14.3.5 USB
Input Threshold
14.3.6 Clocks
Frequency 16 26 32 MHz
Transconductance 2 - - mS
Resolution - - - 16 Bits
Fsample
B/W = 20Hz→Fsample/2
THD+N 8kHz - 0.0041 - %
(20kHz max)
1.6Vpk-pk input
48kHz - 0.0072 - %
Resolution - - - 16 Bits
Output Sample
- 8 - 96 kHz
Rate, Fsample
Fsample Load
fin = 1kHz
B/W = 20Hz→20kHz 48kHz 100kΩ - 95.6 - dB
SNR A-Weighted
THD+N < 0.1% 48kHz 32Ω - 95.8 - dB
0dBFS input
48kHz 16Ω - 95.6 - dB
Fsample Load
Input Voltage
Tr/Tf - - 25 ns
Output Voltage
Tr/Tf - - 5 ns
Resolution - - 10 Bits
INL -1 - 1 LSB
Accuracy
(Guaranteed monotonic)
DNL 0 - 1 LSB
Offset -1 - 1 LSB
Resolution - - 10 Bits
Human Body Model Contact Discharge per 2kV (all pins except CHG_EXT; CHG_EXT
2
ANSI/ESDA/JEDEC JS‑001 is rated at 1kV)
Any test detailed in the IEC-61000-4-2 level 4 test specification does not damage CSR8645 BGA.
The CSR8645 BGA USB VBUS pin is protected to level 4 using an external 2.2µF decoupling capacitor on VCHG.
Important Note:
CSR recommends correct PCB routing and to route the VBUS track through a decoupling capacitor pad.
When the USB connector is a long way from CSR8645 BGA, place an extra 1µF or 2.2µF capacitor near the
USB connector.
No components (including 22Ω series resistors) are required between CSR8645 BGA and the USB_DP and
USB_DN lines.
To recover from an unintended reset, e.g. a large ESD strike, the watchdog and reset protection feature can restart
CSR8645 BGA and signal the unintended reset to the VM.
Table 14.2 summarises the level of protection.
2-mic CVC:
Slave SCO ■ 8kHz sampling HV3 30 12.6 mA
■ Narrowband
2-mic CVC:
Slave eSCO ■ 8kHz sampling 2EV3 60 10.8 mA
■ Narrowband
2-mic CVC:
Slave eSCO ■ 16kHz sampling 2EV3 60 10.9 mA
■ FESI
2-mic CVC:
Master eSCO ■ 8kHz sampling 2EV3 60 10.5 mA
■ Narrowband
2-mic CVC:
Master eSCO ■ 16kHz sampling 2EV3 60 11.0 mA
■ Wideband
2-mic CVC:
Master eSCO ■ 16kHz sampling 2EV3 60 10.6 mA
■ FESI
Note:
Current consumption values are taken with:
■ VBAT pin = 3.7V
■ RF TX power set to 0dBm
■ No RF retransmissions in case of eSCO
■ Microphones and speakers disconnected
■ Audio gateway transmits silence when SCO/eSCO channel is open
■ LEDs disconnected
■ AFH classification master disabled
Benzene 1000ppm
1,1,1-trichloroethane Banned
Tributyl tin (TBT) / Triphenyl tin (TPT) / Tributyl Tin Oxide (TBTO) Banned as intentionally introduced
Dibutyl Tin (DBT) and Dioctyl Tin Compounds (DOT)
Patches
CSR8645 SPI
G-TW-0009075.1.1
Programmable
Audio Prompts
EEPROM
PS Keys
Patches
CSR8645 I2C
G-TW-0009074.1.1
Programmable
Audio Prompts
When using the SPI flash interface for programmable audio prompts, an EEPROM device is not required in the
CSR8645 stereo ROM solution with aptX.
It is important to follow the industrial design considerations in CVC Two Microphone Headset Design
Guidelines when designing headsets using 2-mic CVC.
2-mic CVC full-duplex voice processing software is a fully integrated and highly optimised set of DSP algorithms
developed to ensure easy design and build of echo and noise‑cancelling headset products.
CVC enables greater acoustic design flexibility by incorporating software to compensate for cost-optimised
microphone‑to‑speaker coupling and placement. CVC-enabled headsets operate in a wide variety of acoustic
environments. Sophisticated noise suppression technology reduces the impact of noise in the transmission channel.
Using intelligent volume control and intelligibility improvements, the receive channel is also enhanced based on the
acoustic noise in the listener's environment.
The 6th generation CVC provides 3 new major features:
■ A high performance Wind Noise Reduction module provides significant reduction of both front and side
wind noise. This uses a very low-power algorithm which automatically cuts in only on the detection of wind
noise.
■ A 16kHz sample rate for full compliance across the suite of DSP algorithms
■ Frequency enhanced speech intelligibility
2-mic CVC includes a tuning tool enabling the developer to easily adapt CVC with different audio configurations and
tuning parameters. The tool provides real-time system statistics with immediate feedback enabling designers to
quickly investigate the effect of changes.
Dual-microphone
Wind Noise Noise Acoustic Echo
Signal Comfort Noise Equaliser AGC
Reduction Suppression Canceller
Separation
Mic Gain
NDVC
Bluetooth Radio
Side
Tone
G-TW-0007444.2.2
Auxiliary Stream
Mix
17.2.6 Equalisation
The equalisation filters:
■ Have independent equalisation modules provided in the send and receive signal paths:
17.2.11 Clipper
The clipper block intentionally limits the amplitude of the receive signal prior to the reference input of the AEC to
more accurately model the behaviour of the post reference input blocks such as the DAC, power amplifier and the
loudspeaker. This processing block can significantly improve the echo performance in cost-optimised loudspeakers.
17.3.3 Configurable EQ
The CSR8645 Stereo ROM Solution with aptX audio development kit is subject to change and updates, for up-
to-date information see www.csrsupport.com.
Circular Holes
Pin A1 Marker
A≥B
G-TW-0002434.3.2
B
Ø 1.5 +0.1/-0.0
8.00 MIN
2.00 ±0.10 SEE NOTE 3 Ø 1.50 MIN
4.00 SEE NOTE 1 1.75 ±0.10
0.30 ±0.05
A
16.0 ±0.3
A
G-TW-0007442.1.1
K0 R 0.5 TYP
0.66
A0
4.48
SECTION A - A
W3
Package Tape A W2
B C D Min N Min W1 Units
Type Width Max Max
Min Max
5.5 x 5.5 x
13.0 16.4
1mm 16 332 1.5 20.2 50 19.1 16.4 19.1 mm
(0.5/-0.2) (3.0/-0.2)
VFBGA
Core Specification of the Bluetooth System Bluetooth Specification Version 4.0, 17 December 2009
IEC 61000-4-2
Electromagnetic compatibility (EMC) – Part 4-2: Testing IEC 61000-4-2, Edition 2.0, 2008-12
and measurement techniques – Electrostatic discharge
immunity test
AC Alternating Current
AG Audio Gateway
BlueCore® Group term for CSR’s range of Bluetooth wireless technology ICs
Bluetooth® Set of technologies providing audio and data transfer over short-range radio connections
DC Direct Current
EQ EQualiser
G.722 An ITU-T standard wideband speech codec operating at 48, 56 and 64 kbps
I/O Input/Output
IC Integrated Circuit
IF Intermediate Frequency
JEDEC Joint Electron Device Engineering Council (now the JEDEC Solid State Technology
Association)
Kalimba An open platform DSP co-processor, enabling support of enhanced audio applications, such
as echo and noise suppression, and file compression / decompression
Kb Kilobit
LM Link Manager
Mb Megabit
PA Power Amplifier
PC Personal Computer
RF Radio Frequency
RX Receive or Receiver
SCMS Serial Copy Management System (SCMS-T). A content protection scheme for secure
transport and use of compressed digital music
TBD To Be Defined
TX Transmit or Transmitter
UI User Interface
VM Virtual Machine