User guide

7-6 Copyright 2013 Cirrus Logic, Inc. DS810UM6
CS4953x4/CS4970x4 DSP Manager API Description
CS4953x4/CS4970x4 System Designer’s Guide
7.4 CS4953x4/CS4970x4 DSP Manager API Description
The DSP Manager module is the firmware module that is responsible for much of the host
communication, performing auto-switching, flash updates, and responding to host-initiated configuration
changes. The DSP Manager API allows the host to:
Directly control the current firmware configuration,
to find out what the current configuration is
Control what hardware is used for the audio source
Control common runtime parameters such as gain, trim, and bass management speaker
configuration
Initiate field flash updates from audio stream
Read/write an area of flash reserved for host use
7.4.1 Microcontroller Interface (API)
Write Command = 0xEF0nHHHH 0xhhhhhhhh
OR Command = 0xEF40HHHH 0xhhhhhhhh
AC3
Bits 31:30 = DSUREXMOD variable value
Bits 29:28 = DHEADPHONMOD variable value
Bit 27 = ADCONVTYP variable value
Bit 24 = LFEON variable value
Bits 20:16 = DIALNORM variable value
Bits 15:13 = BSMOD variable value
Bits 12:8 = BSID variable value
Bits 5:4 = DSURMOD variable value
Bits 2:0 = ACMOD variable value
DTS
Bits 31:28 = Reserved
Bits 27:24 = LFF variable value
Bits 23:20 = PCMR variable value
Bits 15:12 = EXT_Audio ID
Bits 11:8 = EXT_Audio
Bits 7:0 = AMODE variable value
AAC
Bits 31:25 = Reserved
Bits 24 = LFE Element
Bits 23:4 = Reserved
Bits 3:0 = Channel Configuration
DDPLUS
See the AN304DA application note, “Dolby
®
Digital Plus Decoder
Module.”
DTS-HD-HRA
See the AN304DB application note, “DTS-HD
High Resolution
Audio Decoder Module.”
DTS-HD-MA
See the AN304DD application note, “DTS-HD™ Master Audio
Decoder Module.”
DTS-HD-LBR
See the AN304DE application note, “DTS Express
/ DTS-HD
Low Bit Rate Secondary Audio Decoder Module“
TRUEHD
See the AN304DC application note, “Dolby
®
TrueHD Decoder
Module.”
Table 7-2. DSP_LAST_ACCN_MSG Messages
Decoder Type Description