数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN4104 数据表(PDF) 5 Page - STMicroelectronics

部件名 AN4104
功能描述  Using the STM32F0xx DMA controller
PDF  13 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN4104 数据表(HTML) 5 Page - STMicroelectronics

  AN4104 Datasheet HTML 1Page - STMicroelectronics AN4104 Datasheet HTML 2Page - STMicroelectronics AN4104 Datasheet HTML 3Page - STMicroelectronics AN4104 Datasheet HTML 4Page - STMicroelectronics AN4104 Datasheet HTML 5Page - STMicroelectronics AN4104 Datasheet HTML 6Page - STMicroelectronics AN4104 Datasheet HTML 7Page - STMicroelectronics AN4104 Datasheet HTML 8Page - STMicroelectronics AN4104 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 13 page
background image
AN4104
DMA controller description
Doc ID 023131 Rev 1
5/13
1.2.1
Round robin priority scheme
The NVIC and Cortex-M0 processor implement a high-performance very low latency
interrupt scheme. All Cortex-M0 instructions are either executed in a single cycle or are
interruptible at cycle level. In order to preserve this advantage at system level, the DMA and
bus matrix ensure that the DMA does not block the bus for a long time. The round-robin
priority scheme ensures that the CPU can access any slave buses during every second
cycle, if needed.
1.2.2
Peripheral to Memory, Memory to Peripheral and Peripheral to
Peripheral DMA transactions
After an event, the peripheral sends a request signal to the DMA Controller. The DMA
controller serves the request depending on the channel priorities. As soon as the DMA
Controller accesses the peripheral, an Acknowledge is sent to the peripheral by the DMA
Controller. The peripheral releases its request as soon as it gets the Acknowledge from the
DMA Controller. Once the request is deasserted by the peripheral, the DMA Controller
releases the Acknowledge. If there are more requests, the peripheral can initiate the next
transaction.
Each DMA transfer consists of three operations:
●
The loading of data from the peripheral data register or a location in memory
addressed through an internal current peripheral/memory address register. The start
address used for the first transfer is the base peripheral/memory address.
●
The storage of the data loaded to the peripheral data register or a location in memory
addressed through an internal current peripheral/memory address register. The start
address used for the first transfer is the base peripheral/memory address.
●
The post-decrementing of the DMA counter, which contains the number of transactions
that still have to be performed.
1.2.3
Memory to Memory DMA transactions
The DMA channels can also work without being triggered by a request from a peripheral.
This mode is called Memory to Memory mode. If the MEM2MEM bit is set, then the channel
initiates transfers as soon as it is enabled by software by setting the Enable bit.
The transfer stops once the DMA counter reaches zero. Memory to Memory mode may not
be used at the same time as Circular mode.
1.2.4
Choosing channel priority
In order to achieve continuous data transfers to/from a peripheral, the corresponding DMA
channel must be able to sustain the peripheral data rate and ensure that the service latency
is shorter than the period of time between two consecutive data.
The high speed/high bandwidth peripherals must have the highest DMA priorities. This
ensures that the maximum data latency will be respected for these peripherals and
over/under-run conditions will be avoided.
In case of equal bandwidth requirements, it is recommended to assign a higher priority to
the peripherals working in slave mode (which have no control on the data transfer speed)
compared with the ones working in master mode (which may control the data flow).



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13


数据表 下载

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