It's only 90hz now with my nrf6310 and hid_mouse_app
It's only 90hz now with my nrf6310 and hid_mouse_app
win7 seems OK . When test my ble mouse (nrf51822, OS: win8.1), the mouse Report Rate can only up to about 110 HZ, ( when browser opened) even if I set the period to 1ms (it should be about 1000 HZ). And if set the sleep time to 8ms (want to make mouse report rate 125HZ like USB mouse), the test result is olny 70HZ.
int main(void)
{
timers_init();
gpiote_init();
buttons_init();
sensor_init();
bond_manager_init();
ble_stack_init();
scheduler_init();
gap_params_init();
advertising_init(BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE);
services_init();
sensor_sim_init();
conn_params_init();
sec_params_init();
radio_notification_init();
timers_start();
advertising_start();
for (;;)
{
wheel_check();
if(button_pressed == true)
button_check();
mouse_sensor_send();
app_sched_execute();
// power_manage();
nrf_delay_ms(1);
}
}
but USB mouse and other 2.4G mouse can up to 125 HZ (with browser opened)
And I test it with logic analyzer when move the mouse
I found that every 10ms it cost 5ms break:
And it is every diffcult between BLE mouse and USB mouse at win8.1 , test by MouseMovementRecorder
BLE mouse :
USB mouse:
Get the test soft in the attachment
I want to know
Thank you all !
win7 seems OK . When test my ble mouse (nrf51822, OS: win8.1), the mouse Report Rate can only up to about 110 HZ, ( when browser opened) even if I set the period to 1ms (it should be about 1000 HZ). And if set the sleep time to 8ms (want to make mouse report rate 125HZ like USB mouse), the test result is olny 70HZ.
int main(void)
{
timers_init();
gpiote_init();
buttons_init();
sensor_init();
bond_manager_init();
ble_stack_init();
scheduler_init();
gap_params_init();
advertising_init(BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE);
services_init();
sensor_sim_init();
conn_params_init();
sec_params_init();
radio_notification_init();
timers_start();
advertising_start();
for (;;)
{
wheel_check();
if(button_pressed == true)
button_check();
mouse_sensor_send();
app_sched_execute();
// power_manage();
nrf_delay_ms(1);
}
}
but USB mouse and other 2.4G mouse can up to 125 HZ (with browser opened)
And I test it with logic analyzer when move the mouse
I found that every 10ms it cost 5ms break:
And it is every diffcult between BLE mouse and USB mouse at win8.1 , test by MouseMovementRecorder
BLE mouse :
USB mouse:
Get the test soft in the attachment
I want to know
Thank you all !