STM32F091RC and USBSerial

Hello there!
I am currently trying to implement printf() in a program to debug and to do so I need to establish a serial between my PC and dev board.

I followed the USBSerial - API references and tutorials | Mbed OS 6 Documentation example just to test it but got stopped by an error:

“This board does not have a hardware USB driver”

So I tried to force just like this tutorial MAX32630 USBMSD driver not found

but got even more errors.

So my question is simple does the board not have USB driver or do I need to keep going on this path?

Thanks for taking the time to respond to my newbie question.



Then there is no USB driver implemented.

However according to STM32F091xC datasheet this MCU does not have any onchip USB controller. So you need use an UART to USB converter like FTDI chip.

BR, Jan

1 Like