| Electronic Components Datasheet Search |
|
CS42L92 Datasheet(PDF) 97 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
CS42L92 Datasheet(HTML) 97 Page - Cirrus Logic |
|
97 / 333 page ![]() DS1162F2 97 CS42L92 4.4 DSP Firmware Control The register locks are controlled using the DSP1_CTRL_REGIONm_LOCK fields (where m identifies the register/memory region). The associated lock determines whether the DSP core is granted write access to region m. To change the lock status, two writes must be made to the respective register field: • Writing 0x5555, followed by 0xAAAA, sets the respective lock • Writing 0xCCCC, followed by 0x3333, clears the respective lock The status of each lock can be read from the DSP1_CTRL_REGIONm_LOCK_STS bits. Write access to the DSP1_CTRL_REGIONm_LOCK fields is always possible. This means that the DSP core always has write access for configuring the memory-access locks. The DSP memory locking function is an input to the interrupt control circuit and can be used to trigger an interrupt event if an invalid register write is attempted—see Section 4.4.5. Additional status and control fields are provided for debug purposes, as described in Section 4.4.6. The control registers associated with the DSP memory locking functions are described in Table 4-32. 4.4.3 DSP Firmware Control The configuration and control of the DSP firmware is described in the following subsections. 4.4.3.1 DSP Memory The DSP memory (program, X-data, Y-data, and coefficient) is enabled by setting DSP1_MEM_ENA. This memory must be enabled (DSP1_MEM_ENA = 1) for read/write access, code execution, and DMA functions. The DSP memory is disabled, and the contents lost, whenever the DSP1_MEM_ENA bit is cleared. The DSP1_RAM_RDY status bit indicates whether the DSP memory is ready for read/write access. The DSP memory should not be accessed until this bit has been set. The DSP1_MEM_ENA bit is not affected by software reset; it remains in its previous state under software reset conditions. Accordingly, the DSP memory contents are maintained through software reset, provided DCVDD is held above its reset threshold. The DSP firmware memory is always cleared under power-on reset, hardware reset, and Sleep Mode conditions. See Section 5.2 for a summary of the CS42L92 reset behavior. Table 4-31. DSP Memory Locking Regions Region Description Register Address Notes Region 0 Virtual DSP registers 0x00_1000–0x00_2FFF Excludes memory lock and watchdog reset registers Region 1 Codec registers 0x00_0000–0x03_FFFE Excludes virtual DSP registers Region 2 DSP peripheral control registers 0x04_0000–0x07_FFFE — Region 3 DSP1 memory 0x08_0000–0x09_FFFE — Table 4-32. DSP Memory Locking Control Register Address Bit Label Default Description R1048164 (0xF_FE64) DSP1_Region_lock_sts_0 3 DSP1_CTRL_REGION3_LOCK_STS 0 DSP1 memory region m lock status 0 = Unlocked 1 = Locked (write access is blocked) 2 DSP1_CTRL_REGION2_LOCK_STS 0 1 DSP1_CTRL_REGION1_LOCK_STS 0 0 DSP1_CTRL_REGION0_LOCK_STS 0 R1048166 (0xF_FE66) DSP1_Region_lock_1___ DSP1_Region_lock_0 31:16 DSP1_CTRL_REGION1_LOCK[15:0] See Footnote 1 DSP1 memory region m lock. Write 0x5555, then 0xAAAA, to set the lock. Write 0xCCCC, then 0x3333, to clear the lock. 15:0 DSP1_CTRL_REGION0_LOCK[15:0] See Footnote 1 R1048168 (0xF_FE68) DSP1_Region_lock_3___ DSP1_Region_lock_2 31:16 DSP1_CTRL_REGION3_LOCK[15:0] See Footnote 1 15:0 DSP1_CTRL_REGION2_LOCK[15:0] See Footnote 1 1. Default is not applicable to these write-only fields |
|
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 |
| 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 |