2019-08-29 11:21 PM
Hi All,
Currently, I'm working on project wherein I need the maximum number of UARTs I can get. After doing some research, I came across the STM32F091VC controller which has the 8 UART (max number of UARTs ST can provide). Unfortunately, there is not a single eval-board/ discovery/ nucleo board which has this controller with all UART's pin out on connectors. Hence, before I proceed with my own hardware design, I wanted to know, whether I can use all the 8 UART without any issue, or I've to use some sort of management to use all of them together.
Any tips regarding board design, information regarding previous issues, or the link of other references would be highly appreciated.
Regards,
Aatif Shaikh
Solved! Go to Solution.
2019-08-30 12:02 AM
> is there any better version of ST controller with 8 or higher UART, also has more RAM, runs on high clock rate (72Mhz and above).?
Yeah, there are 100 and 144 pin STM32F413 models which have 6 UARTS and 4 USARTS, so 10 in total. NUCLEO-F413ZH is available too with such a MCU.
Or, if you need even more firepower, you can use one of many STM32H7 series microcontrollers, e.g. STM32H743ZI, a Nucleo board is avaialbe too, it has 4 UARTS, 4 USARTS, and 1 LPUART, so 9 in total.
2019-08-29 11:33 PM
Normally you can use all peripherals.
Note that USART vs UART vs LPUART have small differences to check out:
If you plan to use any DMA, you might not be able to plumb all UARTs.
Also make sure you have enough RAM for all buffers (protocol dependent?)
If you need more UART in the future by cascading MCUs, keep an SPI pinout available. (USART <=> SPI <=> USART' is implementable (USARTs over SPI)
2019-08-29 11:51 PM
thanks for the answer,
Thanks for the suggestion on how I can increase the number of UARTs. Moreover, STM32F091VC has the 256K flash and 32KB RAM, is there any better version of ST controller with 8 or higher UART, also has more RAM, runs on high clock rate (72Mhz and above).?
Regards,
Aatif Shaikh
2019-08-30 12:02 AM
> is there any better version of ST controller with 8 or higher UART, also has more RAM, runs on high clock rate (72Mhz and above).?
Yeah, there are 100 and 144 pin STM32F413 models which have 6 UARTS and 4 USARTS, so 10 in total. NUCLEO-F413ZH is available too with such a MCU.
Or, if you need even more firepower, you can use one of many STM32H7 series microcontrollers, e.g. STM32H743ZI, a Nucleo board is avaialbe too, it has 4 UARTS, 4 USARTS, and 1 LPUART, so 9 in total.
2019-08-30 03:29 PM
One think to notice on the 'F09x is, that USARTs 3 to 8 share a single interrupt vector.
Not really an issue, just a minor annoyance. Cube/CubeMX users probably won't even notice.
JW
2019-08-31 04:23 AM
@Community member thanks a lot mate, this is really helpful, sharing single vector will be slightly pain, as I'll not properly able to assign the priorities in a convenient way.
@After Forever you're a life savior, I'll probably move to the NUCLEO-F413ZH. Now, all I've to check, is whether they've provided all the necessary pins (RX and TX of the UART) on the morpho connectors or not.
2019-08-31 01:11 PM
But at least on the F09 there is a register to see what uart interrupt fired
2019-08-31 02:46 PM
Also F7 series has 4 USARTs + 4 UARTs = 8 total. You get twice the processing power of F4 with almost the same complexity. In contrast H7 is quite a different and more complex beast.
2019-08-31 11:44 PM
You mean SYSCFG_ITLINE29 ?
Yes it's neat. It's a pity ST's documentation does not handle well description of the modules' interconnection.
JW
2019-09-05 10:34 PM
NUCLEO-F413ZH seems to be the best option for me. Unfortunately, I'm not able to find any authentic and rightful details of this board.
Even on the STM site:" https://www.st.com/en/evaluation-tools/nucleo-f413zh.html#overview ", the majority of the resource files are of different NUCLEOs (mostly NUCLEO-F207ZG). There is a huge lack of information about this board makes me feel sad.
So, If the UART's pins aren't going to be available on the MORPHO connectors than that board will be useless for me.
does this board launch in the market recently?. If so, I'll have to make a custom-made board.