<?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: LPC824 &amp;amp; LPC845 Unique IDs in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-amp-LPC845-Unique-IDs/m-p/1229502#M43910</link>
    <description>&lt;P&gt;On both my 824 and 845 projects, I have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="carstengroen_0-1612981988326.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/136972i04E4543925B3F3D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="carstengroen_0-1612981988326.png" alt="carstengroen_0-1612981988326.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It returns 4 x 32 bit for the ID&lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2021 18:33:33 GMT</pubDate>
    <dc:creator>carstengroen</dc:creator>
    <dc:date>2021-02-10T18:33:33Z</dc:date>
    <item>
      <title>LPC824 &amp; LPC845 Unique IDs</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-amp-LPC845-Unique-IDs/m-p/1229321#M43907</link>
      <description>&lt;P&gt;Hello looking for some information please.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am using this function on an LPC824&lt;/P&gt;&lt;P&gt;NXP_Unique_ID = Chip_IAP_ReadUID(); //32 bit UID&lt;/P&gt;&lt;P&gt;This returns the first 32bit value from the unique number.&lt;/P&gt;&lt;P&gt;However on a LPC845 this seems to return the least significant byte of each 32 bit value of the unique number.&lt;/P&gt;&lt;P&gt;I use this number as a signature on field devices and was just wondering why it is different between parts?&lt;/P&gt;&lt;P&gt;Also is it documented anywhere what the content of the unique number represent?&lt;BR /&gt;Regards Paul&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 14:02:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-amp-LPC845-Unique-IDs/m-p/1229321#M43907</guid>
      <dc:creator>sanders7284</dc:creator>
      <dc:date>2021-02-10T14:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 &amp; LPC845 Unique IDs</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-amp-LPC845-Unique-IDs/m-p/1229502#M43910</link>
      <description>&lt;P&gt;On both my 824 and 845 projects, I have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="carstengroen_0-1612981988326.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/136972i04E4543925B3F3D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="carstengroen_0-1612981988326.png" alt="carstengroen_0-1612981988326.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It returns 4 x 32 bit for the ID&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 18:33:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-amp-LPC845-Unique-IDs/m-p/1229502#M43910</guid>
      <dc:creator>carstengroen</dc:creator>
      <dc:date>2021-02-10T18:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 &amp; LPC845 Unique IDs</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-amp-LPC845-Unique-IDs/m-p/1230642#M43926</link>
      <description>&lt;P&gt;Hi Paul,&lt;/P&gt;
&lt;P&gt;Please be aware that it is not recommended to read only 32 bit of the unique ID, you should read full 128 bit in order to have a guaranteed unique ID. Content of the UID is confidential and cannot be shared. The correct way to read it is the following.&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;uint32_t unique_id[4];

/* Read Part Unique Identification Number*/
Chip_IAP_ReadUID(unique_id);&lt;/LI-CODE&gt;
&lt;P&gt;Hope it helps!&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;/P&gt;
&lt;P&gt;Felipe&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Note:&lt;/P&gt;
&lt;P&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored. Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 22:11:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-amp-LPC845-Unique-IDs/m-p/1230642#M43926</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2021-02-12T22:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 &amp; LPC845 Unique IDs</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-amp-LPC845-Unique-IDs/m-p/1230933#M43935</link>
      <description>&lt;P&gt;Thanks, however the LPC824 function only deals with a single 32 bit number, and can't be passes paramaters?&lt;/P&gt;&lt;P&gt;/* Read the unique ID */&lt;BR /&gt;uint32_t Chip_IAP_ReadUID()&lt;BR /&gt;{&lt;BR /&gt;uint32_t command[5], result[5];&lt;/P&gt;&lt;P&gt;command[0] = IAP_READ_UID_CMD;&lt;BR /&gt;iap_entry(command, result);&lt;/P&gt;&lt;P&gt;return result[1];&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 10:39:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-amp-LPC845-Unique-IDs/m-p/1230933#M43935</guid>
      <dc:creator>sanders7284</dc:creator>
      <dc:date>2021-02-15T10:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 &amp; LPC845 Unique IDs</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-amp-LPC845-Unique-IDs/m-p/1231141#M43942</link>
      <description>&lt;P&gt;Hi Paul,&lt;/P&gt;
&lt;P&gt;You can refer to the &lt;A href="https://mcuxpresso.nxp.com/en/select" target="_self"&gt;LPC824 SDK&lt;/A&gt; examples that have latest updates and are constantly been updated unlike LPCOpen libraries. There you will find implementation for the full 128 bit unique ID.&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;status_t IAP_ReadUniqueID(uint32_t *uniqueID)
{
#if defined(FSL_FEATURE_IAP_READ_UNIQUE_ID_NOWORK) &amp;amp;&amp;amp; FSL_FEATURE_IAP_READ_UNIQUE_ID_NOWORK
    uint32_t *result = (uint32_t *)0x01000100;
    uint8_t i        = 0;

    for (i = 0; i &amp;lt; 4; i++)
        uniqueID[i] = result[i];
    return kStatus_IAP_Success;
#else
    uint32_t command[5] = {0x00U};
    uint32_t result[5]  = {0x00U};

    command[0] = (uint32_t)kIapCmd_IAP_ReadUid;
    iap_entry(command, result);
    uniqueID[0] = result[1];
    uniqueID[1] = result[2];
    uniqueID[2] = result[3];
    uniqueID[3] = result[4];

    return translate_iap_status(result[0]);
#endif
}&lt;/LI-CODE&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Felipe&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 18:36:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-amp-LPC845-Unique-IDs/m-p/1231141#M43942</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2021-02-15T18:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 &amp; LPC845 Unique IDs</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-amp-LPC845-Unique-IDs/m-p/1231399#M43948</link>
      <description>&lt;P&gt;Thanks Felipe!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 08:30:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-amp-LPC845-Unique-IDs/m-p/1231399#M43948</guid>
      <dc:creator>sanders7284</dc:creator>
      <dc:date>2021-02-16T08:30:33Z</dc:date>
    </item>
  </channel>
</rss>

