[PATCH] 5V voltage incorrect on lm93

David Knierim david_knierim at earthlink.net
Thu Feb 24 18:43:54 CET 2005

    I have been hunting down an issue related to the IN10 input of the 
LM93.   I have observed that there is a rather large error between the 
actual voltage and the voltage level displayed by sensors(1)  (~ .12V).

Please find attached a small patch that fixes this problem.   The data 
sheet is very ambiguous and I and another engineer made the same mistake 
calculating the voltage per DAC step the first time we read the spec sheet.

The confusion stems from an entry in the "maximum voltage" column that 
is higher than the value in the "absolute maximum range" column.  For 5V 
only, the value in the "register reading at maximum voltage" is for the 
voltage in the "absolute maximum range", NOT the "maximum voltage".  Whew!

I have tested this patch and it fixes the problem I just outlined. 
This patch is against lm_sensors 2.9.0.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lm93_offset.patch
URL: <http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050224/8c24c927/attachment.ksh>

More information about the lm-sensors mailing list