<?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: spi daisy chain in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/spi-daisy-chain/m-p/222973#M4133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mean you want to connect several KLs via their SPI port? if so, it would be easy to implement. For example, you may connect 10 KLs like the following:&lt;/P&gt;&lt;P&gt;The previous KL's MISO connected with the next KL's MOSI, all the 10 KLs are configured as SPI slave, and their CLKs and CSs are connected with the external master's clk and cs signals. Please note the second KL will wait one data before it fetch the first valid data because the first data are from the previous KLs' shift register, and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;B.R&lt;/P&gt;&lt;P&gt;Kan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Sep 2013 06:25:47 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2013-09-10T06:25:47Z</dc:date>
    <item>
      <title>spi daisy chain</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/spi-daisy-chain/m-p/222971#M4131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to connect x number of Kinetis L chips in a daisy chain configuration and shift out the contents via SPI. Think of it as one giant shift register.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 22:13:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/spi-daisy-chain/m-p/222971#M4131</guid>
      <dc:creator>davidwiebe</dc:creator>
      <dc:date>2013-09-09T22:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: spi daisy chain</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/spi-daisy-chain/m-p/222972#M4132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, so what is your question on your application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 03:27:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/spi-daisy-chain/m-p/222972#M4132</guid>
      <dc:creator>Paul_Tian</dc:creator>
      <dc:date>2013-09-10T03:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: spi daisy chain</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/spi-daisy-chain/m-p/222973#M4133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mean you want to connect several KLs via their SPI port? if so, it would be easy to implement. For example, you may connect 10 KLs like the following:&lt;/P&gt;&lt;P&gt;The previous KL's MISO connected with the next KL's MOSI, all the 10 KLs are configured as SPI slave, and their CLKs and CSs are connected with the external master's clk and cs signals. Please note the second KL will wait one data before it fetch the first valid data because the first data are from the previous KLs' shift register, and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;B.R&lt;/P&gt;&lt;P&gt;Kan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 06:25:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/spi-daisy-chain/m-p/222973#M4133</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2013-09-10T06:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: spi daisy chain</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/spi-daisy-chain/m-p/222974#M4134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;HI, I am very new to Freescale Kinetic microcontrollers. I am working on FRDM-k20d50m development board and trying to develop an application to interface two slaves on this development board. My requirement is to send data to 1st slave and then receive data from the same slave and then to deploy same operation on 2nd slave. If I am using one slave at a time and disconnect the other one then it works fine but if I connect two slaves the at same time I am not receiving any data from slave. The basic code to initiate SPI communication between two slaves is as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/* Below block of code reads data from first slave*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; SM1_SelectConfiguration(SPI, ChipSelect, AttributeSet); (WHAT WOULD BE THE SYNTAX IF I WANT TO SELECT CHIP-1; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt; AS OF NOW I AM USING VARIABLE CHIP SELECT_1 =1, TO SELECT CHIP-1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; SM1_SendBlock(SPI, out_data, sizeof (out_data));&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; SM1_ReceiveBlock(SPI, &amp;amp;in_data, sizeof (in_data));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; /* Below block of code reads data from second slave*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; SM1_SelectConfiguration(SPI, ChipSelect_1, AttributeSet_1);&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SM1_SendBlock(SPI, out_data, sizeof (out_data));&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SM1_ReceiveBlock(SPI, &amp;amp;in_data_1, sizeof (in_data_1));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Please help me to make the communication possible with two slaves at the same time.&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have attached my settings screen shots. PFA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 07:10:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/spi-daisy-chain/m-p/222974#M4134</guid>
      <dc:creator>joginderrana</dc:creator>
      <dc:date>2014-03-31T07:10:57Z</dc:date>
    </item>
  </channel>
</rss>

