BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - ksw

Pages: [1]
1
Hi,

I'm experimenting with the 'USBH Example HID' example to acquire data from a fast mouse (1ms update rate). Does anyone know a way to read the HID reports in a non-blocking manner? In the example code, the API function 'USBH_HID_get_report()' waits until the HID has something to report, and if there's nothing (for what looks to be 10 seconds) it issues a 'USBH_ERR_TIMEOUT'. I'm unclear where this 10s interval is configured, since the underlying functions appear to define the timeout as 1000ms).

The bottom line is that I'd like to get the data from the mouse as soon as it starts generating it, but the problem with the example code is that on calling 'USBH_HID_get_report()' after a timeout it doesn't respond to mouse activity for another 10 seconds.

Keith

2
Hi,

I've just started evaluating the FT900 MCU but am unfamiliar with the Eclipse toolchain. I'd like to be able to examine the peripheral register contents while debugging, but when I try and view the memory area containing the registers (base address = 0x10000) I just see 0xFFFF and the contents cannot be modified either, whereas I can examine and modify the RAM areas fine. Is it possible to view the peripheral register contents somehow?

Any suggestions would be greatly appreciated!

Pages: [1]