Imx6ul CPU Temp Sense

From embeddedTS Manuals
Revision as of 15:44, 15 May 2020 by Randy (talk | contribs) (Created page with "The imx6ul Low Resolution ADC (LRADC) has an internal temperature sensing channel for monitoring and alarming on high die temperature situations. The status of the temperature...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The imx6ul Low Resolution ADC (LRADC) has an internal temperature sensing channel for monitoring and alarming on high die temperature situations. The status of the temperaturesensor can be read through MRR command from LPDDR2 MR4 register, but a more convenient way to querry the temp sensing which returns temp in millicelsius is: Through the Linux Industrial I/O Subsystem (IIO), which provides the simplest API via sysfs (/sys):

cat /sys/bus/iio/devices/iio:device0/in_temp_input