<?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>Kinetis Microcontrollers中的主题 Re: SPI driver for K60 blocks while receiving</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-driver-for-K60-blocks-while-receiving/m-p/332294#M15604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your attachment need password when extract .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Dec 2014 02:42:43 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2014-12-18T02:42:43Z</dc:date>
    <item>
      <title>SPI driver for K60 blocks while receiving</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-driver-for-K60-blocks-while-receiving/m-p/332291#M15601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have written SPI driver for K60 which is blocking when I use the SM1_ReceiveBlock() function. In my hardware, K60's SPI lines are connected to the SPI Flash memory.&lt;/P&gt;&lt;P&gt;Flash read function calls SM1_ReceiveBlock() to read flash data, but currently it's not receiving anything. I am using processor expert and k60's SPI is configured as master while flash memory as slave.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching the files of my project for reference. I would appreciate if anyone could tell me what things I am doing wrong in my SPI flash project.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337363"&gt;spi_flash.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 10:30:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-driver-for-K60-blocks-while-receiving/m-p/332291#M15601</guid>
      <dc:creator>abhaysorte</dc:creator>
      <dc:date>2014-12-08T10:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: SPI driver for K60 blocks while receiving</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-driver-for-K60-blocks-while-receiving/m-p/332292#M15602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You know only check others code is a hard to find errors .&lt;/P&gt;&lt;P&gt;I recommend you firstly refer to the demo code about&amp;nbsp; SPI-flash-K60 &lt;/P&gt;&lt;P&gt;"&lt;A href="http://www.freescale.com/webapp/sps/download/license.jsp?colCode=KINETIS512_V2_SC&amp;amp;location=null&amp;amp;fasp=1&amp;amp;WT_TYPE=Snippets,%20Boot%20Code,%20Headers,%20Monitors,%20etc.&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=zip&amp;amp;WT_ASSET=Downloads&amp;amp;fileExt=.zip&amp;amp;Parent_nodeId=1333141411984714199192&amp;amp;Parent_pageType=product" title="http://www.freescale.com/webapp/sps/download/license.jsp?colCode=KINETIS512_V2_SC&amp;amp;location=null&amp;amp;fasp=1&amp;amp;WT_TYPE=Snippets,%20Boot%20Code,%20Headers,%20Monitors,%20etc.&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=zip&amp;amp;WT_ASSET=Downloads&amp;amp;fileExt=.zip&amp;amp;Parent_nodeId=1333141411984714199192&amp;amp;Parent_pageType=product"&gt;Kinetis 100MHz Rev 2 Example Projects&lt;/A&gt;".&lt;/P&gt;&lt;P&gt;the "spi-demo" is develop on TWR-k60d100 with the TWR-MEM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If still have question , you can describe detail about you problem , we will help you as soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Wish it helps you!&lt;BR /&gt;If you still have question, please contact me!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;If this post answers your question, please click the Correct Answer button. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;-----------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;If this post help your question, please click the helpful Answer button. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 08:13:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-driver-for-K60-blocks-while-receiving/m-p/332292#M15602</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2014-12-09T08:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: SPI driver for K60 blocks while receiving</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-driver-for-K60-blocks-while-receiving/m-p/332293#M15603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. The reference you provided was helpful. But now I have new issues with SPI flash project.&lt;/P&gt;&lt;P&gt;The issues are related to the SPIMaster_LDD component of processor expert. I am using code warrior 10.3 with freescale MK60DN512 microntroller and it is interfaced to the S25FL128S flash memory from the Spansion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I give clock rate of SPI as 1usec, the SPI receive event (SM1_OnBlockReceived) is not generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I use the lowest clock rate (4ms) from the clock rate selection window, the receive event is generated and my SPI flash code works fine.&lt;/P&gt;&lt;P&gt;I have checked the Spansion's datasheet wherein it is mentioned that maximum clock can be 133 Mhz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, my confusion here is, is there any critical issue related to SPI clock rate selection that I don't know and which anyone can explain it to me.&lt;/P&gt;&lt;P&gt;I am attaching the screen shots of the clock rate selection windows from my code warrior project for your reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 14:23:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-driver-for-K60-blocks-while-receiving/m-p/332293#M15603</guid>
      <dc:creator>abhaysorte</dc:creator>
      <dc:date>2014-12-11T14:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: SPI driver for K60 blocks while receiving</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-driver-for-K60-blocks-while-receiving/m-p/332294#M15604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your attachment need password when extract .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 02:42:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-driver-for-K60-blocks-while-receiving/m-p/332294#M15604</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2014-12-18T02:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re: SPI driver for K60 blocks while receiving</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-driver-for-K60-blocks-while-receiving/m-p/332295#M15605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am re-attaching the screenshots. Please have a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 04:45:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-driver-for-K60-blocks-while-receiving/m-p/332295#M15605</guid>
      <dc:creator>abhaysorte</dc:creator>
      <dc:date>2014-12-18T04:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re: SPI driver for K60 blocks while receiving</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-driver-for-K60-blocks-while-receiving/m-p/332296#M15606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my opinion, there in on error about the clock rate,&amp;nbsp; now , you try write to 1.001 on "clock rate",&lt;/P&gt;&lt;P&gt;If not work well, try some of the clock rate :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48481i576987DF2597C410/image-size/large?v=v2&amp;amp;px=999" role="button" title="32.png" alt="32.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 11:49:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-driver-for-K60-blocks-while-receiving/m-p/332296#M15606</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2014-12-18T11:49:35Z</dc:date>
    </item>
  </channel>
</rss>

