<?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>MQX Software Solutions中的主题 Re: K60 SPI drivers in MQX</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/K60-SPI-drivers-in-MQX/m-p/215551#M5504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the slave mode is also supported for the DSPI. The difference in the code is basically just in clock generation and chip select handling. Use IO_IOCTL_SPI_SET_TRANSFER_MODE with SPI_DEVICE_SLAVE_MODE to switch to slave mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PetrM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jun 2011 22:46:19 GMT</pubDate>
    <dc:creator>PetrM</dc:creator>
    <dc:date>2011-06-20T22:46:19Z</dc:date>
    <item>
      <title>K60 SPI drivers in MQX</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K60-SPI-drivers-in-MQX/m-p/215550#M5503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the K60N512 as a slave device in my project. I am using the IAR development platform. I am using the K60 tower for initial development.&amp;nbsp;I am in the process of getting Interrupt enabled SPI&amp;nbsp;drivers for the K60 and I have looked at MQX 3.7 SPI drivers. (spi_int_dspi.c, spi_int.c). I was also given drivers from the MCF5445. The drivers from the MCF5445 only work with a single SPI interface and they are written for master. Therefore I think my approach will need to utilize the MQX files. We do not want to integrate the MQX into our build so I will have to take these low level driver files&amp;nbsp;files and modify them to work with our interface. When I looked at these files I also believe these are written for master SPI as well. Does anyone know if slave code exists or if there may be a better approach? I am new to SPI and MQX.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 01:55:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K60-SPI-drivers-in-MQX/m-p/215550#M5503</guid>
      <dc:creator>Chris_T</dc:creator>
      <dc:date>2011-06-17T01:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: K60 SPI drivers in MQX</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K60-SPI-drivers-in-MQX/m-p/215551#M5504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the slave mode is also supported for the DSPI. The difference in the code is basically just in clock generation and chip select handling. Use IO_IOCTL_SPI_SET_TRANSFER_MODE with SPI_DEVICE_SLAVE_MODE to switch to slave mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PetrM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2011 22:46:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K60-SPI-drivers-in-MQX/m-p/215551#M5504</guid>
      <dc:creator>PetrM</dc:creator>
      <dc:date>2011-06-20T22:46:19Z</dc:date>
    </item>
  </channel>
</rss>

