Closed arilink-tech closed 2 years ago
Hello @arilink , Could you please have a look on this wiki page and let us know if it would be helpful to progress on your implementation? https://wiki.st.com/stm32mcu/wiki/Category:USB
And then for the FiFo configuration, normally you don't need to go much into details since the HAL provides you the abstraction layer for configuration, reading and writing. You just need to call the upper layer (class) functions. In case you need deep insight on FIFOs configuration and usage, you can refer to the STM32 reference manual that contains all these deatails.
Kind Regards,
@CHAMSTM hello, It’s hard for me to convince myself to develop with questions. Although the system works, I don’t understand why.
This is USB Descriptor generate by USBLyazer:USBX Study.zip
@CHAMSTM Did no one answer the question?
I have successfully ported ThreadX and USBX on my own board and successfully run the USB CDC+HID example But when I tried to understand the USB workflow, I ran into a problem. I can only roughly understand the need to prepare device descriptors, report descriptors, etc. But I don’t know the USB FIFO endpoints and the link between reading and writing. The related code is very complicated. Whether to provide A note to explain this?