background image

 

 

Page 7 of 28 

© Cambridge Silicon Radio Limited 2014 

CS-310152-UGP1 

 

www.csr.com 

BlueC

or

e

 A

D

K

 3

.0 

Subw

oo
fer

 U

s

er

 G

uide

 

3. 

Getting Started 

3.1. 

Supported Development Platforms 

The Subwoofer application is designed so that it runs using default settings on either CSR8670 or BlueCore5-
Multimedia hardware. 

There are four project configuration settings to choose from, depending on the hardware and debug requirements,, 
the default configuration is to run on the CSR8670 hardware with debug disabled, see Table 3.1. 

Table 3.1 lists the available project configurations. 

Configuration 

Description 

Subwoofer-8670-Debug 

Select this configuration when using the CSR8670 hardware and debug 
output is desired 

Subwoofer-8670-Release 

Select this configuration when using the CSR8670 hardware and debug 
output is not required 

Subwoofer-BC5MM-Debug 

Select this configuration when using the BlueCore5-Multimedia hardware 
and debug output is desired 

Subwoofer-BC5MM-Release 

Select this configuration when using the BlueCore5-Multimedia hardware 
and debug output is not required 

Table 3.1: Subwoofer Project Configurations 

Note: 

When running on BlueCore5-Multimedia Hardware, the Execution mode needs to be set to 

Native mode

, as 

Assisted Native

 mode is not available with this platform.  

Assisted Native

 mode should be selected when using the CSR8670. 

3.2. 

Building and Flashing the Subwoofer Application 

To download the Subwoofer application to a suitable device: 

1. 

Connect the interface board to the development board and attach the SPI interface and USB charger. 

2. 

Attach suitable headphones and microphone to the sockets on the development board. 

3. 

Open the xIDE development environment from ADK 3.0. 

4. 

Select 

Open Workspace

 from the 

Project

 menu and select the subwoofer application from the 

apps

 sub-

directory. 

5. 

By default the application is setup to run on CSR8670 hardware, to change hardware or audio mode, 
see section 4. 

6. 

Make sure the Transport is set correctly to do this choose 

Debug > Transport

 and select the required 

Debug Transport. 

7. 

Use 

PSTool

 to merge the relevant PS Keys onto the device, for basic operation: 

 

If using a CSR8670 device (CNS10001v4 development board), merge the 

subwoofer_configuration_8670.psr

 file. 

 

If using a BlueCore5-Multimedia device (DEV-PC-1645B development board), merge the 

subwoofer_configuration_1645.psr

 file. 

8. 

Select 

Build Active Project (F7)

 from the 

Build

 menu. 

9. 

Select 

Run (F5) 

from the 

Debug

 menu. 

10. 

The application is now running on the hardware. 

Содержание BlueCore ADK 3.0

Страница 1: ...Page 1 of 28 Cambridge Silicon Radio Limited 2014 CS 310152 UGP1 www csr com ADK 3 0 Subwoofer User Guide Issue 1 BlueCore...

Страница 2: ...CSR Other products services and names used in this document may have been trademarked by their respective owners The publication of this information does not imply that any licence is granted under an...

Страница 3: ...on PSKEY_USR6 18 4 7 I S Data Configuration PSKEY_USR7 20 4 8 SWAT SDP Configuration PSKEY_USR8 20 5 The ADK 3 0 Subwoofer Application 21 5 1 Libraries Used 21 5 2 Application States 22 5 3 Pairing wi...

Страница 4: ...er Guide Table 5 1 Application States Supported by the ADK 3 0 Application 22 Figure 1 1 Example System Block Diagram 5 Figure 4 1 Example LED Plot for a Pattern Using Two LEDs 15 Figure 5 1 ADK 3 0 S...

Страница 5: ...or developers by using the ADK Configuration Tool which allows customisation of the device to meet specific requirements e g to Assign PIO functionality Associate device control with different button...

Страница 6: ...lication to the hardware CSR recommends clearing all the PS Keys from the development board This places the board in to a known good state All tools are available in the ADK tools bin sub directory Al...

Страница 7: ...5 Multimedia Hardware the Execution mode needs to be set to Native mode as Assisted Native mode is not available with this platform Assisted Native mode should be selected when using the CSR8670 3 2 B...

Страница 8: ...ty paired device list 1 1 1 The Subwoofer automatically enters connectable mode and begins making connection requests to paired device s 1 1 2 To manually put the Subwoofer into pairing mode press and...

Страница 9: ...Build menu This sets all relevant build properties However if modifications to the sink project have been made for previous builds check that the following VM build options are included in the Projec...

Страница 10: ...s each configuration and how to setup a valid configuration Table 4 1 lists the PS Keys used by the subwoofer application PS Key ID Description PSKEY_USR0 Application features configuration PSKEY_USR1...

Страница 11: ...s the using a setting of 10 ms to allow time for digital mute to be applied 4 0 15 Amplifier MUTE Timer Time it takes for the amplifier to MUTE the audio Default 5 ms Note If MUTE I O lines are not su...

Страница 12: ...te This bit is ignored if amp Power Control I O is disabled 6 8 Restriction Level for Remote Devices 0 Disabled default 1 Vendor 2 Vendor product 3 Vendor product min version 4 Vendor product exact ve...

Страница 13: ...re Table 4 4 lists the structure for PSKEY_USR2 Word s Bit s Description 1 0 15 VendorIDSource 2 0 15 VendorID 3 0 15 ProductID 4 0 15 Version 5 0 15 Alternate VendorIDSource 6 0 15 Alternate VendorID...

Страница 14: ...rmediate plot point s for LED_B C 1 The Last plot point for LED_A POINTS B C 2 The first plot point for LED_B D 2 Intermediate plot point s for LED_B C 2 The last plot point for LED_B POINTS C C 3 The...

Страница 15: ...points for each LED that is required for that pattern The number of points for each pattern is undefined but must be at least two for any LED that is used by the pattern To create an empty pattern set...

Страница 16: ...me value for each point by this value 100 ms NUM_POINTS_A 0x00 Green LED not required for this pattern NUM_POINTS_B 0x04 There are 4 red LED plot points for this pattern NUM_POINTS_C 0x06 There are 6...

Страница 17: ...ing 2 LED Pattern for subwoofer_connecting subwoofer_connected 3 LED Pattern for subwoofer_connected subwoofer_open 4 LED Pattern for subwoofer_open subwoofer_streaming 5 LED Pattern for subwoofer_str...

Страница 18: ...Justified I S Justified Data Delay by 1 Bit Bits per Sample USR Data Key Length No of init I C Commands No of I C Volume Commands Volume Commands Offset Type Uint8 Uint8 Uint4 Uint4 Uint8 Uint8 uint8...

Страница 19: ...me change is made Volume Commands Offset Specifies the offset in words of the first I C volume command in the PSKEY_USR37 No of I C Shutdown Commands Specifies the number of individual I C commands th...

Страница 20: ...t value would be 1 since the first byte is always the I C device ID the first data byte 0 is the 0x05 set volume command and the second data byte 1 is the actual volume level The volume level is not n...

Страница 21: ...ding _debug Table 3 2 lists all libraries that the Subwoofer uses the default variant is highlighted in bold Library Available Variants Notes swat swat swat_debug connection connection connection_l2ca...

Страница 22: ...l and a media channel are open media data is streaming on the media channel Table 5 1 Application States Supported by the ADK 3 0 Application 5 3 Pairing with a Remote Device The initial state of the...

Страница 23: ...n after a link loss or after a disconnection If the remote device is not available it keeps re trying to connect see Figure 5 1 Figure 5 1 ADK 3 0 Subwoofer Device Connection Establishment Procedure W...

Страница 24: ...ates As soon as a Bluetooth connection is established with the paired device wired mode is disabled 5 5 2 Wired Mode EQ Filters The wired mode supports audio processing through the use of digital EQ B...

Страница 25: ...lt and a valid PIO configuration needs to be created to enable the test modes 5 7 Amplifier Control The ADK 3 0 Subwoofer offers complete control over the amplifier power on and power off procedures t...

Страница 26: ...nnecting an audio stream the following procedure must be followed 1 Mute the amplifier 1 1 Wait for the amplifier to mute 2 Power off the amplifier 2 1 Wait for the amplifier to power off 3 Disconnect...

Страница 27: ...f timer 6 DAC power off timer These timers are configurable in the Application Features configuration described in section 4 1 5 7 4 Supported Audio Output The device supports two modes of audio outpu...

Страница 28: ...r decoder CVC Clear Voice Capture DAC Digital to Analogue Converter DSP Digital Signal Processor or Processing DUT Device Under Test EEPROM Electrically Erasable Programmable Read Only Memory EQ EQual...

Отзывы: