MCBSTM32EXL Keil, MCBSTM32EXL Datasheet - Page 792

no-image

MCBSTM32EXL

Manufacturer Part Number
MCBSTM32EXL
Description
BOARD EVALUATION FOR STM32F103ZE
Manufacturer
Keil
Datasheets

Specifications of MCBSTM32EXL

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
USB on-the-go full-speed (OTG_FS)
Table 187. OTG_FS register map and reset values (continued)
26.15
26.15.1
792/995
Offset
0xCF0
0xE00
OTG_FS_DOEP
OTG_FS_PCG
Register
Reset value
Reset value
TSIZ15
CCTL
Refer to
OTG_FS programming model
Core initialization
The application must perform the core initialization sequence. If the cable is connected
during power-up, the current mode of operation bit in the Core interrupt register (CMOD bit
in OTG_FS_GINTSTS) reflects the mode. The OTG_FS controller enters Host mode when
an “A” plug is connected or Device mode when a “B” plug is connected.
This section explains the initialization of the OTG_FS controller after power-on. The
application must follow the initialization sequence irrespective of Host or Device mode
operation. All core global registers are initialized according to the core’s configuration:
1.
2.
3.
4.
Program the following fields in the Global AHB configuration (OTG_FS_GAHBCFG)
register:
Program the following fields in OTG_FS_GUSBCFG register:
The software must unmask the following bits in the GINTMSK register:
OTG interrupt mask
Mode mismatch interrupt mask
The software can read the CMOD bit in OTG_FS_GINTSTS to determine whether the
OTG_FS controller is operating in Host or Device mode.
Table 1 on page 41
Global interrupt mask bit GINT = 1
RxFIFO non-empty (RXFLVL bit in OTG_FS_GINTSTS)
Periodic TxFIFO empty level
HNP capable bit
SRP capable bit
FS timeout calibration field
USB turnaround time field
0
0
0
0
0
0
PKTCNT
0
for the register boundary addresses.
0
Doc ID 13902 Rev 9
0
0
0
Reserved
0
0
0
0
0
0
0
0
0
0
XFRSIZ
0
0
0
0
0
0
0
RM0008
0
0
0

Related parts for MCBSTM32EXL