Regarding the LIS2DW12 and LIS2DTW12 devices, there is no published specification on the accuracy of the ADC sampling frequency in the datasheet, nor it's drift against temp and supply voltsage. Without these data the selected ODR is a guess, e.g. 40...