cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement STM32F4 as a USB Host to CDC Slave?

tejashwini
Associate

we are working on a project where an STM32F4 microcontroller is used as a host to connect with an external device. we are considering using the USB interface for this purpose. Can we refer to the following example to implement USB host functionality on the STM32F4, and are there any specific considerations or configurations we should be aware of for proper communication and integration?

https://controllerstech.com/usb-cdc-device-and-host-in-stm32/

1 REPLY 1
Imen.D
ST Employee

Hello @tejashwini ,

Let me first welcome you to the ST Community :)

You can find relevant USB Host examples in the STM32CubeF4 MCU package.

I advise you to refer to the User manual UM1720 for the "STM32Cube USB host library" which provides detailed and examples for USB Host implementation.

Hope this helped you!

 

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen