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, 6 months ago.
USART ports available in NUCLEO-F091RC
Hi all,
I don't have a STM board yet, but I was looking into NUCLEO-F091RC. I am particularly interested for its ability to support up to 8 USART ports. However by looking at the pinout, I am a bit confused.
I seems that the serial pins are located both in the Arduino headers and in the Morpho headers. For example Serial 7 RX is pin D9 in the Arduino headers and Serial 7 TX is pin PC_8 in the Morpho headers. Does this mean that in order to set-up USART port 7 I use the pins from both headers?
In addition, I see that Serial 2 Rx/Tx pins are located in both headers. Does this mean that I can set-up USART port 2 in either of these headers?
And a final question. Are all of the 8 USART ports available for use? I am asking because for example TM4C123 claims to have 8 UART ports but only 6 are available in reality, the other two are used for other functions by default.
Thank you.
1 Answer
9 years, 6 months ago.
Here the UART pinouts can be found: https://developer.mbed.org/users/mbed_official/code/mbed-src/file/7f313a59e20c/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/PeripheralPins.c
And I leave it as excersice to the reader to check if all of those are available at external pins :).
You are surely going to have to use the Morpho headers to have access to most UARTs, otherwise you simply lack pins. The inner side of Morpho headers are shorted to Arduino headers, so you only need to use the Morpho ones. If several pins can be used for Serial2, you can indeed select either one of them, but not both at the same time for different Serial.