-
Notifications
You must be signed in to change notification settings - Fork 7.6k
STM32N6:Enable USB and UDC OTGPHY clock #90362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
kartben
merged 1 commit into
zephyrproject-rtos:main
from
marwaiehm-st:fix_stm32n6_usb_udc
May 28, 2025
Merged
STM32N6:Enable USB and UDC OTGPHY clock #90362
kartben
merged 1 commit into
zephyrproject-rtos:main
from
marwaiehm-st:fix_stm32n6_usb_udc
May 28, 2025
+35
−2
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a4e242f
to
89a4c2c
Compare
tmon-nordic
previously approved these changes
May 23, 2025
etienne-lms
reviewed
May 23, 2025
89a4c2c
to
78efb25
Compare
tmon-nordic
previously approved these changes
May 26, 2025
erwango
previously approved these changes
May 26, 2025
etienne-lms
requested changes
May 26, 2025
- Reset specific configuration bits in USB1_HS_PHYC->USBPHYC_CR before setting new values. - Set the Frequency Selection (FSEL) bits to operate the USB PHY Control Register at 24 MHz for proper communication. - Enable the OTGPHY1 peripheral clock using LL_AHB5_GRP1_EnableClock. Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
78efb25
to
d094bf2
Compare
etienne-lms
approved these changes
May 27, 2025
|
erwango
approved these changes
May 28, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These modifications resolve the USB/UDC initialization error encountered during normal boot mode, allowing the application to successfully enable USB/UDC functionality on the stm32n6570_dk and nucleo_n657x0_q boards.
Fix the issue.