<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: i.MX28 die temperature in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/2069195#M235551</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have anyone tried this patch with Kernel 6.6. I am new to kernel device drivers and the attached patch fail to match the virtual address with actual physical address and I couldnt read the cpu temparature from it.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Mar 2025 05:22:34 GMT</pubDate>
    <dc:creator>FAlexander</dc:creator>
    <dc:date>2025-03-27T05:22:34Z</dc:date>
    <item>
      <title>i.MX28 die temperature</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149170#M717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone have any code (kernel or user space) for reading the internal die temperature on the MX28? I've read the reference manual and know what registers to read, but thought I would check and see if anyone else has already done this before diving in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; -Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 15:52:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149170#M717</guid>
      <dc:creator>BillRandle</dc:creator>
      <dc:date>2012-03-28T15:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 die temperature</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149171#M718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is&amp;nbsp;&lt;/P&gt;&lt;P&gt;ddi_power_GetDieTemp (int16_t *pLow, int16_t *pHigh) &lt;BR /&gt;&lt;BR /&gt;routine to get the temperature.&lt;/P&gt;&lt;P&gt;You may try the enclosed patch &amp;nbsp;(for&amp;nbsp;2.6.35_10.12.01&amp;nbsp;from the BSP team) as an example&lt;BR /&gt;how to print internal temperature on console. &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 02:51:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149171#M718</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2012-03-29T02:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 die temperature</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149172#M719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Yuri! I appreciate the pointer to ddi_power_GetDieTemp() and the driver patch!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 15:24:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149172#M719</guid>
      <dc:creator>BillRandle</dc:creator>
      <dc:date>2012-03-29T15:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 die temperature</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149173#M720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I couldn't find the e-mail received from Freescale support. But as i recall Rth junction to case is pretty small.  As an alternative, you can use case temperature as junction temperature. Difference between junction temp and case temp should be &amp;lt;3 degree.  Regards Ahmet&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 05:24:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149173#M720</guid>
      <dc:creator>AhmetYUCE</dc:creator>
      <dc:date>2012-03-30T05:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 die temperature</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149174#M721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, if someone is interested i have written a driver for having die temp on sysfs.&lt;/P&gt;&lt;P&gt;Is possible to show temp by the command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;root@picomaster ~$ cat /sys/devices/platform/mx_cputemp.0/temp1_*&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;61&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Core 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;root@picomaster ~$&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;i have&amp;nbsp;duplicated&amp;nbsp;the code for MeasureInternalDieTemperature() and&amp;nbsp;ddi_power_GetDieTemp()&amp;nbsp;because&amp;nbsp;i don't have the battery and related battery module on my kernel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 16:25:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149174#M721</guid>
      <dc:creator>PierantonioTaba</dc:creator>
      <dc:date>2012-05-10T16:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 die temperature</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149175#M722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the kernel patch! I appreciate you sharing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; -Bill&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;Pierantonio Tabaro said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/i-mx28-die-temperature?groupUrl=imx28andimx28evk&amp;amp;commentId=4103961%3AComment%3A69290&amp;amp;xg_source=msg_com_gr_forum#4103961Comment69290"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;Hi, if someone is interested i have written a driver for having die temp on sysfs.&lt;/P&gt;&lt;P&gt;Is possible to show temp by the command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;root@picomaster ~$ cat /sys/devices/platform/mx_cputemp.0/temp1_*&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;61&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Core 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;root@picomaster ~$&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;i have&amp;nbsp;duplicated&amp;nbsp;the code for MeasureInternalDieTemperature() and&amp;nbsp;ddi_power_GetDieTemp()&amp;nbsp;because&amp;nbsp;i don't have the battery and related battery module on my kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 16:32:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149175#M722</guid>
      <dc:creator>BillRandle</dc:creator>
      <dc:date>2012-05-10T16:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 die temperature</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149176#M723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Somewhat obvious, but I am adding the kernel configuration process for completeness.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 - Run ./ltib -m config&lt;/P&gt;&lt;P&gt;2 - Press spacebar to [*] Configure the Kernel&lt;/P&gt;&lt;P&gt;3 - Exit, saving changes.&lt;/P&gt;&lt;P&gt;4 - run ./ltib&lt;/P&gt;&lt;P&gt;5 - Press enter to Enter the Device Drivers ---&amp;gt;&lt;/P&gt;&lt;P&gt;6 - Highlight &amp;lt; &amp;gt; Hardware Monitoring Support ---&amp;gt;&lt;/P&gt;&lt;P&gt;7 - Press spacebar to Select to include &amp;lt;*&amp;gt; Hardware Monitoring Support---&amp;gt;&lt;/P&gt;&lt;P&gt;This is important as the submenu will be empty if this is not done.&lt;/P&gt;&lt;P&gt;8 - Press enter to Enter the Hardware Monitoring Support Submenu---&amp;gt;&lt;/P&gt;&lt;P&gt;9 - Select MX28 CPU temperature sensor (NEW)&lt;/P&gt;&lt;P&gt;10- Exit, saving changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your efforts.&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 21:29:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149176#M723</guid>
      <dc:creator>spearson</dc:creator>
      <dc:date>2013-02-20T21:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 die temperature</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149177#M724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thanks for the patch! i modified it slightly to work with the 3.7.0 kernel. all i did is add two old header files (instead of renaming all of the macros in the C files) and fix a virtual address mapping that has changed in the new kernel. i also made it easier to use with scripts - now it only displays one number (temperature in degrees C) which is an average of 3 readings taken at 200ms intervals. That adds a 0.4s delay to the reading but is a bit more precise.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;i've attached the patch for the 3.7.0 kernel.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 May 2013 09:05:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149177#M724</guid>
      <dc:creator>dimitarboevski</dc:creator>
      <dc:date>2013-05-18T09:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 die temperature</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149178#M725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dimitar,&lt;/P&gt;&lt;P&gt;If you have not already done so, take a look at the Linux Kernel version 3.8.4.&amp;nbsp; It has a lot of improvements over 3.7.0 (including some lradc support) that might save you some development time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for sharing your development efforts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 17:38:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149178#M725</guid>
      <dc:creator>spearson</dc:creator>
      <dc:date>2013-05-21T17:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 die temperature</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149179#M726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dimitar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you plan to upstream this patch?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 02:01:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/149179#M726</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2013-05-23T02:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 die temperature</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/2069195#M235551</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have anyone tried this patch with Kernel 6.6. I am new to kernel device drivers and the attached patch fail to match the virtual address with actual physical address and I couldnt read the cpu temparature from it.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 05:22:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-die-temperature/m-p/2069195#M235551</guid>
      <dc:creator>FAlexander</dc:creator>
      <dc:date>2025-03-27T05:22:34Z</dc:date>
    </item>
  </channel>
</rss>

