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, 10 months ago.
Advice stm32F091rc
I am looking for some general advice for a complete newbie!!
I have the STM32F091RC board and we have a PC application already developed in c++ that will need to be ported over to run in this embedded platform. It is not doing anything to complicated, just communicating to a device over RS232.
I have started to look at the mbed library, and thought I should start there, then I came across the SM32Cube stuff. Is this something I need and should be using together with the mbed library? Or is it a case of one or the other.
My guess is that I can configure stuff with stm32cubemx and then use any of the nbed libraries?
Sorry if these are stupid questions - but I am staring from the bottom (I know nothing!!)
cheers for any guidance!
1 Answer
9 years, 10 months ago.
Hi Mark,
The STM32Cube HAL is actually used behind the scenes by mbed, so you shouldn't have to do any configuration yourself.
You mentioned that your project will need to do some serial communication. I recommend checking the serial handbook page here: https://developer.mbed.org/handbook/Serial.
Let me know if you have any specific questions!
Thanks,
Brian
You should follow the mbed implementation for this. The STMCube is useful if you're rolling your own BSP or trying to just allocate pins. You have seen this page: https://developer.mbed.org/platforms/ST-Nucleo-F091RC/ ? The pins that are configurable by mbed are shown in the diagrams.
As far as implementing "pure" RS232 there are no pins on the board that do that
posted by Bill Bellis 25 Nov 2015only pins that speak serial but are not compatible with true RS232 signals. You will need a shield for that.