Hello!
I have a simple project that I developed for a stm32f439zi microcontroller (NUCLEO-F439ZI card): it receives data on RS232 port and sends it to a PLC via RS232 and to a PC via USB-HID protocol.
The project uses FreeRTOS with TinyUSB stack, RS232 communication is done with DMA. It works perfectly.
I wanted to port this to stm32l476rg (NUCLEO-L476RG) microcontroller but I got stuck on USB-HID.
The application is self-powered, I use VBUS-sensing. When I connect the device to the PC, the enumeration happens; but the TinyUSB stack immediately stops with an "Endpoint Busy" error.
I have removed all "unnecessary" parts from the project, I only start the USB stack, but still this is the result.
What could be the problem? What is the status of the STM32L4 port?
Thanks in advance for your help!
Hello! I have a simple project that I developed for a stm32f439zi microcontroller (NUCLEO-F439ZI card): it receives data on RS232 port and sends it to a PLC via RS232 and to a PC via USB-HID protocol. The project uses FreeRTOS with TinyUSB stack, RS232 communication is done with DMA. It works perfectly. I wanted to port this to stm32l476rg (NUCLEO-L476RG) microcontroller but I got stuck on USB-HID. The application is self-powered, I use VBUS-sensing. When I connect the device to the PC, the enumeration happens; but the TinyUSB stack immediately stops with an "Endpoint Busy" error. I have removed all "unnecessary" parts from the project, I only start the USB stack, but still this is the result. What could be the problem? What is the status of the STM32L4 port? Thanks in advance for your help!![Képernyőkép – 2021-07-29 16-41-57](https://user-images.githubusercontent.com/33812956/127747527-dc054070-a3a2-4d61-9c69-def9aedbac76.png)