Has STM32G4 support for USB? #11547
Unanswered
jgpeiro
asked this question in
STM32 / Pyboard
Replies: 2 comments
-
According to the PR that added the G4 nucleo board it's supposed to work, but it definitely doesn't. See #11556 which is a quick attempt to make it work (but unfortunately I do not have a G4 board to test it with). |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello It was more easy than I expected, so most of the code was compatible with already existing code for G0...it makes sense. Thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to enable USB on the NUCLEO_G474RE port simply by:
#define MICROPY_HW_ENABLE_USB (1)
#define MICROPY_HW_USB_FS (1)
#define MICROPY_HW_USB_VBUS_DETECT_PIN (pin_A9)
#define MICROPY_HW_USB_OTG_ID_PIN (pin_A10)
and got lot of errors. I saw the code generated with STM32CubeMx and looks to me that this USB uses little bit different USB code than other families so is not compatible with the actual micropython USB stack?
Beta Was this translation helpful? Give feedback.
All reactions