<?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: Need help: SPI with 10 devices attached in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Need-help-SPI-with-10-devices-attached/m-p/217054#M5572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, PetrM, that's great.&amp;nbsp; The example looks very clear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Aug 2010 16:40:58 GMT</pubDate>
    <dc:creator>Joe2</dc:creator>
    <dc:date>2010-08-18T16:40:58Z</dc:date>
    <item>
      <title>Need help: SPI with 10 devices attached</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Need-help-SPI-with-10-devices-attached/m-p/217050#M5568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Im brand new to MQX and the 52259. I have an application that has 10 devices attached to the SPI0 bus. Each has its own chip select, generated by a decoder (74154 type). The decoder inputs are connected to the 3 dedicated qspi CS pins plus a gpio pin, giving it the ability to select up to 16 different devices. In the MQX UG section about the SPI, all it says is that the QSPI chip selects are handled automatically and that the IO_IOCTL_SPI_SET_CS_CALLBACK function does not apply to this mcu.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I set it up so that when I write/read the SPI, it will automatically output the CS I need? Even if I have to do it manually that would be ok, but I dont see how to do that either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Byra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 22:27:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Need-help-SPI-with-10-devices-attached/m-p/217050#M5568</guid>
      <dc:creator>Byra</dc:creator>
      <dc:date>2010-08-06T22:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need help: SPI with 10 devices attached</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Need-help-SPI-with-10-devices-attached/m-p/217051#M5569</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;GPIO CS callbacks are now available for all SPI modules. Sorry for confusion.&lt;/P&gt;&lt;P&gt;This is what you need to&amp;nbsp;do in your case.&lt;/P&gt;&lt;P&gt;Don't forget to&amp;nbsp;open GPIO&amp;nbsp;driver pins&amp;nbsp;after opening SPI to overwrite pin configuration to GPIO 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, 09 Aug 2010 18:57:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Need-help-SPI-with-10-devices-attached/m-p/217051#M5569</guid>
      <dc:creator>PetrM</dc:creator>
      <dc:date>2010-08-09T18:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need help: SPI with 10 devices attached</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Need-help-SPI-with-10-devices-attached/m-p/217052#M5570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PetrM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to do the same thing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an example anywhere of the use of GPIO CS callbacks?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 16:18:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Need-help-SPI-with-10-devices-attached/m-p/217052#M5570</guid>
      <dc:creator>Joe2</dc:creator>
      <dc:date>2010-08-17T16:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need help: SPI with 10 devices attached</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Need-help-SPI-with-10-devices-attached/m-p/217053#M5571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the SPI example in mqx\examples directory includes the use of GPIO callbacks, it's just not used on all boards (see the enable defines in the example code).&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>Tue, 17 Aug 2010 22:53:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Need-help-SPI-with-10-devices-attached/m-p/217053#M5571</guid>
      <dc:creator>PetrM</dc:creator>
      <dc:date>2010-08-17T22:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need help: SPI with 10 devices attached</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Need-help-SPI-with-10-devices-attached/m-p/217054#M5572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, PetrM, that's great.&amp;nbsp; The example looks very clear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Aug 2010 16:40:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Need-help-SPI-with-10-devices-attached/m-p/217054#M5572</guid>
      <dc:creator>Joe2</dc:creator>
      <dc:date>2010-08-18T16:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need help: SPI with 10 devices attached</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Need-help-SPI-with-10-devices-attached/m-p/217055#M5573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please,&amp;nbsp;for your application, did you&amp;nbsp;have to change the SPI driver&amp;nbsp;? Does&amp;nbsp;SPI devices have the same configuration ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 20:56:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Need-help-SPI-with-10-devices-attached/m-p/217055#M5573</guid>
      <dc:creator>CJr</dc:creator>
      <dc:date>2010-09-14T20:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need help: SPI with 10 devices attached</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Need-help-SPI-with-10-devices-attached/m-p/217056#M5574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Different devices = different protocols. You have to find datasheet to your device, set the SPI driver&amp;nbsp;accordingly (baudrate, bits per frame etc.)&amp;nbsp;and write the particular communication protocol using SPI driver.&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>Fri, 24 Sep 2010 19:52:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Need-help-SPI-with-10-devices-attached/m-p/217056#M5574</guid>
      <dc:creator>PetrM</dc:creator>
      <dc:date>2010-09-24T19:52:25Z</dc:date>
    </item>
  </channel>
</rss>

