I am trying to connect UART communication with STM32L053C8-Discovery. But the problem is on terminal I get unknown symbols.
My Setup on CubeMX
/* USER CODE BEGIN Includes */
uint8_t tx_buff[]={1};
uint8_t rx_buff[10];
while (1)
{
HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_5);
HAL_UART_Transmit_DMA(&huart1,tx_buff,sizeof(tx_buff));// Sending in DMA mode
HAL_Delay(1000);
}
To RX,TX pins I connected FT232RL FTDI module.
With Arduino it works but with STM32 in terminal I get only symbols. Maybe someone could explain me how to correctly set the format?
Also there is a full code of main.c: https://pastebin.com/kST92XWZ