<?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: K64F DSPI Clock Glitch (KSDK SPI Master Driver) in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-DSPI-Clock-Glitch-KSDK-SPI-Master-Driver/m-p/362861#M643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am experiencing the same behavior under the same conditions. Was &lt;SPAN style="font-weight: bold; font-family: 'andale mono', times; color: #51626f;"&gt;DSPI_DRV_MasterSetDelay() &lt;/SPAN&gt;&lt;SPAN style="font-family: 'andale mono', times; color: #51626f;"&gt;the &lt;/SPAN&gt;ultimate fix, or did you uncover anything else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2016 18:29:18 GMT</pubDate>
    <dc:creator>codylundie</dc:creator>
    <dc:date>2016-03-01T18:29:18Z</dc:date>
    <item>
      <title>K64F DSPI Clock Glitch (KSDK SPI Master Driver)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-DSPI-Clock-Glitch-KSDK-SPI-Master-Driver/m-p/362859#M641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm just looking to test out some simple DSPI Master transfers (non-DMA operation) on the &lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Fwebapp%2Fsps%2Fsite%2Fprod_summary.jsp%3Fcode%3DFRDM-K64F"&gt;FRDM-K64F&lt;/A&gt; using the &lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Fwebapp%2Fsps%2Fsite%2Fprod_summary.jsp%3Fcode%3DKINETIS_SDK"&gt;KSDK&lt;/A&gt; (1.0.0) Master peripheral driver.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The API seems pretty straight-forward.&amp;nbsp; However, with in each byte in my transfers, there's a glitch between bit 0 and bit 7 of the following byte:&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="16866_16866.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120042i84E06506AC754DD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="16866_16866.png" alt="16866_16866.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="K64F_SPI_xfer.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47483i1681A726B03B058E/image-size/large?v=v2&amp;amp;px=999" role="button" title="K64F_SPI_xfer.png" alt="K64F_SPI_xfer.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This only appears to happen for the &lt;STRONG style="font-family: andale mono,times;"&gt;kDspiClockPhase_FirstEdge&lt;/STRONG&gt; clock phase option.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was just curious if anyone else has run into this. The code's attached. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jon&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-339129"&gt;main.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 03:45:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-DSPI-Clock-Glitch-KSDK-SPI-Master-Driver/m-p/362859#M641</guid>
      <dc:creator>JonSzymaniak</dc:creator>
      <dc:date>2014-11-24T03:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: K64F DSPI Clock Glitch (KSDK SPI Master Driver)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-DSPI-Clock-Glitch-KSDK-SPI-Master-Driver/m-p/362860#M642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A colleague of mine kindly pointed out that I have overlooked the &lt;SPAN style="font-family: andale mono,times;"&gt;&lt;STRONG&gt;DSPI_DRV_MasterSetDelay()&lt;/STRONG&gt;&lt;/SPAN&gt; API function.&amp;nbsp; Using this with the &lt;SPAN style="font-family: andale mono,times;"&gt;&lt;STRONG&gt;kDspiAfterTransfer&lt;/STRONG&gt;&lt;/SPAN&gt; option) has allowed me to introduce time between successive words within a transfer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll have to take a look at the datasheet and the peripheral driver to understand why I needed to do this for &lt;STRONG style="font-family: andale mono,times;"&gt;kDspiClockPhase_FirstEdge&lt;/STRONG&gt;, but not &lt;STRONG style="font-family: andale mono,times;"&gt;kDspiClockPhase_SecondEdge&lt;/STRONG&gt;....will try to report back here, if anyone is interested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just as another minor note -- I see the data is idling high, hence that momentary spike between data byte 0 and data byte 1 in my previous screenshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 14:45:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-DSPI-Clock-Glitch-KSDK-SPI-Master-Driver/m-p/362860#M642</guid>
      <dc:creator>JonSzymaniak</dc:creator>
      <dc:date>2014-11-24T14:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: K64F DSPI Clock Glitch (KSDK SPI Master Driver)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-DSPI-Clock-Glitch-KSDK-SPI-Master-Driver/m-p/362861#M643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am experiencing the same behavior under the same conditions. Was &lt;SPAN style="font-weight: bold; font-family: 'andale mono', times; color: #51626f;"&gt;DSPI_DRV_MasterSetDelay() &lt;/SPAN&gt;&lt;SPAN style="font-family: 'andale mono', times; color: #51626f;"&gt;the &lt;/SPAN&gt;ultimate fix, or did you uncover anything else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 18:29:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-DSPI-Clock-Glitch-KSDK-SPI-Master-Driver/m-p/362861#M643</guid>
      <dc:creator>codylundie</dc:creator>
      <dc:date>2016-03-01T18:29:18Z</dc:date>
    </item>
  </channel>
</rss>

