How to read accelerometer data via SPI

Hi, yes, I had speed issue. I already using FIFO but still needed more speed. I solved that with increasing the clock speed for I2C. Just added to the beginCore() in the lib:

#ifdef TARGET_SEEED_XIAO_NRF52840_SENSE
Wire.setClock(I2C_CLOCK_SPEED);
#endif

I2C_CLOCK_SPEED is set to 400000 and it works fine.

//BB
Thank you for trying to help me :slight_smile:

2 Likes