<?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 MIFARE SAM AV3 secure access module I2C Format in NFC</title>
    <link>https://community.nxp.com/t5/NFC/MIFARE-SAM-AV3-secure-access-module-I2C-Format/m-p/1438494#M9313</link>
    <description>&lt;P&gt;I have a new-be question.&amp;nbsp; I wish to query the SAM AV3 SAM over I2C with the&amp;nbsp;"SAM_GetVersion" command which is "0x80 0x60 0x00 0x00 0x00" according to section 21.2.1 of the user manual DS323551.&amp;nbsp; This will establish 2-way communications with my host processor and give me the status of the SAM.&lt;/P&gt;&lt;P&gt;From the manual , the MIFARE SAM AV3 will use the 5-bit NXP device bus address 01010b, with the 2 remaining bits set to 11b, to support an address byte of 0101011 | (R/W).&amp;nbsp; I am taking the address to be&amp;nbsp;0x2b?&lt;BR /&gt;&lt;BR /&gt;According to section 7.2.2 of the user manual, transmission of command request, the format is SLAD(WR) | NAD | PCB | LEN | INF (LEN) | LRC -&amp;gt;&lt;/P&gt;&lt;P&gt;My question is, How should I format the "SAM_GetVersion" "0x80 0x60 0x00 0x00 0x00" for I2C transmission? Do I pass the command in the INF field and treat it as an&amp;nbsp;ISO7816 tunneling protocol, calculate the length, and generate the LRC?&lt;/P&gt;&lt;P&gt;Does anyone have an LRC calculation code snippet or I2C command preparation routine?&lt;/P&gt;&lt;P&gt;I am using the&amp;nbsp;MIFARE SAM AV3 evaluation board UM11316 which is in the footprint of an Arduino Shield.&amp;nbsp; I have attached an Uno R3 and am trying to use that platform to send the I2C commands and get a response.&amp;nbsp; Has anyone used this setup to communicate with the SAM?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Henry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Apr 2022 17:03:42 GMT</pubDate>
    <dc:creator>Henry3</dc:creator>
    <dc:date>2022-04-04T17:03:42Z</dc:date>
    <item>
      <title>MIFARE SAM AV3 secure access module I2C Format</title>
      <link>https://community.nxp.com/t5/NFC/MIFARE-SAM-AV3-secure-access-module-I2C-Format/m-p/1438494#M9313</link>
      <description>&lt;P&gt;I have a new-be question.&amp;nbsp; I wish to query the SAM AV3 SAM over I2C with the&amp;nbsp;"SAM_GetVersion" command which is "0x80 0x60 0x00 0x00 0x00" according to section 21.2.1 of the user manual DS323551.&amp;nbsp; This will establish 2-way communications with my host processor and give me the status of the SAM.&lt;/P&gt;&lt;P&gt;From the manual , the MIFARE SAM AV3 will use the 5-bit NXP device bus address 01010b, with the 2 remaining bits set to 11b, to support an address byte of 0101011 | (R/W).&amp;nbsp; I am taking the address to be&amp;nbsp;0x2b?&lt;BR /&gt;&lt;BR /&gt;According to section 7.2.2 of the user manual, transmission of command request, the format is SLAD(WR) | NAD | PCB | LEN | INF (LEN) | LRC -&amp;gt;&lt;/P&gt;&lt;P&gt;My question is, How should I format the "SAM_GetVersion" "0x80 0x60 0x00 0x00 0x00" for I2C transmission? Do I pass the command in the INF field and treat it as an&amp;nbsp;ISO7816 tunneling protocol, calculate the length, and generate the LRC?&lt;/P&gt;&lt;P&gt;Does anyone have an LRC calculation code snippet or I2C command preparation routine?&lt;/P&gt;&lt;P&gt;I am using the&amp;nbsp;MIFARE SAM AV3 evaluation board UM11316 which is in the footprint of an Arduino Shield.&amp;nbsp; I have attached an Uno R3 and am trying to use that platform to send the I2C commands and get a response.&amp;nbsp; Has anyone used this setup to communicate with the SAM?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Henry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 17:03:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/MIFARE-SAM-AV3-secure-access-module-I2C-Format/m-p/1438494#M9313</guid>
      <dc:creator>Henry3</dc:creator>
      <dc:date>2022-04-04T17:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: MIFARE SAM AV3 secure access module I2C Format</title>
      <link>https://community.nxp.com/t5/NFC/MIFARE-SAM-AV3-secure-access-module-I2C-Format/m-p/1810140#M11313</link>
      <description>&lt;P&gt;I have similar problem. I have MIFARE SAM AV3 devkit, I can connect it to Arduino UNO, but I do not know what to do next? Are there any Arduino code samples to work with this devkit?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 16:57:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/MIFARE-SAM-AV3-secure-access-module-I2C-Format/m-p/1810140#M11313</guid>
      <dc:creator>SergeSkorodinsky</dc:creator>
      <dc:date>2024-02-16T16:57:35Z</dc:date>
    </item>
  </channel>
</rss>

