serial monitor not working
im trying to create a project that write something in the serial monitor(raed/write) . i followed many tutorials step by step but i everytime my serial monitor doesnt print my message( i used tera term/putty/and even the serial monitor in the ide "command shell console".
- i already fixed the baud rate to 115200
- i already confugured the usart3 pins pd8 and pb11 or pd8 and pd9 for RX and TX
-i already activated the NVIC settings in usart3 menu
- this is the code that i used in while(1) part :
while (1)
{
/* Transmit "Hello, World!" over USART3 */
char msg[] = "Hello, World!\r\n";
HAL_UART_Transmit(&huart3, (uint8_t*)msg, sizeof(msg) - 1, HAL_MAX_DELAY);
/* Add a delay to avoid flooding the serial monitor */
HAL_Delay(1000);
}
the code was built with 0 errors 0 warnings
is there something that i misssed or i need to ckeck or did wrong
im using stm32f407G disc1 board and it's only connected to the c through the cable




