Skip to main content
Visitor II
November 30, 2020
Question

Accelerometer configuration issue

  • November 30, 2020
  • 1 reply
  • 680 views

Dear Concern,

we have tried to configure the accelerometer LSM6DSO module through SPI interface using NRF52xx DK board. External Module was not configured properly without minimum nrf_delay_ms(10).

Is any reason behind this delay, as it is not working without delay?

could you please give us the suggestion how to avoid delay and is there alternate solution?

Regards,

Srinivas Rao.

    This topic has been closed for replies.

    1 reply

    ST Employee
    December 1, 2020

    Hi @srao.1​ ,

    I'm not an expert in programming with NRF52xx DK platform, but please note that -at least- for the LSM6DSO dataout settings there are some timings to be waited for the integrity of the first data-out sample (see application note AN5192, p.21)

    0693W000006EAb0QAG.png0693W000006EAxPQAW.png 

    If you however are finding that the LSM6DSO register setting needs to be set up, it's a different matter... you should check if the Vdd and VddIO voltages are rising without delays (shaping due to parasitic or decoupling capacitance), and that the SPI is well configured from the master side.

    -Eleon