Hello to all,
I am using nRF52840 DK with SDK15.0 and SES. To communicate with MS5540C I have used SPI master sample example but getting some incorrect results.
Almost 4 days I have spend to analyse this issue but still get same problem. I want to send the following commands to sensor:
I am able to read word1-4 but not confirm is this correct result or Not and problem getting for read D1 and D2 continuously getting FF FF value.
Will you please review my below program snippet and is it correct?
The compensate pressure and temperature value getting 65535. Where the coefficients c1-c6 values getting but not sure whether is correct or not.
I am stuck here and getting difficult to understand for debugging. Because we don't have logic analyzer or CRO to check SPI signals.
Will you please provide your suggestion in program or other solution for the same. For your reference I have attached sensor datasheet ms5540c.pdf
Looking forward your response..
Thanks.....
Vishal