C.1.13 intelligent room calibration 2 (irc2), C.1.13.1 configuring the dsp for irc2 – Cirrus Logic CS4970x4 User Manual

Page 161

Advertising
background image

C-8

Copyright 2013 Cirrus Logic, Inc.

DS810UM6

Introduction
CS4953x4/CS4970x4 System Designer’s Guide

Cirrus Logic recommends that apply_crossbar_b be used for dual zone output with Logic 7 and HD
decoders. Also, use apply_crossbar_b for DTSHD-MA main downmix as well as dual zone downmix.

C.1.13 Intelligent Room Calibration 2 (IRC2)

See the Cirrus Logic application note, AN246PPJ for a complete description of the IRC2 firmware module.

C.1.13.1 Configuring the DSP for IRC2

Follow these steps to configure the DSP for IRC2:

1.

After master_boot, issue these comands:

UCMD Ef00000000000100

UCMD Ef00000600000003 # Change source to Multi-channel analog input)

UCMD Ef00001300000200 # Use Ef00001300000100 if your MCLK in

# MULTICHANNEL ANALOG INPUT is 12.288 MHz)

UCMD Ef000007000s00tt # No decoder loaded preferred but optional)

UCMD Ef00000800000rr

UCMD Ef00009000x000p

UCMD Ef0000a0000000q

UCMD Ef00000000000001

p = uld id of IRC

x = Default Mode of IRC as in the xml file

q = uld ID of APP

rr = uld ID of Crossbar

tt= uld_id of serial_flash_pcm

s= mode of serial_flash_pcm containing configuration command for

the serial flash device connected

2. Run the IRC tests as per IRC2 appnote, AN246PPJ

3. Read the IQ coefficients one by one.

4. Store the EQ coefficient by writing to the serial flash. Refer to Serial Flash application note,

AN288MPF for instructions on how to write to the serial flash.

The coefficients are saved in the sector with starting address defined in index 0x001E of DSP Manager.
Use the command , efc0001E, to read).

Note: This coefficients are obtained from the xml file. The .xml file will have a PPM mode similar to

the mode described in the following example.

Example:

<module id="0x55">

<mode index="1" space="dsp_scratchpad" offset="0"

sizeinbytes="0x844" />

The “dsp scratchpad” address is also specified in the .xml file. The size in bytes needs to be calculated
based on the data that is written to the serial flash such as the number of channels , bands, etc., which
includes the first word which is the "number of words".

Advertising
This manual is related to the following products: