Document how to use the HSE clock as the source, and USB on the STM32 Nucleo U5A5ZJ-Q board #79825
Labels
area: Documentation
Enhancement
Changes/Updates/Additions to existing features
platform: STM32
ST Micro STM32
Is your enhancement proposal related to a problem? Please describe.
The current nucleo board description (https://docs.zephyrproject.org/latest/boards/st/nucleo_u5a5zj_q/doc/index.html) and support doesn't enable USB-HS. Enabling USB-HS requires that specific components are stuffed including X4, a 16MHz crystal feeding the HSE clock.
However, at least on the board /I/ just bought, they're already stuffed! So it's very possible to enable it by default.
I have some working diffs locally; I need to clean them up and post them.
The TL;DR though is:
And then for the CDC-ACM demo, add this to samples/subsys/usb/cdc_acm/nucleo_u5a5zj_q.overlay:
Then it can be built like normal, ie:
`
`
Describe the solution you'd like
I'm not sure yet. I'm worried that there are versions of the Nucleo board without the HSE crystal (X4) stuffed and jumpered correctly. Is it worth creating a separate board type that assumes it's populated? Or just assume they are and document in the device tree how to flip just to the RC clock source if someone has a board without it?
Describe alternatives you've considered
(n/a)
Additional context
The text was updated successfully, but these errors were encountered: