2024-12-29 01:25 AM
I have spent a few days trying to select the correct MCU for a project and trying to minimise the need for external ICs For example, I need the STM32F479VI MCU to appear as a USB Full Speed (480 Mbps) device.
However, in CubeIDE, when I select USB-OTG-HS I get the following screen,
The manual says,
It mentions USB 2.0 high-speed + host controller + on-chip full-speed PHY
I think this will only work with an external USB 2.0 High-Speed PHY.
Are there any STM32F4 that have an internal USB 2.0 High-Speed PHY?
Regards,
Daniel
Solved! Go to Solution.
2024-12-29 04:51 AM
No, most STM32 need external phy for USB HS. There are only a few exemptions, like F723 and U59.
2024-12-29 04:51 AM
No, most STM32 need external phy for USB HS. There are only a few exemptions, like F723 and U59.
2024-12-29 06:50 AM
Thanks,
With so many options it was hard to find this clearly started. Your answer is appreciated! External PHY it is then.
Regards,
Daniel
2024-12-29 06:51 AM - edited 2024-12-29 06:51 AM
+1 STM32F723 ST uses this for the ST-LINK/V3
No STM32F4 support without external PHY
What type of USB Device are you trying to build? Can you sink/source the volume of data involved?
2024-12-30 11:01 PM
Hi Tesla,
What type of USB Device are you trying to build? Can you sink/source the volume of data involved?
It is a sensor board with external data processing rather than doing the number crunching on the MCU. So the aim here is to stream the collected data over USB using DMA with the STM32F4 appearing as a CDC device. A companion application on the PC receives the stream and then processes it once all data has been collected. This avoids adding external SRAM to the MCU, setting up FMC, and doing the processing on the MCU. I might do this later, but just to start, this is fine.
I have looked at my bandwidth requirements again, and actually I need around 9 Mbps, so I am considering using USB FS. However, I am unsure how to transmit data over USB with a DMA transfer. I'm going to ask about that here, https://community.st.com/t5/stm32-mcus-products/cubeide-how-to-configure-usb-hs-with-internal-fs-phy-for-dma/m-p/757310#M269515
Thanks for your interest!
Regards,
Daniel