| Electronic Components Datasheet Search |
|
PC87591L Datasheet(PDF) 91 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87591L Datasheet(HTML) 91 Page - National Semiconductor (TI) |
|
91 / 437 page ![]() Embedded Controller Modules (Continued) Revision 1.07 91 www.national.com 4.2.6 Operation Modes The DMAC operates in three different block transfer modes - single transfer, double buffer and auto-initialize. Select the ap- propriate mode according to the character of the block transfer. Single Transfer Operation This mode provides the simplest way to accomplish a single block data transfer. Initialization 1. Write the two block transfer addresses and byte count into the corresponding ADCAn, ADCBn and BLTCn counters, re- spectively. The BLTCn counter should be written last. 2. Program the OT bit for Non-Auto-Initialize mode, and clear EOVR bit in DMACNTLn register to 0. Clear to 0 VLD bit in DMASTATn register. 3. Set CHEN bit in DMACNTLn register to 1; the channel activates and responds to DMAC transfer requests. Termination When the BLTCn counter reaches 0: ● The transfer operation terminates. ● TC bit in DMASTATn register is set to 1, and CHAC is cleared to 0. ● A level interrupt is generated (if enabled by ETC bit in DMACNTLn register). Double Buffer Operation This mode allows the software to set up the next block transfer specification while the current block transfer proceeds. This mode is used for preparing the next buffer for use in a multi-buffer operation (e.g., the alternate buffer in a double-buffer scheme). Initialization 1. Write the two block transfer addresses and byte count into the ADCAn, ADCBn and BLTCn counters, respectively. The BLTCn counter should be written last. 2. Program OT bit in DMACNTLn register for Non-Auto-Initialize mode. 3. Set CHEN bit in DMACNTLn register to 1; the channel activates and responds to DMAC transfer requests. 4. 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 should be written last. Continuation / Termination When the BLTCn counter reaches 0: ● TC bit in DMASTATn register is set to 1. ● A level interrupt is generated (if enabled by ETC bit in DMACNTLn register). ● The DMAC channel checks the value of VLD bit. If VLD bit is 1: ● The channel copies the ADRAn, ADRBn and BLTRn values into ADCAn, ADCBn and BLTCn. The BLTCn counter should be written last. ● Clears VLD bit to 0. ● Becomes ready to start the next block transfer (on the next DMA request). If VLD bit is 0: ● The transfer operation terminates. ● The channel sets OVR bit in DMASTATn register to 1. ● Clears CHAC bit to 0. ● A level interrupt is generated (if enabled by EOVR bit in DMACNTLn register). Note: ADCB and ADRBn are used only in indirect (memory-to-memory) transfer. In Direct (Fly-By) mode, the DMAC does not use them and therefore does not copy ADRBn into ADCBn. |
|
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 |