USART communication between STM32L152RE and Arduino UNO
I am able to transmit data from STM32WL to Arduino UNO board using USART Serial communication but on following the same procedure I am not able to transmit the data from STM32L152RE to Arduino board though baud rate matches and the code and circuit connections are fine.
This is how I configured the port.

And this is my part of the code for USART Communication.
uint8_t tx_buffer[64] = "Hello world \r\n";
while (1)
{
/* USER CODE END WHILE */
HAL_UART_Transmit(&huart1, tx_buffer, 8, HAL_MAX_DELAY);
HAL_Delay(100);
/* USER CODE BEGIN 3 */
}
Can anyone recommend what could possibly go wrong in setting up the USART communication using the STM32L152RE board.
