LIS2DS12 sampling frequency madness
I was using an ISM303DAC as an accelerometer and everything was fine. Unfortunately, the chip was discontinued, and I had to immediately replace it with LIS2DS12 because all of the accelerometer register configurations were the same. I didn't have to rewrite the firmware this way. Everything was fine until the hardware failed in the field. None of the data made sense. Then I did a quick sanity check by measuring and comparing the data from both chips. The ISM303DAC produced consistent results and accurately measured all frequency components. The LIS2DS12 plots, which use the same firmware and analysis code, are complete nonsense, with none of the frequency components making any sense. I'm in a terrible situation. I used this chip in 100 pcbs that I shipped to another country. It is simply not an option for me to redesign and ship another batch with different sensors when the original is no longer available. Thank you in advance.
