<?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>MPC5xxxのトピックRe: MPC5746C : Stop mode entry</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Stop-mode-entry/m-p/634661#M6044</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested this use case with MPC5775K and the behavior is the same. I had searched reference manual, but I did not find any notice about switching (D)SPI to master mode when you want to switch micro to stop mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I have more time, I will try to investigate this behavior deeper and eventually contact application engineers and them about this point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Nov 2016 12:12:03 GMT</pubDate>
    <dc:creator>martin_kovar</dc:creator>
    <dc:date>2016-11-08T12:12:03Z</dc:date>
    <item>
      <title>MPC5746C : Stop mode entry</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Stop-mode-entry/m-p/634660#M6043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sir,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During testing STOP mode entry/exit on MPC5746C(Maskset : 1N06M), I found that device can't enter to STOP mode when a SPI channel is configured as slave.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;===&amp;gt; Here is failure mode...&lt;/P&gt;&lt;P&gt;DSPI_2.MCR.R = 0x00010001;&lt;BR /&gt; DSPI_2.MODE.CTAR_SLAVE[0].R = 0x38000000;&lt;/P&gt;&lt;P&gt;MC_ME.MCTL.R = 0xA0005AF0; /* Enter STOP mode and key */&lt;BR /&gt; MC_ME.MCTL.R = 0xA000A50F; /* Enter STOP mode and inverted key */&lt;BR /&gt; while (MC_ME.GS.B.S_MTRANS) {} /* Wait for STOP mode transition to complete */ &lt;STRONG&gt;==&amp;gt; stuck at here&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;===&amp;gt; I found a workaround...&lt;/P&gt;&lt;P&gt;DSPI_2.MCR.R = 0x00010001;&lt;BR /&gt;DSPI_2.MODE.CTAR_SLAVE[0].R = 0x38000000;&lt;/P&gt;&lt;P&gt;DSPI_2.MCR.R = 0x80010001; &lt;STRONG&gt;/////////////////////////////////////////////////////////workaround&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MC_ME.MCTL.R = 0xA0005AF0; /* Enter STOP mode and key */&lt;BR /&gt;MC_ME.MCTL.R = 0xA000A50F; /* Enter STOP mode and inverted key */&lt;BR /&gt;while (MC_ME.GS.B.S_MTRANS) {} /* Wait for STOP mode transition to complete */&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, I found a workaround and it was reconfigure it's mode as SPI master.&lt;/P&gt;&lt;P&gt;Is this phenomenon is expected working?&lt;/P&gt;&lt;P&gt;Hope to receive any feedback!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Neo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 08:47:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Stop-mode-entry/m-p/634660#M6043</guid>
      <dc:creator>neojung</dc:creator>
      <dc:date>2016-11-07T08:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746C : Stop mode entry</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Stop-mode-entry/m-p/634661#M6044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested this use case with MPC5775K and the behavior is the same. I had searched reference manual, but I did not find any notice about switching (D)SPI to master mode when you want to switch micro to stop mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I have more time, I will try to investigate this behavior deeper and eventually contact application engineers and them about this point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 12:12:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Stop-mode-entry/m-p/634661#M6044</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-11-08T12:12:03Z</dc:date>
    </item>
  </channel>
</rss>

