AnsweredAssumed Answered

Using two UART

Question asked by hospodar.ivan on Oct 21, 2015
Latest reply on Oct 25, 2015 by Clive One
Hello,

I using STM periph. library and I would need to use two UARTs on STM32F103. One UART for serial Modbus RTU comunication with sensors and one UART for terminal interface which will show data from sensors and provide a possibility to set up some parameters like Slave ID, function code, etc. 
Now, I have implemented one UART with Rx and Tx FIFO buffers and I'm using printf function.

How is it possible to implement second UART and using printf (or printf-like) function also for that?

Thank you.
Ivan

Outcomes