поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

RM0319 датащи(PDF) 355 Page - STMicroelectronics

номер детали RM0319
подробное описание детали  SPEAr320S architecture and functionality
PDF  368 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0319 датащи(HTML) 355 Page - STMicroelectronics

Back Button RM0319 Datasheet HTML 351Page - STMicroelectronics RM0319 Datasheet HTML 352Page - STMicroelectronics RM0319 Datasheet HTML 353Page - STMicroelectronics RM0319 Datasheet HTML 354Page - STMicroelectronics RM0319 Datasheet HTML 355Page - STMicroelectronics RM0319 Datasheet HTML 356Page - STMicroelectronics RM0319 Datasheet HTML 357Page - STMicroelectronics RM0319 Datasheet HTML 358Page - STMicroelectronics RM0319 Datasheet HTML 359Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 355 / 368 page
background image
RM0319
DMA controller (DMAC)
Doc ID 022640 Rev 3
355/368
36.3.6
How to program the DMAC for scatter/gather DMA
1.
Write to memory all the LLIs for the complete DMA transfer (source address,
destination address, pointer to next LLI and control word for each LLI).
2.
Choose a free DMA channel with the required priority (0 the highest to 7 the lowest).
3.
Write the first LLI, previously written to memory (step 1), to the relevant DMA channel
in the DMAC, setting the corresponding registers (DMACCnSrcAddr,
DMACCnDestAddr, DMACCnLLI and DMACCnControl).
4.
Write the DMA channel configuration information to the DMAC Configuration and set its
channel enable bit (E, bit [0]).
5.
An interrupt can be generated at the end of each LLI setting the terminal count bit (I, bit
[31]) in the DMACCnControl register. Then, the interrupt request must be serviced and
the relevant bit of the IntTCClear field in the DMACIntTCClear register must be set to
clear the interrupt.
36.4
Interrupts
The DMAC allows to generate an interrupt to the ARM processor:
●
In case of a DMA error (assertion of an error response on the AHB during data transfer)
●
At the end of DMA transfer (terminal count reached 0)
The corresponding interrupt request signals are listed in Table 124. The combined
DMACINTR signal (generated as an OR function of the individual request signals,
DMACINTERR and DMACINTTC) can be useful in low performance system with a few
interrupt controller request inputs. As depicted in Figure 118, in this case only the
DMACINTR request signal coming from DMAC is directly connected to the interrupt
controller, but both the DMACIntErrStatus and the DMACIntTCStatus registers, in
conjunction with the DMACIntStatus register, must be read to find the actual source of the
interrupt.
Figure 118. DMAC-to-interrupt controller connection
In any case the error and terminal count interrupts can be masked at the DMAC-level by
programming the relevant bits (IE and ITC, respectively) on the relevant
DMACCnConfiguration channel register. In order to get interrupt status prior to masking, the
DMACRawIntErrStatus and the DMACRawIntTCStatus registers are provided by the DMAC.
DMAC
DMACINTR
nIRQ
nFIQ
Interrupt
controller
ARM
Processor



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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