| Electronic Components Datasheet Search |
|
TAS1020 Datasheet(PDF) 29 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TAS1020 Datasheet(HTML) 29 Page - Texas Instruments |
|
29 / 93 page ![]() 2–15 9. Handshaking between MCU and DSP can be done in software at a higher level, depending on the application. No Handshake Mode If the MCU intervention in the above handshake mode limits the bandwidth on the BULK out endpoint, no Handshake mode can be used. 1. hsken (Handshake enable) bit in DMA channel control definition register = 0. 2. MCU configures the C-Port to be in AC97/GP modes. If C-Port is used as GP mode, then MCU must set the CptBlk bit in GLOBCTRL register. 3. MCU configures the endpoint configuration registers and enables the DMA. 4. Now handshaking is only between DMA and UBM. DMA moves data once it is filled by UBM. This continues until MCU disables DMA. 2.2.7.3.4 Bulk In Transaction Through DMA TAS1020 does not support BULK IN through DMA. 2.2.7.4 ISO OUT/IN. USB to/from C-Port Through DMA 2.2.7.4.1 ISO Out Here the ISO packets from the host are received by UBM and put into the buffer. DMA collects the data from the buffer and streams it through the C-Port to a codec or a DSP. DMA looks at the UBM writer pointers to make a decision about the availability of ISO data in the buffer. C-Port can be programmed into different modes based on the application and the codecs being used. Here MCU must program the endpoint configuration registers, DMA and C-Port. DMA also updates the buffer content registers which is the difference of UBM writer pointer and DMA read pointer after the end of every USB frame. • UBM Operation – Reads endpoint configuration byte. Checks if endpoint is enabled. If not enabled, ignores the ISO packet. – If it is ISO endpoint, checks the endpoint number with the endpoint number in the DMA channel 0/1 definition register. If either of the DMA channels is used, UBM behaves as described below. If not, the ISO traffic is directed to MCU, which the MCU is able to handle it in a different way. – Reads OEPBBAXn. This is the starting address for the circular buffer being used for the endpoint. For the first ISO OUT packet UBM initializes the write pointer to OEPBBAXn. UBM locally stores this starting address as MCU can relocate the buffer anytime. Each time an ISO OUT packet comes, UBM compares this local buffer starting address with OEPBBAXn. If this is not same, UBM re-initializes the write pointer to OEPBBAXn. – Reads OEPSIZn. This is the circular buffer size for the ISO endpoint. This is used to wrap-around the UBM write pointer to the starting address of the buffer when it reaches the end of the buffer. – Buffer end address = buffer starting address + buffer size – UBM proceeds with reading the data from the SIE and storing the data into the circular buffer in the shared RAM. The 11-bit write pointer is incremented after receiving each byte. Once the buffer write pointer reaches the buffer end address, UBM rewinds the write pointer to the starting buffer address. – At the end of transaction, UBM updates the sample count in the OEPDCNTX or OEPDCNTY register based on the LSB of frame counter. – NAK bit not used for ISO to DMA. |
|
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 |