| Electronic Components Datasheet Search |
|
CP3SP33SMS/NOPB Datasheet(PDF) 130 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
CP3SP33SMS/NOPB Datasheet(HTML) 130 Page - Texas Instruments |
|
130 / 407 page ![]() CP3SP33 SNOSCW5 – MAY 2013 www.ti.com The DAC FIFOs are automatically flushed when the DAC is disabled. When the DAC is muted, the DAC FIFOs should be flushed before the DAC is unmuted. 20.5.2 Interrupts Interrupt requests on IRQ28 can be generated from several sources, such as FIFO overrun/underrun, power-cycle events, and audio signal zero-crossings and clipping events (useful for changes to the DSP or audio stream). The interrupt enable register (TCDCIRQEN) and FIFO trigger control register (TCDCFIFO) are used to enable events which assert interrupt requests. The pending/clear register (TCDCIRQPNDCLR) indicates which events have occurred. Writing 1 to a bit in the TCDCIRQPNDCLR register clears the event. Because the interrupt request can be handled by either the CPU or DSP interrupt controllers, the interrupt request is passed through the Audio Subsystem Controller (ASC), which is programmed to route it to the interrupt controller. To use the codec interrupt, it must be enabled at three levels: • Codec module—the interrupt must be enabled in the TCDCIRQEN register. • ASC module—the codec interrupt is assigned to ASC interrupt channel 8, so bit 8 in the ASCINTSEL register must be clear to select the CPU interrupt controller or set to select the DSP interrupt controller. • Interrupt controller—the interrupt request must be enabled in the interrupt controller. For the CPU interrupt controller, this is interrupt request IRQ28. 20.5.3 DMA A DMA request or interrupt request may be enabled when a FIFO reaches its trigger level. Low trigger levels are recommended for triggering DMA requests, to reduce unnecessary latency. DMA requests and IRQ28 interrupt requests are mutually exclusive, however interrupt requests IRQ49, IRQ48, IRQ47, and IRQ46 may be enabled for DMA requests on channels 10, 11, 12, and 13, respectively. Because the codec DMA requests can be handled by either the CPU or DSP DMA controllers, the DMA requests are passed through the Audio Subsystem Controller (ASC), which is programmed to route them to the DMA controller. To use the codec DMA requests, they must be enabled at three levels: • Codec module—the codec DMA requests must be enabled in the TCDCFIFO register. • ASC module—the codec DMA requests are assigned to ASC DMA channels 10 (ADC1), 11 (ADC2), 12 (left DAC), and 13 (right DAC). These channels are controlled by bits 10, 11, 12, and 13 in the ASCDMASEL0 register. The bits must be clear to select the CPU DMA controller or set to select the DSP DMA controller. If the DSP DMA controller is selected, the DSP DMA channel must be enabled in the ASCDDMASELn registers. • DMA controller—the DMA requests must be enabled in the DMA controller. For the CPU DMA controller, these are DMA requests 10 (ADC1), 11 (ADC1), 12 (left DAC), and 13 (right DAC). If a DMA request is disabled while it is asserted, the request will remain asserted, which blocks lower- priority requests to the DMA controller. To avoid this situation, software can either check that the DMA request is not asserted before disabling the request, or it can disable the request in the DMA controller. 20.6 Freeze Mode When Freeze mode is entered, the codec will exhibit the following behavior: • The contents of the ADC and DAC FIFOs and the FIFO output data do not change. • The DAC outputs are muted. 20.7 Reset The ADC, DACs, DSP, and analog modules should not be reset asynchronously in normal applications, because this may damage external electro-mechanical devices such as speakers. 130 Telematics Codec Copyright © 2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links :CP3SP33 |
|
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 |