9 years, 10 months ago.

mbed library and STM32F429IDiscovery with usb serial communications?

Hello,

I have tried the mbed library with the Nucleo-F411RE board, it seems very nice. However, I would like to use it with a STM32F429IDiscovery board. I have the mbed source code and can compile for STM32F429IDiscovery. However, it doesn't appear to work with anything regarding the USB serial communications. Are you going to be adding this functionality soon?

Thanks

1 Answer

9 years, 10 months ago.

Hello,

the Discovery platforms are driven by community on github. I assume the peripheral is same as for F411RE, so adding support t to your platform should not be that hard, look at mbed github repository. More than welcome to send a pull request.

Regards,
0xc0170

Well, yes, I agree, it looks easy enough, however, there is a difference between the Nucleo-F411RE and the STM32F429IDiscovery that prevents this from working. Both boards have the mcu communicating thru a STM32F10C chip, which is connected to the mini usb. The latest firmware for the chip(STM32F10C) is ""V2.J23.S0 STM32 Debugger" on the 429(discovery), but on the 411(nucleo) "V2.J23.M7 STM32 Debug+Mass storage". Serial transfer is possible thru the nucleo board, however on the discovery this is not possible without a firmware upgrade(from ST). So, the other option is to use the vcp on micro usb available on the STM32F429IDiscovery board. Is this something that mbed can support?

posted by renasis@... 13 Jan 2015

IF this is a case, you can use other uart channels, and like ftdi (serial to usb), which I use in case t here's no usb connection on the board.

posted by Martin Kojtal 13 Jan 2015