2024-04-23 04:25 AM
Hi Team,
I'm using STM32H743 series controller.
I want to implement USB Base class on STM32H743. Unfortunately CubeMX will not support it.
Any example code which works on Base class- 00h, Sub class -00h and protocol -00h
2024-04-23 06:33 AM - edited 2024-04-23 06:37 AM
Class 00h, sub class 00h, protocol 00h in the device descriptor means that the actual class/subclass/protocol are defined in the Interface descriptor, or (more likely) the device is composite and has several functions, with their own descriptors. ST USB library has "composite builder" for creating composite devices, and USBX has support for composite devices.
Note: if by custom you mean the vendor specific class, it is not 00/00/00. Interface (USB function) with Class 00h, sub class 00h, protocol 00h is not valid.
2024-04-23 09:20 AM
Hi @RJ1
You can get information from interface descriptors after it has been enumerated by host. But there is no example dedicated to base class.
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.