29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RM0008<br />

Ethernet (ETH): media access control (MAC) with DMA controller<br />

Figure 311. TxDMA operation in Default mode<br />

Start TxDMA<br />

Start<br />

Stop TxDMA<br />

(Re-)fetch next<br />

descriptor<br />

Poll dem<strong>and</strong><br />

(AHB)<br />

error<br />

No<br />

Yes<br />

TxDMA suspended<br />

No<br />

Own<br />

bit set<br />

Yes<br />

Transfer data from<br />

buffer(s)<br />

(AHB)<br />

error<br />

Yes<br />

No<br />

No<br />

Frame xfer<br />

complete<br />

Yes<br />

Close intermediate<br />

descriptor<br />

Wait for Tx status<br />

Time stamp<br />

present<br />

Yes<br />

Write time stamp to<br />

TDES2 <strong>and</strong> TDES3<br />

No<br />

Write status word<br />

to TDES0<br />

No<br />

(AHB)<br />

error<br />

Yes<br />

No<br />

(AHB)<br />

error<br />

Yes<br />

ai15639<br />

TxDMA operation: OSF mode<br />

While in the Run state, the transmit process can simultaneously acquire two frames without<br />

closing the Status descriptor of the first (if the OSF bit is set in ETH_DMAOMR register[2]).<br />

As the transmit process finishes transferring the first frame, it immediately polls the transmit<br />

descriptor list for the second frame. If the second frame is valid, the transmit process<br />

transfers this frame before writing the first frame’s status information. In OSF mode, the<br />

Run-state transmit DMA operates according to the following sequence:<br />

Doc ID 13902 Rev 9 883/995

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!