AT32F425
Series Reference Manual
2022.03.30
Page 396
Ver 2.01
1: Low-power mode
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.
20.6.3.15
OTGFS device IN endpoint Tx FIFO size register
(OTGFS_DIEPTXFn) (x=1
…
7, where n is the FIFO number)
This register holds the depth and memory start address of the IN endpoint transmit FIFO in device mode.
Each of the FIFOs contains an IN endpoint data. This register can be used repeatedly for instantiated
IN endpoint FIFO1~15 . The GNPTXFSIZ register is used to program the depth and memory start
address of the IN endpoint FIFO 0.
Bit
Register
Reset value
Type
Description
Bit 31: 16 INEPTXFDEP
0x0200
ro/rw
IN Endpoint TxFIFO depth
Values are in terms of 32-bit words.
Minimum value is 16
Maximum value is 512
The reset value is the maximum possible IN endpoint
transmit FIFO depth
Bit 15: 0
INEPTXFSTADDR
0x0400
ro/rw
IN Endpoint FIFOn transmit SRAM start address
This field contains the SRAM start address of the IN
endpoint n transmit FIFO
20.6.4 Host-mode registers
Host-mode registers affect the operation of the controller in host mode. Host-mode register are not
accessible in device mode (as the results are undefined in device mode). Host-mode registers contain
as follows:
20.6.4.1 OTGFS host mode configuration register (OTGFS_HCFG)
This register is used to configure the controller after power-on. Do not change this register after
initialization.
Bit
Register
Reset value
Type
Description
Bit 31: 3
Reserved
0x0000 0000 resd
Kept at its default value.
Bit 2
FSLSSUPP
0x0
ro
FS- and LS-only support
The application uses this bit to control the controller’s
enumeration speed. With this bit, the application can make
the controller enumerate as a full-speed host mode, even