cancel
Showing results for 
Search instead for 
Did you mean: 

I am using an STM32F469I$AU1 development board. I am also using the TouchGFX Ver 4.21.0 to develop a UI. I want to communicate through the virtual COM port using printf so I have modified the main() function in stm32cubeide to redirect printf().

SMaci.2
Associate

I have redirected printf to output through USART3. USART3 is being properly initialized. I have checked that it is sending data through USART3 up to function HAL_UART_Transmit(&huart3, &*c, 1, 10); and everything looks right but no data goes out the virtual COM port. Both the virtual COM port and the serial port monitor program (Termite 3.4) have the same configuration (115200, 8 data bits, 1 stop, no parity, no flow control). Is there something else I need to do? I have attached main() where the redirection code is located.

1 REPLY 1
MM..1
Chief II