<?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: 32 bit SPI slave problems</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/32-bit-SPI-slave-problems/m-p/170609#M1202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, I have a requect in.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks much.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2012 20:41:41 GMT</pubDate>
    <dc:creator>tjunkans</dc:creator>
    <dc:date>2012-06-12T20:41:41Z</dc:date>
    <item>
      <title>32 bit SPI slave problems</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/32-bit-SPI-slave-problems/m-p/170605#M1198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Kinetis K70 board running as a 16 bit SPI slave and all is just fine. When I set it up for a 32 bit slave, the lower 16 bits get transmitted twice and the top 16 bits never get sent out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set up the SPIx_CTAR_SLAVE register for 32 bits "&lt;FONT color="#FF6600"&gt;SPI2-&amp;gt;CTAR_SLAVE[0] = 0xFC000000;&lt;/FONT&gt; &amp;nbsp; &amp;nbsp; //32 bits SPI" &amp;nbsp;and fill the SPIx_PUSHR_SLAVE register with 32 bits but it seems to be stuck in 16 bit mode and just sends the same 16 bits twice.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know what the heck my problem is? Any ideas are welcome!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 04:09:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/32-bit-SPI-slave-problems/m-p/170605#M1198</guid>
      <dc:creator>tjunkans</dc:creator>
      <dc:date>2012-06-08T04:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit SPI slave problems</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/32-bit-SPI-slave-problems/m-p/170606#M1199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are there any Freescale people out there who have run a Kinetis part in 32 bit SPI slave mode?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not, I am convinced this is a K70 die hardware problem. Someone please prove me wrong &lt;IMG alt=":smileyindifferent:" class="emoticon emoticon-smileyindifferent" id="smileyindifferent" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-indifferent.gif" title="Smiley Indifferent" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 23:20:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/32-bit-SPI-slave-problems/m-p/170606#M1199</guid>
      <dc:creator>tjunkans</dc:creator>
      <dc:date>2012-06-08T23:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit SPI slave problems</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/32-bit-SPI-slave-problems/m-p/170607#M1200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, this is getting real scary now, Freescale hasn't&amp;nbsp;even weighed in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;32 bit SPI slave on a K60 or K70, anyone…&lt;/STRONG&gt; I am a nice guy, really &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 03:24:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/32-bit-SPI-slave-problems/m-p/170607#M1200</guid>
      <dc:creator>tjunkans</dc:creator>
      <dc:date>2012-06-12T03:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit SPI slave problems</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/32-bit-SPI-slave-problems/m-p/170608#M1201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When all else fails, file an on-line service request to get the problem looked at. Click &lt;A href="https://www.freescale.com/webapp/servicerequest.create_SR.framework" rel="nofollow" target="_self"&gt;here&lt;/A&gt; to go to the on-line service request page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 19:01:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/32-bit-SPI-slave-problems/m-p/170608#M1201</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2012-06-12T19:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit SPI slave problems</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/32-bit-SPI-slave-problems/m-p/170609#M1202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, I have a requect in.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks much.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 20:41:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/32-bit-SPI-slave-problems/m-p/170609#M1202</guid>
      <dc:creator>tjunkans</dc:creator>
      <dc:date>2012-06-12T20:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit SPI slave problems</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/32-bit-SPI-slave-problems/m-p/170610#M1203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone have experiance with the Freescale on-line Service request, as far as how long it takes for someone to be assigned to the request?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 22:39:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/32-bit-SPI-slave-problems/m-p/170610#M1203</guid>
      <dc:creator>tjunkans</dc:creator>
      <dc:date>2012-06-13T22:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit SPI slave problems</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/32-bit-SPI-slave-problems/m-p/170611#M1204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I got it. &lt;STRONG&gt;HooRay!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The K60 &amp;amp; K70 manuals printed in Dec of 2011 have an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The manual's error is the section that discribes &lt;STRONG&gt;DSPI pushr TX FIFO register in slave mode (SPIx_PUSHR_SLAVE)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error is this line :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;In slave mode all 32 register bits can be used as data, supporting up to 32-bit SPI&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;frame operation.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the newer manuals the line is replaced with:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;In slave mode, the 16 bit Command Field of PUSHR is reserved.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, of course my solution is simple, simply write to the SPIx_PUSHR_SLAVE register twice with 16 bits. This loads up two 16 bit TX FIFOs, which are sent out together when configured for 32 bits.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A Field application engineer, Mike Maas helped me resolve this. Thanks a ton MIke!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hay! how come my user name is my email address? I want it to be something cool like the rest of ya!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;cavebiker&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 21:29:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/32-bit-SPI-slave-problems/m-p/170611#M1204</guid>
      <dc:creator>tjunkans</dc:creator>
      <dc:date>2012-06-14T21:29:58Z</dc:date>
    </item>
  </channel>
</rss>

