stm32 /stm32n6 /STM32N645 /OTG1 /OTG_GOTGCTL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as OTG_GOTGCTL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)VBVALOEN 0 (B_0x0)VBVALOVAL 0 (B_0x0)AVALOEN 0 (B_0x0)AVALOVAL 0 (B_0x0)BVALOEN 0 (B_0x0)BVALOVAL 0 (B_0x0)EHEN 0 (B_0x0)CIDSTS 0 (B_0x0)DBCT 0 (B_0x0)ASVLD 0 (B_0x0)BSVLD 0 (B_0x0)OTGVER 0 (B_0x0)CURMOD

BSVLD=B_0x0, EHEN=B_0x0, OTGVER=B_0x0, VBVALOVAL=B_0x0, VBVALOEN=B_0x0, CIDSTS=B_0x0, CURMOD=B_0x0, BVALOVAL=B_0x0, BVALOEN=B_0x0, AVALOEN=B_0x0, AVALOVAL=B_0x0, ASVLD=B_0x0, DBCT=B_0x0

Description

OTG control and status register

Fields

VBVALOEN

V less than sub>BUS less than /sub> valid override enable.

0 (B_0x0): Override is disabled and vbusvalid signal from the respective PHY selected is used internally by the core

1 (B_0x1): Internally vbusvalid received from the PHY is overridden with VBVALOVAL bit value

VBVALOVAL

V less than sub>BUS less than /sub> valid override value.

0 (B_0x0): vbusvalid value is ‘0’ when VBVALOEN = 1

1 (B_0x1): vbusvalid value is ‘1’ when VBVALOEN = 1

AVALOEN

A-peripheral session valid override enable.

0 (B_0x0): Override is disabled and Avalid signal from the respective PHY selected is used internally by the core

1 (B_0x1): Internally Avalid received from the PHY is overridden with AVALOVAL bit value

AVALOVAL

A-peripheral session valid override value.

0 (B_0x0): Avalid value is ‘0’ when AVALOEN = 1

1 (B_0x1): Avalid value is ‘1’ when AVALOEN = 1

BVALOEN

B-peripheral session valid override enable.

0 (B_0x0): Override is disabled and Bvalid signal from the respective PHY selected is used internally by the core

BVALOVAL

B-peripheral session valid override value.

0 (B_0x0): Bvalid value is ‘0’ when BVALOEN = 1

1 (B_0x1): Bvalid value is ‘1’ when BVALOEN = 1

EHEN

Embedded host enable

0 (B_0x0): OTG A device state machine is selected

1 (B_0x1): Embedded host state machine is selected

CIDSTS

Connector ID status

0 (B_0x0): The OTG controller is in A-device mode

1 (B_0x1): The OTG controller is in B-device mode

DBCT

Long/short debounce time

0 (B_0x0): Long debounce time, used for physical connections (100 ms + 2.5 s)

1 (B_0x1): Short debounce time, used for soft connections (2.5 s)

ASVLD

A-session valid

0 (B_0x0): A-session is not valid

1 (B_0x1): A-session is valid

BSVLD

B-session valid

0 (B_0x0): B-session is not valid.

1 (B_0x1): B-session is valid.

OTGVER

OTG version

0 (B_0x0): OTG Version 1.3. OTG1.3 is obsolete for new product development.

1 (B_0x1): OTG Version 2.0. In this version the core supports only data line pulsing for SRP.

CURMOD

Current mode of operation

0 (B_0x0): Device mode

1 (B_0x1): Host mode

Links

()