Skip to main content
Visitor II
March 21, 2023
Question

USB Device interrupt transfer

  • March 21, 2023
  • 0 replies
  • 544 views

I am using Nucleo-STM32 F767ZI board. I am to using interrupt transfer for sending data to PC(Host). But data is not getting displayed on game pad. When I use the  USBD_CUSTOM_HID_SendReport() function inside while(1) loop. it sends data and it gets displayed on game controller window. I want to send data using interrupt method and at time interval mentioned in CUSTOM_HID_FS_BINTERVAL, not in main() while loop. What steps I have to follow and where to write the function to make it work?

    This topic has been closed for replies.