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().
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-02-07 8:22 AM
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.
Labels:
- Labels:
-
STM32CubeIDE
-
STM32F4 Series
-
TouchGFX
-
UART-USART
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-02-07 9:03 AM
