cancel
Showing results for 
Search instead for 
Did you mean: 

Accelerometer configuration issue

srao.1
Associate II

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.

1 REPLY 1
Eleon BORLINI
ST Employee

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