Contents
Document History .........................................................................................................................................................2
Contacts........................................................................................................................................................................2
Trademarks, Patents and Licences ..............................................................................................................................2
Life Support Policy and Use in Safety-critical Compliance............................................................................................2
Performance and Conformance....................................................................................................................................2
Contents .......................................................................................................................................................................3
Tables, Figures and Equations.....................................................................................................................................3
1. Introduction ........................................................................................................................................................5
2. Hardware ...........................................................................................................................................................6
3. Getting Started...................................................................................................................................................7
3.1. Supported Development Platforms.................................................................................................................7
3.2. Building and Flashing the Subwoofer Application...........................................................................................7
3.3. Enabling Debug Output..................................................................................................................................8
3.4. Connecting to another Device via Bluetooth...................................................................................................8
3.5. Building a Soundbar with Subwoofer Support ................................................................................................9
4. Configuration....................................................................................................................................................10
4.1. Application Features (PSKEY_USR0)..........................................................................................................11
4.2. Device ID Configuration (PSKEY_USR1).....................................................................................................13
4.3. Remote Device ID Configuration (PSKEY_USR2) .......................................................................................13
4.4. LED Configuration (PSKEY_USR3) .............................................................................................................14
4.5. Button Configuration (PSKEY_USR4)..........................................................................................................17
4.6. I²S Initialisation Configuration (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 with a Remote Device.......................................................................................................................22
5.4. Connecting with the Paired Device...............................................................................................................23
5.5. Wired Mode..................................................................................................................................................24
5.6. Buttons .........................................................................................................................................................25
5.7. Amplifier Control...........................................................................................................................................25
Document References................................................................................................................................................28
Terms and Definitions.................................................................................................................................................28
Tables, Figures and Equations
Table 3.1: Subwoofer Project Configurations................................................................................................................7
Table 4.1: PS Keys Used by ADK 3.0 Subwoofer Application....................................................................................10
Table 4.2: Application Features PS Key Configuration...............................................................................................12
Table 4.3: Device ID PS Key Configuration................................................................................................................13
Table 4.4: Remote Device ID PS Key Configuration...................................................................................................13
Table 4.5: LED Pattern Data Structure .......................................................................................................................14
Table 4.6: Plot Point Values for the Red LED of the Example Pattern........................................................................15
Table 4.7: Plot Point Values for the Blue LED of the Example Pattern.......................................................................16
Table 4.8: Description of the Example LED Pattern with Populated Values ...............................................................16
Table 4.9: Order LED Patterns Must be Stored to the LED Configuration Data..........................................................17
Table 4.10: Structure Used for the Button Configuration Data....................................................................................17