<?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: MKL25 SPI de-initialize in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL25-SPI-de-initialize/m-p/448427#M26541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;I think it will make the SPI stuck in the poll circuit without writing one to ACKISO bit to release the I/O pads after MCU wake up from the VLLS0 mode.&lt;/P&gt;&lt;P&gt;After adding the code to write one to this bit, how's it going?&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2015 00:38:07 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2015-04-29T00:38:07Z</dc:date>
    <item>
      <title>MKL25 SPI de-initialize</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL25-SPI-de-initialize/m-p/448425#M26539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bootloader uses a SPI-Flash chip. If I have read from or written to the SPI bus in the bootloader, when I jump to my application code it does not run correctly. When it tries to wake from sleep (VLLS0), it either does not wake up or it gets stuck in the bootloader initialization - I am not sure which. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if I run the bootloader and I do NOT read/write to the SPI bus, the application code runs correctly. Even though the SPI bus is still being initialized in the PE code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any ideas on what to check next? I have tried SPI_Deinit() and that has no effect. The SPI module is running in polling mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 17:49:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL25-SPI-de-initialize/m-p/448425#M26539</guid>
      <dc:creator>psycho</dc:creator>
      <dc:date>2015-04-27T17:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: MKL25 SPI de-initialize</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL25-SPI-de-initialize/m-p/448426#M26540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I *think* I figured it out.... In the before PE init section of the CPU module, I had two lines in there for my main app. But I did not have them there for the bootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (PMC_REGSC &amp;amp;&amp;nbsp; PMC_REGSC_ACKISO_MASK)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PMC_REGSC |= PMC_REGSC_ACKISO_MASK;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 19:34:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL25-SPI-de-initialize/m-p/448426#M26540</guid>
      <dc:creator>psycho</dc:creator>
      <dc:date>2015-04-28T19:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: MKL25 SPI de-initialize</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL25-SPI-de-initialize/m-p/448427#M26541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;I think it will make the SPI stuck in the poll circuit without writing one to ACKISO bit to release the I/O pads after MCU wake up from the VLLS0 mode.&lt;/P&gt;&lt;P&gt;After adding the code to write one to this bit, how's it going?&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 00:38:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL25-SPI-de-initialize/m-p/448427#M26541</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2015-04-29T00:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: MKL25 SPI de-initialize</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL25-SPI-de-initialize/m-p/448428#M26542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have put all the code back in and the device seems to be performing as expected. Thank you for the confirmation on the SPI detail!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 13:19:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL25-SPI-de-initialize/m-p/448428#M26542</guid>
      <dc:creator>psycho</dc:creator>
      <dc:date>2015-04-29T13:19:17Z</dc:date>
    </item>
  </channel>
</rss>

