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.

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

RM0008<br />

Ethernet PTP target time low register (ETH_PTPTTLR)<br />

Address offset: 0x0720<br />

Reset value: 0x0000 0000<br />

This register contains the lower 32 bits of time to be compared with the system time for<br />

interrupt event generation.<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 />

TTSL<br />

rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw<br />

Bits 31:0 TTSL: Target time stamp low<br />

This register stores the time in (signed) nanoseconds. When the value of the time stamp<br />

matches or exceeds both Target time stamp registers, the MAC, if enabled, generates an<br />

interrupt.<br />

27.8.4 DMA register description<br />

This section defines the bits for each DMA register. Non-32 bit accesses are allowed as long<br />

as the address is word-aligned.<br />

Ethernet DMA bus mode register (ETH_DMABMR)<br />

Address offset: 0x1000<br />

Reset value: 0x0000 2101<br />

The bus mode register establishes the bus operating modes for the DMA.<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 />

Reserved<br />

AAB<br />

FPM<br />

USP<br />

RDP<br />

FB<br />

RTPR<br />

PBL<br />

Reserved<br />

DSL<br />

DA<br />

SR<br />

rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rs<br />

Bits 31:26 Reserved<br />

Bit 25 AAB: Address-aligned beats<br />

When this bit is set high <strong>and</strong> the FB bit equals 1, the AHB interface generates all bursts aligned<br />

to the start address LS bits. If the FB bit equals 0, the first burst (accessing the data buffer’s<br />

start address) is not aligned, but subsequent bursts are aligned to the address.<br />

Bit 24 FPM: 4xPBL mode<br />

When set high, this bit multiplies the PBL value programmed (bits [22:17] <strong>and</strong> bits [13:8]) four<br />

times. Thus the DMA transfers data in a maximum of 4, 8, 16, 32, 64 <strong>and</strong> 128 beats depending<br />

on the PBL value.<br />

Bit 23 USP: Use separate PBL<br />

When set high, it configures the RxDMA to use the value configured in bits [22:17] as PBL<br />

while the PBL value in bits [13:8] is applicable to TxDMA operations only. When this bit is<br />

cleared, the PBL value in bits [13:8] is applicable for both DMA engines.<br />

932/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!