How to get accelerometer x-y-z value

I have tried the method from https://forum.qorvo.com/t/problem-with-accelerometer-value-read-via-c-api/5962/2, but I have problem to write value to CTRL_REG1 using dwm_i2c_write
:frowning: I have no idea about it.
Can anyone give me some idea ?
Thanks.

Hi @el_0813
what is the return value of the dwm_i2c_write?

Cheers
JK

I got the error code -1

Hi @el_0813
could you post your code here?

The error code -1 means unknown command or broken TLV frame.

Is the stationary detection disabled on the TN?

Cheers
JK