Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62446

Forum Post: RE: DS1722 SPI temperature sensor

$
0
0
Thank You. Problem resolved. All complication was in SPI configure. CPHA is must set to 0 not to 1. I lost Lsb of MSB and LSB. Therefore is lost 25th value, this MSB LSb is "1" against 26 and 24 have LSb "0". Now is all OK. Right calculate is i_Temp / 256. Not / 128. Previously gained value is "cheating" :-)

Viewing all articles
Browse latest Browse all 62446

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>