<?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 PN7150 i2C no acknowledge with nfc nci in NFC</title>
    <link>https://community.nxp.com/t5/NFC/PN7150-i2C-no-acknowledge-with-nfc-nci/m-p/1163507#M7776</link>
    <description>&lt;P&gt;Hello everyone, hello &lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/166773" target="_blank"&gt;@IvanRuiz&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;i got a customer board based on Toradex imx6ull SOM. There is a PN7150 RFID connected using I2C on default address (0x28).&lt;/P&gt;&lt;P&gt;When trying to come up with NCI Library i get strange No ACKs, which prohibit the device to be started correctly.&lt;/P&gt;&lt;P&gt;The PN7150 is connect with Configuration 1 (Only 3.3V) not like on OM eval board (where C2 is used with 5V and 3.3 V), but this should not cause I2C not to be acked isn't it?&lt;/P&gt;&lt;P&gt;What i did see during observation is, that the PN7150 has more data to send in case of error, which seems not to be received by NCI Lib.&lt;/P&gt;&lt;P&gt;To hit the error i currently use: nfcDemoApp poll&lt;/P&gt;&lt;P&gt;[ 148.777720] pn5xx-read: 00000000: 41 01 01 A..&lt;BR /&gt;[ 148.785725] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt;&lt;BR /&gt;[ 148.785735] i2c i2c-0: &amp;lt;i2c_imx_start&amp;gt;&lt;BR /&gt;[ 148.785949] i2c i2c-0: &amp;lt;i2c_imx_bus_busy&amp;gt;&lt;BR /&gt;[ 148.785965] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt; transfer message: 0&lt;BR /&gt;[ 148.785978] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt; CONTROL: IEN=1, IIEN=1, MSTA=1, MTX=1, TXAK=1, RSTA=0&lt;BR /&gt;[ 148.785990] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt; STATUS: ICF=1, IAAS=0, IBB=1, IAL=0, SRW=0, IIF=0, RXAK=1&lt;BR /&gt;[ 148.786000] i2c i2c-0: &amp;lt;i2c_imx_read&amp;gt; write slave address: addr=0x51&lt;BR /&gt;[ 148.786140] i2c i2c-0: &amp;lt;i2c_imx_trx_complete&amp;gt; TRX complete&lt;BR /&gt;[ 148.786150] i2c i2c-0: &amp;lt;i2c_imx_acked&amp;gt; ACK received&lt;BR /&gt;[ 148.786158] i2c i2c-0: &amp;lt;i2c_imx_read&amp;gt; setup bus&lt;BR /&gt;[ 148.786168] i2c i2c-0: &amp;lt;i2c_imx_read&amp;gt; read data&lt;BR /&gt;[ 148.786298] i2c i2c-0: &amp;lt;i2c_imx_trx_complete&amp;gt; TRX complete&lt;BR /&gt;[ 148.786309] i2c i2c-0: &amp;lt;i2c_imx_read&amp;gt; clear MSTA&lt;BR /&gt;[ 148.786318] i2c i2c-0: &amp;lt;i2c_imx_bus_busy&amp;gt;&lt;BR /&gt;[ 148.786335] i2c i2c-0: &amp;lt;i2c_imx_read&amp;gt; read byte: B0=0x0&lt;BR /&gt;[ 148.786350] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt; exit with: success msg: 1&lt;BR /&gt;[ 148.787370] pn5xx-read: 00000000: 00 .&lt;BR /&gt;[ 148.796170] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt;&lt;BR /&gt;[ 148.796185] i2c i2c-0: &amp;lt;i2c_imx_start&amp;gt;&lt;BR /&gt;[ 148.796600] i2c i2c-0: &amp;lt;i2c_imx_bus_busy&amp;gt;&lt;BR /&gt;[ 148.796620] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt; transfer message: 0&lt;BR /&gt;[ 148.796632] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt; CONTROL: IEN=1, IIEN=1, MSTA=1, MTX=1, TXAK=1, RSTA=0&lt;BR /&gt;[ 148.796645] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt; STATUS: ICF=1, IAAS=0, IBB=1, IAL=0, SRW=0, IIF=0, RXAK=1&lt;BR /&gt;[ 148.796656] i2c i2c-0: &amp;lt;i2c_imx_read&amp;gt; write slave address: addr=0x51&lt;BR /&gt;[ 148.796847] pn5xx-write: 00000000: 21 00 0d 04 04 03 02 05 03 03 80 01 80 03 02 01 !...............&lt;BR /&gt;[ 148.806145] i2c i2c-0: &amp;lt;i2c_imx_trx_complete&amp;gt; TRX complete&lt;BR /&gt;[ 148.806155] i2c i2c-0: &amp;lt;i2c_imx_acked&amp;gt; No ACK&lt;BR /&gt;[ 148.806164] i2c i2c-0: &amp;lt;i2c_imx_stop&amp;gt;&lt;BR /&gt;[ 148.806172] i2c i2c-0: &amp;lt;i2c_imx_bus_busy&amp;gt;&lt;BR /&gt;[ 148.806196] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt; exit with: error: -6&lt;BR /&gt;[ 148.807220] pn54x_dev_read: i2c_master_recv returned -6&lt;/P&gt;&lt;P&gt;NCI Log:&lt;/P&gt;&lt;P&gt;NxpTml: PN54X - I2C Read successful.....&lt;BR /&gt;&lt;BR /&gt;NxpNciR: len = 6 &amp;gt; 400003001100&lt;BR /&gt;NxpTml: PN54X - Posting read message.....&lt;BR /&gt;&lt;BR /&gt;NxpHal: read successful status = 0x0&lt;BR /&gt;NxpHal: Response timer stopped&lt;BR /&gt;NxpHal: Checking response&lt;BR /&gt;NxpTml: PN54X - Read requested.....&lt;BR /&gt;&lt;BR /&gt;NxpTml: PN54X - Invoking I2C Read.....&lt;BR /&gt;&lt;BR /&gt;NxpTml: PN54X - Write requested.....&lt;BR /&gt;&lt;BR /&gt;NxpTml: PN54X - Invoking I2C Write.....&lt;BR /&gt;&lt;BR /&gt;NxpTml: _i2c_read() [hdr] errno : 6&lt;BR /&gt;NxpTml: PN54X - Error in I2C Read.....&lt;/P&gt;&lt;P&gt;Any Help is very appreciated, things did work with PN7120, when switched to (production) PN7150 we faced this problem.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;P&gt;P.S.: sry did post this one within i.MX Board in the first&lt;/P&gt;</description>
    <pubDate>Tue, 06 Oct 2020 15:27:02 GMT</pubDate>
    <dc:creator>andreas_willig</dc:creator>
    <dc:date>2020-10-06T15:27:02Z</dc:date>
    <item>
      <title>PN7150 i2C no acknowledge with nfc nci</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-i2C-no-acknowledge-with-nfc-nci/m-p/1163507#M7776</link>
      <description>&lt;P&gt;Hello everyone, hello &lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/166773" target="_blank"&gt;@IvanRuiz&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;i got a customer board based on Toradex imx6ull SOM. There is a PN7150 RFID connected using I2C on default address (0x28).&lt;/P&gt;&lt;P&gt;When trying to come up with NCI Library i get strange No ACKs, which prohibit the device to be started correctly.&lt;/P&gt;&lt;P&gt;The PN7150 is connect with Configuration 1 (Only 3.3V) not like on OM eval board (where C2 is used with 5V and 3.3 V), but this should not cause I2C not to be acked isn't it?&lt;/P&gt;&lt;P&gt;What i did see during observation is, that the PN7150 has more data to send in case of error, which seems not to be received by NCI Lib.&lt;/P&gt;&lt;P&gt;To hit the error i currently use: nfcDemoApp poll&lt;/P&gt;&lt;P&gt;[ 148.777720] pn5xx-read: 00000000: 41 01 01 A..&lt;BR /&gt;[ 148.785725] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt;&lt;BR /&gt;[ 148.785735] i2c i2c-0: &amp;lt;i2c_imx_start&amp;gt;&lt;BR /&gt;[ 148.785949] i2c i2c-0: &amp;lt;i2c_imx_bus_busy&amp;gt;&lt;BR /&gt;[ 148.785965] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt; transfer message: 0&lt;BR /&gt;[ 148.785978] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt; CONTROL: IEN=1, IIEN=1, MSTA=1, MTX=1, TXAK=1, RSTA=0&lt;BR /&gt;[ 148.785990] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt; STATUS: ICF=1, IAAS=0, IBB=1, IAL=0, SRW=0, IIF=0, RXAK=1&lt;BR /&gt;[ 148.786000] i2c i2c-0: &amp;lt;i2c_imx_read&amp;gt; write slave address: addr=0x51&lt;BR /&gt;[ 148.786140] i2c i2c-0: &amp;lt;i2c_imx_trx_complete&amp;gt; TRX complete&lt;BR /&gt;[ 148.786150] i2c i2c-0: &amp;lt;i2c_imx_acked&amp;gt; ACK received&lt;BR /&gt;[ 148.786158] i2c i2c-0: &amp;lt;i2c_imx_read&amp;gt; setup bus&lt;BR /&gt;[ 148.786168] i2c i2c-0: &amp;lt;i2c_imx_read&amp;gt; read data&lt;BR /&gt;[ 148.786298] i2c i2c-0: &amp;lt;i2c_imx_trx_complete&amp;gt; TRX complete&lt;BR /&gt;[ 148.786309] i2c i2c-0: &amp;lt;i2c_imx_read&amp;gt; clear MSTA&lt;BR /&gt;[ 148.786318] i2c i2c-0: &amp;lt;i2c_imx_bus_busy&amp;gt;&lt;BR /&gt;[ 148.786335] i2c i2c-0: &amp;lt;i2c_imx_read&amp;gt; read byte: B0=0x0&lt;BR /&gt;[ 148.786350] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt; exit with: success msg: 1&lt;BR /&gt;[ 148.787370] pn5xx-read: 00000000: 00 .&lt;BR /&gt;[ 148.796170] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt;&lt;BR /&gt;[ 148.796185] i2c i2c-0: &amp;lt;i2c_imx_start&amp;gt;&lt;BR /&gt;[ 148.796600] i2c i2c-0: &amp;lt;i2c_imx_bus_busy&amp;gt;&lt;BR /&gt;[ 148.796620] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt; transfer message: 0&lt;BR /&gt;[ 148.796632] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt; CONTROL: IEN=1, IIEN=1, MSTA=1, MTX=1, TXAK=1, RSTA=0&lt;BR /&gt;[ 148.796645] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt; STATUS: ICF=1, IAAS=0, IBB=1, IAL=0, SRW=0, IIF=0, RXAK=1&lt;BR /&gt;[ 148.796656] i2c i2c-0: &amp;lt;i2c_imx_read&amp;gt; write slave address: addr=0x51&lt;BR /&gt;[ 148.796847] pn5xx-write: 00000000: 21 00 0d 04 04 03 02 05 03 03 80 01 80 03 02 01 !...............&lt;BR /&gt;[ 148.806145] i2c i2c-0: &amp;lt;i2c_imx_trx_complete&amp;gt; TRX complete&lt;BR /&gt;[ 148.806155] i2c i2c-0: &amp;lt;i2c_imx_acked&amp;gt; No ACK&lt;BR /&gt;[ 148.806164] i2c i2c-0: &amp;lt;i2c_imx_stop&amp;gt;&lt;BR /&gt;[ 148.806172] i2c i2c-0: &amp;lt;i2c_imx_bus_busy&amp;gt;&lt;BR /&gt;[ 148.806196] i2c i2c-0: &amp;lt;i2c_imx_xfer&amp;gt; exit with: error: -6&lt;BR /&gt;[ 148.807220] pn54x_dev_read: i2c_master_recv returned -6&lt;/P&gt;&lt;P&gt;NCI Log:&lt;/P&gt;&lt;P&gt;NxpTml: PN54X - I2C Read successful.....&lt;BR /&gt;&lt;BR /&gt;NxpNciR: len = 6 &amp;gt; 400003001100&lt;BR /&gt;NxpTml: PN54X - Posting read message.....&lt;BR /&gt;&lt;BR /&gt;NxpHal: read successful status = 0x0&lt;BR /&gt;NxpHal: Response timer stopped&lt;BR /&gt;NxpHal: Checking response&lt;BR /&gt;NxpTml: PN54X - Read requested.....&lt;BR /&gt;&lt;BR /&gt;NxpTml: PN54X - Invoking I2C Read.....&lt;BR /&gt;&lt;BR /&gt;NxpTml: PN54X - Write requested.....&lt;BR /&gt;&lt;BR /&gt;NxpTml: PN54X - Invoking I2C Write.....&lt;BR /&gt;&lt;BR /&gt;NxpTml: _i2c_read() [hdr] errno : 6&lt;BR /&gt;NxpTml: PN54X - Error in I2C Read.....&lt;/P&gt;&lt;P&gt;Any Help is very appreciated, things did work with PN7120, when switched to (production) PN7150 we faced this problem.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;P&gt;P.S.: sry did post this one within i.MX Board in the first&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 15:27:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-i2C-no-acknowledge-with-nfc-nci/m-p/1163507#M7776</guid>
      <dc:creator>andreas_willig</dc:creator>
      <dc:date>2020-10-06T15:27:02Z</dc:date>
    </item>
  </channel>
</rss>

