Am 05.11.2014 12:44 schrieb <[email protected]>: > > clabbe.montjoie wrote: > > For the temperature value, I cannot found any document on how to transform the raw value in °C. > > [...] > > Under heavy loads, the temperature of both sensors rise linearly. > > But based on a series of tests with and without heatsinks applied to the A20 I came to the conclusion that the values reported here must be already pre-calibrated. The base idle temperatures reported without an applied heatsink are way higher compared to the value of the very same A20 with heatsink: > > http://forum.lemaker.org/forum.php?mod=redirect&goto=findpost&ptid=8137&pid=40817 > > Does anyone have a clue how the A20's CHOP_TEMP_EN register (according to the A20's user manual: "Chop temperature calibration enable: 0: Disable, 1: Enable") can be read/set?
For read write access from user space you can try to use devmem2 with the address given in the user manual. http://manpages.ubuntu.com/manpages/natty/man1/devmem2.1.html Regards, Christian > > -- > You received this message because you are subscribed to the Google Groups "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
