Figure 381. Receive Dma Operation - STMicroelectronics STM32F405 Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

RM0090
The DMA does not acknowledge accepting the status until it has completed the time stamp
write-back and is ready to perform status write-back to the descriptor. If software has
enabled time stamping through CSR, when a valid time stamp value is not available for the
frame (for example, because the receive FIFO was full before the time stamp could be
written to it), the DMA writes all ones to RDES2 and RDES3. Otherwise (that is, if time
stamping is not enabled), RDES2 and RDES3 remain unchanged.
Set descriptor error
Ethernet (ETH): media access control (MAC) with DMA controller

Figure 381. Receive DMA operation

RxDMA suspended
Frame transfer
complete?
Yes
Flush disabled ?
Flush the
remaining frame
Flush
Own bit set
No
for next desc?
disabled ?
No
Yes
Yes
Close RDES0 as
intermediate descriptor
DocID018909 Rev 11
Start RxDMA
(Re-)Fetch next
Poll demand /
descriptor
new frame available
(AHB)
error?
No
Yes
No
Own bit set?
Yes
No
Frame data
available ?
Yes
No
Write data to buffer(s)
(AHB)
error?
No
Fetch next descriptor
(AHB)
error?
No
Frame transfer
No
complete?
Yes
Time stamp
present?
No
Close RDES0 as last
descriptor
(AHB)
error?
Yes
Start
Stop RxDMA
Yes
No
Wait for frame data
Yes
Yes
Write time stamp to
Yes
RDES2 & RDES3
(AHB)
No
Yes
error?
No
1171/1731
ai15643
1232

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F405 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF