| Electronic Components Datasheet Search |
|
AT91SAM7A2-AI Datasheet(PDF) 85 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT91SAM7A2-AI Datasheet(HTML) 85 Page - ATMEL Corporation |
|
85 / 369 page ![]() 85 PRELIMINARY AT91SAM7A2 6021A–ATARM–07/04 When a transfer is performed, the counter is decremented and the pointer is incre- mented. When the counter reaches 0 (i.e. all the data have been sent/received to/from the module), the end status bit is set in the peripheral status register and can be pro- grammed to generate an interrupt. PDC Transfers PDC transfers consist of byte (8-bit), half-word (16-bit) or word (32-bit) data transmitted from peripheral to memory or from memory to peripheral. Transfers are triggered by the peripheral signals. The PDC makes block transfers one byte, one half-word or one word at a time (pro- grammed in the PDC_CRx register, with direction). Each transfer is triggered by a PDC request from the peripheral. The PDC releases the AMBA bus after each transfer. A new trigger is needed for each transfer. Between transfers, the ASB memory pointer is incremented and the transfer counter is decremented. Each block of data can be programmed to be up to 64 Kbytes. Transfers stop when the transfer counter reaches zero, and the trigger is disabled. Figure 44. Transfer Example (Byte) Memory Pointers There is one 32-bit memory address pointer for each channel (PDC_MPRx). Each memory pointer points to a location in the AT91SAM7A2 memory space (on chip RAM or external memory on the EBI). The PDC_MPRx is automatically incremented by 1, 2 or 4 after each transfer, for byte, half-word or word transfers. The PDC_MPRx must be initialized before any transfers are started. If PDC_MPRx is reprogrammed while the PDC is operating, the address of the transfers will be changed. The PDC will continue to perform transfers when triggered, from the newly programmed address. Transfer Counter There is one 16-bit Transfer Counter (PDC_TCRx) for each channel, which is used to count the size of the block of transfers. The PDC_TCRx is decremented after every data transfer. When the PDC_TCRx reaches zero the block transfer is complete, the PDC stops transferring data and disables the trigger. It is not possible to trigger a block of transfers if the PDC_TCRx value is zero. When the PDC_TCRx is programmed to a non-zero value, transfers can be triggered by the peripheral for that particular channel. RDY 00001000 42 1 END 0 3 XXXXXXXX 00001000 00001002 00001001 XXXXXXXX 00001003 0 Memory Pointer (MPR) Counter (TCR) Memory Address |
|
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 |