hid_device_report.ino and the RP2040 USB Host

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Claude_J_Greengrass
 
Posts: 79
Joined: Sat Jul 24, 2021 10:53 am

hid_device_report.ino and the RP2040 USB Host

Post by Claude_J_Greengrass »

In Lada Ada's video (https://www.youtube.com/watch?v=VbZQR-9xfi8), about 9:40, this report is outputting a timestamp prefix to the actual usb data. Anyone have a clue where this timestamp originates?

There are 6 hex data fields output. Any clues to what each field represents and a map of the bits in the field?

most likely dumb questions, but I'm a noob in the USB Host world, so sorry for my ignorance.

User avatar
bbx10node
 
Posts: 147
Joined: Sun Feb 22, 2015 4:14 pm

Re: hid_device_report.ino and the RP2040 USB Host

Post by bbx10node »

The Arduino IDE serial console window has a checkbox to turn on timestamps. It is in the lower left corner next to the Auto Scroll option.

It is not possible to interpret the hex dump without knowing much more about the device. However, common devices such as mice and keyboards have well documented report formats.

https://wiki.osdev.org/USB_Human_Interface_Devices

For lots more USB info see https://beyondlogic.org/usbnutshell/usb1.shtml.This mostly for people who intend to dive deep into the USB code.

User avatar
Claude_J_Greengrass
 
Posts: 79
Joined: Sat Jul 24, 2021 10:53 am

Re: hid_device_report.ino and the RP2040 USB Host

Post by Claude_J_Greengrass »

I didn't know that about the Arduino IDE Serial Monitor. Thanks for the info

I'm using a mouse.

Thank you for the usb link. More info is better.

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”