9 years, 7 months ago.

USB OTG

Hi everyone,

My understanding is that MBED libraries has support for STM32F407 chips to be programmed as USB Host/Device/OTG modes. Is this correct?

I can run the USBHID example on an LPC1768, but not on this Arch Max STM32F407.

Can someone point me to where to begin for debugging? I've started looking in the HAL to make sure the correct registers are written, but after that, I will need to find out if this Arch Max is indeed capable of USB Device mode or not.

Thanks!

Question relating to:

The Arch Max is an mbed enabled development board for rapid prototyping. It's based on a STM32F407VET6 microcontrolle with an ARM Cortex-M4F core running at 168MHz. It includes an open …

1 Answer

9 years, 7 months ago.

Yes, the STM32F407 chips supports Host/Device/OTG, but at this moment, we only get USBSerial (https://developer.mbed.org/handbook/USBSerial) work.

The USBHAL_STM32F4.cpp in https://developer.mbed.org/users/mbed_official/code/USBDevice/file/461d954eee6b/USBDevice is good piont to start.