I am using Nucleo F334 and STM32 Workbench as IDE.
I need to build a bridge between UART2 and UART3. It should work this way: data are continously acquired on USART3_RX by interrupt and transmitted on USART2_TX.
I am using the HAL library but I can not understand how to implement it since the library has the function:
HAL_UART_Receive_IT(&huart3, (uint8_t*)ch1, strlen(ch1));
but the number of bytes to acquire must be specified.
I can not understand how to make it acquire indefinitely.