I'm considering using an accelerometer sensor to read acceleration data

I'm working on an embedded Linux project and debating between I2C and SPI for sensor communication. I understand I2C offers error detection and framing with start/stop bits, while SPI seems simpler. For my specific use case, I'm considering using an accelerometer sensor to read acceleration data (e.g., motion detection, tilt). In this scenario, would SPI be a good choice despite its lack of built-in error detection? Please, someone should help me out 🙏
Solution:
Although SPI does not have built-in error detection, you can implement error detection and correction in your user-space application using techniques such as checksums or cyclic redundancy checks (CRCs)
Jump to solution
2 Replies
Solution
Sterling
Sterling7mo ago
Although SPI does not have built-in error detection, you can implement error detection and correction in your user-space application using techniques such as checksums or cyclic redundancy checks (CRCs)
UC GEE
UC GEE7mo ago
Oh ... Thanks @Sterling for your awesome point 🙌
Want results from more Discord servers?
Add your server