| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
DSP56303 Datasheet(PDF) 97 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
DSP56303 Datasheet(HTML) 97 Page - Freescale Semiconductor, Inc |
|
97 / 292 page ![]() Data Transfer Methods DSP56303 User’s Manual, Rev. 2 Freescale Semiconductor 5-5 Example 5-3 shows a DMA configuration for transferring data to the Host Transmit register of the HI08. Example 5-3. DMA Transfers bclr#M_D1L0,x:M_IPRC ; disable DMA1 interrupts bclr#M_D1L1,x:M_IPRC movep#TBUFF_START,x:M_DSR1 ; DMA1 source is transmit buffer movep#M_HTX,x:M_DDR1 ; DMA1 destination is HTX movep#TBUFF_SIZE-1,x:M_DCO1; DMA1 count is the full buffer movep#INIT_DCR1,x:M_DCR1 ; init. DMA1 control register DMA requires more initialization code and consideration of DMA modes. However, it is the most efficient use of core resources. Once these registers are programmed, you must enable the DMA by triggering a DMA request off one of the peripheral control flags or enabling it in normal program flow or an interrupt service routine. 5.4.4 Advantages and Disadvantages Polling is the easiest method to implement, but it requires a large amount of DSP56303 core processing power. The core cannot be involved in other processing activities while it is polling receive and transmit ready bits. Interrupts require more code, but the core can process other routines while waiting for data I/O. An interrupt is generated when data is ready to be transferred to or from the peripheral device. DMA requires even less core intervention, and the setup code is minimal, but the DMA channels must be available. Note: Do not use interrupt requests and DMA requests simultaneously. Table 5-1. DMA-Accessible Registers Block Register DMA Read Write ESSI TX0 No Yes TX1 No Yes TX2 No Yes RX Yes No SCI SRX Yes No STX No Yes EFCOP FDIR No Yes FDOR Yes No HI08 HTX No Yes HRX Yes No Timer |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |