<?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>NFC中的主题 Re: PN512 SPI write issue</title>
    <link>https://community.nxp.com/t5/NFC/PN512-SPI-write-issue/m-p/830283#M4405</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;&lt;/P&gt;&lt;P&gt;There is no additional setup needed to use SPI port, just make sure you select the right interface.&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/71471i62A80D704B89850A/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;and follow the timing requirements listed in 9.2 in the data sheet.&lt;A class="link-titled" href="https://www.nxp.com/docs/en/data-sheet/PN512.pdf" title="https://www.nxp.com/docs/en/data-sheet/PN512.pdf"&gt;https://www.nxp.com/docs/en/data-sheet/PN512.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jan 2019 06:47:16 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2019-01-03T06:47:16Z</dc:date>
    <item>
      <title>PN512 SPI write issue</title>
      <link>https://community.nxp.com/t5/NFC/PN512-SPI-write-issue/m-p/830282#M4404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My partner and I are both working with a PN512 and we trying to communicate with it via SPI.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;While sending values, we have found a very weird issue maybe you can help us with.&lt;BR /&gt;We are sending all the data correctly. However, when we try to read them (after writting each one) we always get the registers' reset value.&lt;BR /&gt;&lt;BR /&gt;We have checked the following items to discard possible failure causes:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;The SPI lines are working fine. We have checked SCK, MOSI, MISO and CS with an oscilloscope and all 4 are working as spected .&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;The crystal is oscillating OK.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;SPI timing is OK.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;Address bit shifting and setting/clearing the command bit (read/write) is also correctly done.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;All physical pads are correctly soledered and routed in the board.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;Do we have to configure any special PN512's register for us to be able to modify its registers? Is there something we are not doing/configuring prior to send all data?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;Hope someone could help us.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;Jose Carlos.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2018 12:09:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN512-SPI-write-issue/m-p/830282#M4404</guid>
      <dc:creator>josecarlos</dc:creator>
      <dc:date>2018-12-24T12:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: PN512 SPI write issue</title>
      <link>https://community.nxp.com/t5/NFC/PN512-SPI-write-issue/m-p/830283#M4405</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;&lt;/P&gt;&lt;P&gt;There is no additional setup needed to use SPI port, just make sure you select the right interface.&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/71471i62A80D704B89850A/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;and follow the timing requirements listed in 9.2 in the data sheet.&lt;A class="link-titled" href="https://www.nxp.com/docs/en/data-sheet/PN512.pdf" title="https://www.nxp.com/docs/en/data-sheet/PN512.pdf"&gt;https://www.nxp.com/docs/en/data-sheet/PN512.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2019 06:47:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN512-SPI-write-issue/m-p/830283#M4405</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-01-03T06:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: PN512 SPI write issue</title>
      <link>https://community.nxp.com/t5/NFC/PN512-SPI-write-issue/m-p/830284#M4406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kan Li,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the support. My partner solved the issue by himself. The problem was that if we configure the pin for the chipselect as SS (pin 5, SPI0, MuxAlt2) in our KL17 the line goes up in every exchange by itself so we configure it as a simple GPIO to control the line and now we can write in PN512.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regars, Jose Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 07:39:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN512-SPI-write-issue/m-p/830284#M4406</guid>
      <dc:creator>josecarlos</dc:creator>
      <dc:date>2019-01-08T07:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: PN512 SPI write issue</title>
      <link>https://community.nxp.com/t5/NFC/PN512-SPI-write-issue/m-p/830285#M4407</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;&lt;/P&gt;&lt;P&gt;Thanks for the information!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2019 06:09:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN512-SPI-write-issue/m-p/830285#M4407</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-01-10T06:09:47Z</dc:date>
    </item>
  </channel>
</rss>

