Skip to content

Conversation

mathieuchopstm
Copy link
Contributor

On most parts of the STM32F4 series, when the OTG_HS controller is used in FS mode, the ULIP low-power clock must also be disabled for proper operation. This was done properly in an old version of the driver but was lost as part of refactoring (commit e31ddec).

See Reference Manual extract:
image

Re-introduce ULPI low-power clock disable when OTG_HS is used in FS mode.

Fixes #97748

On most parts of the STM32F4 series, when the OTG_HS controller is used in
FS mode, the ULIP **low-power** clock must also be disabled for proper
operation. This was done properly in an old version of the driver but was
lost as part of refactoring[1].

Re-introduce ULPI low-power clock disable when OTG_HS is used in FS mode.

[1] See commit e31ddec

Signed-off-by: Mathieu Choplain <[email protected]>
Copy link

@mathieuchopstm
Copy link
Contributor Author

FTR, the MSC sample has been tested OK on stm32f469i_disco and nucleo_f207zg with this patch (i.e., it really is not nefarious to kill ULPI low-power clock on all targets).

@mathieuchopstm mathieuchopstm added this to the v4.3.0 milestone Oct 17, 2025
@smfelsher
Copy link

@mathieuchopstm I can confirm that this fix works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: USB Universal Serial Bus platform: STM32 ST Micro STM32

Projects

None yet

Development

Successfully merging this pull request may close these issues.

STM32F429I-DISC1 USB mass storage demo not working

5 participants