Cirrus-logic AN333 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Hardware Cirrus-logic AN333 herunter. Cirrus Logic AN333 User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 28
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Copyright Cirrus Logic, Inc. 2014
(All Rights Reserved)
http://www.cirrus.com
AN333
APR '14
CS470xx Firmware User’s Manual:
General Overview and Common Firmware Modules
Contents
Document Strategy
Overview
Firmware Messaging
OS Firmware Module
Audio Manager Firmware Module
PCM Firmware Module
Watchdog Timer
Document Revisions
Overview
This document provides a description of the operation of
firmware for the CS470xx family of DSPs and attempts to
explain frequently used terminology and, at the same time,
systematically explains the OS operation and
communication for the CS470xx.
This document is a general overview to the family of
CS470xx Firmware User’s Manuals designated by the
general name AN333[X][Y]; where [X] = MPM (matrix
processing module), VPM (virtual processing module),
PPM (post processing module), and [Y] = A,B,C. The
CS470xx family of DSPs does not contain a compressed
data decoder.
CS470xx Block Diagram
Mid-Processor Overlay
PCM Outputs
Post-Processor Overlay (with APP loaded)
ID = 0x83
ID = 0xD9
ID = 0xD5ID = 0xD4
Tone
Control
Module
Re-EQ
Module
Bass
Management
Module
Parametric
EQ
Module
Delay
Module
Audio Manager
Module
Includes:
Gain (master)
Mute (master)
Channel Trim
Channel Remap
Up-sampler
Matrix Processor Module
Crossbar
Virtualizer Processor
Module
Dolby Headphone®
Virtualizer Processor Overlay
Matrix Processor Overlay
PCM inputs
Down-
sampler
AN333
Seitenansicht 0
1 2 3 4 5 6 ... 27 28

Inhaltsverzeichnis

Seite 1 - Overview

Copyright  Cirrus Logic, Inc. 2014(All Rights Reserved)http://www.cirrus.comAN333APR '14CS470xx Firmware User’s Manual: General Overview and Com

Seite 2 - 1 Document Strategy

10 AN3334 Operating System (OS) Firmware Module 4 Operating System (OS) Firmware ModuleFigure 4-1. Unsolicited Read Command and Data WordsTable 4-1 de

Seite 3 - Code Image (.uld) Files

AN333 11 4 Operating System (OS) Firmware ModuleTable 4-1. OS Firmware ManagerIndex Variable Description0x0000 KICKSTART Bit 16: 0/1 Disable/enable m

Seite 4 - 2.2 Download Sequence

12 AN3334 Operating System (OS) Firmware Module 0x0003 SAMPLE_RATE† The host must set the sample rate variable to inform firmware modules of the sampl

Seite 5

AN333 13 4 Operating System (OS) Firmware Module0x003C GPIO_OE GPIO data direction register. Bits 31:0When Bit[i] is 1, pin GPIO[i] is configured as a

Seite 6

14 AN3334 Operating System (OS) Firmware Module 0x0059 SCP_CONTROL Post pre-kick-start mode of SCP communicationBits 2 1 00 0 0 => I2C Ma

Seite 7 - (Firmware Version)

AN333 15 4 Operating System (OS) Firmware Module0x0071 OUTPUT_APBSRC_FSI_SEL Bits 31:1 ReservedBit 0 FSI Select:0x0 - FSI = SPDIFRX_LRCLK0x1 - FSI = D

Seite 8 - 3 Firmware Messaging

16 AN3334.1 Memory Configurations for IO_CONFIG (Index 0x0001) 4.1 Memory Configurations for IO_CONFIG (Index 0x0001)Table 4-2 shows the memory config

Seite 9 - 3.1.3 Unsolicited Message

AN333 17 4.2 Details of Index 0x0001Table 4-5. Input Configurations versus Slot index for Setting Up Input Channel RemapConfigurable Input Channel Ma

Seite 10

18 AN3334.2 Details of Index 0x0001 Bits 15:0 I/O Configuration4000: 4-channel ADC + 2-channel S/PDIF Rx Input1 ADC1 left channel 02 ADC1 right channe

Seite 11 - AN333 11

AN333 19 4.3 OS Manager in DSP Composer4.3 OS Manager in DSP ComposerMost configuration information described in Section 4 can be controlled in DSP Co

Seite 12 - 12 AN333

2 AN3331 Document Strategy 1 Document StrategyThe CS470xx has been designed with inherently flexibility in terms of firmware usage. Each instance of o

Seite 13 - AN333 13

20 AN3334.4 Unsolicited Messages 4.4 Unsolicited MessagesIndex = 0xHHHH, data value = 0xhhhhhhhhNo Write Message. No Read Request.Unsolicited Read Res

Seite 14 - 14 AN333

AN333 21 4.4 Unsolicited MessagesTable 4-7. Autodetect MessagesIndex Variable Description0x0000 AUTODETECT_RESPONSE Bit 31 = Decodable_Stream_Flag= 0

Seite 15 - AN333 15

22 AN3335 Audio Manager Firmware Module 5 Audio Manager Firmware ModuleThe Audio Manager Firmware module provides the ability for the microcontroller

Seite 16 - 4.2 Details of Index 0x0001

AN333 23 5 Audio Manager Firmware Module0x000F CHAN_13_TRIM† 0x00000000 – 0x80000000 (0.0 to 1.0)Volume trim for channel 13 (Application Dependent Cha

Seite 17 - AN333 17

24 AN3335.1 Audio Manager in DSP Composer Environment 5.1 Audio Manager in DSP Composer EnvironmentDSP Composer can control all configuration informa

Seite 18 - 18 AN333

AN333 25 6 PCM Firmware Module6 PCM Firmware ModuleThe PCM firmware module provides routing and control functions for stereo and multichannel PCM inpu

Seite 19

26 AN3336.2 PCM Manager in DSP Composer 6.2 PCM Manager in DSP ComposerAll configuration information described in Section 6.1 can be controlled in DS

Seite 20 - 4.4 Unsolicited Messages

AN333 27 6.3 PCM Module Notes6.3 PCM Module NotesThe following are the possible PCM input modes:• Stereo Mode: Stereo PCM into DAI_D4. 2 Channel Mode

Seite 21 - AN333 21

28 AN3338 Document Revisions 8 Document RevisionsRevision Date ChangesRC12 February, 2012 Updated description of 0x0045 and 0x0046 in Table 4-1. Updat

Seite 22 - Table 5-1. Audio Manager

AN333 3 2 Overview2 OverviewThe firmware that runs on this device expects a stereo or multichannel PCM input source. This section describes the overla

Seite 23 - AN333 23

4 AN3332.2 Download Sequence Figure 2-1. Download SequenceStep 2 (optional): Download a matrix processing module(Examples: Crossbar Mixer, Pro Logic I

Seite 24 - Figure 5-2. Sample Project

AN333 52.3 Firmware Modules and Associated Application NotesTable 2-1. Firmware Module Read and Write Addresses with Associated Application Note Ref

Seite 25 - 6 PCM Firmware Module

6 AN333Virtual Processor Overlay (continued)Cirrus Virtualization Technology (CVT) - Virtualizer Processor Module (AN333VPMN)09 0xC100HHHH 0xhhhhhhhh

Seite 26 - 0x000E PCM_INPUT_MODE

7 AN333Post-processing Overlays (continued)SPP (Standard Post Processing) in DSP Composer Module Processing Order:1. Tone Control2. BM3. Delay4. AMSee

Seite 27 - 7 Watchdog Timer

8 AN3333 Firmware Messaging 3 Firmware MessagingWhile using the CS470xx, it is necessary to communicate with the DSP in order to control or monitor th

Seite 28 - 8 Document Revisions

AN333 9 3.1 Communication OverviewFig. 3-2 provides the format of a solicited read message:Figure 3-2. Read Command Data WordFig. 3-3 provides the for

Kommentare zu diesen Handbüchern

Keine Kommentare