<?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>S12 / MagniV Microcontrollersのトピックs12ZVM single resistor</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/s12ZVM-single-resistor/m-p/1676675#M19245</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello, the code in the official program of s12ZVM single resistor&lt;/P&gt;&lt;P&gt;#Define I_ PH_ Over FRAC16 (0.933333333333)&lt;/P&gt;&lt;P&gt;#Define TEMP_ Over FRAC16 (0.170489770614)&lt;/P&gt;&lt;P&gt;What does this current and temperature actually represent? How to convert? Do you have any relevant program introduction documents&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2023 06:30:51 GMT</pubDate>
    <dc:creator>zhouqicheng</dc:creator>
    <dc:date>2023-06-27T06:30:51Z</dc:date>
    <item>
      <title>s12ZVM single resistor</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/s12ZVM-single-resistor/m-p/1676675#M19245</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello, the code in the official program of s12ZVM single resistor&lt;/P&gt;&lt;P&gt;#Define I_ PH_ Over FRAC16 (0.933333333333)&lt;/P&gt;&lt;P&gt;#Define TEMP_ Over FRAC16 (0.170489770614)&lt;/P&gt;&lt;P&gt;What does this current and temperature actually represent? How to convert? Do you have any relevant program introduction documents&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 06:30:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/s12ZVM-single-resistor/m-p/1676675#M19245</guid>
      <dc:creator>zhouqicheng</dc:creator>
      <dc:date>2023-06-27T06:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: s12ZVM single resistor</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/s12ZVM-single-resistor/m-p/1676900#M19248</link>
      <description>&lt;P&gt;Hi Zhouqicheng,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to explain it I will use files form&amp;nbsp;S12ZVM PMSM Development Kit sw&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/development-boards/automotive-motor-control-solutions/magniv-and-s12-solutions/s12zvm-pmsm-development-kit:MTRCKTSPNZVM128" target="_blank"&gt;https://www.nxp.com/design/development-boards/automotive-motor-control-solutions/magniv-and-s12-solutions/s12zvm-pmsm-development-kit:MTRCKTSPNZVM128&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I_PH_OVER and TEMP_OVER&amp;nbsp;are located in&amp;nbsp;PMSM_appconfig.h generated by MCAT tool.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;MTRCKTSPNZVM128\sw\AN5327_SW_CW10\FreeMASTER_control\AN5327_PMSM_FOC_Sensorless_SingleShunt.pmp&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Values are scaled in FRAC16 format since fraction arithmetic is used.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;in case of&amp;nbsp;S12ZVM PMSM Development Kit sw:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;#define I_PH_OVER FRAC16(0.4650000000)&lt;BR /&gt;#define TEMP_OVER FRAC16(0.1704897706)&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;in order to get physical value we need to apply scales&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I_PH_OVER * I max = 0.465 * 20 = 9.3A&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;TEMP_OVER* Temp max = 0.1704897706 * 645.2 = 110 deg C&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tomasfedor_0-1687858475373.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/229619i6BC3F726B88485C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tomasfedor_0-1687858475373.png" alt="tomasfedor_0-1687858475373.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;for more information I recommend application note&amp;nbsp;AN5327.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tomas Fedor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 09:36:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/s12ZVM-single-resistor/m-p/1676900#M19248</guid>
      <dc:creator>tomasfedor</dc:creator>
      <dc:date>2023-06-27T09:36:55Z</dc:date>
    </item>
  </channel>
</rss>

