Skip to content
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

usb: On rm0455/rm0468 parts, pins PA11/PA12 do not have an alternate function for USB #464

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

richardeoin
Copy link
Member

See pinouts in part datasheets. To use these pins for USB, it's not necessary to switch them to an alternate function: the USB D-/D+ pins are functional when the GPIO state is Analog. Tested on a STM32H7A3ZIT6

The ability to allocate PA11/PA12 to AF10 was correctly removed in #346 , but this exposed the bug.

@richardeoin richardeoin changed the title usb: On rm0455/rm0468 parts, pins PA11/PA12 can be in analog mode usb: On rm0455/rm0468 parts, pins PA11/PA12 do not have an alternate function for USB Oct 30, 2023
See pinouts in part datasheets. To use these pins for USB, it's not necessary to
switch them to an alternate function: the USB D-/D+ pins are functional when the
GPIO state is analog. Tested on a STM32H7A3ZIT6
@richardeoin richardeoin force-pushed the usb_rm0455_rm0468_analog branch from 6114a5d to 3914785 Compare October 30, 2023 20:52
@richardeoin richardeoin added this pull request to the merge queue Oct 30, 2023
Merged via the queue into stm32-rs:master with commit 1b9e46e Oct 30, 2023
21 checks passed
@richardeoin richardeoin mentioned this pull request Oct 30, 2023
richardeoin added a commit to richardeoin/stm32h7xx-hal that referenced this pull request Nov 3, 2023
github-merge-queue bot pushed a commit that referenced this pull request Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant