This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Which HID device type to use?

We are upgrading an existing product to use Bluetooth instead of the parallel port.

It must support >20kbit/sec communications between the device and the host PC.

We are considering the nRF52832 because of it's local processing power.

I currently have the PCA10040 developer kit board.

Question: what service do you recommend? I looked at the HID keyboard example and it is running fine after building it in eclipse. However, having multiple keyboards on a customer computer might cause problems. Assuming a HID device profile is the best way to connect, which profile would you recommend?

Thank you for your time!

Parents
  • This is fairly early in the project where the controller is being specified. One of the tests I need to run on a perspective controller is a simulated control loop with a representative communications link on a window machine. This should verify that communications is fast enough and that no additional/different uC is required to run the control loop.

    I ran a modified version of the ble uart example (sdk 14) to an Android phone (nrf tools) sending 20byte packets at 200hz. I also had a worker thread wasting time. both triggered by rtc2. The softdevice seemed to be fine at that rate but the nrftools app on the phone was not showing all the packets being received. More than half missing. Thinking maybe the phone was the weak link, I looked into sending to windows instead. This is when I realized that sending to Windows had problems I didn't anticipate.

Reply
  • This is fairly early in the project where the controller is being specified. One of the tests I need to run on a perspective controller is a simulated control loop with a representative communications link on a window machine. This should verify that communications is fast enough and that no additional/different uC is required to run the control loop.

    I ran a modified version of the ble uart example (sdk 14) to an Android phone (nrf tools) sending 20byte packets at 200hz. I also had a worker thread wasting time. both triggered by rtc2. The softdevice seemed to be fine at that rate but the nrftools app on the phone was not showing all the packets being received. More than half missing. Thinking maybe the phone was the weak link, I looked into sending to windows instead. This is when I realized that sending to Windows had problems I didn't anticipate.

Children
No Data
Related