AT32WB415
Series Reference Manual
2022.04.13
Page 342
Ver 2.00
20.6.3.12
OTGFS general controller configuration register
(OTGFS_GCCFG)
Bit
Register
Reset value
Type
Description
Bit 31: 22 Reserved
0x000
resd
Kept at its default value.
Bit 21
VBUSIG
0x0
rw
VBUS ignored
When this bit is set, the OTGFS controller does not monitor
the Vbus pin voltage, and assumes that the Vbus is always
active in both host and device modes, and leaves the Vbus
pin for other purposes.
0: Vbus is not ignored
1: Vbus is ignored, and is deemed as always active
Bit 20
SOFOUTEN
0x0
rw
SOF output enable
0: No SOF pulse output
1: SOF pulse output on PIN
Bit 19
BVALIDSESEN
0x0
rw
Bvalid sense enable
0: Disabled
1: Enabled
Bit 18
AVALIDSESEN
0x0
rw
Avalid sense enable
0: Disabled
1: Enabled
Bit 17
Reserved
0x0
resd
Kept at its default value.
Bit 16
PWRDOWN
0x0
rw
Power down
This bit is used to activate the transceiver in
transmission/reception. It must be pre-configured to allow
USB communication.
0: Power down enable
1: Power down disable (Transceiver active)
Bit 15: 0
Reserved
0x0000
resd
Kept at its default value.
20.6.3.13
OTGFS controller ID register (OTGFS_GUID)
This is a read-only register containg the production ID.
Bit
Register
Reset value
Type
Description
31: 0
USERID
0x0000 1000 rw
Product ID field
The application can program the ID field.
20.6.3.14
OTGFS host periodic Tx FIFO size register
(OTGFS_HPTXFSIZ)
This register contains the size and memory start address of the periodic transmit FIFO.
Bit
Register
Reset value
Type
Description
Bit 31: 16 PTXFSIZE
0x02000
ro/rw
Host periodic TxFIFO depth
Values are in terms of 32-bit words.
Minimum value is 16
Maximum value is 512
Bit 15: 0
PTXFSTADDR
0x0600
ro/rw
Host Periodic TxFIFO start address
The power-on reset value of this register is the sum of the
largest receive FIFO depth and the largest non-periodic
transmit FIFO depth.