<?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: Please help me with PN5180 RATS in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Please-help-me-with-PN5180-RATS/m-p/2079074#M28316</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249233"&gt;@scottheo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's recommanded that you can refer SW6257 to debug your code.&lt;/P&gt;
&lt;P&gt;You can log in&amp;nbsp;&lt;A href="https://www.nxp.com/products/PN5180" target="_blank"&gt;PN5180 | NFC IC for POS Solutions | NXP Semiconductors&lt;/A&gt; to download SW6257&lt;/P&gt;</description>
    <pubDate>Fri, 11 Apr 2025 12:48:17 GMT</pubDate>
    <dc:creator>KaiLi</dc:creator>
    <dc:date>2025-04-11T12:48:17Z</dc:date>
    <item>
      <title>Please help me with PN5180 RATS</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Please-help-me-with-PN5180-RATS/m-p/2078941#M28314</link>
      <description>&lt;P&gt;I am using PN5180A.&lt;BR /&gt;MCU stm32F103RTC6&lt;BR /&gt;CARD Desfire Ev1&lt;/P&gt;&lt;P&gt;ATQA 0344 response&lt;BR /&gt;SAK 0x24 response&lt;/P&gt;&lt;P&gt;I checked up to that point.&lt;/P&gt;&lt;P&gt;To check RATS, I sent 0xE0, 0x80 OR 0xE0, 0x50,&lt;/P&gt;&lt;P&gt;but the response is 0xff...&lt;/P&gt;&lt;P&gt;Is there a problem?&lt;/P&gt;&lt;P&gt;The source code is as follows.&lt;/P&gt;&lt;P&gt;PN5180_WriteBytes(RATS_CMD, sizeof(RATS_CMD));&lt;BR /&gt;HAL_Delay(10);&lt;/P&gt;&lt;P&gt;PN5180_ReadBytes(ATS_Response, ATS_Length);&lt;/P&gt;&lt;P&gt;//int ret = ISO14443_CommandSendAndRecvData(RATS_CMD, sizeof(RATS_CMD), ATS_Response, &amp;amp;ATS_Length);&lt;/P&gt;&lt;P&gt;for (int i = 0; i &amp;lt; ATS_Length; i++) {&lt;BR /&gt;printf("0x%02X ", ATS_Response[i]);&lt;BR /&gt;}&lt;BR /&gt;printf("\r\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void PN5180_ReadBytes(void *Buffer, uint32_t len) {&lt;BR /&gt;int i = 0;&lt;BR /&gt;uint8_t *p = (uint8_t*) Buffer;&lt;/P&gt;&lt;P&gt;/* Wait for the Busy to be low */&lt;BR /&gt;while (PN5180_BusyPinIsHigh()) {&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;/* Enable chip select connected to reader IC by pulling NSS low. */&lt;BR /&gt;PN5180_Select();&lt;/P&gt;&lt;P&gt;/* Build the Command frame and send it */&lt;BR /&gt;for (i = 0; i &amp;lt; len; i++) {&lt;BR /&gt;*p++ = PN5180_SPI_ReadWriteByte(0XFF);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;/* Disable chip select connected to reader IC by pulling NSS high. */&lt;BR /&gt;PN5180_DisSelect();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;void PN5180_WriteBytes(const void *Buffer, uint32_t len) {&lt;BR /&gt;int i = 0;&lt;BR /&gt;uint8_t *p = (uint8_t*) Buffer;&lt;/P&gt;&lt;P&gt;/* Wait for the Busy to be low */&lt;BR /&gt;while (PN5180_BusyPinIsHigh()) {&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;/* Enable chip select connected to reader IC by pulling NSS low. */&lt;BR /&gt;PN5180_Select();&lt;/P&gt;&lt;P&gt;/* Build the Command frame and send it */&lt;BR /&gt;for (i = 0; i &amp;lt; len; i++) {&lt;BR /&gt;PN5180_SPI_ReadWriteByte(*p++);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;/* Disable chip select connected to reader IC by pulling NSS high. */&lt;BR /&gt;PN5180_DisSelect();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;help&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 09:03:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Please-help-me-with-PN5180-RATS/m-p/2078941#M28314</guid>
      <dc:creator>scottheo</dc:creator>
      <dc:date>2025-04-11T09:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Please help me with PN5180 RATS</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Please-help-me-with-PN5180-RATS/m-p/2079074#M28316</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249233"&gt;@scottheo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's recommanded that you can refer SW6257 to debug your code.&lt;/P&gt;
&lt;P&gt;You can log in&amp;nbsp;&lt;A href="https://www.nxp.com/products/PN5180" target="_blank"&gt;PN5180 | NFC IC for POS Solutions | NXP Semiconductors&lt;/A&gt; to download SW6257&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 12:48:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Please-help-me-with-PN5180-RATS/m-p/2079074#M28316</guid>
      <dc:creator>KaiLi</dc:creator>
      <dc:date>2025-04-11T12:48:17Z</dc:date>
    </item>
  </channel>
</rss>

