On an STM32F103CB I'm running the USB Custom HID Device STM32CubeIDE example.It has 1 USB HID Interface with 2 USB Endpoints (Input and Output, interrupt transfers), and I've added a Report Descriptor with several top-level collections, and it's work...
On an STM32F103CB, running as a Custom USB HID FS device, I have this USB HID Report Descriptor (I'm only showing Report ID 2): 0x06,0x70,0xff, // Usage Page: Vendor defined
0x09,0x06, // Usage
0xa1,0x01, // Collection: Applica...
Suppose I define a global array called DATA in a .c file for an STM32F103 like so:#include ...
uint32_t DATA[0x1000] = {
// data goes here
};
int main(){
// main
}Questions.0) Where does DATA get stored? Flash or SRAM? Or somewhere else? (Is th...
I want to send USB HID Reports as fast as the MCU or the USB protocol allows. In order to send an USB HID Report on an STM32F103 I'm doing something like: USBD_HID_SendReport(&hUsbDeviceFS, (u8*)&report,sizeof(report));
HAL_Delay(some_delay); or even...
I have a USB HID Device STM32CubeIDE project with the following USB HID Report Descriptor 0x05,0x01, // Usage Page: Generic Desktop Page (0x01), page HID Usage Tables 1.4
0x09,0x06, // Usage: Keyboard (0x06)
0xa1,0x01, // C...
Thank you for your help; that was insightful.So this is the only way; you can't just crank up the Report Count0x95,0x3f, // Report Count: 63 elemsto 100K and expect the USB stack to "just make it work"?
Hi @FBL how can I add a callback or use a SW flag?How can I check (on the USB device) that the transmission is complete or that the USB endpoint is ready?