Please show me step by step how to calculate the temperature ADC7779 in celsius degrees.
Please refer to page 48. If you are in SPI control mode you need to
-select DVbe on the SAR MUX register (GLOBAL_MUX_CONFIG register)
-enable the SAR through SAR_DIAG_MODE_EN bit, so all data coming out SDO will come from the SAR
-toggle CONVST_SAR pin to initiate the conversion
-wait for conversion time (t32)
-read data from SDO. This is the voltage measured from the temperature sensor. Apply formula in page 49 to convert to degrees.
I hope this helps.
Ok, I'm receive code 0x2980. Help me to convert this: first - to V, second - to degrees.
See figure 103, the data you get is 0x980 (after 0010b header). In dec = 2432. Note this is straight binary, so shifting 2048 means 384d code.
Applying the formula, that translate on 9.375 degrees, above 25C. So the die is at 34.375 degrees.
Would that make sense?
Ok, I have straight binary. This means that the sign digit must be taken. Why 0x800 not used? Sorry for my language.
No worries about the language at all. But what do you mean by 'why not used 0x800'?
As the coding is straight binary, note that 0x000 is -FS=-3.3V, 0x800 is midscale=0V and 0xFFF is +FS=3.3V.
LIuis! Thank you very much! Now everything is clear!