User Activity

I am coding on a stm32 a connection between UART1 and UART2. I would like UART1 to transmit the data rise by UART2 and vice versa (my stm32 will only be a gateway between a PC and an IOT), I do not know the size of the data that arrives on the two UA...