Other Parts Discussed in Thread: EK-TM4C1294XL
Hi,
I'm currently working on a project where I aim to interface a mouse with a Tiva board through a USB hub. The mouse is connected to the downstream port of the hub, while the Tiva board is connected to the upstream port.
After configuring my Tiva board as a host using the usbhhidmouse.h & usbhhub.h libraries, I've successfully managed to receive mouse coordinates from the connected mouse. However, I'm now looking to take it a step further.
My goal is to emulate a USB HID mouse on the Tiva board and send HID reports over the same upstream connection of the hub. This way, the data can be transmitted to the downstream port, which is connected to a PC. Ultimately, I aim for my device to be recognized as an HID mouse by the PC.
Additionally, considering that the Tiva board is configured as a host for the mouse and hub to receive mouse coordinates, I'm curious if it's feasible to reconfigure the Tiva board as a device and send HID reports through the upstream of the hub.
I would appreciate any insights, tips, sample code or guidance on how to achieve this emulation and data transmission effectively through the hub.
Thank you in advance for your help!