-
I will integrate the gyro over that time period, so I think I will every single set of data that output at 833Hz,
then I will use UART to pass the integrated data and accelerometer to the data handling unit."Is so, the FIFO buffer is probably filling up before each data item is removed from the buffer and the device is cramming in bytes until errors in output are seen. Could this be a possibility?"
I think this is possible. but if this is true, wouldn't it make it very hard to pull the data in high frequency?
Haha have a good time
Would you point to a page within the datasheet, that suggests using that frequency or range of frequencies for your use. When I read over, my interpretation of how to request data was a bit different.
How are the gyro, or accelerometer used? It might be that your requirement is different than I envision.
Are you picking up the device from a stationary position and expecting the Espruino device to respond to that input?
p. 35 of datasheet
Are we in 'continuous' mode?
Is so, the FIFO buffer is probably filling up before each data item is removed from the buffer and the device is cramming in bytes until errors in output are seen. Could this be a possibility?
How often do you actually need the data, the device outputs? It seems that it is desired in the msec range, but my interpretation is that reading those values should be in the many tens of msec range, say every half second or so.