<?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: PN7462 ROM code bug: phhalCt_Init() calls phRomhalCt_RegInit() but PRES_PUP_EN and PRES_CON_NO are NOT configured as expected</title>
    <link>https://community.nxp.com/t5/NFC/PN7462-ROM-code-bug-phhalCt-Init-calls-phRomhalCt-RegInit-but/m-p/940337#M5815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the information, we will analyze it and make the fix in next release if necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Ivan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2019 18:03:51 GMT</pubDate>
    <dc:creator>IvanRuiz</dc:creator>
    <dc:date>2019-10-23T18:03:51Z</dc:date>
    <item>
      <title>PN7462 ROM code bug: phhalCt_Init() calls phRomhalCt_RegInit() but PRES_PUP_EN and PRES_CON_NO are NOT configured as expected</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-ROM-code-bug-phhalCt-Init-calls-phRomhalCt-RegInit-but/m-p/940336#M5814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems the ROM API&amp;nbsp;phRomhalCt_RegInit() does &lt;STRONG&gt;NOT&lt;/STRONG&gt; change the values as expected for the fields:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;bPullupSetStatus&lt;/LI&gt;&lt;LI&gt;bCardPresConnectorStatus&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Code snippet from PN7462AU_ex_phExCt with modifications:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;/* By default EEPROM has the values (see phCfg for details): */&lt;/P&gt;&lt;P&gt;/* gpkphCfg_EE_Boot_CT-&amp;gt;bPullUp = 1 */&lt;/P&gt;&lt;P&gt;/* gpkphCfg_EE_Boot_CT-&amp;gt;bConnectorType = 1 */&lt;/P&gt;&lt;P&gt;/* gpkphCfg_EE_Boot_CT-&amp;gt;bAutoCTDeactivationEnable = 1 */&lt;/P&gt;&lt;P&gt;/* gpkphCfg_EE_Boot_CT-&amp;gt;bSlewRate = 0x38 */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Initialize the CT module for normally closed presence switch as recommended in AN11738 */&lt;BR /&gt; phhalCt_InitParam_t sInitParams;&lt;BR /&gt; sInitParams.bPullupSetStatus = 0;&lt;BR /&gt; sInitParams.bCardPresConnectorStatus = 0;&lt;BR /&gt; sInitParams.bAutoCTDeactivationEnable = 0;&lt;BR /&gt; sInitParams.bSlewRateConfig = 0x38;&lt;BR /&gt; phhalCt_Init(&amp;amp;sInitParams);&lt;/P&gt;&lt;P&gt;regVal = PH_REG_GET(CT_SSR_REG);&lt;/P&gt;&lt;P&gt;/* regVal still reflects the values set by EEPROM config as before calling&amp;nbsp;&lt;SPAN&gt;phhalCt_Init() for bPullUp and bCardPres */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;/* To set PRES_PUP_EN and PRES_CON_NO as desired use write to register directly: */&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;PH_REG_SET(CT_SSR_REG, (uint32_t)0x01);&lt;/P&gt;&lt;P&gt;regVal = PH_REG_GET(CT_SSR_REG);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully with the explaination above you are able to reproduce and hopefully fix it in the near future.&lt;/P&gt;&lt;P&gt;For now I'll use a direct register write as a workaround to get it configured for my hardware setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 11:34:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-ROM-code-bug-phhalCt-Init-calls-phRomhalCt-RegInit-but/m-p/940336#M5814</guid>
      <dc:creator>roberto74</dc:creator>
      <dc:date>2019-10-18T11:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 ROM code bug: phhalCt_Init() calls phRomhalCt_RegInit() but PRES_PUP_EN and PRES_CON_NO are NOT configured as expected</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-ROM-code-bug-phhalCt-Init-calls-phRomhalCt-RegInit-but/m-p/940337#M5815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the information, we will analyze it and make the fix in next release if necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Ivan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2019 18:03:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-ROM-code-bug-phhalCt-Init-calls-phRomhalCt-RegInit-but/m-p/940337#M5815</guid>
      <dc:creator>IvanRuiz</dc:creator>
      <dc:date>2019-10-23T18:03:51Z</dc:date>
    </item>
  </channel>
</rss>

