beautypg.com

5 audio manager firmware module, 1 overview, 2 audio manager – Cirrus Logic AN298 User Manual

Page 19

background image

AN298RC14

19

5 Audio Manager Firmware Module

5 Audio Manager Firmware Module

5.1 Overview

The Audio Manager Firmware module provides the ability for the microcontroller to easily manage general audio controls
such as gain, mute, trim and channel remap.

5.2 Audio

Manager

Index = 0xHHHH, data value = 0xhhhhhhhh

Write = 0x8300HHHH 0xhhhhhhhh

Read Request = 0x83c0HHHH

Read Response = 0x03c0HHHH 0xhhhhhhhh

Table 5-1. Audio Manager

Index

Variable

Description

0x0000

GAIN

0x00000000–0x7FFFFFFF (-inf. to +24 dB). Overall System Gain. Signed value with decimal
point to the right of bit 27. Range is zero to (16-2

-27

). Negative values can be used to invert the

phase of all the outputs.
Default = 0x08000000 (+0 dB)

0x0001

MUTE

0/1 = Unmute/Mute Audio
Default = 0x00000000 (unmuted)

0x0002

CHAN_0_TRIM

0x00000000–0x80000000 (0.0 to 1.0)
Volume trim for channel 0 (Left Channel)
Default = 0x80000000

0x0003

CHAN_1_TRIM

0x00000000–0x80000000 (0.0 to 1.0)
Volume trim for channel 1 (Center Channel)
Default = 0x80000000

0x0004

CHAN_2_TRIM

0x00000000–0x80000000 (0.0 to 1.0)
Volume trim for channel 2 (Right Channel)
Default = 0x80000000

0x0005

CHAN_3_TRIM

0x00000000–0x80000000 (0.0 to 1.0)
Volume trim for channel 3 (Left Surround Channel)
Default = 0x80000000

0x0006

CHAN_4_TRIM

0x00000000–0x80000000 (0.0 to 1.0)
Volume trim for channel 4 (Right Surround Channel)
Default = 0x80000000

0x0007

CHAN_5_TRIM

0x00000000–0x80000000 (0.0 to 1.0)
Volume trim for channel 5 (Left Surround Back Channel)
Default = 0x80000000

0x0008

CHAN_6_TRIM

0x00000000–0x80000000 (0.0 to 1.0)
Volume trim for channel 6 (Right Surround Back Channel)
Default = 0x80000000

0x0009

CHAN_7_TRIM

0x00000000–0x80000000 (0.0 to 1.0)
Volume trim for channel 7 (LFE0 Channel)
Default = 0x80000000

0x000A

Reserved

Reserved

0x000B

Reserved

Reserved

0x000C

Reserved

Reserved