2025-07-03 2:42 AM - last edited on 2025-07-03 3:44 AM by mƎALLEm
Moved from this discussion as it's linked to the embedded software USB and FreeRTOS.
My problem has always been that when USB and USART1 are working at the same time, USB as a virtual serial port is not working properly. In my code, two different threads were opened to test, one thread for usart1 and the other thread for the USB virtual serial port. Don't know what's wrong with this?
2025-07-03 3:22 AM
Hello @jack_wang
Could you share your interrupts priorities settings please.
2025-07-03 6:02 PM
2025-07-08 10:44 PM
2025-08-06 3:29 AM
Hi @jack_wang
Which STM32 / board are you using? Why do you use two different threads for the same interface?
Attached example might help you!
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.