<?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 Double bit error in S12ZVML128 in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Double-bit-error-in-S12ZVML128/m-p/1159115#M17474</link>
    <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;I am using S12ZVML128 MCU.&lt;BR /&gt;I have implemented the sensorless motor control.&lt;BR /&gt;I am getting a double bit error (FERSTATT = 0x02) for below test scenario.&lt;/P&gt;&lt;P&gt;Test conditions are as below,&lt;BR /&gt;Test temperature: -33.5 degrees C (in the constant temperature chamber)&lt;BR /&gt;Supply voltage: 10V to 16V (changed depending on the setting)&lt;BR /&gt;10V power supply current: 10A to 25A (depending on the load)&lt;BR /&gt;Rpm: 300 to 600 rpm (changed by instruction)&lt;/P&gt;&lt;P&gt;Testing pattern is to turn the power supply on/off and repeat the motor rotation/stop.&lt;BR /&gt;It is observed that, after power on motor does not rotate even if valid rpm instruction is applied and GPIO pins are toggling after approx 5msec.&lt;BR /&gt;To find out the cause, I have connected the debugger as "connect" in debug configuration and checked the register values and observed that double bit error occurred.&lt;BR /&gt;The same is observed on two separate boards.&lt;/P&gt;&lt;P&gt;I have again downloaded the software on same board then motor rotation was ok.&lt;BR /&gt;In SW, I have implemented the machine exception routine and COP reset is implemented if exception occurred.&lt;/P&gt;&lt;P&gt;PFA sheet containing the MCU register window screenshots and the wavelog.&lt;/P&gt;&lt;P&gt;Please provide me the reason behind this cause.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Sep 2020 06:45:36 GMT</pubDate>
    <dc:creator>pratibhasurabhi</dc:creator>
    <dc:date>2020-09-25T06:45:36Z</dc:date>
    <item>
      <title>Double bit error in S12ZVML128</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Double-bit-error-in-S12ZVML128/m-p/1159115#M17474</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;I am using S12ZVML128 MCU.&lt;BR /&gt;I have implemented the sensorless motor control.&lt;BR /&gt;I am getting a double bit error (FERSTATT = 0x02) for below test scenario.&lt;/P&gt;&lt;P&gt;Test conditions are as below,&lt;BR /&gt;Test temperature: -33.5 degrees C (in the constant temperature chamber)&lt;BR /&gt;Supply voltage: 10V to 16V (changed depending on the setting)&lt;BR /&gt;10V power supply current: 10A to 25A (depending on the load)&lt;BR /&gt;Rpm: 300 to 600 rpm (changed by instruction)&lt;/P&gt;&lt;P&gt;Testing pattern is to turn the power supply on/off and repeat the motor rotation/stop.&lt;BR /&gt;It is observed that, after power on motor does not rotate even if valid rpm instruction is applied and GPIO pins are toggling after approx 5msec.&lt;BR /&gt;To find out the cause, I have connected the debugger as "connect" in debug configuration and checked the register values and observed that double bit error occurred.&lt;BR /&gt;The same is observed on two separate boards.&lt;/P&gt;&lt;P&gt;I have again downloaded the software on same board then motor rotation was ok.&lt;BR /&gt;In SW, I have implemented the machine exception routine and COP reset is implemented if exception occurred.&lt;/P&gt;&lt;P&gt;PFA sheet containing the MCU register window screenshots and the wavelog.&lt;/P&gt;&lt;P&gt;Please provide me the reason behind this cause.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 06:45:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Double-bit-error-in-S12ZVML128/m-p/1159115#M17474</guid>
      <dc:creator>pratibhasurabhi</dc:creator>
      <dc:date>2020-09-25T06:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Double bit error in S12ZVML128</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Double-bit-error-in-S12ZVML128/m-p/1159308#M17478</link>
      <description>&lt;P&gt;Hi Pratibha,&lt;/P&gt;
&lt;P&gt;I have noticed that FCLKDIV = 0x00 in the excel file that you attached.&lt;/P&gt;
&lt;P&gt;Please select FCLKDIV based on the BUSCLK in your application.&lt;/P&gt;
&lt;P&gt;Table 20-8. FDIV values for various BUSCLK Frequencies.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 11:11:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Double-bit-error-in-S12ZVML128/m-p/1159308#M17478</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-09-25T11:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Double bit error in S12ZVML128</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Double-bit-error-in-S12ZVML128/m-p/1159611#M17484</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;Thank you for sharing your answer.&lt;/P&gt;&lt;P&gt;I understand. We have selected the FCLKDIV value based on bus clock frequency.&lt;/P&gt;&lt;P&gt;SInce we have checked these registers in "Connect" mode as a debg configuration mode, I think the FCLKDIV value reflected is out of reset value which is 0x00, or else there is a possiblity that the code does not reach that part where FCLKDIV is set according to the bus clock.&lt;/P&gt;&lt;P&gt;Can you please confirm the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Sep 2020 01:14:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Double-bit-error-in-S12ZVML128/m-p/1159611#M17484</guid>
      <dc:creator>pratibhasurabhi</dc:creator>
      <dc:date>2020-09-27T01:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Double bit error in S12ZVML128</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Double-bit-error-in-S12ZVML128/m-p/1161150#M17491</link>
      <description>&lt;P&gt;Hi Pratibha,&lt;/P&gt;
&lt;P&gt;I must have overlooked the "connect" mode.&lt;/P&gt;
&lt;P&gt;Yes, the FCLKDIV is reset but so are all the other registers including FERSTAT.&lt;/P&gt;
&lt;P&gt;So, the error was detected after the MCU was reset.&lt;/P&gt;
&lt;P&gt;You would need to connect the debugger in Attach debug mode to get the state of the MCU.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 08:04:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Double-bit-error-in-S12ZVML128/m-p/1161150#M17491</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-09-30T08:04:33Z</dc:date>
    </item>
  </channel>
</rss>

