<?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: Are there any known issues with [KL26] SPI using default setting of clock phase (CPHA == 0)? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Are-there-any-known-issues-with-KL26-SPI-using-default-setting/m-p/325046#M14883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometime I have seen that the problems with the phase, this is when enabling the CPOL or CPHA bits are solved enabling the Drive Strength of the IO port for output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. It would be nice!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jul 2014 23:47:17 GMT</pubDate>
    <dc:creator>adriancano</dc:creator>
    <dc:date>2014-07-02T23:47:17Z</dc:date>
    <item>
      <title>Are there any known issues with [KL26] SPI using default setting of clock phase (CPHA == 0)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Are-there-any-known-issues-with-KL26-SPI-using-default-setting/m-p/325044#M14881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're using SPI to communicate between two KL26 microcontrollers.&amp;nbsp; The slave device is set to use DMA and master is not.&amp;nbsp; Encountered problems that *seem* to be related to the clock phase.&amp;nbsp; At least the problem goes away when CPHA is set to 1 instead of 0.&amp;nbsp; I'd appreciate any references to issues trying to exchange data this way with CPHA set to 0.&amp;nbsp; I'm mostly trying to make sure that this fix isn't masking some problem that will pop up at some later date.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 20:49:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Are-there-any-known-issues-with-KL26-SPI-using-default-setting/m-p/325044#M14881</guid>
      <dc:creator>jvasil</dc:creator>
      <dc:date>2014-06-26T20:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Are there any known issues with [KL26] SPI using default setting of clock phase (CPHA == 0)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Are-there-any-known-issues-with-KL26-SPI-using-default-setting/m-p/325045#M14882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;Thank you very much for your focus on Freescale Kinetis product. I'm glad to provide service for you.&lt;/P&gt;&lt;P&gt;I've no idea to provide any suggestions for you since I was not very clearly with your issue.&lt;/P&gt;&lt;P&gt;So could you describe what exactly issue you encounted?&lt;/P&gt;&lt;P&gt;I'm looking forward to your reply.&lt;BR /&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Ping&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>Mon, 30 Jun 2014 05:55:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Are-there-any-known-issues-with-KL26-SPI-using-default-setting/m-p/325045#M14882</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2014-06-30T05:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Are there any known issues with [KL26] SPI using default setting of clock phase (CPHA == 0)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Are-there-any-known-issues-with-KL26-SPI-using-default-setting/m-p/325046#M14883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometime I have seen that the problems with the phase, this is when enabling the CPOL or CPHA bits are solved enabling the Drive Strength of the IO port for output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. It would be nice!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 23:47:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Are-there-any-known-issues-with-KL26-SPI-using-default-setting/m-p/325046#M14883</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-07-02T23:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Are there any known issues with [KL26] SPI using default setting of clock phase (CPHA == 0)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Are-there-any-known-issues-with-KL26-SPI-using-default-setting/m-p/325047#M14884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Further investigation showed that the problem we encountered was a coupling between the clock phase setting and the configuration of how the select line works.&amp;nbsp; After other developers found and fixed this problem, I finally found this reference to the issue buried in a reference manual:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;“When C1[CPHA] = 1, the slave's SS input is not required to go to its inactive high level between transfers. In this clock format, a back-to-back transmission can occur” [p. 704 of KL26 Reference Manual]&lt;/LI&gt;&lt;LI&gt;“When C1[CPHA] = 0, the slave's SS input must go to its inactive high level between transfers.” [p. 706 of KL26 Reference Manual]&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps a future version of Processor Expert could make suggestions about how SS should be configured based on how CPHA is set.&amp;nbsp; Even having this in the help text would be useful!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll also note that this special "rule" may only apply when the transmitter is using DMA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, I also saw somewhere (and I really don't know where) the erroneous statement that if the SSI clock polarity and phase were set the same on the transmitter and receiver, then the connection should work.&amp;nbsp; Clearly, this is not completely true since if CPHA is set to the default value of 0, and DMA is being used, the SS must go inactive between transfers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully, this will help someone else in the future!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 20:46:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Are-there-any-known-issues-with-KL26-SPI-using-default-setting/m-p/325047#M14884</guid>
      <dc:creator>jvasil</dc:creator>
      <dc:date>2014-07-09T20:46:17Z</dc:date>
    </item>
  </channel>
</rss>

