2025-01-08 02:11 AM - last edited on 2025-01-08 03:27 AM by Andrew Neil
Hi evryone,
I'm trying to initialise a very basic UART communication between my stm32 L552ZE-Q and my computer by following this tutorial: https://www.youtube.com/watch?v=dEQwSl8mCFs&t=924s
I have no errors, no warning while compiling and the problem is that there is nothing displayed on the PuTTy teminal. I also used TeraTerm and VScode serial terminal and nothing happened. I tried also on an other computer and same problem.
I have upgraded the code by adding a blinking LED to verify if something is even running and the LED is blinking but again nothing on Putty...
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
HAL_UART_Transmit(&huart2, tx_buffer, 27, 10);
HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_9);
HAL_Delay(1000);
}
I've checked the COM port used in my device manager and set the correct Baud rate, I don't know to do next.
Thank you for your help!
Louis
2025-01-08 10:00 PM
You'd have to wait for ST to fix it or you'll have to manually write the configurations. Or try another Nucleo board that doesn't have the same issue.
2025-01-09 02:12 AM
@_Louis_ Some other options: