| Electronic Components Datasheet Search |
|
CP3SP33SMS/NOPB Datasheet(PDF) 59 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
CP3SP33SMS/NOPB Datasheet(HTML) 59 Page - Texas Instruments |
|
59 / 407 page ![]() CP3SP33 www.ti.com SNOSCW5 – MAY 2013 12.3.1.2 Termination When the DMAC is the flow controller, the transfer terminates when the transfer count in the BLTCn register reaches zero. When the peripheral is the flow controller, the peripheral signals the end of transfer. On termination: 1. The DMASTAT.TC and DMASTAT.OVR bits are set, and the DMASTAT.CHAC bit is cleared. 2. An interrupt is asserted if enabled by the DMACNTn.ETC or DMACNTn.EOVR bits. 12.3.2 Double Buffer Mode This mode allows software to set up the next DMA transfer while the current transfer proceeds. 12.3.2.1 Initialization 1. Select the peripheral device by writing the SRCRQ field in the DMACNTn register. 2. Write the block transfer addresses and byte count into the ADCAn, ADCBn, and BLTCn counters. 3. Clear the DMACNTn.OT bit to select non-auto-initialize mode. Clear the DMASTAT.VLD bit by writing a 1 to it. 4. Set the DMACNTn.CHEN bit. This activates the cha nel and enables it to respond to DMA transfer requests. If the DMACNTn register is loaded for any other reason, the DMACNTn.CHEN bit must be clear to avoid prematurely starting a new DMA transfer. 5. While the current block transfer proceeds, write the addresses and byte count for the next block into the ADRAn, ADRBn, and BLTRn registers. The BLTRn register must be written last, because writing this register sets the DMASTAT.VLD bit which indicates to the DMAC that the parameters for the next transfer have been updated. 12.3.2.2 Continuation/Termination When the BLTCn counter reaches 0 (DMACNTn.PF = 0) or the last request has been processed (DMACNTn.PF = 1): 1. If the DMACNTn.PF bit is clear, the DMASTATn.TC bit is set. 2. If enabled by the DMACNTn.ETC bit, an interrupt is asserted. 3. The DMAC channel checks the DMASTAT.VLD bit. If the DMASTAT.VLD bit is set: 1. The channel copies the ADRAn, ADRBn, and BLTRn values into the ADCAn, ADCBn, and BLTCn registers. 2. The DMASTAT.VLD bit is cleared. 3. The next block transfer is started. If the DMASTAT.VLD bit is clear: 1. The transfer operation terminates. 2. The channel sets the DMASTAT.OVR bit. 3. The DMASTAT.CHAC bit is cleared. 4. If enabled by the DMACNTn.EOVR bit, an interrupt is asserted. Copyright © 2013, Texas Instruments Incorporated CPU DMA Controller 59 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 |