<?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のトピックSpi mode - Processor expert - Kl25</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Spi-mode-Processor-expert-Kl25/m-p/319504#M14219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;How can I configure spi mode 3 in Processor expert for the kl25 please ?&lt;/P&gt;&lt;P&gt;The data changes on the falling edge of the clock and is read/written &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;on the rising edge of the clock.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks !&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jul 2014 22:27:58 GMT</pubDate>
    <dc:creator>wilk</dc:creator>
    <dc:date>2014-07-11T22:27:58Z</dc:date>
    <item>
      <title>Spi mode - Processor expert - Kl25</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Spi-mode-Processor-expert-Kl25/m-p/319504#M14219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;How can I configure spi mode 3 in Processor expert for the kl25 please ?&lt;/P&gt;&lt;P&gt;The data changes on the falling edge of the clock and is read/written &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;on the rising edge of the clock.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks !&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 22:27:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Spi-mode-Processor-expert-Kl25/m-p/319504#M14219</guid>
      <dc:creator>wilk</dc:creator>
      <dc:date>2014-07-11T22:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Spi mode - Processor expert - Kl25</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Spi-mode-Processor-expert-Kl25/m-p/319505#M14220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you checked the attributes setting in the properties of the SPI component of Processor Expert?&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;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2014 00:11:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Spi-mode-Processor-expert-Kl25/m-p/319505#M14220</guid>
      <dc:creator>dkarthik</dc:creator>
      <dc:date>2014-07-12T00:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Spi mode - Processor expert - Kl25</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Spi-mode-Processor-expert-Kl25/m-p/319506#M14221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure I checked it, there are 3 possibilities :&lt;/P&gt;&lt;P&gt;- rising or falling edge&lt;/P&gt;&lt;P&gt;- falling edge&lt;/P&gt;&lt;P&gt;- rising edge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The point is that I don't understand which one would be appropriate to spi mode 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2014 00:52:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Spi-mode-Processor-expert-Kl25/m-p/319506#M14221</guid>
      <dc:creator>wilk</dc:creator>
      <dc:date>2014-07-12T00:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Spi mode - Processor expert - Kl25</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Spi-mode-Processor-expert-Kl25/m-p/319507#M14222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there are three fundamental settinigs for SPI:&lt;/P&gt;&lt;P&gt;- bit order: MSB or LSB&lt;/P&gt;&lt;P&gt;- clock idle polarity: high or low&lt;/P&gt;&lt;P&gt;- clock shift edge: data is shifted on raising or falling edge&lt;/P&gt;&lt;P&gt;Clock polarity and shift edge (two values) build the four modes. See &lt;A href="http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus" title="http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus"&gt;Serial Peripheral Interface Bus - Wikipedia, the free encyclopedia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that your device is using MSB, so configure this as such.&lt;/P&gt;&lt;P&gt;From your original question, it looks you need to set it to 'shifted at rising edge'.&lt;/P&gt;&lt;P&gt;Clock idle polarity: check your device data sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at &lt;A href="http://mcuoneclipse.com/2014/07/01/tutorial-nordic-semiconductor-nrf24l01-with-the-freescale-frdm-k64f-board/" title="http://mcuoneclipse.com/2014/07/01/tutorial-nordic-semiconductor-nrf24l01-with-the-freescale-frdm-k64f-board/"&gt;Tutorial: Nordic Semiconductor nRF24L01+ with the Freescale FRDM-K64F Board | MCU on Eclipse&lt;/A&gt; (search for 'polarity')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2014 06:26:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Spi-mode-Processor-expert-Kl25/m-p/319507#M14222</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-07-12T06:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Spi mode - Processor expert - Kl25</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Spi-mode-Processor-expert-Kl25/m-p/319508#M14223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let us know what is SPI mode 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, the appropriate settings depend on the devices that are communicating. If your MCU is master and you are communicating with a slave, settings for both the devices should match.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 17:09:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Spi-mode-Processor-expert-Kl25/m-p/319508#M14223</guid>
      <dc:creator>dkarthik</dc:creator>
      <dc:date>2014-07-14T17:09:04Z</dc:date>
    </item>
  </channel>
</rss>

