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.
8 years, 3 months ago.
USB Device Library support for STM32F429 Disco
Is someone able to use the USB Device Library for the STM32F429 Disco board? As far as I see, the target type ist added, but the connection to the user USB connector is not yet implemented correct. Any hints to run the lib?
Question relating to:
1 Answer
8 years, 1 month ago.
The base address for the USB_FS peripheral seems to be wrong. Check USBRegs_STM32.h and replace the #define OTG_FS_BASE (AHB2PERIPH_BASE + 0x0000) with something like #define OTG_FS_BASE ((uint32_t )0x50000000U) or #define OTG_HS_BASE ((uint32_t )0x40040000U). I haven't tested this yet, make this change and try again. Or you may use the USB-VCP in the debugger. Simply use USART2.