justapotato213 opened a new pull request, #14711:
URL: https://github.com/apache/nuttx/pull/14711

   *Note: Please adhere to [Contributing 
Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).*
   
   ## Summary
   
   Fix CRC4 calculations for msxxxx sensors, using implementation from 
[application note 
520](https://www.amsys-sensor.com/downloads/notes/MS5XXX-C-code-example-for-MS56xx-MS57xx-MS58xx-AMSYS-an520e.pdf).
 Previous implementation returned the wrong value. 
   
   ## Impact
   
   msxxxx sensors no longer report a CRC mismatch error and initialize properly.
   
   ## Testing
   
   Tested with a raspberrypi pico w with a ms5611 barometer over i2c, device 
driver initialized properly.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to