Skip to main content
santhosh
Associate
February 24, 2016
Question

STM32F103VB TWO USART Comm Simultaneously

  • February 24, 2016
  • 2 replies
  • 721 views
Posted on February 24, 2016 at 15:21

Hi,

I am using stm32f103vb discovery board. Here i want to access UART1 and UART2 simultaneously. I have done coding in which i am able to transmit and receive data either through UART1 or UART2. But not able to enable both simultaneously. Kindly suggest how can i enable both UART simultaneously.

In my application i want to use UART1 to communicate  with other microcontroller and UART2 to communicate with other system.

 

#stm32f10xx-uart-communication
This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
February 24, 2016
Posted on February 24, 2016 at 15:26

Use ring/fifo buffers, service with interrupts and don't block.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
santhosh
santhoshAuthor
Associate
February 25, 2016
Posted on February 25, 2016 at 09:02

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6jM&d=%2Fa%2F0X0000000bu7%2F2peEMy19B0Ei2XcpBn4F_OOVSmL5GfSKSSoLrjXdua0&asPdf=false