Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4031 Datasheet(PDF) 28 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) 28 Page - STMicroelectronics

Back Button AN4031 Datasheet HTML 24Page - STMicroelectronics AN4031 Datasheet HTML 25Page - STMicroelectronics AN4031 Datasheet HTML 26Page - STMicroelectronics AN4031 Datasheet HTML 27Page - STMicroelectronics AN4031 Datasheet HTML 28Page - STMicroelectronics AN4031 Datasheet HTML 29Page - STMicroelectronics AN4031 Datasheet HTML 30Page - STMicroelectronics AN4031 Datasheet HTML 31Page - STMicroelectronics AN4031 Datasheet HTML 32Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 36 page
background image
How to predict DMA latencies
AN4031
28/36
DocID022648 Rev 1
Where:
•
TSM is the total timing for DMA memory port access and transfer which is equal to:
TSM = tMA+ tMAC + tBMA + tSRAM
Where:
3.1.2
DMA transfer time versus concurrent access
Additional latency can be added to the DMA service timing described in Section 3.1.1 when
several masters try to access simultaneously to the same slave.
For peripheral and memory worst-case access/transfer time, the following factors impact the
total delay time for DMA stream service:
•
When several masters are accessing the same AHB destination simultaneously, the
DMA latency is impacted; the DMA transfer cannot start until the bus matrix arbiter
grants access to the DMA as described in Section 2.1.2.
•
When several masters (DMA and CPU) are accessing the same AHB-to-APB bridge,
the DMA transfer time is delayed due to the AHB-to-APB bridge arbitration as
described in Section 2.3.2.
Table 7. Peripheral port access/transfer time versus DMA path used
Description
Through bus matrix
DMA’s
direct paths
To AHB
peripherals
To APB
peripherals
tPA: DMA peripheral port arbitration
1 AHB cycle
1 AHB cycle
1 AHB cycle
tPAC: peripheral address computation
1 AHB cycle
1 AHB cycle
1 AHB cycle
tBMA: bus matrix arbitration (when no
concurrency)(1)
1. In the case of STM32F401, tBMA is equal to zero.
1 AHB cycle
1 AHB cycle
N/A
tEDT: effective data transfer
1 AHB cycle(2) (3)
2. For FMC, an additional cycle can be added depending on the external memory used. Additional AHB
cycles are added depending on external memory timings.
3. In case of burst, the effective data transfer time depends on the burst length (INC4 tEDT= 4 AHB cycles).
2 APB cycles
2 APB cycle
tBS: bus synchronization
N/A
1 AHB cycle
1 AHB cycle
Table 8. Memory port access/transfer time
Description
Latency
tMA: DMA memory port arbitration
1 AHB cycle
tMAC: memory address computation
1 AHB cycle
tBMA: bus matrix arbitration (when no concurrency)(1)
1. In the case of STM32F401, tBMA is equal to zero.
1 AHB cycle(2)
2. For consecutive SRAM accesses (while no other master accesses the same SRAM in-between),
tBMA = 0 cycle.
tSRAM: SRAM read or write access
1 AHB cycle



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