数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.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
标志 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


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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