2020-07-09 07:59 AM
Hello,
I am currently initializing my STM32MP157CAC3 (TFBGA361) with CubeMX.
The processor's datasheet lists USB_OTG_FS functionality as additional functions on PA11 / PA12 but there is no such selection inside CubeMX.
In general, there is no USB_OTG_FS functionality listed (only USB_OTG_HS, which I can't use because the pins are already used by USB_HS2).
Is it possible to configure this peripheral inside CubeMX?
MPU: STM32MP157CAC3
CubeMX Version: 5.6.0.202002181639
MPU Firmware Package: V1.2.0
2020-07-10 05:24 AM
Hello @Community member ,
You are right about missing USB_OTG_FS functionality in CubeMX. Unfortunately this feature hasn't yet been implemented.
So in CubeMX you need to assure that pins PA11 and PA12 aren't assigned any other funcionality that could interfere with USB signals.
And then manually update the generated DT according the examples on:
https://wiki.st.com/stm32mpu/wiki/OTG_device_tree_configuration
Best regards,
Milan