<?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 PCA9502 read back gpio using spi not working  in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/PCA9502-read-back-gpio-using-spi-not-working/m-p/726918#M5390</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12626i2B06E18E9C50F54F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am trying to do a read back&amp;nbsp; of gpio lines using spi and it is not working.I have attached the spi commands i am sending.Please let me know what i am doing wrong .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13121i69DD3822A87C34B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2018 21:12:56 GMT</pubDate>
    <dc:creator>subrahmanyapere</dc:creator>
    <dc:date>2018-05-04T21:12:56Z</dc:date>
    <item>
      <title>PCA9502 read back gpio using spi not working</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PCA9502-read-back-gpio-using-spi-not-working/m-p/726918#M5390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12626i2B06E18E9C50F54F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am trying to do a read back&amp;nbsp; of gpio lines using spi and it is not working.I have attached the spi commands i am sending.Please let me know what i am doing wrong .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13121i69DD3822A87C34B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 21:12:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PCA9502-read-back-gpio-using-spi-not-working/m-p/726918#M5390</guid>
      <dc:creator>subrahmanyapere</dc:creator>
      <dc:date>2018-05-04T21:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: PCA9502 read back gpio using spi not working</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PCA9502-read-back-gpio-using-spi-not-working/m-p/726919#M5391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The usual steps on the master side for writing are:&lt;/P&gt;&lt;P&gt;* Configure desired speed within slave spec&lt;/P&gt;&lt;P&gt;* Assert SS/CS&lt;/P&gt;&lt;P&gt;* Send write command&lt;/P&gt;&lt;P&gt;* Start sending data/Ignore incoming data&lt;/P&gt;&lt;P&gt;* Stop by de-asserting SS/CS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="SPI write.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25103iD6DDE8DA9286E95A/image-size/large?v=v2&amp;amp;px=999" role="button" title="SPI write.png" alt="SPI write.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The usual steps on the master side for reading are:&lt;/P&gt;&lt;P&gt;* Configure desired speed within slave spec&lt;/P&gt;&lt;P&gt;* Assert SS/CS&lt;/P&gt;&lt;P&gt;* Send read command&lt;/P&gt;&lt;P&gt;* Send dummy data/received data&lt;/P&gt;&lt;P&gt;* Stop by de-asserting SS/CS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="SPI read.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25026i79DA8E9ACE65A305/image-size/large?v=v2&amp;amp;px=999" role="button" title="SPI read.png" alt="SPI read.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the image you sent I cannot see the SS/CS configuration unless is the “SPI EN” signal in which case is not doing what it supposed to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;P&gt;NXP Semiconductor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2018 21:04:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PCA9502-read-back-gpio-using-spi-not-working/m-p/726919#M5391</guid>
      <dc:creator>reyes</dc:creator>
      <dc:date>2018-05-07T21:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: PCA9502 read back gpio using spi not working</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PCA9502-read-back-gpio-using-spi-not-working/m-p/726920#M5392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28558i6AF5F743E23540C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i still have the same problem.you can see my spi enable line goes low during the transaction .but my miso line returns ff.&lt;/P&gt;&lt;P&gt;I write to reg A abd read on reg B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 17:56:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PCA9502-read-back-gpio-using-spi-not-working/m-p/726920#M5392</guid>
      <dc:creator>subrahmanyapere</dc:creator>
      <dc:date>2018-05-08T17:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: PCA9502 read back gpio using spi not working</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PCA9502-read-back-gpio-using-spi-not-working/m-p/726921#M5393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am still having the same issue can you please help me fix this .I just want to read the gpio ports&amp;nbsp; and these are the spi transactions i send&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29971iC67958833E84B5FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 19:44:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PCA9502-read-back-gpio-using-spi-not-working/m-p/726921#M5393</guid>
      <dc:creator>subrahmanyapere</dc:creator>
      <dc:date>2018-05-16T19:44:35Z</dc:date>
    </item>
  </channel>
</rss>

