Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4031 Datasheet(PDF) 20 Page - STMicroelectronics

Part # AN4031
Description  Using the STM32F2 and STM32F4 DMA controller
PDF  36 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4031 Datasheet(HTML) 20 Page - STMicroelectronics

Back Button AN4031 Datasheet HTML 16Page - STMicroelectronics AN4031 Datasheet HTML 17Page - STMicroelectronics AN4031 Datasheet HTML 18Page - STMicroelectronics AN4031 Datasheet HTML 19Page - STMicroelectronics AN4031 Datasheet HTML 20Page - STMicroelectronics AN4031 Datasheet HTML 21Page - STMicroelectronics AN4031 Datasheet HTML 22Page - STMicroelectronics AN4031 Datasheet HTML 23Page - STMicroelectronics AN4031 Datasheet HTML 24Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 20 / 36 page
background image
System performance considerations
AN4031
20/36
DocID022648 Rev 1
Figure 9. Five masters request SRAM access
The latency associated to DMA1 to win the bus matrix again and access SRAM1 (for
example) is equal to the execution time of all pending requests coming from the other
masters.
2.1.3
BusMatrix arbitration and DMA transfer delays worst case
The latency seen by the DMA master port on one transaction depends on the other masters’
transfer types and lengths.
For instance, if we consider previous DMA1 & CPU example (Figure 8) with concurrency to
access SRAM, latency on the DMA transfer varies depending on the CPU transaction
length.
If bus access is first granted to the CPU and the CPU is not performing a single data
load/store, the DMA wait time to gain access to SRAM can expand from one AHB cycle for
a single data load/store to N AHB cycles, where N is the number of data words in the CPU
transaction.
The CPU locks the AHB bus to keep ownership and reduces latency during multiple
load/store operations and interrupts entry. This enhances firmware responsiveness but it
can result in delays on the DMA transaction.
Delay on DMA1 SRAM access when in concurrency with CPU depends on the type of
transfer:
•
CPU transfer issued by interrupt (context save): 8 AHB cycles
•
CPU transfer issued by LDM/STM instructions: 14 AHB cycles(a)
–
Transfers of up to 14 registers from/to memory
a. Latency due to transfer issued by LDM/STM instructions can be reduced by configuring compiler to split
load/store multiple instructions into single load/store instructions.



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


Datasheet Download

Go To PDF Page


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


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