_aiEceEPJjiaiaaECa~ Device Features ! Fully Qualified Bluetooth system Single Chip Bluetooth(R) v1.2 System ! Bluetooth v1.2 Specification Compliant ! Kalimba DSP Open Platform Co-Processor Production Information Data Sheet For ! Full Speed Bluetooth Operation with Full Piconet Support BC358239A ! Scatternet Support October 2006 ! Low Power 1.8V Operation ! 10 x 10 x 1.4mm 96-ball LFBGA Package ! Minimum External Components ! Integrated 1.8V regulator ! Dual UART Ports ! 16-bit Stereo Audio CODEC ! I2S and SPDIF Interfaces ! RF `Plug `n' Go' package ! RoHS Compliant General Description Applications BlueCore3-Multimedia is a single chip radio and baseband IC for Bluetooth 2.4GHz systems. ! Stereo Headphones ! Automotive Hands-Free Kits ! Echo Cancellation ! High Performance Telephony Headsets ! Enhanced Audio Applications ! A/V Profile Support BC358239A contains 8Mbit of internal Flash memory. When used with the CSR Bluetooth software stack, it provides a fully compliant Bluetooth system to v1.2 of the specification for data and voice communications. FLASH SPI RAM UART/USB RF IN RF OUT 2.4 GHz Radio Baseband DSP I/O PIO Audio In/Out MCU BlueCore3-Multimedia contains the Kalimba DSP which is an open platform digital signal processor (DSP) co-processor allowing for support of enhanced audio applications. BlueCore3-Multimedia has been designed to reduce the number of external components required which ensures production costs are minimised. The device incorporates auto-calibration and built-in self-test (BIST) routines to simplify development, type approval and production test. All hardware and device firmware is fully compliant with the Bluetooth v1.2 Specification. PCM / I2S / SPDIF Kalimba DSP XTAL BlueCore3-Multimedia System Architecture CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 1 of 108 Contents Contents Status Information ................................................................................................................................................ 8 1 Key Features .................................................................................................................................................. 9 2 10 x 10mm LFBGA Package Information ................................................................................................... 10 2.1 BC358239A-INN-E4 Pinout Diagram..................................................................................................... 10 2.2 Device Terminal Functions .................................................................................................................... 11 Electrical Characteristics ............................................................................................................................ 15 3.1 Absolute Maximum Ratings ................................................................................................................... 15 3.2 Recommended Operating Conditions.................................................................................................... 15 3.3 Linear Regulator .................................................................................................................................... 16 3.4 Digital Terminals.................................................................................................................................... 17 3.5 USB Terminals ...................................................................................................................................... 18 3.6 Power on Reset ..................................................................................................................................... 18 3.7 Auxiliary ADC ........................................................................................................................................ 18 3.8 Auxiliary DAC ........................................................................................................................................ 19 3.9 Clocks ................................................................................................................................................... 19 3.10 Stereo Audio CODEC Characteristics ................................................................................................... 20 3.11 Power Consumption .............................................................................................................................. 23 4 Radio Characteristics .................................................................................................................................. 24 5 4.1 Temperature +20C ............................................................................................................................... 24 4.1.1 Transmitter ................................................................................................................................. 24 4.1.2 Receiver ..................................................................................................................................... 25 4.2 Temperature -40C................................................................................................................................ 26 4.2.1 Transmitter ................................................................................................................................. 26 4.2.2 Receiver ..................................................................................................................................... 26 4.3 Temperature -25C................................................................................................................................ 27 4.3.1 Transmitter ................................................................................................................................. 27 4.3.2 Receiver ..................................................................................................................................... 27 4.4 Temperature +85C ............................................................................................................................... 28 4.4.1 Transmitter ................................................................................................................................. 28 4.4.2 Receiver ..................................................................................................................................... 28 4.5 Temperature +105C ............................................................................................................................. 29 4.5.1 Transmitter ................................................................................................................................. 29 4.5.2 Receiver ..................................................................................................................................... 29 Device Diagram ............................................................................................................................................ 30 6 Description of Functional Blocks ............................................................................................................... 31 6.1 RF Receiver........................................................................................................................................... 31 6.1.1 Low Noise Amplifier ................................................................................................................... 31 6.1.2 Analogue to Digital Converter .................................................................................................... 31 6.2 RF Transmitter....................................................................................................................................... 31 6.2.1 IQ Modulator .............................................................................................................................. 31 6.2.2 Power Amplifier .......................................................................................................................... 31 6.2.3 Auxiliary DAC ............................................................................................................................. 31 6.3 RF Synthesiser ...................................................................................................................................... 31 6.4 Clock Input and Generation ................................................................................................................... 31 6.5 Baseband and Logic .............................................................................................................................. 32 6.5.1 Memory Management Unit ......................................................................................................... 32 6.5.2 Burst Mode Controller ................................................................................................................ 32 6.5.3 Physical Layer Hardware Engine DSP....................................................................................... 32 6.5.4 RAM ........................................................................................................................................... 32 6.5.5 Kalimba DSP RAM..................................................................................................................... 32 CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 2 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet 3 Contents 6.5.6 FLASH Memory.......................................................................................................................... 32 6.5.7 USB............................................................................................................................................ 33 6.5.8 Synchronous Serial Interface ..................................................................................................... 33 6.5.9 UART ......................................................................................................................................... 33 6.6 Microcontroller ....................................................................................................................................... 33 6.6.1 Programmable I/O...................................................................................................................... 33 6.7 Kalimba DSP ......................................................................................................................................... 34 7.1 BlueCore HCI Stack ............................................................................................................................. 36 7.1.1 Key Features of the HCI Stack - Standard Bluetooth Functionality ............................................ 37 7.1.2 Key Features of the HCI Stack - Extra Functionality .................................................................. 38 7.2 Stand-Alone BlueCore3-Multimedia and Kalimba DSP Applications ..................................................... 39 7.3 Host-Side Software................................................................................................................................ 40 7.4 Device Firmware Upgrade ..................................................................................................................... 40 7.5 BCHS Software ..................................................................................................................................... 40 7.6 Additional Software for Other Embedded Applications .......................................................................... 40 7.7 CSR Development Systems .................................................................................................................. 40 8 Device Terminal Descriptions..................................................................................................................... 41 8.1 RF Ports ................................................................................................................................................ 41 8.1.1 Single-Ended Input (RF_IN) ....................................................................................................... 41 8.1.2 RF Plug `n' Go............................................................................................................................ 41 8.2 Transmit Port Impedances for Plug-n-Go Package ............................................................................... 42 8.3 Receive Port Impedances for Plug-n-Go Package ................................................................................ 43 8.4 External Reference Clock Input (XTAL_IN) ........................................................................................... 44 8.4.1 External Mode ............................................................................................................................ 44 8.4.2 XTAL_IN Impedance in External Mode ...................................................................................... 44 8.4.3 Clock Timing Accuracy............................................................................................................... 44 8.4.4 Clock Start-Up Delay.................................................................................................................. 45 8.4.5 Input Frequencies and PS Key Settings..................................................................................... 46 8.5 Crystal Oscillator (XTAL_IN, XTAL_OUT) ............................................................................................. 47 8.5.1 XTAL Mode ................................................................................................................................ 47 8.5.2 Load Capacitance ...................................................................................................................... 48 8.5.3 Frequency Trim .......................................................................................................................... 48 8.5.4 Transconductance Driver Model ................................................................................................ 49 8.5.5 Negative Resistance Model ....................................................................................................... 49 8.5.6 Crystal PS Key Settings ............................................................................................................. 49 8.5.7 Crystal Oscillator Characteristics ............................................................................................... 50 8.6 UART Interface...................................................................................................................................... 53 8.6.1 UART Bypass............................................................................................................................. 55 8.6.2 UART Configuration While RESET is Active.............................................................................. 55 8.6.3 UART Bypass Mode................................................................................................................... 55 8.6.4 Current Consumption in UART Bypass Mode ............................................................................ 55 8.7 USB Interface ........................................................................................................................................ 56 8.7.1 USB Data Connections .............................................................................................................. 56 8.7.2 USB Pull-Up Resistor................................................................................................................. 56 8.7.3 Power Supply ............................................................................................................................. 56 8.7.4 Self Powered Mode.................................................................................................................... 57 8.7.5 Bus Powered Mode.................................................................................................................... 58 8.7.6 Suspend Current ........................................................................................................................ 59 8.7.7 Detach and Wake_Up Signalling................................................................................................ 59 8.7.8 USB Driver ................................................................................................................................. 59 8.7.9 USB 1.1 Compliance.................................................................................................................. 60 8.7.10 USB 2.0 Compatibility ................................................................................................................ 60 8.8 Serial Peripheral Interface ..................................................................................................................... 60 8.8.1 Instruction Cycle......................................................................................................................... 60 CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 3 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet 7 6.8 Audio Interface ...................................................................................................................................... 35 6.8.1 Audio Input and Output .............................................................................................................. 35 6.8.2 Digital Audio Interface ................................................................................................................ 35 CSR Bluetooth Software Stacks ................................................................................................................. 36 Contents 8.12 TCXO Enable OR Function ................................................................................................................... 88 9 8.13 RESET and RESETB ............................................................................................................................ 88 8.13.1 Pin States on Reset ................................................................................................................... 89 8.13.2 Status after Reset ...................................................................................................................... 89 8.14 Power Supply ........................................................................................................................................ 90 8.14.1 Internal Voltage Regulator ......................................................................................................... 90 8.14.2 External Voltage Source ............................................................................................................ 90 8.14.3 Sequencing ................................................................................................................................ 90 Typical Audio CODEC Performance........................................................................................................... 91 9.1 Output ................................................................................................................................................... 91 10 Application Schematic................................................................................................................................. 99 11 Package Dimensions ................................................................................................................................. 100 11.1 10 x 10mm LFBGA 96-Ball Package ................................................................................................... 100 12 Solder Profiles............................................................................................................................................ 101 12.1 Typical Solder Re-flow Profile for Devices with Lead-Free Solder Balls .............................................. 102 13 Ordering Information ................................................................................................................................. 103 13.1 BlueCore3-Multimedia ......................................................................................................................... 103 14 Document References ............................................................................................................................... 104 Terms and Definitions ...................................................................................................................................... 105 Document History ............................................................................................................................................. 107 CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 4 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet 8.8.2 Writing to BlueCore3-Multimedia................................................................................................ 61 8.8.3 Reading from BlueCore3-Multimedia ......................................................................................... 61 8.8.4 Multi Slave Operation................................................................................................................. 61 8.9 Stereo Audio Interface ........................................................................................................................... 62 8.9.1 Stereo CODEC Set-Up .............................................................................................................. 63 8.9.2 ADC ........................................................................................................................................... 63 8.9.3 ADC Sample Rate Selection and Warping................................................................................. 63 8.9.4 ADC Gain ................................................................................................................................... 64 8.9.5 DAC ........................................................................................................................................... 66 8.9.6 DAC Sample Rate Selection and Warping................................................................................. 66 8.9.7 DAC Gain ................................................................................................................................... 66 8.9.8 Mono Operation ......................................................................................................................... 67 8.9.9 PCM CODEC Interface .............................................................................................................. 68 8.9.10 PCM Interface Master/Slave ...................................................................................................... 69 8.9.11 Long Frame Sync....................................................................................................................... 70 8.9.12 Short Frame Sync ...................................................................................................................... 70 8.9.13 Multi Slot Operation.................................................................................................................... 71 8.9.14 GCI Interface.............................................................................................................................. 71 8.9.15 Slots and Sample Formats ......................................................................................................... 72 8.9.16 Additional Features .................................................................................................................... 72 8.9.17 PCM Timing Information ............................................................................................................ 73 8.9.18 PCM Slave Timing ..................................................................................................................... 75 8.9.19 PCM_CLK and PCM_SYNC Generation.................................................................................... 77 8.9.20 PCM Configuration..................................................................................................................... 78 8.9.21 Digital Audio Bus........................................................................................................................ 80 8.9.22 IEC 60958 Interface ................................................................................................................... 83 8.9.23 Audio Input Stage....................................................................................................................... 84 8.9.24 Microphone Input ....................................................................................................................... 85 8.9.25 Line Input ................................................................................................................................... 85 8.9.26 Output Stage .............................................................................................................................. 86 8.10 I/O Parallel Ports ................................................................................................................................... 86 8.10.1 PIO Defaults for BlueCore3-Multimedia ..................................................................................... 87 8.11 I2C Interface........................................................................................................................................... 87 Contents List of Figures Figure 2.1: BC358239A BlueCore3-Multimedia Device Pinout ............................................................................. 10 Figure 5.1: BlueCore3-Multimedia Device Diagram .............................................................................................. 30 Figure 6.1: Kalimba DSP Interface to Internal Functions ...................................................................................... 34 Figure 6.2: Audio Interface .................................................................................................................................... 35 Figure 7.1: BlueCore HCI Stack ............................................................................................................................ 36 Figure 8.1: Circuit RF_IN ...................................................................................................................................... 41 Figure 8.2: Circuit for RF_CONNECT ................................................................................................................... 41 Figure 8.3: RF_CONNECT Output at Power Setting 35........................................................................................ 42 Figure 8.4: RF_CONNECT Output at Power Setting 50........................................................................................ 42 Figure 8.5: RF_CONNECT Matched in Receive Mode ......................................................................................... 43 Figure 8.6: RF_IN Unmatched in Receive Mode................................................................................................... 43 Figure 8.7: TCXO Clock Accuracy ........................................................................................................................ 44 Figure 8.8: Actual Allowable Clock Presence Delay on XTAL_IN vs. PS Key Setting........................................... 45 Figure 8.9: Crystal Driver Circuit ........................................................................................................................... 47 Figure 8.10: Crystal Equivalent Circuit .................................................................................................................. 47 Figure 8.11: Crystal Load Capacitance and Series Resistance Limits with Crystal Frequency............................. 50 Figure 8.12: Crystal Driver Transconductance vs. Driver Level Register Setting .................................................. 51 Figure 8.13: Crystal Driver Negative Resistance as a Function of Drive Level Setting ......................................... 52 Figure 8.14: Universal Asynchronous Receiver .................................................................................................... 53 Figure 8.15: Break Signal...................................................................................................................................... 54 Figure 8.16: UART Bypass Architecture ............................................................................................................... 55 Figure 8.17: USB Connections for Self Powered Mode ........................................................................................ 57 Figure 8.18: USB Connections for Bus Powered Mode ........................................................................................ 58 Figure 8.19: USB_DETACH and USB_WAKE_UP Signal .................................................................................... 59 Figure 8.20: Write Operation ................................................................................................................................. 61 Figure 8.21: Read Operation................................................................................................................................. 61 Figure 8.22: Stereo CODEC Audio Input and Output Stages................................................................................ 62 Figure 8.23: First Stage of ADC Analogue Amplifier Block Diagram ..................................................................... 65 Figure 8.24: BlueCore3-Multimedia as PCM Interface Master .............................................................................. 69 Figure 8.25: BlueCore3-Multimedia as PCM Interface Slave ................................................................................ 69 Figure 8.26: Long Frame Sync (Shown with 8-bit Companded Sample)............................................................... 70 Figure 8.27: Short Frame Sync (Shown with 16-bit Sample) ................................................................................ 70 Figure 8.28: Multi Slot Operation with Two Slots and 8-bit Companded Samples ................................................ 71 Figure 8.29: GCI Interface..................................................................................................................................... 71 Figure 8.30: 16-Bit Slot Length and Sample Formats ........................................................................................... 72 Figure 8.31: PCM Master Timing Long Frame Sync ............................................................................................. 74 Figure 8.32: PCM Master Timing Short Frame Sync............................................................................................. 74 Figure 8.33: PCM Slave Timing Long Frame Sync ............................................................................................... 76 Figure 8.34: PCM Slave Timing Short Frame Sync............................................................................................... 76 Figure 8.35: Digital Audio Interface Modes ........................................................................................................... 80 Figure 8.36: Digital Audio Interface Slave Timing ................................................................................................. 81 Figure 8.37: Digital Audio Interface Master Timing ............................................................................................... 82 Figure 8.38: Example Circuit for SPDIF Interface with Coaxial Output ................................................................. 83 CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 5 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Figure 7.2: Kalimba DSP Stack............................................................................................................................. 39 Contents Figure 8.39: Example Circuit for SPDIF Interface with Coaxial Input .................................................................... 83 Figure 8.40: Example Circuit for SPDIF Interface with Optical Output .................................................................. 84 Figure 8.41: Example Circuit for SPDIF Interface with Optical Input ..................................................................... 84 Figure 8.42: Microphone Biasing (Left Channel Shown) ....................................................................................... 85 Figure 8.43: Differential Input (Left Channel Shown) ............................................................................................ 85 Figure 8.44: Single Ended Input (Left Channel Shown) ........................................................................................ 85 Figure 8.45: Speaker Output (Left Channel Shown) ............................................................................................. 86 Figure 8.46: Example EEPROM Connection ........................................................................................................ 87 Figure 10.1: Relative Level of 2nd Harmonic to Fundamental, PL = 600.............................................................. 91 Figure 10.2: Relative Level of 3rd Harmonic to Fundamental, PL = 600 ............................................................. 92 Figure 10.3: Relative Level of 2nd Harmonic to Fundamental, PL = 32................................................................ 93 Figure 10.4: Relative Level of 3rd Harmonic to Fundamental, PL = 32 ................................................................ 94 Figure 10.5: Relative Level of 2nd Harmonic to Fundamental, PL = 22................................................................ 95 Figure 10.6: Relative Level of 3rd Harmonic to Fundamental, PL = 22 ................................................................ 96 Figure 10.7: Noise Floor........................................................................................................................................ 97 Figure 10.8: THD+N .............................................................................................................................................. 98 Figure 11.1: Application Circuit for Radio Characteristics Specification for 10 x 10mm LFBGA Package............. 99 Figure 12.1: BlueCore3-Multimedia 96-Ball LFBGA Package Dimensions ......................................................... 100 Figure 13.1: Typical Lead-Free Re-flow Solder Profile........................................................................................ 102 List of Tables Table 6.1: Alternative Functions of the Digital Audio Bus Interface on the PCM Interface .................................... 35 Table 8.1: External Clock Specifications ............................................................................................................... 44 Table 8.2: PS Key Values for CDMA/3G Phone TCXO Frequencies .................................................................... 46 Table 8.3: Crystal Oscillator Specification............................................................................................................. 49 Table 8.4: Possible UART Settings ....................................................................................................................... 53 Table 8.5: Standard Baud Rates ........................................................................................................................... 54 Table 8.6: USB Interface Component Values ....................................................................................................... 58 Table 8.7: Instruction Cycle for an SPI Transaction .............................................................................................. 60 Table 8.8: ADC Digital Gain Rate Selection.......................................................................................................... 64 Table 8.9: DAC Digital Gain Rate Selection.......................................................................................................... 66 Table 8.10: DAC Analogue Gain Settings ............................................................................................................. 67 Table 8.11: PCM Master Timing............................................................................................................................ 73 Table 8.12: PCM Slave Timing.............................................................................................................................. 75 Table 8.13: PSKEY_PCM_CONFIG32 Description............................................................................................... 78 Table 8.14: PSKEY_PCM_LOW_JITTER_CONFIG Description .......................................................................... 79 Table 8.15: Digital Audio Interface Slave Timing .................................................................................................. 81 Table 8.16: Digital Audio Interface Master Timing................................................................................................. 82 Table 8.17: Pin States of BlueCore3-Multimedia on Reset ................................................................................... 89 Table 13.1: Solder Profile Zones......................................................................................................................... 101 CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 6 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Figure 8.47: Example TXCO Enable OR Function ................................................................................................ 88 Contents List of Equations Equation 8.1: Load Capacitance ........................................................................................................................... 48 Equation 8.2: Trim Capacitance ............................................................................................................................ 48 Equation 8.3: Frequency Trim ............................................................................................................................... 48 Equation 8.4: Pullability......................................................................................................................................... 48 Equation 8.5: Transconductance Required for Oscillation .................................................................................... 49 Equation 8.6: Equivalent Negative Resistance ..................................................................................................... 49 Equation 8.8: PCM_CLK Frequency When Being Generated Using the Internal 48MHz clock ............................ 77 Equation 8.9: PCM_SYNC Frequency Relative to PCM_CLK .............................................................................. 77 CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 7 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Equation 8.7: Baud Rate ....................................................................................................................................... 54 Status Information Status Information The status of this Data Book is Production Information. CSR Product Data Books progress according to the following format: Advance Information All detailed specifications including pinouts and electrical specifications may be changed by CSR without notice. Pre-Production Information Pinout and mechanical dimension specifications finalised. All values specified are the target values of the design. Minimum and maximum values specified are only given as guidance to the final specification limits and must not be considered as the final values. All electrical specifications may be changed by CSR without notice. Production Information Final Data Book including the guaranteed minimum and maximum limits for the electrical specifications. Production Data Books supersede all previous document versions. Trademarks, Patents and Licenses Unless otherwise stated, words and logos marked with TM or (R) are trademarks registered or owned by CSR plc or its affiliates. Bluetooth(R) and the Bluetooth logos are trademarks owned by Bluetooth SIG, Inc. and licensed to CSR. Other products, services and names used in this document may have been trademarked by their respective owners. Windows(R), Windows 98TM, Windows 2000TM, Windows XPTM and Windows NTTM are registered trademarks of the Microsoft Corporation. OMAPTM is a trademark of Texas Instruments Inc. The publication of this information does not imply that any license is granted under any patent or other rights owned by CSR plc. CSR reserves the right to make technical changes to its products as part of its development programme. While every care has been taken to ensure the accuracy of the contents of this document, CSR cannot accept responsibility for any errors. CSR's products are not authorised for use in life-support or safety-critical applications. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 8 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Information for designers concerning CSR product in development. All values specified are the target values of the design. Minimum and maximum values specified are only given as guidance to the final specification limits and must not be considered as the final values. Key Features 1 Key Features Radio Kalimba DSP ! Common TX/RX terminal simplifies external ! DSP co-processor, 32MIPs, 24-bit fixed point core matching; eliminates external antenna switch ! BIST minimises production test time. No external trimming is required in production ! Bluetooth v1.2 Specification compliant accumulator ! 32-bit instruction word, dual 24-bit data memory ! 4Kword program memory, 2 x 8Kword data memory ! Antenna matching and filtering within the IC ! Flexible interfaces to BlueCore3 subsystem Transmitter Baseband and Software ! +6dBm RF transmit power with level control from ! Internal 8Mbit Flash for complete system solution on-chip 6-bit DAC over a dynamic range >30dB ! Class 2 and Class 3 support without the need for an external power amplifier or TX/RX switch ! Internal 32Kbyte RAM, allows full speed data transfer, mixed voice and data, and full piconet operation ! Logic for forward error correction, header error Receiver ! Integrated channel filters ! Digital demodulator for improved sensitivity and co-channel rejection control, access code correlation, CRC, demodulation, encryption bit stream generation, whitening and transmit pulse shaping ! Transcoders for A-law, -law and linear voice from ! Real time digitised RSSI available on HCI interface host and A-law, -law and CVSD voice over air ! Fast AGC for enhanced dynamic range Physical Interfaces Synthesiser ! Synchronous serial interface up to 4Mbaud for ! Fully integrated synthesiser requires no external VCO, varactor diode, resonator or loop filter ! Compatible with crystals between 8 and 32MHz (in multiples of 250kHz) or an external clock ! Accepts 7.68, 14.44, 15.36, 16.2, 16.8, 19.2, 19.44, 19.68, 19.8 and 38.4MHz TCXO frequencies for GSM and CDMA devices with sinusoidal or logic level signals system debugging ! UART interface with programmable baud rate up to 1.5Mbaud with an optional bypass mode ! Full speed USB v1.1 interface supports OHCI and UHCI host interfaces ! Bi-directional serial programmable audio interface supporting PCM, I2S and SPDIF formats ! Optional I2CTM compatible interface Auxiliary Features Stereo Audio CODEC ! Crystal oscillator with built-in digital trimming ! 16-bit resolution, standard sample rates of 8kHz, ! Power management includes digital shut down, and wake up commands with an integrated low power oscillator for ultra-low power Park/Sniff/Hold mode ! `Clock request' output to control an external clock ! On-chip linear regulator; 1.8V output from a 2.2-4.2V input 11.025kHz, 16kHz, 22.05kHz, 32kHz, 44.1kHz and 48kHz (DAC only) ! Dual ADC and DAC for stereo audio ! Integrated amplifiers for driving microphone and speakers with minimum external components Bluetooth Stack ! Power-on-reset cell detects low supply voltage ! Arbitrary power supply sequencing permitted CSR's Bluetooth Protocol Stack runs on the on-chip MCU in a variety of configurations: ! 8-bit ADC and DAC available to applications ! Standard HCI (UART or USB) ! Fully embedded RFCOMM ! Customised builds with embedded application code Package Options ! 96-ball LFBGA, 10 x 10 x 1.4mm, 0.8mm pitch CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 9 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet ! Full RF reference designs available ! Single cycle MAC; 24 x 24-bit multiply and 56-bit 10 x 10mm LFBGA Package Information 2 10 x 10mm LFBGA Package Information 2.1 BC358239A-INN-E4 Pinout Diagram Orientation from top of device 2 3 4 5 6 7 8 9 10 11 A A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 B B1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B11 C C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 D D1 D2 D3 D9 D10 D11 E E1 E2 E3 E9 E10 E11 F F1 F2 F3 F9 F10 F11 G G1 G2 G3 G9 G10 G11 H H1 H2 H3 H9 H10 H11 J J1 J2 J3 J4 J5 J6 J7 J8 J9 J10 J11 K K1 K2 K3 K4 K5 K6 K7 K8 K9 K10 K11 L L1 L2 L3 L4 L5 L6 L7 L8 L9 L10 L11 Figure 2.1: BC358239A BlueCore3-Multimedia Device Pinout CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 10 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet 1 10 x 10mm LFBGA Package Information 2.2 Device Terminal Functions Ball Pad Type Description RF_IN D2 Analogue Single ended receiver input PIO[0]/RXEN D3 Bi-directional with programmable strength internal pull-up/down Control output for external TX/RX (if fitted) PIO[1]/TXEN C4 Bi-directional with programmable strength internal pull-up/down Control output for external PA (If fitted) BAL_MATCH A1 Analogue Tie to VSS_RADIO RF_CONNECT B1 Analogue 50 RF matched I/O AUX_DAC C2 Analogue Voltage DAC output Synthesiser and Oscillator Ball Pad Type Description XTAL_IN L3 Analogue For crystal or external clock input XTAL_OUT L4 Analogue Drive for crystal USB and UART Ball Pad Type Description UART_TX J10 CMOS output, tri-state, with weak internal pull-up UART data output UART_RX J11 CMOS input with weak internal pull-down UART data input UART_RTS L11 CMOS output, tri-state, with weak internal pull-up UART request to send active low UART_CTS K11 CMOS input with weak internal pull-down UART clear to send active low USB_DP L9 Bi-directional USB data plus with selectable internal 1.5k pull-up resistor USB_DN L8 Bi-directional USB data minus Ball Pad Type Description PCM_OUT G10 CMOS output, tri-state, with weak internal pull-down Synchronous data output PCM_IN H11 CMOS input, with weak internal pull-down Synchronous data input PCM_SYNC G11 Bi-directional with weak internal pull-down Synchronous data sync PCM_CLK H10 Bi-directional with weak internal pull-down Synchronous data clock PCM Interface (1) Notes: (1) Pin names may be redefined dependent on chosen interface, see Table 6.1 CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 11 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Radio 10 x 10mm LFBGA Package Information Ball Pad Type Description PIO[11] A5 Bi-directional with programmable strength internal pull-up/down Programmable input/output line PIO[10] A4 Bi-directional with programmable strength internal pull-up/down Programmable input/output line PIO[9] B4 Bi-directional with programmable strength internal pull-up/down Programmable input/output line PIO[8] B3 Bi-directional with programmable strength internal pull-up/down Programmable input/output line K9 Bi-directional with programmable strength internal pull-up/down Programmable input/output line K8 Bi-directional with programmable strength internal pull-up/down PIO line or clock request output to enable external clock for external clock line J9 Bi-directional with programmable strength internal pull-up/down PIO line or chip detaches from USB when this input is high H9 Bi-directional with programmable strength internal pull-up/down PIO or USB on (input senses when VBUS is high, wakes BlueCore3-Multimedia) B2 Bi-directional with programmable strength internal pull-up/down PIO or output goes high to wake up PC when in USB mode or clock request input from host controller PIO[2]/CLK_REQ C3 Bi-directional with programmable strength internal pull-up/down PIO or external clock request AIO[0] K5 Bi-directional Programmable input/output line AIO[1] J7 Bi-directional Programmable input/output line AIO[2] K7 Bi-directional Programmable input/output line AIO[3] J8 Bi-directional Programmable input/output line PIO[7]/UART_RX(1) PIO[6]/CLK_REQ/ UART_CTS (1) PIO[5]/USB_DETACH/ UART_RTS (1) PIO[4]/USB_ON/ UART_TX(1) PIO[3]/USB_WAKE_UP/ HOST_CLK_REQ CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 12 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet PIO Port 10 x 10mm LFBGA Package Information Test and Debug Ball Pad Type Description F9 CMOS input with weak internal pull-down Reset if high. Input debounced so must be high for >5ms to cause a reset RESETB G9 CMOS input, with weak internal pull-up Reset if low. Input debounced so must be low for >5ms to cause a reset SPI_CSB C10 CMOS input with weak internal pull- Chip select for Synchronous Serial Interface active low SPI_CLK D10 CMOS input with weak internal pull-down Serial Peripheral Interface clock SPI_MOSI D11 CMOS input with weak internal pull-down Serial Peripheral Interface data input SPI_MISO C11 CMOS output, tri-state, with weak internal pull-down Serial Peripheral Interface data output TEST_EN E9 CMOS input with strong internal pull-down For test purposes only (leave unconnected) CODEC Ball Pad Type Description AUDIO_IN_P_LEFT K2 Analogue Microphone input positive (left side) AUDIO_IN_N_LEFT K3 Analogue Microphone input negative (left side) AUDIO_IN_P_RIGHT L1 Analogue Microphone input positive (right side) AUDIO_IN_N_RIGHT L2 Analogue Microphone input negative (right side) AUDIO_OUT_P_LEFT J4 Analogue Speaker output positive (left side) AUDIO_OUT_N_LEFT J3 Analogue Speaker output negative (left side) AUDIO_OUT_P_RIGHT J6 Analogue Speaker output positive (right side) AUDIO_OUT_N_RIGHT J5 Analogue Speaker output negative (right side) CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 13 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet RESET 10 x 10mm LFBGA Package Information Power Supplies and Control Ball Pad Type Description L7 VDD/Regulator input Linear regulator input VDD_USB L10 VDD Positive supply for UART/USB ports VDD_PIO A3 VDD Positive supply for PIO(2) and AUX DAC VDD_PADS E11 VDD Positive supply for all other digital Input/Output ports (3) VDD_CORE F11, C7, L6 VDD Positive supply for internal digital circuitry and 1.8V regulated output for digital circuitry. For further information, see Section 3 VDD_RADIO E3 VDD/Regulator sense Positive supply for RF circuitry VDD_LO J2 VDD Positive supply for local oscillator circuitry VDD_ANA L5 VDD/Regulator output Positive supply for analogue circuitry and 1.8V regulated output VDD_BAL F1 VDD Positive supply for balun VDD_MEM C8, B11, K6 VDD Positive supply for internal memory and AIO ports VSS_PADS D9, E10, K10 VSS Ground connections for input/output VSS_CORE F10, C6 VSS Ground connection for internal digital circuitry VSS_RADIO E2, F3, G2 VSS Ground connections for RF circuitry VSS_LO G3, H3 VSS Ground connections for local oscillator VSS_ANA K4 VSS Ground connections for analogue circuitry VSS C9 VSS Ground connection for internal package shield VSS_PIO A2 VSS Ground connection for PIO and AUX DAC VSS_BAL G1 VSS Ground connection for balun VSS_MEM C5 VSS Ground connection for internal memory, AIO and extended PIO ports VSS_RF J1, K1 VSS Ground connection for RF circuitry Notes: (1) Transparent UART port maps directly to main UART port (2) Positive supply for PIO[3:0] and PIO[11:8] (3) Positive supply for SPI/PCM ports and PIO[7:4] Unconnected Terminals CS-101560-DSP1 (BC358239A-ds-001P) Ball Description A6, A7, A8, A9, A10, A11, B5, B6, B7, B8, B9, B10, C1, D1, E1, F2, H1, H2 Leave unconnected Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 14 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet VREG_IN Electrical Characteristics 3 Electrical Characteristics 3.1 Absolute Maximum Ratings Rating Max Storage Temperature -40C +150C Supply Voltage: VDD_MEM, VDD_RADIO, VDD_LO, VDD_ANA, VDD_BAL and VDD_CORE -0.4V 2.2V Supply Voltage: VDD_PADS, VDD_PIO and VDD_USB -0.4V 3.7V Supply Voltage: VREG_IN -0.4V 5.6V VSS-0.4V VDD+0.4V Min Max -40C +105C -25C +85C Supply Voltage: VDD_MEM, VDD_RADIO, VDD_LO, VDD_ANA and VDD_CORE 1.7V 1.9V Supply Voltage: VDD_PADS, VDD_PIO and VDD_USB 1.7V 3.6V Supply Voltage: VREG_IN 2.2V 4.2V(2) Other Terminal Voltages 3.2 Recommended Operating Conditions Operating Condition Operating Temperature Range Guaranteed RF performance range (1) Note: (1) Typical figures are given for RF performance between -40C and +105C (2) The device will operate without damage with VREG_IN as high as 5.6V, however the RF performance is not guaranteed above 4.2V CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 15 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Min Electrical Characteristics 3.3 Linear Regulator Linear Regulator Min Typ Max Unit Output Voltage (Iload = 70 mA) 1.70 1.78 1.85 V Temperature Coefficient -250 - +250 ppm/C Output Noise(1)(2) - - 1 mV rms Load Regulation (Iload < 100 mA) - - 50 mV/A - - 50 s mA Normal Operation Settling Time Maximum Output Current Minimum Load Current 140 - - 5 - - A (6) Input Voltage - - 4.2 Dropout Voltage (Iload = 70 mA) - - 350 mV 25 35 50 A 4 7 10 A 1.5 2.5 3.5 A Quiescent Current (excluding Ioad, Iload < 1mA) V (4) Low Power Mode Quiescent Current (excluding Ioad, Iload < 100A) Disabled Mode(5) Quiescent Current Notes: For optimum performance the VDD_ANA ball adjacent to VREG_IN should be used for regulator ouput (1) Regulator output connected to 47nF pure and 4.7F 2.2 ESR capacitors (2) Frequency range 100Hz to 100kHz (3) 1mA to 70mA pulsed load (4) Low power mode is entered and exited automatically when the chip enters/leaves Deep Sleep mode (5) Regulator is disabled when VREG_EN is pulled low. It can also be disabled by VREG_IN when it is either open circuit or driven to the same voltage as VDD_ANA (6) Operation up to 5.6V is permissible without damage and without the output voltage rising sufficiently to damage the rest of BlueCore3, but output regulation and other specifications are no longer guaranteed at input voltages in excess of 4.2V CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 16 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet (1)(3) Electrical Characteristics 3.4 Digital Terminals Digital Terminals Min Typ Max Unit Input Voltage Levels VIL input logic level low -0.4 - +0.8 V -0.4 - +0.4 V 0.7VDD - VDD+0.4 V - - 0.2 V - - 0.4 V VDD-0.2 - - V VDD-0.4 - - V -100 -40 -10 A VIH input logic level high Output Voltage Levels VOL output logic level low, (lo = 4.0mA), 2.7V VDD 3.0V VOL output logic level low, (lo = 4.0mA), 1.7V VDD 1.9V VOH output logic level high, (lo = -4.0mA), 2.7V VDD 3.0V VOH output logic level high, (lo = -4.0mA), 1.7V VDD 1.9V Input and Tri-state Current with: Strong pull-up Strong pull-down +10 +40 +100 A Weak pull-up -5.0 -1.0 -0.2 A Weak pull-down +0.2 +1.0 +5.0 A I/O pad leakage current -1 0 +1 A CI Input Capacitance 1.0 - 5.0 pF CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 17 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet 2.7V VDD 3.0V 1.7V VDD 1.9V Electrical Characteristics 3.5 USB Terminals USB Terminals Min VDD_USB for correct USB operation 3.1 Typ Max Unit 3.6 V Input threshold - - 0.3 VDD_USB V VIH input logic level high 0.7 VDD_USB - - V VSS_PADS < VIN < VDD_USB(1) -1 1 5 A CI Input capacitance 2.5 - 10.0 pF Input leakage current Output Voltage levels to correctly terminated USB Cable VOL output logic level low 0.0 - 0.2 V VOH output logic level high 2.8 - VDD_USB V 3.6 Power on Reset Power-on reset Min Typ Max Unit VDD_CORE falling threshold 1.40 1.50 1.60 V VDD_CORE rising threshold 1.50 1.60 1.70 V Hysteresis 0.05 0.10 0.15 V Min Typ Max Unit - - 8 Bits 0 - VDD_ANA V -1 - 1 LSB 3.7 Auxiliary ADC Auxiliary ADC Resolution Input voltage range (LSB size = VDD_ANA/255) Accuracy INL (Guaranteed monotonic) DNL 0 - 1 LSB -1 - 1 LSB -0.8 - 0.8 % Input Bandwidth - 100 - kHz Conversion time - 2.5 - s Sample rate(2) - - 700 Samples/s Offset Gain Error Notes: (1) Internal USB pull-up disabled (2) Access of ADC is through VM function and therefore sample rate given is achieved as part of this function CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 18 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet VIL input logic level low Electrical Characteristics 3.8 Auxiliary DAC Auxiliary DAC Resolution Average output step size(1) Min Typ Max Unit - - 8 Bits 12.5 14.5 17.0 mV monotonic Output Voltage VSS_PADS - VDD_PIO V -10.0 - +0.1 mA Minimum output voltage (IO=100A) 0.0 - 0.2 V Maximum output voltage (IO=10mA) VDD_PIO-0.3 - VDD_PIO V -1 - +1 A -220 - +120 mV Integral non-linearity -2 - +2 LSB Settling time (50pF load) - - 10 s Min Typ Max Unit Current range High Impedance leakage current Offset (1) 3.9 Clocks Crystal Oscillator (2) Crystal frequency 8.0 - 32.0 MHz (3) 5.0 6.2 8.0 pF - 0.1 - pF Transconductance 2.0 - - mS Negative resistance(4) 870 1500 2400 Input frequency(5) 7.5 - 40.0 MHz Clock input level(6) 0.2 - VDD_ANA V pk-pk Allowable Jitter - - 15 ps rms XTAL_IN input impedance - - - k XTAL_IN input capacitance - 7 - pF Digital trim range (3) Trim step size External Clock Notes: (1) Specified for an output voltage between 0.2V and VDD_PIO -0.2V. Output is high impedance when chip is in Deep Sleep mode (2) Integer multiple of 250kHz (3) The difference between the internal capacitance at minimum and maximum settings of the internal digital trim (4) XTAL frequency = 16MHz; XTAL C0 = 0.75pF; XTAL load capacitance = 8.5pF (5) Clock input can be any frequency between 8 and 40MHz in steps of 250kHz plus CDMA/3G TCXO frequencies of 7.68, 14.44, 15.36, 16.2, 16.8, 19.2, 19.44, 19.68, 19.8 and 38.4MHz (6) Clock input can either be sinusoidal or square wave. If the peaks of the signal are below VSS_ANA or above VDD_ANA a DC blocking capacitor is required between the signal and XTAL_IN CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 19 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Voltage range (IO=0mA) Electrical Characteristics 3.10 Stereo Audio CODEC Characteristics ADC Parameter Symbol Resolution NOB Input Sample Rate Fsample SINAD 01/2Fsample, fin = 1kHz Min Typ Max Unit - - 16 Bits 8 - 44.1 kHz Fsample = 8kHz - 84 - dB Fsample = 11.025kHz - 83 - dB Fsample = 16kHz - 84 - dB Fsample = 22.050kHz - 83 - dB Fsample = 32kHz - 80 - dB Fsample = 44.1kHz - 74 - dB 21.5 dB Digital Gain -24 DAC Parameter Symbol Resolution NOB Output Sample Rate Fsample Conditions Min Typ Max Unit - - 16 Bits 8 - 48 kHz - 3 - dB Fsample = 8kHz - 79 - dB Fsample = 11.025kHz - 78 - dB Fsample = 16kHz - 79 - dB Fsample = 22.050kHz - 88 - dB Fsample = 32kHz - 90 - dB Fsample = 44.1kHz - 90 - dB Fsample = 48kHz - 89 - dB -24 - 21.5 dB Gain Resolution Signal to Noise Ratio + Distortion(1) SINAD 020kHz, fin = 1kHz Digital Gain Note: (1) Measurements refer to digital part only CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 20 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Signal to Noise Ratio + Distortion(1) Conditions Electrical Characteristics Audio Input, Microphone Amplifier Typ Max Unit Input full scale at maximum gain - 4 - mV rms Input full scale at minimum gain - 400 - mV rms Gain resolution - 3 Distortion at 1kHz - Input referenced rms noise - 3dB Bandwidth Input impedance - dB -74 dB 8 - V rms - 17 - kHz - 20 - k THD+N (microphone input) @ 30mV rms input - -66 - dB THD+N (line input) @ 300mV input(1) - -74 - dB Min Typ Max Unit 16 - O.C. Capacitive - - 500 pF Max output voltage RL=600 - 2.0 - V pk-pk Max output current RL=22 - 75 - mA - 0.015 - % Audio Output, Speaker Output Parameter Symbol Conditions Resistive Allowed Load Total Harmonic Distortion plus Noise THD+N Output noise relative to full scale SNR A Weighted, Po=digital silence, RL=600, BW=22Hz to 22kHz - -91 - dB Channel Separation (Crosstalk) CS fIN=10kHz, analogue output set to maximum gain - - -60 dB PSRR Vripple=200mVpk-pk sinewave, 10kHz at VREG_IN. 2.3V VREG_IN 4.1V, analogue output set to maximum gain - TBD - dB Second Harmonic Level 1kHz sinewave, 1dB below full scale 600 - <-95 - dB Third Harmonic Level 1kHz sinewave, 1dB below full scale 600 - -95 - dB Power Supply Rejection Ratio fIN=1kHz, BW=22Hz to 22kHz RL=600 Note: (1) Input signal amplitudes are expressed as the differential voltages between the MIC_P and MIC_N terminals CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 21 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Min Electrical Characteristics Typical THD + N Relative to Full Scale 22 600 Full Scale Output, mV rms % 0.180 dB -54.7 % 0.180 dB -54.7 14 0.120 -58.2 0.120 -58.2 20 0.090 -60.7 0.090 -60.7 28 0.060 -64.2 0.062 -63.9 40 0.046 -66.5 0.048 -66.1 57 0.032 -69.7 0.036 -68.6 80 0.025 -71.8 0.030 -70.2 113 0.018 -74.6 0.024 -72.1 160 0.015 -76.2 0.022 -72.9 226 0.015 -76.2 0.020 -73.7 320 0.015 -76.2 0.019 -74.2 453 0.015 -76.2 0.019 -74.2 640 0.014 -76.8 0.019 -74.2 905 0.014 -76.8 0.019 -74.2 1280 0.014 -76.8 0.022 -72.9 1810 0.014 -76.8 Important Notes: VDD_CORE, VDD_RADIO, VDD_LO, VDD_BAL and VDD_ANA are at 1.8V unless shown otherwise VDD_PADS, VDD_PIO and VDD_USB are at 3.0V unless shown otherwise The same setting of the digital trim is applied to both XTAL_IN and XTAL_OUT Current drawn into a pin is defined as positive, current supplied out of a pin is defined as negative CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 22 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet 10 Electrical Characteristics 3.11 Power Consumption Typical Average Current Consumption VDD=1.8V Temperature = +20C Output Power = 0dBm Mode Unit SCO connection HV3 (30ms interval Sniff Mode) (Slave) 21 mA SCO connection HV3 (30ms interval Sniff Mode) (Master) 21 mA SCO connection HV3 (No Sniff Mode) (Slave) 28 mA SCO connection HV1 (Slave) 42 mA SCO connection HV1 (Master) 42 mA ACL data transfer 115.2kbps UART no traffic (Master) 5 mA ACL data transfer 115.2kbps UART no traffic (Slave) 22 mA ACL data transfer 720kbps UART (Master or Slave) 45 mA ACL data transfer 720kbps USB (Master or Slave) 45 mA ACL connection, Sniff Mode 40ms interval, 38.4kbps UART 3.2 mA ACL connection, Sniff Mode 1.28s interval, 38.4kbps UART 0.45 mA Parked Slave, 1.28s beacon interval, 38.4kbps UART 0.55 mA Standby Mode (Connected to host, no RF activity) 47 A Reset (RESET high or RESETB low) 15 A Minimum (NOP) 0.25 mA/MIPS Maximum (MAC) 0.65 mA/MIPS DSP memory access (DM1 or DM2) 0.15 mA/MIPS Microphone inputs and ADC / channel 0.85 mA DAC and loudspeaker driver, no signal / channel 1.4 mA 8 mA DSP DSP core (including PM memory access) CODEC Digital audio processing subsystem CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 23 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Average Radio Characteristics 4 Radio Characteristics 4.1 Temperature +20C 4.1.1 Transmitter Radio Characteristics VDD = 1.8V Temperature = +20C Typ Max Bluetooth Specification Unit Maximum RF transmit power(1)(2)(3) - 6.5 - -6 to +4(4) dBm Variation in RF power over temperature range with compensation enabled ()(4) - 0.5 - dB Variation in RF power over temperature range with compensation disabled ()(4) - 2.5 - dB RF power control range(1)(2) - 35 - 16 dB RF power range control resolution - 0.5 - - dB - - 800 - 1000 kHz (5) - -35 - -20 dBm (5) Adjacent channel transmit power F=F0 3MHz - -45 - -40 dBm Adjacent channel transmit power F=F0 > 3MHz(5) - -55 - -40 dBm f1avg "Maximum Modulation" - 165 - 140 3MHz f1avg "Maximum Modulation" - 165 - 140 3MHz f1avg "Maximum Modulation" - 165 - 140 3MHz f1avg "Maximum Modulation" - 165 - 140 3MHz f1avg "Maximum Modulation" - 165 - 140 3(Ct1 +Ctrim )(Ct 2 + Ctrim ) Equation 8.5: Transconductance Required for Oscillation BlueCore3-Multimedia guarantees a transconductance value of at least 2mA/V at maximum drive level. Notes: More drive strength is required for higher frequency crystals, higher loss crystals (larger Rm) or higher capacitance loading. Optimum drive level is attained when the level at XTAL_IN is approximately 1V pk-pk. The drive level is determined by the crystal driver transconductance, by setting PSKEY_XTAL_LVL (0x241). 8.5.5 Negative Resistance Model An alternative representation of the crystal and its load capacitors is a frequency dependent resistive element. The driver amplifier may be considered as a circuit that provides negative resistance. For oscillation, the value of the negative resistance must be greater than that of the crystal circuit equivalent resistance. Although the BlueCore3-Multimedia crystal driver circuit is based on a transimpedance amplifier, an equivalent negative resistance may be calculated for it with the following formula in Equation 8.6: Rneg > 3(Ct1 +Ctrim )(Ct 2 + Ctrim ) gm (2Fx )2 (C0 + Cint )((Ct1 + Ct 2 + 2Ctrim ) + (Ct1 + Ctrim )(Ct 2 + Ctrim ))2 Equation 8.6: Equivalent Negative Resistance This formula shows the negative resistance of the BlueCore3-Multimedia driver as a function of its drive strength. The value of the driver negative resistance may be easily measured by placing an additional resistance in series with the crystal. The maximum value of this resistor (oscillation occurs) is the equivalent negative resistance of the oscillator. Frequency Min Typ Max 8MHz 16MHz 32MHz Initial Tolerance - 25ppm - Pullability - 20ppm/pF - Table 8.3: Crystal Oscillator Specification 8.5.6 Crystal PS Key Settings See tables in Section 8.4.5. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 49 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet (2Fx ) Rm ((C0 + Cint )(Ct1 + Ct 2 + 2Ctrim ) + (Ct1 + Ctrim )(Ct 2 + Ctrim ))2 2 Device Terminal Descriptions 8.5.7 Crystal Oscillator Characteristics Crystal Load Capacitance and Series Resistance Limits with Crystal Frequency 100.0 10.0 2.5 3.5 4.5 5.5 6.5 7.5 8.5 9.5 10.5 11.5 12.5 Load Capacitance (pF) 8 MHz 20 MHz 32 MHz 12 MHz 24 MHz 16 MHz 28 MHz Figure 8.11: Crystal Load Capacitance and Series Resistance Limits with Crystal Frequency Note: Graph shows results for BlueCore3-Multimedia crystal driver at maximum drive level. Conditions: Ctrim = 3.4pF centre value Crystal Co = 2pF Transconductance setting = 2mA/V Loop gain = 3 Ct1/Ct2 = 3 CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 50 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Max Xtal Rm Value (ESR), (Ohm) 1000.0 Device Terminal Descriptions BlueCore3-Multimedia XTAL Driver Characteristics 0.007 0.006 0.004 0.003 0.002 0.001 0.000 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 PSKEY_XTAL_LVL Gm Typical Gm Minimum Gm Maximum Figure 8.12: Crystal Driver Transconductance vs. Driver Level Register Setting Note: Drive level is set by Persistent Store Key PSKEY_XTAL_LVL (0x241). CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 51 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Transconductance (S) 0.005 Device Terminal Descriptions Negative Resistance for 16 MHz Xtal 1000 100 10 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 12.0 13.0 14.0 15.0 16.0 Drive Level Setting Typical Minimum Maximum Figure 8.13: Crystal Driver Negative Resistance as a Function of Drive Level Setting Crystal parameters: Crystal frequency 16MHz. Please refer to your software build release note for frequencies supported Crystal C0 = 0.75pF Circuit parameters: Ctrim = 8pF, maximum value Ct1,Ct2 = 5pF (3.9pF plus 1.1 pF stray) (Crystal total load capacitance 8.5pF) Note: This is for a specific crystal and load capacitance. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 52 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Max -ve Resistance () 10000 Device Terminal Descriptions 8.6 UART Interface BlueCore3-Multimedia Universal Asynchronous Receiver Transmitter (UART) interface provides a simple (1) mechanism for communicating with other serial devices using the RS232 protocol . BlueCore3-Multimedia UART_TX UART_RTS UART_CTS Figure 8.14: Universal Asynchronous Receiver Four signals are used to implement the UART function, as shown in Figure 8.14. When BlueCore3-Multimedia is connected to another digital device, UART_RX and UART_TX transfer data between the two devices. The remaining two signals, UART_CTS and UART_RTS, can be used to implement RS232 hardware flow control where both are active low indicators. All UART connections are implemented using CMOS technology and have signalling levels of 0V and VDD_USB. UART configuration parameters, such as Baud rate and packet format, are set using BlueCore3-Multimedia software. Notes: In order to communicate with the UART at its maximum data rate using a standard PC, an accelerated serial port adapter card is required for the PC. (1) Uses RS232 protocol but voltage levels are 0V to VDD_USB, (requires external RS232 transceiver chip) Parameter Baud Rate Possible Values Minimum Maximum 1200 Baud (2%Error) 9600 Baud (1%Error) 1.5MBaud (1%Error) Flow Control RTS/CTS or None Parity None, Odd or Even Number of Stop Bits 1 or 2 Bits per channel 8 Table 8.4: Possible UART Settings CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 53 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet UART_RX Device Terminal Descriptions The UART interface is capable of resetting BlueCore3-Multimedia upon reception of a break signal. A Break is identified by a continuous logic low (0V) on the UART_RX terminal, as shown in Figure 8.15. If tBRK is longer than the value, defined by PSKEY_HOST_IO_UART_RESET_TIMEOUT, (0x1a4), a reset will occur. This feature allows a host to initialise the system to a known state. Also, BlueCore3-Multimedia can emit a Break character that may be used to wake the Host. t BRK UART RX Note: The DFU boot loader must be loaded into the Flash device before the UART or USB interfaces can be used. This initial flash programming can be done via the SPI. Table 8.5 shows a list of commonly used Baud rates and their associated values for PSKEY_UART_BAUD_RATE (0x204). There is no requirement to use these standard values. Any Baud rate within the supported range can be set in the Persistent Store Key according to the formula in Equation 8.7. Baud Rate = PSKEY_UART _BAUD_RATE 0.004096 Equation 8.7: Baud Rate Persistent Store Value Baud Rate Error Hex Dec 1200 0x0005 5 1.73% 2400 0x000a 10 1.73% 4800 0x0014 20 1.73% 9600 0x0027 39 -0.82% 19200 0x004f 79 0.45% 38400 0x009d 157 -0.18% 57600 0x00ec 236 0.03% 76800 0x013b 315 0.14% 115200 0x01d8 472 0.03% 230400 0x03b0 944 0.03% 460800 0x075f 1887 -0.02% 921600 0x0ebf 3775 0.00% 1382400 0x161e 5662 -0.01% Table 8.5: Standard Baud Rates CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 54 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Figure 8.15: Break Signal Device Terminal Descriptions 8.6.1 UART Bypass RESET RXD CTS RTS TXD UART_TX PIO4 UART_RTS PIO5 UART_CTS PIO6 UART_RX PIO7 RTS CTS RX Another Device UART BlueCore3-Multimedia Test Interface Figure 8.16: UART Bypass Architecture 8.6.2 UART Configuration While RESET is Active The UART interface for BlueCore3-Multimedia while the chip is being held in reset is tri-state. This will allow the user to daisy chain devices onto the physical UART bus. The constraint on this method is that any devices connected to this bus must tri-state when BlueCore3-Multimedia reset is de-asserted and the firmware begins to run. 8.6.3 UART Bypass Mode Alternatively, for devices that do not tri-state the UART bus, the UART bypass mode on BlueCore3-Multimedia can be used. The default state of BlueCore3-Multimedia after reset is de-asserted, this is for the host UART bus to be connected to the BlueCore3-Multimedia UART, thereby allowing communication to BlueCore3-Multimedia via the UART. All UART bypass mode connections are implemented using CMOS technology and have signalling levels of 0V and VDD_PADS(1). In order to apply the UART bypass mode, a BCCMD command will be issued to BlueCore3-Multimedia upon this, it will switch the bypass to PIO[7:4] as shown in Figure 8.16. Once the bypass mode has been invoked, BlueCore3-Multimedia will enter the deep sleep state indefinitely. In order to re-establish communication with BlueCore3-Multimedia, the chip must be reset so that the default configuration takes affect. It is important for the host to ensure a clean Bluetooth disconnection of any active links before the bypass mode is invoked. Therefore it is not possible to have active Bluetooth links while operating the bypass mode. 8.6.4 Current Consumption in UART Bypass Mode The current consumption for a device in UART Bypass Mode is equal to the values quoted for a device in standby mode. Note: (1) The range of the signalling level for the standard UART described in Section 8.6 and the UART bypass may differ between CSR BlueCore devices, as the power supply configurations are chip dependent. For BlueCore3-Multimedia the standard UART is supplied by VDD_USB so has signalling levels of 0V and VDD_USB. Whereas in the UART bypass mode the signals appear on the PIO[7:4] which are supplied by VDD_PADS, therefore the signalling levels are 0V and VDD_PADS. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 55 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Host Processor TX Device Terminal Descriptions 8.7 USB Interface BlueCore3-Multimedia devices contain a full speed (12Mbits/s) USB interface that is capable of driving a USB cable directly. No external USB transceiver is required. The device operates as a USB peripheral, responding to requests from a master host controller such as a PC. Both the OHCI and the UHCI standards are supported. The set of USB endpoints implemented can behave as specified in the USB section of the Bluetooth specification v1.2 or alternatively can appear as a set of endpointd appropriate to USB audio devices such as speakers. As USB is a Master/Slave oriented system (in common with other USB peripherals), BlueCore3-Multimedia only supports USB Slave operation. USB Data Connections The USB data lines emerge as pins USB_DP and USB_DN. These terminals are connected to the internal USB I/O buffers of the BlueCore3-Multimedia and therefore have a low output impedance. To match the connection to the characteristic impedance of the USB cable, resistors must be placed in series with USB_DP / USB_DN and the cable. 8.7.2 USB Pull-Up Resistor BlueCore3-Multimedia features an internal USB pull-up resistor. This pulls the USB_DP pin weakly high when BlueCore3-Multimedia is ready to enumerate. It signals to the PC that it is a full speed (12Mbit/s) USB device. The USB internal pull-up is implemented as a current source, and is compliant with Section 7.1.5 of the USB specification v1.2. The internal pull-up pulls USB_DP high to at least 2.8V when loaded with a 15k 5% pull-down resistor (in the hub/host) when VDD_PADS=3.1V. This presents a Thevenin resistance to the host of at least 900. Alternatively, an external 1.5k pull-up resistor can be placed between a PIO line and D+ on the USB cable. The firmware must be alerted to which mode is used by setting PSKEY_USB_PIO_PULLUP appropriately. The default setting uses the internal pull-up resistor. 8.7.3 Power Supply The USB specification dictates that the minimum output high voltage for USB data lines is 2.8V. To safely meet the USB specification, the voltage on the VDD_USB supply terminals must be an absolute minimum of 3.1V. CSR recommends 3.3V for optimal USB signal quality. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 56 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet 8.7.1 Device Terminal Descriptions 8.7.4 Self Powered Mode In self powered mode, the circuit is powered from its own power supply and not from the VBUS (5V) line of the USB cable. It draws only a small leakage current (below 0.5mA) from VBUS on the USB cable. This is the easier mode for which to design for, as the design is not limited by the power that can be drawn from the USB hub or root port. However, it requires that VBUS be connected to BlueCore3-Multimedia via a resistor network (Rvb1 and Rvb2), so BlueCore3-Multimedia can detect when VBUS is powered up. BlueCore3-Multimedia will not pull USB_DP high when VBUS is off. BlueCore3-Multimedia PIO 1.5K 5% Rs USB_DP D+ Rs USB_DN DRvb1 VBUS USB_ON Rvb2 GND Figure 8.17: USB Connections for Self Powered Mode The terminal marked USB_ON can be any free PIO pin. The PIO pin selected must be registered by setting PSKEY_USB_PIO_VBUS to the corresponding pin number. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 57 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Self powered USB designs (powered from a battery or PSU) must ensure that a PIO line is allocated for USB pull-up purposes. A 1.5K 5% pull-up resistor between USB_DP and the selected PIO line should be fitted to the design. Failure to fit this resistor may result in the design failing to be USB compliant in self powered mode. The internal pull-up in BlueCore is only suitable for bus powered USB devices i.e. dongles. Device Terminal Descriptions 8.7.5 Bus Powered Mode In bus powered mode the application circuit draws its current from the 5V VBUS supply on the USB cable. BlueCore3-Multimedia negotiates with the PC during the USB enumeration stage about how much current it is allowed to consume. For Class 2 Bluetooth applications, CSR recommends that the regulator used to derive 3.3V from VBUS is rated at 100mA average current and should be able to handle peaks of 120mA without foldback or limiting. In bus powered mode, BlueCore3-Multimedia requests 100mA during enumeration. The 5V VBUS line emerging from a PC is often electrically noisy. As well as regulation down to 3.3V and 1.8V, applications should include careful filtering of the 5V line to attenuate noise that is above the voltage regulator bandwidth. Excessive noise on the 1.8V supply to the analogue supply pins of BlueCore3-Multimedia will result in reduced receive sensitivity and a distorted RF transmit signal. BlueCore3-Multimedia Rs USB_DP D+ Rs USB_DN DRvb1 USB_ON VBUS GND Voltage Regulator Figure 8.18: USB Connections for Bus Powered Mode Note: USB_ON is shared with BlueCore3-Multimedia PIO terminals Identifier Value Function Rs 27 nominal Impedance matching to USB cable Rvb1 22k 5% VBUS ON sense divider Rvb2 47k 5% VBUS ON sense divider Table 8.6: USB Interface Component Values CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 58 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet When selecting a regulator, be aware that VBUS may go as low as 4.4V. The inrush current (when charging reservoir and supply decoupling capacitors) is limited by the USB specification (see USB specification v1.1, Section 7.2.4.1). Some applications may require soft start circuitry to limit inrush current if more than 10F is present between VBUS and GND. Device Terminal Descriptions 8.7.6 Suspend Current All USB devices must permit the USB controller to place them in a USB Suspend mode. While in USB Suspend, bus powered devices must not draw more than 0.5mA from USB VBUS (self powered devices may draw more than 0.5mA from their own supply). This current draw requirement prevents operation of the radio by bus powered devices during USB Suspend. 8.7.7 Detach and Wake_Up Signalling BlueCore3-Multimedia can provide out-of-band signalling to a host controller by using the control lines called `USB_DETACH' and `USB_WAKE_UP'. These are outside the USB specification (no wires exist for them inside the USB cable), but can be useful when embedding BlueCore3-Multimedia into a circuit where no external USB is visible to the user. Both control lines are shared with PIO pins and can be assigned to any PIO pin by setting PSKEY_USB_PIO_DETACH and PSKEY_USB_PIO_WAKEUP to the selected PIO number. USB_DETACH is an input which, when asserted high, causes BlueCore3-Multimedia to put USB_DN and USB_DP in a high impedance state and turned off the pull-up resistor on DP. This detaches the device from the bus and is logically equivalent to unplugging the device. When USB_DETACH is taken low, BlueCore3-Multimedia will connect back to USB and await enumeration by the USB host. USB_WAKE_UP is an active high output (used only when USB_DETACH is active) to wake up the host and allow USB communication to recommence. It replaces the function of the software USB WAKE_UP message (which runs over the USB cable), and cannot be sent while BlueCore3-Multimedia is effectively disconnected from the bus. 10ms max 10ms max USB_DETACH 10ms max No max USB_WAKE_UP Port_Impedance USB_DP USB_DN USB_PULL_UP Disconnected Figure 8.19: USB_DETACH and USB_WAKE_UP Signal 8.7.8 USB Driver A USB Bluetooth device driver is required to provide a software interface between BlueCore3-Multimedia and Bluetooth software running on the host computer. Suitable drivers are available from www.csrsupport.com. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 59 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet The voltage regulator circuit itself should draw only a small quiescent current (typically less than 100A) to ensure adherence to the suspend current requirement of the USB specification. This is not normally a problem with modern regulators. Ensure that external LEDs and/or amplifiers can be turned off by BlueCore3-Multimedia. The entire circuit must be able to enter the suspend mode. (For more details on USB Suspend, see separate CSR documentation). Device Terminal Descriptions 8.7.9 USB 1.1 Compliance BlueCore3-Multimedia is qualified to the USB specification v1.1, details of which are available from http://www.usb.org. The specification contains valuable information on aspects such as PCB track impedance, supply inrush current and product labelling. Terminals USB_DP and USB_DN adhere to the USB specification 2.0 (Chapter 7) electrical requirements. 8.7.10 USB 2.0 Compatibility BlueCore3-Multimedia is compatible with USB v2.0 host controllers; under these circumstances the two ends agree the mutually acceptable rate of 12Mbits/s according to the USB v2.0 specification. 8.8 Serial Peripheral Interface BlueCore3-Multimedia uses 16-bit data and 16-bit address serial peripheral interface, where transactions may occur when the internal processor is running or is stopped. This section details the considerations required when interfacing to BlueCore3-Multimedia via the four dedicated serial peripheral interface terminals. Data may be written or read one word at a time or the auto increment feature may be used to access blocks. 8.8.1 Instruction Cycle The BlueCore3-Multimedia is the slave and receives commands on SPI_MOSI and outputs data on SPI_MISO. The instruction cycle for a SPI transaction is shown in Table 8.7. 1 Reset the SPI interface Hold SPI_CSB high for two SPI_CLK cycles 2 Write the command word Take SPI_CSB low and clock in the 8 bit command 3 Write the address Clock in the 16-bit address word 4 Write or read data words Clock in or out 16-bit data word(s) 5 Termination Take SPI_CSB high Table 8.7: Instruction Cycle for an SPI Transaction With the exception of reset, SPI_CSB must be held low during the transaction. Data on SPI_MOSI is clocked into the BlueCore3-Multimedia on the rising edge of the clock line SPI_CLK. When reading, BlueCore3-Multimedia will reply to the master on SPI_MISO with the data changing on the falling edge of the SPI_CLK. The master provides the clock on SPI_CLK. The transaction is terminated by taking SPI_CSB high. Sending a command word and the address of a register for every time it is to be read or written is a significant overhead, especially when large amounts of data are to be transferred. To overcome this BlueCore3-Multimedia offers increased data transfer efficiency via an auto increment operation. To invoke auto increment, SPI_CSB is kept low, which auto increments the address, while providing an extra 16 clock cycles for each extra word to be written or read. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 60 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Although BlueCore3-Multimedia meets the USB specification, CSR cannot guarantee that an application circuit designed around the chip is USB compliant. The choice of application circuit, component choice and PCB layout all affect USB signal quality and electrical characteristics. The information in this document is intended as a guide and should be read in association with the USB specification, with particular attention being given to Chapter 7. Independent USB qualification must be sought before an application is deemed USB compliant and can bear the USB logo. Such qualification can be obtained from a USB plugfest or from an independent USB test house. Device Terminal Descriptions 8.8.2 Writing to BlueCore3-Multimedia To write to BlueCore3-Multimedia, the 8-bit write command (00000010) is sent first (C[7:0]) followed by a 16-bit address (A[15:0]). The next 16-bits (D[15:0]) clocked in on SPI_MOSI are written to the location set by the address (A). Thereafter for each subsequent 16-bits clocked in, the address (A) is incremented and the data written to consecutive locations until the transaction terminates when SPI_CSB is taken high. End of Cycle Reset Write_Command Address(A) Data(A) Data(A+1) etc SPI_CLK SPI_MOSI SPI_MISO C7 C6 C1 C0 A15 A14 A1 Processor State A0 D15 D14 D1 D0 D15 D14 D1 D0 D15 D14 D1 D0 Don't Care Processor State MISO Not Defined During Write Figure 8.20: Write Operation 8.8.3 Reading from BlueCore3-Multimedia Reading from BlueCore3-Multimedia is similar to writing to it. An 8-bit read command (00000011) is sent first (C[7:0]), followed by the address of the location to be read (A[15:0]). BlueCore3-Multimedia then outputs on SPI_MISO a check word during T[15:0] followed by the 16-bit contents of the addressed location during bits D[15:0]. The check word is composed of {command, address [15:8]}. The check word may be used to confirm a read operation to a memory location. This overcomes the problems encountered with typical serial peripheral interface slaves, whereby it is impossible to determine whether the data returned by a read operation is valid data or the result of the slave device not responding. If SPI_CSB is kept low, data from consecutive locations is read out on SPI_MISO for each subsequent 16 clocks, until the transaction terminates when SPI_CSB is taken high. Reset End of Cycle Read_Command Address(A) Check_Word Data(A) Data(A+1) etc SPI_CSB SPI_CLK C7 SPI_MOSI SPI_MISO C6 Processor State C1 C0 A15 A14 A1 MISO Not Defined During Address A0 Don't Care T15 T14 T1 T0 D15 D14 D1 D0 D15 D14 D1 D0 D15 D14 D1 D0 Processor State Figure 8.21: Read Operation 8.8.4 Multi Slave Operation BlueCore3-Multimedia should not be connected in a multi slave arrangement by simple parallel connection of slave MISO lines. When BlueCore3-Multimedia is deselected (SPI_CSB = 1), the SPI_MISO line does not float, instead, BlueCore3-Multimedia outputs 0 if the processor is running or 1 if it is stopped. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 61 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet SPI_CSB Device Terminal Descriptions 8.9 Stereo Audio Interface The main features of the interface are: Stereo and mono analogue input for voice band and audio band ! Stereo and mono analogue output for voice band and audio band ! Support for stereo digital audio bus standards such as I2S ! Support for IEC-60958 standard stereo digital audio bus standards i.e. S/PDIF and AES3/EBU ! Support for PCM interfaces including PCM master CODECs that require an external system clock AUDIO_IN_P_LEFT Input Amplifier -ADC AUDIO_IN_N_LEFT LP Filter AUDIO_OUT_P_LEFT Output Amplifier AUDIO_OUT_N_LEFT DAC Digital Circuitry AUDIO_IN_P_RIGHT Input Amplifier -ADC AUDIO_IN_N_RIGHT LP Filter AUDIO_OUT_P_RIGHT AUDIO_OUT_N_RIGHT Output Amplifier DAC Figure 8.22: Stereo CODEC Audio Input and Output Stages The stereo audio CODEC uses a fully differential architecture in the analogue signal path, which results in low noise sensitivity and good power supply rejection while effectively doubling the signal amplitude. It operates from a single power-supply of 1.8V and uses a minimum of external components. Important Note: To avoid any confusion with respect to stereo operation this data book with respect to hardware explicitly states which is the left and right channel for audio input and output. With respect to software and any registers, channel 0 or channel A represents the left channel and channel 1 or channel B represents the right channel for both input and output. For mono operation this data book uses the left channel for standard mono operation for audio input and output and with respect to software and any registers, channel 0 or channel A represents the standard mono channel for audio input and output. In mono operation the second channel which is the right channel, channel 1 or channel B could be used as a second mono channel if required and this channel will be known as the auxiliary mono channel for audio input and output. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 62 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet ! Device Terminal Descriptions 8.9.1 Stereo CODEC Set-Up The configuration and control of the ADC is through VM functions which are described in appropriate BlueLab Multimedia documentation. This section covers an overview of the parameters that can be set-up using the VM functions. 8.9.2 ADC The ADC consists of two second order Sigma Delta converters allowing two separate channels that are identical in functionality, as shown in Figure 8.22. 8.9.3 ADC Sample Rate Selection and Warping Each ADC supports the following sample rates: ! 8kHz ! 11.025kHz ! 16kHz ! 22.05kHz ! 24kHz ! 32kHz ! 44.1kHz One of the main concerns for stereo wireless music applications is, the ability to keep sample rates for the CODECs at both ends of the wireless link in synchronisation. A VM function adjusts the sample rate using a `warping' function to tune the sample rate to the required value. 17 The ADC warp function allows the sample rate to be changed by 3%, in steps of 1/2 , or 7.6 ppm. The warp function preserves the signal quality. The distortion introduced when warping the sample rate is negligible. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 63 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet The Kalimba DSP can communicate its requirements of the CODEC to the MCU and hence the VM by exchange of messages. The messages used between the Kalimba DSP and the embedded MCU are based on interrupts: one interrupt between the MCU and Kalimba DSP and one interrupt between the Kalimba DSP and the MCU. Message content is transmitted using shared memory. There are VM and DSP library functions to send and receive messages; for further details refer to BlueLab Multimedia documentation. Device Terminal Descriptions 8.9.4 ADC Gain The ADC contains two gain stages for each channel, an analogue and a digital gain stage. The digital gain stage has a programmable selection value in the range of 0 to 15 with the associated ADC gain settings summarised in Table 8.8. ADC Digital Gain Setting (dB) 0 0 1 3.5 2 6 3 9.5 4 12 5 15.5 6 18 7 21.5 8 -24 9 -20.5 10 -18 11 -14.5 12 -12 13 -8.5 14 -6 15 -2.5 Table 8.8: ADC Digital Gain Rate Selection CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 64 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Gain Selection Value Device Terminal Descriptions The ADC analogue amplifier is a two stage amplifier. The first stage of the analogue amplifier is responsible for selecting the correct gain for either microphone input or line input and therefore has two gain settings, one for the microphone and one for the line input, see Section 8.9.24 and Section 8.9.25 for details on the microphone and line inputs respectively. In simple terms the first stage amplifier has a selectable 20dB gain stage for the microphone and this creates the dual programmable gain required for the microphone or the line input. The equivalent block diagram for the two stage is shown in Figure 8.23. 2 Differential Microphone Line 3dB x 7 Steps 2 Ref (0.66V) First Stage Differential 2 A Differential Second Stage Figure 8.23: First Stage of ADC Analogue Amplifier Block Diagram The second stage of the analogue amplifier shown in Figure 8.23 has a programmable gain with seven individual 3dB steps. In simple terms, by combining the 20dB gain selection of the microphone input with the seven individual 3dB gain steps, the overall range of the analogue amplifier is approximately -4dB to 40dB. The overall gain control of the ADC is controlled by the a VM function and this setting is a combined function of the digital and analogue amplifier settings, so that the fullscale range of the input to the ADC is kept to approximately 400mV rms. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 65 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet 20dB Gain Selection. Note: Input Impedance Function of Mode Selection Device Terminal Descriptions 8.9.5 DAC The DAC consists of two second order Sigma Delta converters allowing two separate channels that are identical in functionality as shown in Figure 8.22. 8.9.6 DAC Sample Rate Selection and Warping Each DAC supports the following samples rates: 48kHz ! 44.1kHz ! 32kHz ! 24kHz ! 22.050kHz ! 16kHz ! 11.025kHz ! 8kHz Like the ADC, one of the main concerns for the DAC used in stereo wireless music applications is, the ability to keep sample rates for the CODECs at both ends of the wireless link in synchronisation. A VM function adjusts the sample rate using a `warping' function to tune the sample rate to the required value. The DAC warp function allows the sample rate to be changed by 3%, in steps of 1/217, or 7.6 ppm. The warp function preserves the signal quality - the distortion introduced when warping the sample rate is negligible. 8.9.7 DAC Gain The DAC contains two gain stages for each channel, a digital and an analogue gain stage. The digital gain stage has a programmable selection value in the range of 0 to 15 with associated DAC gain settings summarised by Table 8.9. Gain Selection Value DAC Digital Gain Setting (dB) 0 0 1 3.5 2 6 3 9.5 4 12 5 15.5 6 18 7 21.5 8 -24 9 -20.5 10 -18 11 -14.5 12 -12 13 -8.5 14 -6 15 -2.5 Table 8.9: DAC Digital Gain Rate Selection CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 66 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet ! Device Terminal Descriptions The DAC analogue amplifier unlike the ADC is a single stage amplifier with the same structure as the second stage of the ADC analogue amplifier as shown in Figure 8.23. The structure of the DAC analogue amplifier is similar to the second stage of the ADC analogue amplifier, consisting of programmable gain with seven individual 3dB steps. The overall gain control of the DAC is controlled by the a VM function and this setting is a combined function of the digital and analogue amplifier settings, therefore for a 1V rms nominal digital output signal from the digital gain stage of the DAC, the following approximate output values of the analogue amplifier of the DAC can be expected: Analogue Gain (dB) 7 0 6 -3 5 -6 4 -9 3 -12 2 -15 1 -18 0 -21 Table 8.10: DAC Analogue Gain Settings 8.9.8 Mono Operation Mono operation is single channel operation of the stereo CODEC. The left channel represents the single mono channel for audio in and audio out. In mono operation the right channel is auxiliary mono channel that may be used in dual mono channel operation. See Section 8.9 for an important note on stereo and mono definitions. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 67 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Analogue Gain Index Device Terminal Descriptions 8.9.9 PCM CODEC Interface Pulse Code Modulation (PCM) is a standard method used to digitise audio (particularly voice) for transmission over digital communication channels. Through its PCM interface, BlueCore3-Multimedia has hardware support for continual transmission and reception of PCM data, thus reducing processor overhead for wireless headset applications. BlueCore3-Multimedia offers a bi directional digital audio interface that routes directly into the baseband layer of the on chip firmware. It does not pass through the HCI protocol layer. Hardware on BlueCore3-Multimedia allows the data to be sent to and received from a SCO connection. BlueCore3-Multimedia can operate as the PCM interface Master generating an output clock of 128, 256 or 512kHz. When configured as PCM interface slave it can operate with an input clock up to 2048kHz. BlueCore3-Multimedia is compatible with a variety of clock formats, including Long Frame Sync, Short Frame Sync and GCI timing environments. It supports 13 or 16-bit linear, 8-bit -law or A-law companded sample formats at 8ksamples/s and can receive and transmit on any selection of three of the first four slots following PCM_SYNC. The PCM configuration options are enabled by setting PS KEY_PCM_CONFIG32 (0x1b3). BlueCore3-Multimedia interfaces directly to PCM audio devices including the following: ! WM8731 Audio CODEC from Wolfson Micro ! Qualcomm MSM 3000 series and MSM 5000 series CDMA baseband devices ! OKI MSM7705 four channel A-law and -law CODEC ! Motorola MC145481 8-bit A-law and -law CODEC ! Motorola MC145483 13-bit linear CODEC ! STW 5093 and 5094 14-bit linear CODECs ! BlueCore3-Multimedia is also compatible with the Motorola SSITM interface CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 68 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Up to three SCO connections can be supported by the PCM interface at any one time. Device Terminal Descriptions 8.9.10 PCM Interface Master/Slave When configured as the Master of the PCM interface, BlueCore3-Multimedia generates PCM_CLK and PCM_SYNC. BlueCore3-Multimedia PCM_OUT PCM_CLK PCM_SYNC 128/256/512kHz 8kHz Figure 8.24: BlueCore3-Multimedia as PCM Interface Master When configured as the Slave of the PCM interface, BlueCore3-Multimedia accepts PCM_CLK rates up to 2048kHz. BlueCore3-Multimedia PCM_OUT PCM_IN PCM_CLK PCM_SYNC Up to 2048kHz 8kHz Figure 8.25: BlueCore3-Multimedia as PCM Interface Slave CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 69 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet PCM_IN Device Terminal Descriptions 8.9.11 Long Frame Sync Long Frame Sync is the name given to a clocking format that controls the transfer of PCM data words or samples. In Long Frame Sync, the rising edge of PCM_SYNC indicates the start of the PCM word. When BlueCore3-Multimedia is configured as PCM Master, generating PCM_SYNC and PCM_CLK, then PCM_SYNC is 8-bits long. When BlueCore3-Multimedia is configured as PCM Slave, PCM_SYNC may be from two consecutive falling edges of PCM_CLK to half the PCM_SYNC rate, i.e. 62.5s long. PCM_SYNC PCM_OUT PCM_IN Undefined 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 8 Undefined Figure 8.26: Long Frame Sync (Shown with 8-bit Companded Sample) BlueCore3-Multimedia samples PCM_IN on the falling edge of PCM_CLK and transmits PCM_OUT on the rising edge. PCM_OUT may be configured to be high impedance on the falling edge of PCM_CLK in the LSB position or on the rising edge. 8.9.12 Short Frame Sync In Short Frame Sync the falling edge of PCM_SYNC indicates the start of the PCM word. PCM_SYNC is always one clock cycle long. PCM_SYNC PCM_CLK PCM_OUT PCM_IN Undefined 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Undefined Figure 8.27: Short Frame Sync (Shown with 16-bit Sample) As with Long Frame Sync, BlueCore3-Multimedia samples PCM_IN on the falling edge of PCM_CLK and transmits PCM_OUT on the rising edge. PCM_OUT may be configured to be high impedance on the falling edge of PCM_CLK in the LSB position or on the rising edge. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 70 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet PCM_CLK Device Terminal Descriptions 8.9.13 Multi Slot Operation More than one SCO connection over the PCM interface is supported using multiple slots. Up to three SCO connections can be carried over any of the first four slots. LONG_PCM_SYNC Or SHORT_PCM_SYNC PCM_OUT 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 PCM_IN Do Not Care 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 8 Do Not Care Figure 8.28: Multi Slot Operation with Two Slots and 8-bit Companded Samples 8.9.14 GCI Interface BlueCore3-Multimedia is compatible with the General Circuit Interface, a standard synchronous 2B+D ISDN timing interface. The two 64Kbps B channels can be accessed when this mode is configured. PCM_SYNC PCM_CLK PCM_OUT PCM_IN Do Not C a re 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 B1 Channel Do Not C a re B2 Channel Figure 8.29: GCI Interface The start of frame is indicated by the rising edge of PCM_SYNC and runs at 8kHz. With BlueCore3-Multimedia in Slave mode, the frequency of PCM_CLK can be up to 4.096MHz. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 71 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet PCM_CLK Device Terminal Descriptions 8.9.15 Slots and Sample Formats BlueCore3-Multimedia can receive and transmit on any selection of the first four slots following each sync pulse. Slot durations can be either 8 or 16 clock cycles. Duration's of 8 clock cycles may only be used with 8-bit sample formats. Durations of 16 clocks may be used with 8, 13 or 16-bit sample formats. BlueCore3-Multimedia supports 13-bit linear, 16-bit linear and 8-bit -law or A-law sample formats. The sample rate is 8ksamples/s. The bit order may be little or big endian. When 16-bit slots are used, the 3 or 8 unused bits in each slot may be filled with sign extension, padded with zeros or a programmable 3-bit audio attenuation compatible with some Motorola CODECs. PCM_OUT 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 8-Bit Sample A 16-bit slot with 8-bit companded sample and sign extension selected. 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 15 16 13-Bit Sample A 16-bit slot with 13-bit linear sample and sign extension selected. 13-Bit Sample PCM_OUT 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Audio Gain A 16-bit slot with 13-bit linear sample and audio gain selected. Figure 8.30: 16-Bit Slot Length and Sample Formats 8.9.16 Additional Features BlueCore3-Multimedia has a mute facility that forces PCM_OUT to be 0. In Master mode, PCM_SYNC may also be forced to 0 while keeping PCM_CLK running which some CODECS use to control power down. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 72 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Sign Extension Device Terminal Descriptions 8.9.17 PCM Timing Information Symbol fmclk Parameter PCM_CLK frequency 4MHz DDS generation. Selection of frequency is programmable, see Table 8.13 - 48MHz DDS generation. Selection of frequency is programmable, see Table 8.14 and Section 8.9.19 2.9 PCM_SYNC frequency tmclkh (1) Typ Max Unit - kHz - kHz 128 256 512 - 8 PCM_CLK high 4MHz DDS generation 980 - tmclkl(1) PCM_CLK low 4MHz DDS generation 730 - - PCM_CLK jitter 48MHz DDS generation tdmclksynch Delay time from PCM_CLK high to PCM_SYNC high - tdmclkpout Delay time from PCM_CLK high to valid PCM_OUT tdmclklsyncl kHz - ns ns 21 ns pk-pk - 20 ns - - 20 ns Delay time from PCM_CLK low to PCM_SYNC low (Long Frame Sync only) - - 20 ns tdmclkhsyncl Delay time from PCM_CLK high to PCM_SYNC low - - 20 ns tdmclklpoutz Delay time from PCM_CLK low to PCM_OUT high impedance - - 20 ns tdmclkhpoutz Delay time from PCM_CLK high to PCM_OUT high impedance - - 20 ns tsupinclkl Set-up time for PCM_IN valid to PCM_CLK low 30 - - ns thpinclkl Hold time for PCM_CLK low to PCM_IN invalid 10 - - ns Table 8.11: PCM Master Timing Note: (1) Assumes normal system clock operation. Figures will vary during low power modes, when system clock speeds are reduced. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 73 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet - Min Device Terminal Descriptions t t dmclklsyncl t dmclksynch dmclkhsyncl PCM_SYNC f t mlk t mclkh mclkl t t t ,t dmclkpout PCM_OUT r t supinclkl dmclkhpoutz LSB (MSB) hpinclkl MSB (LSB) PCM_IN t f MSB (LSB) t dmclklpoutz LSB (MSB) Figure 8.31: PCM Master Timing Long Frame Sync t dmclksynch t dmclkhsyncl PCM_SYNC fmlk t mclkh t mclkl PCM_CLK t dmclklpoutz t dmclkpout PCM_OUT MSB (LSB) t supinclkl PCM_IN tr ,t f t dmclkhpoutz LSB (MSB) t hpinclkl MSB (LSB) LSB (MSB) Figure 8.32: PCM Master Timing Short Frame Sync CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 74 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet PCM_CLK Device Terminal Descriptions 8.9.18 PCM Slave Timing Symbol Parameter Typ Max Unit fsclk PCM clock frequency (Slave mode: input) 64 - 2048 kHz fsclk PCM clock frequency (GCI mode) 128 - 4096 kHz tsclkl PCM_CLK low time 200 - - ns tsclkh PCM_CLK high time 200 - - ns thsclksynch Hold time from PCM_CLK low to PCM_SYNC high 30 - - ns tsusclksynch Set-up time for PCM_SYNC high to PCM_CLK low 30 - - ns tdpout Delay time from PCM_SYNC or PCM_CLK whichever is later, to valid PCM_OUT data (Long Frame Sync only) - - 20 ns tdsclkhpout Delay time from CLK high to PCM_OUT valid data - - 20 ns tdpoutz Delay time from PCM_SYNC or PCM_CLK low, whichever is later, to PCM_OUT data line high impedance - - 20 ns tsupinsclkl Set-up time for PCM_IN valid to CLK low 30 - - thpinsclkl Hold time for PCM_CLK low to PCM_IN invalid 30 - ns ns Table 8.12: PCM Slave Timing CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 75 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Min Device Terminal Descriptions f t sclk t sclkh tsclkl PCM_CLK t t hsclksynch susclksynch PCM_SYNC t PCM_OUT t dpout MSB (LSB) t PCM_IN supinsclkl t dsclkhpout t ,t r t f dpoutz dpoutz LSB (MSB) hpinsclkl MSB (LSB) LSB (MSB) Figure 8.33: PCM Slave Timing Long Frame Sync fsclk t sclkh t tsclkl PCM_CLK t susclksynch t hsclksynch PCM_SYNC t dsclkhpout PCM_OUT MSB (LSB) t supinsclkl PCM_IN tr ,t f t dpoutz t dpoutz LSB (MSB) t hpinsclkl MSB (LSB) LSB (MSB) Figure 8.34: PCM Slave Timing Short Frame Sync CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 76 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet t Device Terminal Descriptions 8.9.19 PCM_CLK and PCM_SYNC Generation BlueCore3-Multimedia has two methods of generating PCM_CLK and PCM_SYNC in master mode. The first is generating these signals by Direct Digital Synthesis (DDS) from BlueCore3-Multimedia internal 4MHz clock (which is used in BlueCore2-External). Using this mode limits PCM_CLK to 128, 256 or 512kHz and PCM_SYNC to 8kHz. The second is generating PCM_CLK and PCM_SYNC by DDS from an internal 48MHz clock which allows a greater range of frequencies to be generated with low jitter but consumes more power. This second method is selected by setting bit `48M_PCM_CLK_GEN_EN' in PSKEY_PCM_CONFIG32. When in this mode and with long frame sync, the length of PCM_SYNC can be either 8 or 16 cycles of PCM_CLK, determined by `LONG_LENGTH_SYNC_EN' in PSKEY_PCM_CONFIG32. f = CNT _ RATE x 24MHz CNT _ LIMIT Equation 8.8: PCM_CLK Frequency When Being Generated Using the Internal 48MHz clock The frequency of PCM_SYNC relative to PCM_CLK can be set using following equation: f= PCM _ CLK SYNC _ LIMIT x 8 Equation 8.9: PCM_SYNC Frequency Relative to PCM_CLK CNT_RATE, CNT_LIMIT and SYNC_LIMIT are set using PSKEY_PCM_LOW_JITTER_CONFIG. As an example, to generate PCM_CLK at 512kHz with PCM_SYNC at 8kHz, set PSKEY_PCM_LOW_JITTER_CONFIG to 0x08080177. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 77 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet The Equation 8.8 describes PCM_CLK frequency when being generated using the internal 48MHz clock: Device Terminal Descriptions 8.9.20 PCM Configuration The PCM configuration is set using two PS Keys, PSKEY_PCM_CONFIG32 and PSKEY_PCM_LOW_JITTER_CONFIG. The following tables detail these PS Keys. The default for PSKEY_PCM_CONFIG32 is 0x00800000 i.e. first slot following sync is active, 13-bit linear voice format, long frame sync and interface master generating 256kHz PCM_CLK from 4MHz internal clock with no tristating of PCM_OUT. PSKEY_PCM_LOW_JITTER_CONFIG is described in Table 8.14. Name Bit Position Description 0 Set to 0. SLAVE_MODE_EN 1 0 selects Master mode with internal generation of PCM_CLK and PCM_SYNC. 1 selects Slave mode requiring externally generated PCM_CLK and PCM_SYNC. SHORT_SYNC_EN 2 0 selects long frame sync (rising edge indicates start of frame), 1 selects short frame sync (falling edge indicates start of frame). - 3 Set to 0. SIGN_EXTEND_EN 4 0 selects padding of 8 or 13-bit voice sample into a 16bit slot by inserting extra LSBs, 1 selects sign extension. When padding is selected with 13-bit voice sample, the 3 padding bits are the audio gain setting; with 8-bit samples the 8 padding bits are zeroes. LSB_FIRST_EN 5 0 transmits and receives voice samples MSB first, 1 uses LSB first. TX_TRISTATE_EN 6 0 drives PCM_OUT continuously, 1 tri-states PCM_OUT immediately after the falling edge of PCM_CLK in the last bit of an active slot, assuming the next slot is not active. TX_TRISTATE_RISING_EDGE_EN 7 0 tristates PCM_OUT immediately after the falling edge of PCM_CLK in the last bit of an active slot, assuming the next slot is also not active. 1 tristates PCM_OUT after the rising edge of PCM_CLK. SYNC_SUPPRESS_EN 8 0 enables PCM_SYNC output when master, 1 suppresses PCM_SYNC whilst keeping PCM_CLK running. Some CODECS utilise this to enter a low power state. GCI_MODE_EN 9 1 enables GCI mode. MUTE_EN 10 1 forces PCM_OUT to 0. 48M_PCM_CLK_GEN_EN 11 0 sets PCM_CLK and PCM_SYNC generation via DDS from internal 4 MHz clock, as for BlueCore2-External. 1 sets PCM_CLK and PCM_SYNC generation via DDS from internal 48 MHz clock. LONG_LENGTH_SYNC_EN 12 0 sets PCM_SYNC length to 8 PCM_CLK cycles and 1 sets length to 16 PCM_CLK cycles. Only applies for long frame sync and with 48M_PCM_CLK_GEN_EN set to 1. - [20:16] Set to 0b00000. MASTER_CLK_RATE [22:21] Selects 128 (0b01), 256 (0b00), 512 (0b10) kHz PCM_CLK frequency when master and 48M_PCM_CLK_GEN_EN (bit 11) is low. ACTIVE_SLOT [26:23] Default is `0001'. Ignored by firmware. SAMPLE_FORMAT [28:27] Selects between 13 (0b00), 16 (0b01), 8 (0b10) bit sample with 16 cycle slot duration or 8 (0b11) bit sample with 8 cycle slot duration. Table 8.13: PSKEY_PCM_CONFIG32 Description CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 78 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet - Device Terminal Descriptions Name Bit Position Description CNT_LIMIT [12:0] Sets PCM_CLK counter limit. CNT_RATE [23:16] Sets PCM_CLK count rate. SYNC_LIMIT [31:24] Sets PCM_SYNC division relative to PCM_CLK. Table 8.14: PSKEY_PCM_LOW_JITTER_CONFIG Description _aiEceEPJjiaiaaECa~ Product Data Sheet CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 79 of 108 Device Terminal Descriptions 8.9.21 Digital Audio Bus The digital audio interface supports the industry standard formats for I2S, left-justified (LJ) or right-justified(RJ)(1). The interface shares the same pins as the PCM interface as shown in Table 6.1 and the timing diagram is shown in Figure 8.35. WS Left Channel Right Channel SD_IN/OUT MSB LSB LSB MSB Left-Justified Mode WS Left Channel Right Channel SCK SD_IN/OUT MSB LSB MSB LSB Right-Justified Mode WS Left Channel Right Channel SCK SD_IN/OUT MSB LSB MSB LSB I2S Mode Figure 8.35: Digital Audio Interface Modes The internal representation of audio samples within BlueCore3-Multimedia is 16-bit and data on SD_OUT is limited to 16-bit per channel. On SD_IN, if more than 16-bit per channel is present will round considering the 17th bit. SCK typically operates 64 x WS frequency and cannot be less than 36 x WS. Note: (1) Subject to firmware support, contact CSR for current status. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 80 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet SCK Device Terminal Descriptions Symbol Parameter Min Typ Max Unit SCK Frequency - - 6.2 MHz - WS Frequency - - 96 kHz tch SCK high time - - - ns tcl SCK low time - - - ns topd SCK to SD_OUT delay - - - ns tssu WS to SCK high set-up time - - - ns tsh WS to SCK high hold time - - - ns tisu SD_IN to SCK high set-up time - - - ns tih SD_IN to SCK high hold time - - - ns Table 8.15: Digital Audio Interface Slave Timing WS(Input) tssu t ch t sh t cl SCK(Input) topd SD_OUT t isu t ih SD_IN Figure 8.36: Digital Audio Interface Slave Timing CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 81 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet - Device Terminal Descriptions Symbol Parameter Min Typ Max Unit - SCK Frequency 6.2 MHz - WS Frequency 96 kHz SCK to SD_OUT delay ns tspd SCK to WS delay ns tisu SD_IN to SCK high set-up time ns tih SD_IN to SCK high hold time ns Table 8.16: Digital Audio Interface Master Timing WS(Output) t spd SCK(Output) t opd SD_OUT t isu t ih SD_IN Figure 8.37: Digital Audio Interface Master Timing CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 82 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet topd Device Terminal Descriptions 8.9.22 IEC 60958 Interface The IEC 60958 interface is a digital audio interface that uses bi-phase coding to minimise the DC content of the transmitted signal and allows the receiver to decode the clock information from the transmitted signal. The IEC 60958 specification is based on the two industry standards AES/EBU and the Sony and Philips interface specification SPDIF. The interface is compatible with IEC 60958-1, IEC 60958-3 and IEC 60958-4. (1). Note: (1) Subject to firmware support, contact CSR for current status. 74HCU04 10nF SPDIF_OUT RCA Connector 100 SPDIF Output 74HCU04 74HCU04 75 74HCU04 Figure 8.38: Example Circuit for SPDIF Interface with Coaxial Output Note: The 100 and 75 resistors are dependent on the supply voltage and therefore subject to change 10K RCA Connector 10nF 100 SPDIF_IN SPDIF Input 75 74HCU04 74HCU04 Figure 8.39: Example Circuit for SPDIF Interface with Coaxial Input CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 83 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet The SPDIF interface signals are SPDIF_IN and SPDIF_OUT and are shared on the PCM interface pins as shown in Figure 5.1 The input and output stages of the SPDIF pins can interface either 75 coaxial cable with an RCA connector or there is an option to use an optical link that uses Toslink optical components. Typical output and input stage interfaces for the coaxial solution interface is shown in Figure 8.38 and Figure 8.39 and the equivalent optical solution is shown in Figure 8.40 and Figure 8.41. Device Terminal Descriptions SPDIF_OUT 4 +5V 3 4.7 2 TOTX173 8.2K 100nF 1 Level Translator SPDIF_IN 1 +5V 3 100nF 2 TORX173 47 H 4 5 6 Figure 8.41: Example Circuit for SPDIF Interface with Optical Input 8.9.23 Audio Input Stage The input stage of BlueCore3-Multimedia consists of a low noise input amplifier, which receives its analogue input signal from pins AUDIO_IN_P_LEFT and AUDIO_IN_N_LEFT to a second-order - ADC that outputs a 4MBit/sec single-bit stream into the digital circuitry. The input can be configured to be either single ended or fully differential. It can be programmed for either microphone or line input and has a 3-bit digital gain setting of the input-amplifier in 3dB steps to optimize it for the use of different microphones. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 84 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Figure 8.40: Example Circuit for SPDIF Interface with Optical Output Device Terminal Descriptions 8.9.24 Microphone Input The audio-input is intended for use from 1V@94dB SPL to about 10V@94dB SPL. With biasing-resistors R1 and R2 equal to 1k, this requires microphones with sensitivity between about -40Dbv/Pa and -60dBV/Pa. The microphone for each channel should be biased as shown in Figure 8.42. Microphone Bias BlueCore3-Multimedia R2 AUDIO_IN_P_LEFT R1 C2 AUDIO_IN_N_LEFT Input Amplifier C4 + MIC1 Figure 8.42: Microphone Biasing (Left Channel Shown) The input impedance at AUDIO_IN_N_LEFT, AUDIO_IN_P_LEFT, AUDIO_IN_N_RIGHT and AUDIO_IN_P_RIGHT is typically 20k. C1 and C2 should be 47nF. R1 sets the microphone load impedance and is normally in a range of 1 to 2 k. R2, C3 and C4 improve the supply rejection by decoupling supply noise from the microphone. Values should be selected as required in the specification. R2 may be connected to a convenient supply, in which case the bias network is permanently enabled, or to the AUX_DAC output (which is ground referenced and so provides good rejection of the supply), which maybe configured to provide bias only when the microphone is required. 8.9.25 Line Input If the input gain is set to less than 21dB BlueCore3-Multimedia automatically selects line input mode. In this mode the input impedance at AUDIO_IN_N_LEFT, AUDIO_IN_P_LEFT, AUDIO_IN_N_RIGHT and AUDIO_IN_P_RIGHT are increased to 130k typically. In line-input mode, the full-scale input signal is about 400mV rms. Figure 8.43 and Figure 8.44 show two circuits for line input operation and show connections for either differential or single ended inputs. C1 AUDIO_IN_P_LEFT C2 AUDIO_IN_N_LEFT Figure 8.43: Differential Input (Left Channel Shown) C1 AUDIO_IN_P_LEFT C2 AUDIO_IN_N_LEFT Figure 8.44: Single Ended Input (Left Channel Shown) CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 85 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet C1 C3 Device Terminal Descriptions 8.9.26 Output Stage The output digital circuitry converts the signal from 16-bit per sample, linear PCM of variable sampling frequency to an 8 MBits/sec bit stream, which is fed into the analogue output circuitry. AUDIO_OUT_P_LEFT AUDIO_OUT_N_LEFT Figure 8.45: Speaker Output (Left Channel Shown) The gain of the output stage is controlled by a 3-bit programmable resistive divider, which sets the gain in steps of approximately 3dB. The single bit stream from the digital circuitry is low pass filtered by a second order bi-quad filter with a pole at 20kHz. The signal is then amplified in the fully differential output stage, which has a gain bandwidth of typically 1MHz. It uses its high open loop gain in the closed loop application circuit to achieve low distortion while operating with low standing current. 8.10 I/O Parallel Ports Sixteen lines of programmable bi-directional input/outputs (I/O) are provided. PIO[11:8] and PIO[3:0] are powered from VDD_PIO. PIO[7:4] are powered from VDD_PADS. AIO [3:0] are powered from VDD_MEM. PIO lines can be configured through software to have either weak or strong pull-ups or pull-downs. All PIO lines are configured as inputs with weak pull-downs at reset. PIO[0] and PIO[1] are normally dedicated to RXEN and TXEN respectively, but they are available for general use. Any of the PIO lines can be configured as interrupt request lines or as wake-up lines from sleep modes. PIO[6] or PIO[2] can be configured as a request line for an external clock source. This is useful when the clock to BlueCore3-Multimedia is provided from a system application specific integrated circuit (ASIC). Using PSKEY_CLOCK_REQUEST_ENABLE, (0x246) this terminal can be configured to be low when BlueCore3-Multimedia is in deep sleep and high when a clock is required. The clock must be supplied within 4ms of the rising edge of PIO[6] or PIO[2] to avoid losing timing accuracy in certain Bluetooth operating modes. BlueCore3-Multimedia has four general purpose analogue interface pins, AIO[0], AIO[1], AIO[2] and AIO[3], also known as the extended PIO lines. These are used to access internal circuitry and control signals. One pin is allocated to decoupling for the on-chip band gap reference voltage, the other three may be configured to provide additional functionality. Auxiliary functions available via these pins include an 8-bit ADC and an 8-bit DAC. Typically the ADC is used for battery voltage measurement. Signals selectable at these pins include the band gap reference voltage and a variety of clock signals; 32, 16, 8MHz and the XTAL clock frequency. When used with analogue signals the voltage range is constrained by the analogue supply voltage (1.8V). When configured to drive out digital level signals (e.g., clocks) the output voltage level is determined by VDD_MEM (1.8V). CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 86 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet The output circuit comprises a digital to analogue converter with gain setting and output amplifier. Its class-AB output-stage is capable of driving a signal on both channels of up to 2V pk-pk- differential into a load of 32 and 500pF with a typical THD+N of -74dBc. The output is available as a differential signal between AUDIO_OUT_N_LEFT and AUDIO_OUT_P_LEFT for the left channel as shown in Figure 8.45; and between AUDIO_OUT_N_RIGHT and AUDIO_OUT_P_RIGHT for the right channel. The output is capable of driving a speaker directly if its impedance is at least 16 if only one channel is connected or an external regulator is used. Device Terminal Descriptions 8.10.1 PIO Defaults for BlueCore3-Multimedia CSR cannot guarantee that these terminal functions remain the same. Please refer to the software release note for the implementation of these PIO lines, as they are firmware build specific. 8.11 I2C Interface Note: PIO lines need to be pulled-up through 2.2k resistors. PIO[7:6] dual functions, UART bypass and EEPROM support, therefore devices using an EEPROM cannot support UART bypass mode For connection to EEPROMs, refer to CSR documentation on I2C EEPROMS for use with BlueCore. This provides information on the type of devices which are currently supported. +1.8V 10nF 2.2K 2.2K 2.2K U2 8 PIO[8] PIO[6] PIO[7] 7 6 5 VCC A0 WP A1 SCL A2 SDA GND 1 2 3 4 Serial EEPROM (AT24C16A) Figure 8.46: Example EEPROM Connection CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 87 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet PIO[8:6] can be used to form a Master I2C interface. The interface is formed using software to drive these lines. Therefore it is suited only to relatively slow functions such as driving a dot matrix liquid crystal display (LCD), keyboard scanner or EEPROM. Device Terminal Descriptions 8.12 TCXO Enable OR Function An OR function exists for clock enable signals from a host controller and BlueCore3-Multimedia where either device can turn on the clock without having to wake up the other device. PIO[3] can be used as the Host clock enables input and PIO[2] can be used as the OR output with the TCXO enable signal from BlueCore3-Multimedia. VDD GSM System CLK IN Enable CLK REQ OUT BlueCore System CLK REQ IN/ PIO[3] XTAL IN CLK REQ OUT/ PIO[2] Figure 8.47: Example TXCO Enable OR Function On reset and up to the time the PIO has been configured, PIO[2] will be tri-stated. Therefore, the developer must ensure that the circuitry connected to this pin is pulled via a 470k resistor to the appropriate power rail. This ensures that the TCXO is oscillating at start up. 8.13 RESET and RESETB BlueCore3-Multimedia may be reset from several sources: RESET or RESETB pins, power on reset, a UART break character or via a software configured watchdog timer. The RESET pin is an active high reset and is internally filtered using the internal low frequency clock oscillator. A reset will be performed between 1.5 and 4.0ms following RESET being active. It is recommended that RESET be applied for a period greater than 5ms. The RESETB pin is the active low version of RESET and is `ORed' on chip with the active high RESET with either causing the reset function. The power on reset occurs when the VDD_CORE supply falls below typically 1.5V and is released when VDD_CORE rises above typically 1.6V. At reset the digital I/O pins are set to inputs for bi-directional pins and outputs are tristated. The PIOs have weak pull-downs. Following a reset, BlueCore3-Multimedia assumes the maximum XTAL_IN frequency, which ensures that the internal clocks run at a safe (low) frequency until BlueCore-Multimedia is configured for the actual XTAL_IN frequency. If no clock is present at XTAL_IN, the oscillator in BlueCore3-Multimedia free runs, again at a safe frequency. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 88 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet TCXO Device Terminal Descriptions 8.13.1 Pin States on Reset Table 8.17 shows the pin states of BlueCore3-Multimedia on reset. State: BlueCore3-Multimedia PIO[11:0] Input with weak pull-down PCM_OUT Tri-stated with weak pull-down PCM_IN Input with weak pull-down PCM_SYNC Input with weak pull-down PCM_CLK Input with weak pull-down UART_TX Output tri-stated with weak pull-up UART_RX Input with weak pull-down UART_RTS Output tri-stated with weak pull-up UART_CTS Input with weak pull-down USB_DP Input with weak pull-down USB_DN Input with weak pull-down SPI_CSB Input with weak pull-up SPI_CLK Input with weak pull-down SPI_MOSI Input with weak pull-down SPI_MISO Output tri-stated with weak pull-down AIO[3:0] Output, driving low RESET Input with weak pull-down RESETB Input with weak pull-up TEST_EN Input with strong pull-down AUX_DAC High impedance RX_IN High impedance XTAL_IN High impedance, 250k to XTAL_OUT XTAL_OUT High impedance, 250k to XTAL_IN _aiEceEPJjiaiaaECa~ Product Data Sheet Pin name Table 8.17: Pin States of BlueCore3-Multimedia on Reset 8.13.2 Status after Reset The chip status after a reset is as follows: ! Warm Reset: Baud rate and RAM data remain available ! Cold Reset(1): Baud rate and RAM data not available Note: (1) Cold Reset consititutes one of the following: ! Power cycle ! System reset (firmware fault code) ! Reset signal, see Section 8.13 CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 89 of 108 Device Terminal Descriptions 8.14 Power Supply BlueCore3-Multimedia may either be powered using an internal voltage regulator, or from an external 1.8V power rail. 8.14.1 Internal Voltage Regulator For stability, the output of the regulator requires a smoothing circuit of a 2.2uF low ESR capacitor and a 2.2 resistor. This circuit can also act as a simple RC filter to isolate digital noise from the radio supplies. For this purpose, a 2.2 resistor is contained within the package, connected between VDD_ANA and one of the VDD_CORE pins (L6). Provided all the VDD_CORE, and VDD_MEM pins are connected together externally to a 2.2uF capacitor, there is no requirement for a connection from these pins to a 1.8V rail (see Figure 10.1). If the Kalimba DSP is very active, and consuming significant power (e.g, currents > 20mA ), then the voltage drop across the internal 2.2 resistor may be excessive. In this case an inductor connected between VDD_ANA and VDD_CORE will provide a reduced DC voltage drop and sufficient noise filtering. The regulator is switched into a low power mode when the device is sent into deep-sleep. 8.14.2 External Voltage Source When the device is powered from an external voltage source and the on-chip regulator is not required, VDD_ANA becomes a 1.8V input and VREG_IN must be either open circuit or tied to VDD_ANA. An external regulator chosen to power the 1.8V rail should have less than 10mV rms noise levels between 0 to 10MHz. Single tone frequencies are also to be avoided. The transient response of the regulator is important. At the start of a packet, power consumption will jump to high levels (see 3.11 Power Consumption). The regulator should have a response time of 20s or less, to ensure that the power rail recovers sufficiently quickly. 8.14.3 Sequencing VDD_CORE, VDD_MEM, VDD_LO, VDD_RADIO, and VDD_ANA should all be powered at the same time. The order of powering up VDD_PIO, VDD_PADS and VDD_USB is not important. However, if VDD_CORE is not powered, all inputs will have a weak pull down irrespective of the reset state. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 90 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet BlueCore3-Multimedia contains an on-chip linear voltage regulator, which can be used to power the device's 1.8V dependent supplies. The regulator input is VREG_IN and the output is connected to VDD_ANA. An external connection from VDD_ANA to the other 1.8V supply pads is used to power the rest of the device. The remaining supplies VDD_PIO, VDD_PADS and VDD_USB may be connected, together with VREG_IN, to the 3.3V supply and simply decoupled. Typical Audio CODEC Performance 9 Typical Audio CODEC Performance 9.1 Output Relative Level of 2nd Harmonic to Fundamental as a Function of Digital Level 2nd Harmonic @ 600 load -70 -74 -76 -78 Harmonic / dB0 -80 Measurements below noise floor -82 -84 -86 -88 -90 -92 -94 -96 -98 -20.0 -18.0 -16.0 -14.0 -12.0 -10.0 -8.0 -6.0 -4.0 -2.0 0.0 Digital Level Relative to Full Scale 227mV 321mV 457mV 639mV Figure 9.1: Relative Level of 2nd Harmonic to Fundamental, PL = 600 CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 91 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet -72 Typical Audio CODEC Performance Relative Level of 3rd Harmonic to Fundamental as a Function of Digital Level 3rd Harmonic @ 600 Load -70 -72 -74 -76 -78 Harmonic / dB0 -82 -84 -86 -88 -90 -92 -94 -96 -98 -100 -20.0 -18.0 -16.0 231mV 324mV 639mV 904mV -14.0 462mV -12.0 -10.0 -8.0 -6.0 -4.0 -2.0 0.0 Digital Level Relative to Full Scale Figure 9.2: Relative Level of 3rd Harmonic to Fundamental, PL = 600 Note: Signal below full scale -7dB are below measurement system's noise floor CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 92 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet -80 Typical Audio CODEC Performance Relative Level of 2nd Harmonic to Fundamental as a Function of Digital Level 2nd Harmonic @ 32 Load -70 -72 -74 -76 -78 Harmonic / dB0 -82 -84 -86 -88 -90 -92 -94 -96 -98 -20.0 -18.0 -16.0 -14.0 -12.0 -10.0 -8.0 -6.0 -4.0 -2.0 0.0 ) Digital Level Relative to Full Scale 227mV 320mV 455mV 636mV Figure 9.3: Relative Level of 2nd Harmonic to Fundamental, PL = 32 CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 93 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet -80 Typical Audio CODEC Performance Relative Level of 3rd Harmonic to Fundamental as a Function of Digital Level 3rd Harmonic @ 32 Load -70 -72 -74 -76 -78 Harmonic / dB0 -82 -84 -86 -88 -90 -92 -94 -96 -98 -20.0 -18.0 -16.0 -14.0 -12.0 -10.0 -8.0 -6.0 -4.0 -2.0 0.0 Digital Level Relative to Full Scale 227mV 320mV 455mV 636mV Figure 9.4: Relative Level of 3rd Harmonic to Fundamental, PL = 32 CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 94 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet -80 Typical Audio CODEC Performance Relative Level of 2nd Harmonic to Fundamental as a Function of Digital Level 2nd Harmonic @ 22 Load -70 -72 -74 -76 -78 Harmonic / dB0 -82 -84 -86 -88 -90 -92 -94 -96 -98 -20.0 -18.0 -16.0 -14.0 -12.0 -10.0 -8.0 -6.0 -4.0 -2.0 0.0 Digital Level Relative to Full Scale 227mV 321mV 457mV 639mV Figure 9.5: Relative Level of 2nd Harmonic to Fundamental, PL = 22 CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 95 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet -80 Typical Audio CODEC Performance Relative Level of 3rd Harmonic to Fundamental as a Function of Digital Level 3rd Harmonic @ 22 Load -70 -72 -74 -76 -78 Harmonic / dB0 -82 -84 -86 -88 -90 -92 -94 -96 -98 -20.0 -18.0 -16.0 -14.0 -12.0 -10.0 -8.0 -6.0 -4.0 -2.0 0.0 Digital Level Relative to Full Scale 227mV 320mV 455mV 639mV Figure 9.6: Relative Level of 3rd Harmonic to Fundamental, PL = 22 CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 96 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet -80 Typical Audio CODEC Performance Noise Floor, Sample Rate = 44.1kHz, Noise A-Weighted in 17kHz Band Width 0 -10 -20 -30 Noise / dBV -50 -60 -70 -80 -90 -100 -110 0.0 100.0 200.0 300.0 400.0 500.0 600.0 700.0 800.0 900.0 1000.0 Full Scale rms Output, mV 600ohm 22ohm Figure 9.7: Noise Floor CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 97 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet -40 Typical Audio CODEC Performance THD+N, Input Signal is Full Scale Sine Wave at 1kHz, Sample Rate = 44.1kHz 0.200 0.180 0.160 THD+N % 0.120 0.100 0.080 0.060 0.040 0.020 0.000 10.0 100.0 1000.0 10000.0 Full Scale rms Output, mV 600ohm 22ohm Figure 9.8: THD+N CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 98 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet 0.140 Application Schematic 10 Application Schematic _aiEceEPJjiaiaaECa~ Product Data Sheet Figure 10.1: Application Circuit for Radio Characteristics Specification for 10 x 10mm LFBGA Package CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 99 of 108 Package Dimensions 11 Package Dimensions 11.1 10 x 10mm LFBGA 96-Ball Package _aiEceEPJjiaiaaECa~ Product Data Sheet Figure 11.1: BlueCore3-Multimedia 96-Ball LFBGA Package Dimensions CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 100 of 108 Solder Profiles 12 Solder Profiles The soldering profile depends on various parameters necessitating a set up for each application. The data here is given only for guidance on solder re-flow. See Table 12.1 for a description of the four zones. Description Preheat Zone This zone raises the temperature at a controlled rate, typically 1-2.5C/s. Equilibrium Zone This zone brings the board to a uniform temperature and also activates the flux. The duration in this zone (typically 2-3 minutes) will need to be adjusted to optimise the out gassing of the flux. Reflow Zone The peak temperature should be high enough to achieve good wetting but not so high as to cause component discoloration or damage. Excessive soldering time can lead to intermetallic growth which can result in a brittle joint. Cooling Zone The cooling rate should be fast, to keep the solder grains small which will give a longer lasting joint. Typical rates will be 2-5C/s. Table 12.1: Solder Profile Zones CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 101 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet Zone Solder Profiles 12.1 Typical Solder Re-flow Profile for Devices with Lead-Free Solder Balls Composition of the solder ball: Sn 95.5%, Ag 4.0%, Cu 0.5% _aiEceEPJjiaiaaECa~ Product Data Sheet Figure 12.1: Typical Lead-Free Re-flow Solder Profile Key features of the profile: ! Initial Ramp = 1-2.5C/sec to 175C25C equilibrium ! Equilibrium time = 60 to 180 seconds ! Ramp to Maximum temperature (245C) = 3C/sec max. ! Time above liquidus temperature (217C): 45-90 seconds ! Device absolute maximum reflow temperature: 260C Devices will withstand the specified profile. Lead-free devices will withstand up to 3 reflows to a maximum temperature of 260C. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 102 of 108 Ordering Information 13 Ordering Information 13.1 BlueCore3-Multimedia Package Interface Version Order Number Type 96-Ball LFBGA (Pb free) Shipment Method 10 x 10 x 1.4mm Tape and reel BC358239A-INN-E4 Minimum Order Quantity 2kpcs Taped and Reeled To contact a CSR representative, email sales@csr.com or go to www.csr.com/contacts.htm CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 103 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet UART and USB Size Document References 14 Document References Document: Reference, Date: Specification of the Bluetooth System v1.2, 05 November 2003 Universal Serial Bus Specification v2.0, 27 April 2000 Selection of I2C EEPROMS for Use with BlueCore bcore-an-008Pb, 30 October 2003 _aiEceEPJjiaiaaECa~ Product Data Sheet CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 104 of 108 Terms and Definitions Terms and Definitions BlueCoreTM Group term for CSR's range of Bluetooth chips BluetoothTM Set of technologies providing audio and data transfer over short-range radio connections Asynchronous Connection-Less. A Bluetooth data packet. ADC Analogue to Digital Converter AGC Automatic Gain Control A-law Audio encoding standard API Application Programming Interface ASIC Application Specific Integrated Circuit BCSP BlueCoreTM Serial Protocol BER Bit Error Rate. Used to measure the quality of a link BIST Built-In Self-Test BMC Burst Mode Controller CMOS Complementary Metal Oxide Semiconductor CODEC Coder Decoder CQDDR Channel Quality Driven Data Rate CSB Chip Select (Active Low) CSR Cambridge Silicon Radio CTS Clear to Send CVSD Continuous Variable Slope Delta Modulation DAC Digital to Analogue Converter dBm Decibels relative to 1mW DC Direct Current DFU Device Firmware Upgrade DNL Differential Linearity Error DSP Digital Signal Processor ESR Equivalent Series Resistance FIR Finite Impulse Response FSK Frequency Shift Keying GSM Global System for Mobile communications HCI Host Controller Interface IQ Modulation In-Phase and Quadrature Modulation IF Intermediate Frequency IIR Infinite Impulse Response INL Integral Linearity Error ISDN Integrated Services Digital Network ISM Industrial, Scientific and Medical Kalimba DSP core for CSR's range of chips ksps KiloSamples Per Second L2CAP Logical Link Control and Adaptation Protocol (protocol layer) LC Link Controller LCD Liquid Crystal Display LFBGA Low profile Fine Ball Grid Array LNA Low Noise Amplifier CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. _aiEceEPJjiaiaaECa~ Product Data Sheet ACL Page 105 of 108 Terms and Definitions LPF Low Pass Filter LSB Least-Significant Bit MCU MicroController Unit -law Audio Encoding Standard MIPS Million Instructions Per Second Memory Management Unit MISO Master In Serial Out NOB Number Of Bits OHCI Open Host Controller Interface PA Power Amplifier PCM Pulse Code Modulation. Refers to digital voice data PIO Parallel Input Output PLL Phase Lock Loop ppm parts per million PS Key Persistent Store Key RAM Random Access Memory REB Read enable (Active Low) REF Reference. Represents dimension for reference use only. RF Radio Frequency RFCOMM Protocol layer providing serial port emulation over L2CAP RISC Reduced Instruction Set Computer rms root mean squared RSSI Receive Signal Strength Indication RTS Ready To Send RX Receive or Receiver SCO Synchronous Connection-Oriented. Voice oriented Bluetooth packet SDK Software Development Kit SDP Service Discovery Protocol SIG Special Interest Group SINAD SIgnal to Noise ratio And Distortion SNR Signal to Noise Ratio SPI Serial Peripheral Interface SSI Synchronous Serial Interface TBD To Be Defined TX Transmit or Transmitter UART Universal Asynchronous Receiver Transmitter USB Universal Serial Bus or Upper Side Band (depending on context) VCO Voltage Controlled Oscillator VFBGA Very Fine Ball Grid Array VM Virtual Machine W-CDMA Wideband Code Division Multiple Access WEB Write Enable (Active Low) www world wide web CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. _aiEceEPJjiaiaaECa~ Product Data Sheet MMU Page 106 of 108 Document History Document History Revision Date: BC358239A-ds-001Pa FEB 03 Original publication of this document. (CSR reference: BC358239A-db-001Pa) BC358239A-ds-001Pb JUN 03 Pinout added and associated changes. Plus updates with respect to performance data of initial devices History Moved to Pre-Production Status FEB 04 Additional information to Device Terminal Description Section, Software Stacks, Solder Profile and Crystal Characteristics. Lead free only device. Important Notice: Major additions to CODEC including modifications to pinout BC358239A-ds-001Pd AUG 04 Update to power consumption table, to include 'Digital audio processing subsystem' figure. Datasheet still at Pre-Production status. Moved to Production status and corresponding Databook published (CSR reference: BC358239A-db-001Pe) BC358239A-db-001Pe SEP 04 Package dimension drawing updated to new style Application Schematic added Stereo CODEC audio parameters added and appearance of tables modified BC358239A-db-001Pf JUN 05 Tape and reel information added Amendment to PIO[7], Device Terminal Functions, 10x10mm LFBGA Package Information; amendment to PIO[7], Device Diagram Updated bulleted list concerning supported and device-compatible CODECs, PCM CODEC Interface, Device Terminal Descriptions Updated note (5) concerning VREG_EN and VREG_IN, Linear Regulator table, Electrical Characteristics BC358239A-db-001Pg AUG 05 Updated note (3) concerning specified output voltage in the Auxiliary DAC table (Input/Output Terminal Characteristics), Electrical Characteristics Moved Power Consumption subsection from Radio Characteristics to Electrical Characteristics Changed title of Record of Changes to Document History; changed title of Acronyms and Abbreviations to Terms and Definitions Changed copyright information on Status Information page Updated Contact Information BC358239A-db-001Ph DEC 05 Updated Table 8.10:DAC Analogue Gain Settings in Device Terminal Descriptions, Stereo Audio Interface; Corrected Microphone Input in Device Terminal Descriptions, Stereo Audio Interface; Updated copyright information BC358239A-db-001Pi APR 06 Updated references to VDD_MEM. See Electrical Characteristics, Sensitivity to Disturbances and I/0 Parallel Ports in Device Terminal Descriptions. New CSR reference: CS-101560-DSP1 Data Book and Data Sheet: CS-101560-DSP1 OCT 06 Corrected list of clock signals, last paragraph, I/0 Parallel Ports, Device Terminal Descriptions. Added note to Stereo Audio CODEC Characteristics, Electrical Characteristics. Updated Power Supply, Device Terminal Descriptions. Updated Application Schematic. Updated Solder Profiles. Contact information moved to Ordering Information. Data Book only: updated Tape and Reel Information (includes addition of MSL subsection); PCB Design and Assembly Considerations added. CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 107 of 108 _aiEceEPJjiaiaaECa~ Product Data Sheet BC358239A-ds-001Pc Document History BlueCoreTM3-Multimedia _aiEceEPJjiaiaaECa~ Product Data Sheet Product Data Sheet CS-101560-DSP1 (BC358239A-ds-001P) October 2006 CS-101560-DSP1 (BC358239A-ds-001P) Production Information (c) CSR plc 2006 This material is subject to CSR's non-disclosure agreement. Page 108 of 108