This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32F4 Custom Host and custom device not sending and receiving properly

Hi,

I have been using two STM32F446 boards; One as a custom HID host and other as custom HID device. The code for the custom host was generated from CUBE mx
I have gone through the discussions thread in below links.
1.community.arm.com/.../stm32f4-hid-host-custom-device
2.community.arm.com/.../stm32f4-usb-host-hid-application
and changed "USBH_HID_Process" state machine in usbh_hid.c. My intention is to send requests from the host and get responses from the device for those requests. However, I could see that only one request is sent and corresponding response is obtained from device. Custom HID device is working as expected because I have tested the HID device communicating with a desktop application.

Please help me to initialize a custom device like the mouse or keyboard initialization and help me to modify the "USBH_HID_Process" state machine so that I can do a request response way of communication between the host and the device.

Best regards

Athul 

0