beautypg.com

3 os manager in dsp composer, 4 unsolicited messages – Cirrus Logic AN298 User Manual

Page 17

background image

AN298RC14

17

4.3 OS Manager in DSP Composer

4.3 OS

Manager

in DSP Composer

Most configuration information described in

Section 4.2

can be controlled in DSP Composer. The OS Manager indices are

available in the Audio In, Audio Out, and System blocks. To insert these, simply drag the Audio In, Audio Out, and System
blocks to the workspace. Once Audio In, Audio Out, and System blocks are on the workspace the pre-kick and runtime
controls are accessible by double-clicking in there corresponding blocks. The controls are adjustable during runtime to
interact with the DSP in a similar way as would a host-microcontroller in an actual system.

Fig. 5-4

shows when you initially

drag the Audio In block onto the workspace, the Audio In Device Properties automatically pops up, prompting to the user
to select the input source and data format. This is also accessible by right-clicking the Audio In block.

4.4 Unsolicited

Messages

Index = 0xHHHH, data value = 0xhhhhhhhh

No Write Message. No Read Request.

Unsolicited Read Response = 0x8100HHHH 0xhhhhhhhh

0x0044

PLL_STANDARD_CONFIG

Bits 11:4 Reference Clock Frequency - Frequency of clock attached to XTI pin,
must be set:

0x00 = 12.288 MHz
0x01 = 24.576 MHz
0x02–0x0F = Reserved
0x10 = 18.432 MHz
0x11 = 27 MHz
0x12–0xFF = Reserved

Bits 3:0 DSP core speed

0x0 = Custom speed*
0x1 = 101 MHz
0x3 = 122 MHz
0x5 = 152 MHz
0x2, 0x4, 0x6–0xF = Reserved

* Custom configuration uses the values specified in the PLL_CUSTOM_
CONFIG_0 and PLL_CUSTOM_CONFIG_1 variables.
Default = 0x00000011

0x0045

PLL_CUSTOM_CONFIG0

Bits 31:0 PLL Custom Configuration 0:

0x00002402 - 11.2896 MHz - 101 Core Speed
0x00002B02 - 11.2896 MHz - 122 Core Speed
0x00002302 - 11.2896 MHz - 130 Core Speed
0x00002802 - 11.2896 MHz - 152 Core Speed
0x00002002 - 12.288 MHz - 130 Core Speed
0x00001502 - 18.432 MHz - 130 Core Speed
0x80000000 - 24.576 MHz - 130 Core Speed
0x74000000 - 27.000 MHz - 130 Cord Speed

0x0046

PLL_CUSTOM_CONFIG1

Bits 31:0 PLL Custom Configuration 1:
0x00000333 - 101 or 122 Core Speed
0x00000233 - 130 Core Speed

0x0047–0x0051

Reserved

Reserved

0x0052

ZERO_LSB_MASK

Mask value used to zero DAO output. Valid only if bit 8 of Audio Manager Control
Word is 1.
For example, to restrict DAO to 24bit output, ZERO_LSB_MASK=0xFFFFFF00.

0x0053–0x0054

Reserved

Reserved

0x0055

MALLOC_SUCCESS_AND_

ATTEMPT_COUNTS

Bits 31:16 Number of successful mallocations
Bits 15:0 Number of mallocations attempts

0x0056

Reserved

Reserved

Table 4-1. OS Module API (Cont.)

Index

Variable

Description