29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

RM0008<br />

28:16 TBS2: Transmit buffer 2 size<br />

These bits indicate the second data buffer size in bytes. This field is not valid if TDES0[20] is<br />

set.<br />

15:13 Reserved<br />

12:0 TBS1: Transmit buffer 1 size<br />

These bits indicate the first data buffer byte size, in bytes. If this field is 0, the DMA ignores this<br />

buffer <strong>and</strong> uses Buffer 2 or the next descriptor, depending on the value of TCH (TDES0[20]).<br />

●<br />

TDES2: Transmit descriptor Word2<br />

TDES2 contains the address pointer to the first buffer of the descriptor or it contains<br />

time stamp data.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

TBAP1/TTSL<br />

rw<br />

Bits 31:0 TBAP1 / TTSL: Transmit buffer 1 address pointer / Transmit frame time stamp low<br />

These bits take on two different functions: the application uses them to indicate to the DMA the<br />

location of data in memory. And then after transferring all these data, the DMA may then use<br />

these bits to pass back time stamp data.<br />

TBAP: When the software makes this descriptor available to the DMA (at the moment that the<br />

OWN bit is set to 1 in TDES0), these bits indicate the physical address of Buffer 1. There is no<br />

limitation on the buffer address alignment. See Host data buffer alignment on page 880 for further<br />

details on buffer address alignment.<br />

TTSL: Before it clears the OWN bt in TDES0, the DMA updates this field with the 32 least<br />

significant bits of the time stamp captured for the corresponding transmit frame (overwriting the<br />

value for TBAP1). This field has the time stamp only if time stamping is activated for this frame<br />

(see TTSE, TDES0 bit 25) <strong>and</strong> if the Last segment control bit (LS) in the descriptor is set.<br />

●<br />

TDES3: Transmit descriptor Word3<br />

TDES3 contains the address pointer either to the second buffer of the descriptor or the<br />

next descriptor, or it contains time stamp data.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

TBAP2/TTSH<br />

rw<br />

890/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!