<?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>Smart Cards and Secure ElementのトピックRe: Communication by I2C in JCOP4.x</title>
    <link>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/Communication-by-I2C-in-JCOP4-x/m-p/2170072#M263</link>
    <description>&lt;P&gt;Please use default value for parameter&amp;nbsp;&lt;SPAN class="uioutputtext"&gt;&lt;SPAN&gt;I2C_SPI_PARAMS and&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="uioutputtext"&gt;&lt;SPAN&gt;ATR_I2C_IF_BYTES&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Sep 2025 02:41:11 GMT</pubDate>
    <dc:creator>nxp36440</dc:creator>
    <dc:date>2025-09-16T02:41:11Z</dc:date>
    <item>
      <title>Communication by I2C in JCOP4.x</title>
      <link>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/Communication-by-I2C-in-JCOP4-x/m-p/2166220#M262</link>
      <description>&lt;P&gt;To communcation JCOP4.x by I2C, please find example code for reference&lt;/P&gt;
&lt;P&gt;Please also check items as folllwing in advance.&lt;/P&gt;
&lt;P&gt;1. Confirm base OS support I2C&lt;/P&gt;
&lt;P&gt;2. Check parameter configuration&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN class="uioutputtext"&gt;&lt;SPAN&gt;I2C_SPI_PARAMS&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="uioutputtext"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ATR_I2C_IF_BYTES&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 01:47:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/Communication-by-I2C-in-JCOP4-x/m-p/2166220#M262</guid>
      <dc:creator>nxp36440</dc:creator>
      <dc:date>2025-09-10T01:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Communication by I2C in JCOP4.x</title>
      <link>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/Communication-by-I2C-in-JCOP4-x/m-p/2170072#M263</link>
      <description>&lt;P&gt;Please use default value for parameter&amp;nbsp;&lt;SPAN class="uioutputtext"&gt;&lt;SPAN&gt;I2C_SPI_PARAMS and&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="uioutputtext"&gt;&lt;SPAN&gt;ATR_I2C_IF_BYTES&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Sep 2025 02:41:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/Communication-by-I2C-in-JCOP4-x/m-p/2170072#M263</guid>
      <dc:creator>nxp36440</dc:creator>
      <dc:date>2025-09-16T02:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Communication by I2C in JCOP4.x</title>
      <link>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/Communication-by-I2C-in-JCOP4-x/m-p/2336816#M292</link>
      <description>&lt;P&gt;The code was helpful, but has an error in it in I2CTester.java:&lt;/P&gt;&lt;P&gt;This section should be -&amp;nbsp;&lt;/P&gt;&lt;P&gt;case I2C_TRANSFER:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; //The communications configuration needs to be set up for each call of the API.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; //All TLV TAGS to do this must be present in the input buffer&lt;BR /&gt;&amp;nbsp; &amp;nbsp; len = I2cMaster.i2cMaster(buf, ISO7816.OFFSET_CDATA, len, buf, (short)0, (short)225);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; apdu.setOutgoingAndSend((short) (0), len);&lt;/P&gt;&lt;P&gt;(e.g. the output length should match the return length from the I2CMaster.i2cMaster call, and the buffer length shouldn't be set by the length of the incoming command, but should be closer to&amp;nbsp; the&amp;nbsp; length of the APDU buffer)&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2026 20:44:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/Communication-by-I2C-in-JCOP4-x/m-p/2336816#M292</guid>
      <dc:creator>msjcard</dc:creator>
      <dc:date>2026-03-20T20:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Communication by I2C in JCOP4.x</title>
      <link>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/Communication-by-I2C-in-JCOP4-x/m-p/2337192#M293</link>
      <description>&lt;P&gt;Here's the fixed I2C_Tester.java file.&amp;nbsp; For some unknown reason, this forum doesn't support uploads of .java files - so I added a .c at the end.&amp;nbsp; Save the file, remove the .c and you should be able to compile this.&lt;/P&gt;&lt;P&gt;This fixes a few bugs in the sample code provided by NXP.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2026 20:08:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/Communication-by-I2C-in-JCOP4-x/m-p/2337192#M293</guid>
      <dc:creator>msjcard</dc:creator>
      <dc:date>2026-03-22T20:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Communication by I2C in JCOP4.x</title>
      <link>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/Communication-by-I2C-in-JCOP4-x/m-p/2345774#M294</link>
      <description>&lt;P&gt;For some reason, the code I sent didn't upload.&amp;nbsp; Let me try again.&amp;nbsp; This is corrected I2C_Tester.java - but .java files aren't supported as uploads for some reason so this is here as .txt&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2026 19:55:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Smart-Cards-and-Secure-Element/Communication-by-I2C-in-JCOP4-x/m-p/2345774#M294</guid>
      <dc:creator>msjcard</dc:creator>
      <dc:date>2026-04-06T19:55:09Z</dc:date>
    </item>
  </channel>
</rss>

