Electronic Components Datasheet Search
  English  ▼

X  

CS42L92 Datasheet(PDF) 98 Page - Cirrus Logic

Part # CS42L92
Description  32-Bit 384-kHz Hi-Fi Audio Codec
PDF  333 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  CIRRUS [Cirrus Logic]
Direct Link  http://www.cirrus.com
Logo CIRRUS - Cirrus Logic

CS42L92 Datasheet(HTML) 98 Page - Cirrus Logic

Back Button CS42L92 Datasheet HTML 94Page - Cirrus Logic CS42L92 Datasheet HTML 95Page - Cirrus Logic CS42L92 Datasheet HTML 96Page - Cirrus Logic CS42L92 Datasheet HTML 97Page - Cirrus Logic CS42L92 Datasheet HTML 98Page - Cirrus Logic CS42L92 Datasheet HTML 99Page - Cirrus Logic CS42L92 Datasheet HTML 100Page - Cirrus Logic CS42L92 Datasheet HTML 101Page - Cirrus Logic CS42L92 Datasheet HTML 102Page - Cirrus Logic Next Button
Zoom Inzoom in Zoom Outzoom out
 98 / 333 page
background image
98
DS1162F2
CS42L92
4.4 DSP Firmware Control
4.4.3.2
DSP Clocking
Clocking is required for the DSP processing block, when executing software or when supporting DMA functions. (Note that
clocking is not required for access to the firmware registers by the host processor.) Clocking within the DSP is enabled
and disabled automatically, as required by the DSP core and DMA channel status.
The clock source for each DSP is derived from DSPCLK. See Section 4.16 for details of how to configure DSPCLK.
The clock frequency for the DSP is selected using DSP1_CLK_FREQ_SEL. The DSP clock frequency must be less than
or equal to the DSPCLK frequency.
The DSP1_CLK_FREQ_STS field indicates the clock frequency for the DSP core. This can be used to confirm the clock
frequency, in cases where code execution has a minimum clock frequency requirement. The DSP1_CLK_FREQ_STS
field is only valid when the core is running code; typical usage of this field would be for the DSP core itself to read the clock
status and to take action as applicable, in particular, if the available clock does not meet the application requirements.
Note that, depending on the DSPCLK frequency and the available clock dividers, the DSP1 clock frequency may differ
from the selected clock. In most cases, the DSP1 clock frequency equals or exceeds the requested frequency. A lower
frequency is implemented if limited by either the DSPCLK frequency or the maximum DSP1 clocking frequency.
The DSPCLK configuration provides input to the interrupt control circuit and can be used to trigger an interrupt event when
the DSP1 clock frequency is less than the requested frequency; see Section 4.15.
4.4.3.3
DSP Code Execution
After the DSP firmware has been loaded, and the clocks configured, the DSP block is enabled by setting DSP1_CORE_
ENA. When the DSP is configured and enabled, the firmware execution can be started by writing 1 to DSP1_START.
Alternative methods to trigger the firmware execution can also be configured using the DSP1_START_IN_SEL field.
Using the DSP1_START_IN_SEL field, the DSP firmware execution can be linked to the respective DMA function, the
IRQ2 status, or to the FIFO status in the event logger:
• DMA function: firmware execution commences when all enabled DSP input (WDMA) channel buffers have been
filled, and all enabled DSP output (RDMA) channel buffers have been emptied
• IRQ2: firmware execution commences when one or more of the unmasked IRQ2 events has occurred
• Event logger status: firmware execution commences when the FIFO not-empty status is asserted within the event
logger
To enable firmware execution on the DSP block, the DSP1_CORE_ENA bit must be set. Note that the usage of the DSP1_
START bit may vary depending on the particular firmware that is being executed: in some applications (e.g., when an
alternative trigger is selected using DSP1_START_IN_SEL), writing to the DSP1_START bit is not required.
4.4.3.4
DSP Watchdog Timer
A watchdog timer is provided for the DSP, which can be used to detect software lock-ups, and other conditions that require
corrective action in order to resume the intended DSP behavior.
The DSP1 watchdog is enabled using DSP1_WDT_ENA. The timeout period is configured using DSP1_WDT_MAX_
COUNT.
In normal operation, the watchdog should be reset regularly—this action is used to confirm that the DSP code is running
correctly. The watchdog is reset by writing 0x5555, followed by 0xAAAA, to the DSP1_WDT_RESET field.
The watchdog status bit, DSP1_WDT_TIMEOUT_STS, is set if the timeout period elapses before the watchdog is reset;
this event typically signals that a lock-up or other error condition has occurred.
The DSP watchdog is an input to the interrupt control circuit and can be used to trigger an interrupt event if the timeout
period elapses—see Section 4.4.5.
Note that write access to the DSP1_WDT_RESET field is not affected by the register locking mechanism (see
Section 4.4.2). This means that the DSP core always has write access to reset the watchdog.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com