<?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 Software Development KitのトピックSPI Slave with FRDM-K22F on RF connector (J6)</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/SPI-Slave-with-FRDM-K22F-on-RF-connector-J6/m-p/705042#M7542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could anyone make the SPI Slave Component work when using the pins on this connector (PTD0 to PTD3)?&lt;/P&gt;&lt;P&gt;I can make the slave read and send correct data when using the SPI Slave on the PTC PINS 4 through 7.&lt;/P&gt;&lt;P&gt;But when I'm&amp;nbsp;using the pins on the J6 jumper, it just doesn't work, the data gets all messy, both on Rx and Tx&lt;/P&gt;&lt;P&gt;Is there any HW problem with this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Aug 2017 20:02:22 GMT</pubDate>
    <dc:creator>josécarloscazar</dc:creator>
    <dc:date>2017-08-22T20:02:22Z</dc:date>
    <item>
      <title>SPI Slave with FRDM-K22F on RF connector (J6)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/SPI-Slave-with-FRDM-K22F-on-RF-connector-J6/m-p/705042#M7542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could anyone make the SPI Slave Component work when using the pins on this connector (PTD0 to PTD3)?&lt;/P&gt;&lt;P&gt;I can make the slave read and send correct data when using the SPI Slave on the PTC PINS 4 through 7.&lt;/P&gt;&lt;P&gt;But when I'm&amp;nbsp;using the pins on the J6 jumper, it just doesn't work, the data gets all messy, both on Rx and Tx&lt;/P&gt;&lt;P&gt;Is there any HW problem with this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 20:02:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/SPI-Slave-with-FRDM-K22F-on-RF-connector-J6/m-p/705042#M7542</guid>
      <dc:creator>josécarloscazar</dc:creator>
      <dc:date>2017-08-22T20:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: SPI Slave with FRDM-K22F on RF connector (J6)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/SPI-Slave-with-FRDM-K22F-on-RF-connector-J6/m-p/705043#M7543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Jose,&lt;/P&gt;&lt;P&gt;I have checked the schematics,I find out that the PTD0~3 are connected to the other components on the FRDM-K22F, for example PTD0 is connected to pin 11of FXOS8700CQ, pin11 of J6(RF connector). &amp;nbsp; PTD1 is connected to pin 9 of FXOS8700CQ, pin5 of J6(RF connector). PTD2 is connected to pin p3 pin of J8(SD card), PTD3 is connected to p3 pin of J8.&lt;/P&gt;&lt;P&gt;i think you'd better remove the serial resistor between PTDx and the active component to avoid influence.&lt;/P&gt;&lt;P&gt;BTW, I suppose that you enable the PORTD clock in SIM_SCGC5, abd write the PORT register correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SIM_SCGC5|=0x1000; &lt;/P&gt;&lt;P&gt;PORTD_PCR0|=2&amp;lt;&amp;lt;8;&lt;/P&gt;&lt;P&gt;PORTD_PCR1|=2&amp;lt;&amp;lt;8;&lt;/P&gt;&lt;P&gt;PORTD_PCR2|=2&amp;lt;&amp;lt;8;&lt;/P&gt;&lt;P&gt;PORTD_PCR3|=2&amp;lt;&amp;lt;8;&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 08:43:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/SPI-Slave-with-FRDM-K22F-on-RF-connector-J6/m-p/705043#M7543</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-08-23T08:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: SPI Slave with FRDM-K22F on RF connector (J6)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/SPI-Slave-with-FRDM-K22F-on-RF-connector-J6/m-p/705044#M7544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Xiangjun. Actually, after 10 minutes I posted this thread I found out the same solution by looking at the schematics. That was exactly the problem because the accelerometer/magnetometer shares the CLK and CS pins of the SPI with the respective pins on the J6 header. So, to fix this, I just removed the R52 and R55 resistors of the board (they're located right above the "FRDM-K22F" label written with white letters near the center of the board).&lt;/P&gt;&lt;P&gt;I think it is good to keep this info on the forum, so future users with the same problem can look at this solution&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;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 11:15:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/SPI-Slave-with-FRDM-K22F-on-RF-connector-J6/m-p/705044#M7544</guid>
      <dc:creator>josécarloscazar</dc:creator>
      <dc:date>2017-08-23T11:15:55Z</dc:date>
    </item>
  </channel>
</rss>

