beautypg.com

1 audio manager in dsp composer environment, 2 dsp composer sample projects, Fig. 5-2 – Cirrus Logic AN333 User Manual

Page 24

background image

24

AN333

5.1 Audio Manager in DSP Composer Environment

5.1 Audio Manager in DSP Composer Environment

DSP Composer can control all configuration information described in

Section 5

. The Audio Manager is included with the

(SPP) Standard Post Processing Overlay as well as the (APP) Advanced Post Processing Overlay Post Processing
Modules. To insert the Audio Manager, drag the Post Processing Modules folder to the workspace and select either SPP
or APP. Once the SPP or APP Module is on the workspace the runtime controls for Audio Manager can be accessed by
double-clicking the SPP or APP Module. The runtime control for the Audio Manager Module is shown in

Fig. 5-1

.

Figure 5-1. DSP Composer Audio Manager Runtime Control Panel

5.2 DSP Composer Sample Projects

Sample projects for various firmware applications have been provided in DSP Composer. Go to File > Open and browse
to CirrusDSP\CS470xx\projects\. There are several sample projects. Open ‘adc_in_dac_out.cpa’, which is configured for
PCM processing as shown in

Fig. 5-2

.

Figure 5-2. Sample Project

0x0020

DAO2_XMT_LEFT_REMAP†

or

DAC1_DATA3_L_REMAP

Selects which internal channel (0-15) is routed to DAC1 channel 6 and DAO2 XMT
LEFT (if DAO2 XMT is enabled).
Note: In case DAO XMT2 is enabled, this remap will supersede the remap definition
DAO1_DATA2_L_REMAP.
A single internal channel may be mapped to multiple outputs.
Default = 0x00000005 (Left Surround Back Channel Audio Data)

0x0021

DAO2_XMT_RIGHT_REMAP†

or

DAC1_DATA3_R_REMAP

Selects which internal channel (0-15) is routed to DAC1 channel 7 and DAO2 XMT
RIGHT (if DAO2 XMT is enabled).
Note: In case DAO XMT2 is enabled, this remap will supersede the remap definition
DAO1_DATA2_R_REMAP.
A single internal channel may be mapped to multiple outputs.
Default = 0x00000006 (Right Surround Back Channel Audio Data)

0x0022

CONTROL_WORD†

Bit 28: 0/1 Disable/Enable Apply Swapping
Bit 4: 0/1 Disable/Enable Apply Remap
Bit 0: 0/1 Disable/Enable Apply Gain
Default = 0x10000011

Table 5-1. Audio Manager (Cont.)

Index

Variable

Description