How to change ODR setting of ADXL355

Hello, I am using adxl355 and confused how to change the setting of odr(output data rate). Here is the code. As you can see, I have the set_filter_ctl_reg in the main. But it seems not working. I feel that only the part in the while loop influence the sampling rate(same with odr here). In the datasheet, it does say that adjusting the filter to changing the odr. Anyone knows? Thank you!


I will not help you with that but there were same question few months ago.

Maybe its owner found a solution and will be able to help you.

BR, Jan

issue got solved!