<?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 FRDM-KL05Z SPI problem? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL05Z-SPI-problem/m-p/235652#M5410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I used SPI to read a 12-bits device. Thus, the SPI read 2 bytes to finish the read.&lt;/P&gt;&lt;P&gt;However, something strange is, if I set the SPI clock rate faster than 0.333525us, then the "chip select" will still toggle even I set it as no.&lt;/P&gt;&lt;P&gt;It cause a wrong reading if CS was toggled between characters transmission.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="SM1_clock.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/41408iF76E14051A7D5924/image-size/large?v=v2&amp;amp;px=999" role="button" title="SM1_clock.jpg" alt="SM1_clock.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Below waveform shown the result when set the clock rate to 0.333525us.&lt;/P&gt;&lt;P&gt;The SPI read 2 bytes data continually without CS toggling.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="tek00005.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/41456i0DBFA8896719828E/image-size/large?v=v2&amp;amp;px=999" role="button" title="tek00005.png" alt="tek00005.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Below waveform shown the result when set the clock rate to 0.083381us.&lt;/P&gt;&lt;P&gt;The CS will be toggling between characters transmission.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="tek00006.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/41522iBB5A7A033C2FCF26/image-size/large?v=v2&amp;amp;px=999" role="button" title="tek00006.png" alt="tek00006.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope someone can help one this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Gary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Nov 2013 03:16:52 GMT</pubDate>
    <dc:creator>nomora</dc:creator>
    <dc:date>2013-11-29T03:16:52Z</dc:date>
    <item>
      <title>FRDM-KL05Z SPI problem?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL05Z-SPI-problem/m-p/235652#M5410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I used SPI to read a 12-bits device. Thus, the SPI read 2 bytes to finish the read.&lt;/P&gt;&lt;P&gt;However, something strange is, if I set the SPI clock rate faster than 0.333525us, then the "chip select" will still toggle even I set it as no.&lt;/P&gt;&lt;P&gt;It cause a wrong reading if CS was toggled between characters transmission.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="SM1_clock.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/41408iF76E14051A7D5924/image-size/large?v=v2&amp;amp;px=999" role="button" title="SM1_clock.jpg" alt="SM1_clock.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Below waveform shown the result when set the clock rate to 0.333525us.&lt;/P&gt;&lt;P&gt;The SPI read 2 bytes data continually without CS toggling.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="tek00005.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/41456i0DBFA8896719828E/image-size/large?v=v2&amp;amp;px=999" role="button" title="tek00005.png" alt="tek00005.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Below waveform shown the result when set the clock rate to 0.083381us.&lt;/P&gt;&lt;P&gt;The CS will be toggling between characters transmission.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="tek00006.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/41522iBB5A7A033C2FCF26/image-size/large?v=v2&amp;amp;px=999" role="button" title="tek00006.png" alt="tek00006.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope someone can help one this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Gary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 03:16:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL05Z-SPI-problem/m-p/235652#M5410</guid>
      <dc:creator>nomora</dc:creator>
      <dc:date>2013-11-29T03:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL05Z SPI problem?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL05Z-SPI-problem/m-p/235653#M5411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gary,&lt;/P&gt;&lt;P&gt;I've had a brief look through your question, could you please upload your project?&lt;/P&gt;&lt;P&gt;If I have your porject, it's convenience to me figure out the problem.&lt;/P&gt;&lt;P&gt;I'm looking forward to your reply.&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 08:59:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL05Z-SPI-problem/m-p/235653#M5411</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2014-02-19T08:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL05Z SPI problem?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL05Z-SPI-problem/m-p/235654#M5412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gary,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having the same problem using KE06Z Dev Board.&lt;/P&gt;&lt;P&gt;Did you solved it? How?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for you attention!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos Hass&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 11:41:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL05Z-SPI-problem/m-p/235654#M5412</guid>
      <dc:creator>carloshass</dc:creator>
      <dc:date>2016-02-17T11:41:59Z</dc:date>
    </item>
  </channel>
</rss>

