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.

RM0008<br />

USB on-the-go full-speed (OTG_FS)<br />

Figure 265. OTG_FS controller block diagram<br />

AHB slave interface<br />

BIUS AHB slave<br />

AIU<br />

PSRAM<br />

PFC<br />

MAC<br />

WPC<br />

PIU<br />

SIE<br />

FS serial interface<br />

ai15608<br />

1. BIUS = bus interface unit, AIU = application interface unit, PFC = packet FIFO controller, MAC = media<br />

access controller, WPC = wakeup <strong>and</strong> power controller, PIU = PHY interface unit, SIE = serial interface<br />

engine.<br />

The USB system features 1.25 Kbyte of dedicated RAM with a sophisticated FIFO control<br />

mechanism. The packet FIFO controller (PFC) module in the OTG_FS Core organizes RAM<br />

space into Tx-FIFOs into which the application pushes the data to be temporarily stored<br />

before the USB transmission, <strong>and</strong> into a single Rx FIFO where the data received from the<br />

USB are temporarily stored before retrieval (popped) by the application. The number of<br />

instructed FIFOs <strong>and</strong> how these are architectured inside the RAM depends on the device’s<br />

role. In peripheral mode an additional Tx-FIFO is instructed for each active IN endpoint. Any<br />

FIFO size is software configured to better meet the application requirements.<br />

Doc ID 13902 Rev 9 711/995

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

Saved successfully!

Ooh no, something went wrong!