<?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: PN5180 Library with software set to PH_OSAL_NULLOS (NfcrdlibEx1_BasicDiscoveryLoop) not working in NFC</title>
    <link>https://community.nxp.com/t5/NFC/PN5180-Library-with-software-set-to-PH-OSAL-NULLOS-NfcrdlibEx1/m-p/628651#M1244</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joris De Beer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please follow the next steps to get the NullOS mode working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1) &lt;/STRONG&gt;In the file &lt;STRONG&gt;ph_NxpBuild_App.h&lt;/STRONG&gt; comment out the macro &lt;STRONG&gt;NXPBUILD__PH_OSAL_FREERTOS&lt;/STRONG&gt; and enable the macro &lt;STRONG&gt;NXPBUILD__PH_OSAL_NULLOS&lt;/STRONG&gt;.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2)&lt;/STRONG&gt; Exclude the FreeRTOS files from the build. For this right click on the FreeRTOS folder -&amp;gt; Resource Configurations -&amp;gt; Exclude from Build and select the Debug and Release configurations.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Exclude_FreeRTOS.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14685iFEBD388212F0977D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Exclude_FreeRTOS.jpg" alt="Exclude_FreeRTOS.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3)&lt;/STRONG&gt; Set the optimization as &lt;STRONG&gt;None (-O0)&lt;/STRONG&gt; from the project properties (Project -&amp;gt; Properties -&amp;gt; C/C++ Build -&amp;gt; Settings -&amp;gt; MCU C Compiler -&amp;gt; Optimization).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14731iB7A78AF2AF104E33/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then build and run the project. It should work as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards!,&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2016 23:57:19 GMT</pubDate>
    <dc:creator>Jorge_Gonzalez</dc:creator>
    <dc:date>2016-12-06T23:57:19Z</dc:date>
    <item>
      <title>PN5180 Library with software set to PH_OSAL_NULLOS (NfcrdlibEx1_BasicDiscoveryLoop) not working</title>
      <link>https://community.nxp.com/t5/NFC/PN5180-Library-with-software-set-to-PH-OSAL-NULLOS-NfcrdlibEx1/m-p/628650#M1243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP support and forum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have the PNEV5180 evalboard.&lt;/P&gt;&lt;P&gt;This board works perfect when using the NFC Cockipt application.&lt;/P&gt;&lt;P&gt;It also works with the default NfcrdlibEx1_BasicDiscoveryLoop application in LPCexpresso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we changed the BasicDiscoveryloop example to use the non-OS option since&lt;/P&gt;&lt;P&gt;we want to integrate this into our existing non-OS project.&lt;/P&gt;&lt;P&gt;This does not work.&lt;/P&gt;&lt;P&gt;We used the #define NXPBUILD__PH_OSAL_NULLOS.&lt;/P&gt;&lt;P&gt;We see the project start up (debug), we see communication between the NXPCPU and the PN5180,&lt;/P&gt;&lt;P&gt;but when we put a card close to the antenna, no reaction from the software.&lt;/P&gt;&lt;P&gt;We use NFC Reader Library for PNEV5180B - V04.030.00.011627.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you assist in getting this demo program to work without the OS?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 09:45:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN5180-Library-with-software-set-to-PH-OSAL-NULLOS-NfcrdlibEx1/m-p/628650#M1243</guid>
      <dc:creator>jorisdebeer</dc:creator>
      <dc:date>2016-11-28T09:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: PN5180 Library with software set to PH_OSAL_NULLOS (NfcrdlibEx1_BasicDiscoveryLoop) not working</title>
      <link>https://community.nxp.com/t5/NFC/PN5180-Library-with-software-set-to-PH-OSAL-NULLOS-NfcrdlibEx1/m-p/628651#M1244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joris De Beer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please follow the next steps to get the NullOS mode working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1) &lt;/STRONG&gt;In the file &lt;STRONG&gt;ph_NxpBuild_App.h&lt;/STRONG&gt; comment out the macro &lt;STRONG&gt;NXPBUILD__PH_OSAL_FREERTOS&lt;/STRONG&gt; and enable the macro &lt;STRONG&gt;NXPBUILD__PH_OSAL_NULLOS&lt;/STRONG&gt;.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2)&lt;/STRONG&gt; Exclude the FreeRTOS files from the build. For this right click on the FreeRTOS folder -&amp;gt; Resource Configurations -&amp;gt; Exclude from Build and select the Debug and Release configurations.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Exclude_FreeRTOS.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14685iFEBD388212F0977D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Exclude_FreeRTOS.jpg" alt="Exclude_FreeRTOS.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3)&lt;/STRONG&gt; Set the optimization as &lt;STRONG&gt;None (-O0)&lt;/STRONG&gt; from the project properties (Project -&amp;gt; Properties -&amp;gt; C/C++ Build -&amp;gt; Settings -&amp;gt; MCU C Compiler -&amp;gt; Optimization).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14731iB7A78AF2AF104E33/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then build and run the project. It should work as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards!,&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 23:57:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN5180-Library-with-software-set-to-PH-OSAL-NULLOS-NfcrdlibEx1/m-p/628651#M1244</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2016-12-06T23:57:19Z</dc:date>
    </item>
  </channel>
</rss>

