Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
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:
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.