cancel
Showing results for 
Search instead for 
Did you mean: 

Can I create multiple EMUL UART in STM32F407 controller using stsw-stm32156

SRao
Associate

One of my project I need 3# EMUL UART - I created 13 and it is working, if I try another 2 it is not working. pls let me know the procedure to add more UART

1 REPLY 1
S.Ma
Principal

Replacing HW by SW has limits, If the TX of your "USART" are not sending simultaneously, you could share a HW USART by changing which GPIO will become the "TX" pin. This will relax a bit the core.

Worst case is all SW UART receive a start bit at once. SW will queue these interrupts and create latency. When it exceed one UART bit duration, the system will fall apart. Cranking the SYSCLK up, putting the EXTI interrupts in SRAM (and its vectors) might help a bit.

Another issue will be that in the end there won't be enough DMA streams for all these UART needs.