How to adjust sample rate of accelerometer in IOT sensor dongle

2 posts / 0 new
Last post
猫王1991
Offline
Last seen:3 months 3 days ago
加入:2014-12-09 08:18
How to adjust sample rate of accelerometer in IOT sensor dongle

Hi,

I am working on DA14583 IOT sensor development kit. I would like to increase the sample rate of accelerometer and gyroscope to 100 Hz by using raw data project.
I read the sample code and find the default sample rate is 25 Hz.
Is there any configuration file that I can adjust the sample rate and range of sensors? ( I mean for BLE side)
Could you give me some hints? Thanks.

Best Regards,
猫王

Device:
MT_dialog
Offline
Last seen:9 hours 41 min ago
工作人员
加入:2015-06-08 34
Hi Elvis1991,

Hi Elvis1991,

I am not sure about what you mean for the BLE side. Please check the UM-B-063_DA14583_IoT_Sensor_Development_Kit.pdf in order check how different rates can be configured on the application. The configuration of the sensor is taking place when the device starts and either gets the data from the internal flash or from a default configuration structure, please check the user_wrbl_app_on_init() and in that function the user_periph_sensors_initialize() function in order to check how the configuration is loaded.

Thanks MT_dialog