<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Unique Device ID</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1741/unique-device-id</link><description>I have a radio board using a NRF51822 with a custom radio protocol. I need a unique identifier, ideally 24bit, 32bit but be acceptable. 
 I notice in the parameters there is: 
 Device ID 64bit unique ID for each unit.
DEVICEID[0]
DEVICEID[1] 
 Device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Jul 2016 18:25:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1741/unique-device-id" /><item><title>RE: Unique Device ID</title><link>https://devzone.nordicsemi.com/thread/7640?ContentTypeID=1</link><pubDate>Mon, 25 Jul 2016 18:25:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:178c1175-40e4-4ce0-8459-bb60a53af095</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;[quote]No ID in the chip is guaranteed to be unique, as they are all randomly generated in production of the chip.[/quote]
If true uniqueness is required, writing a unique serial number (or similar) to a constant or NVM and recompiling for each unit is a possible solution. But this is time consuming for large quantities. Any other suggestions? We are considering using uVision5 to program.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unique Device ID</title><link>https://devzone.nordicsemi.com/thread/7638?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2014 17:38:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3573a620-b307-480d-bc98-b479f36a2bab</guid><dc:creator>Paul</dc:creator><description>&lt;p&gt;You need to look at your application for the &amp;quot;Unique ID&amp;quot;.
If all the ID&amp;#39;s got uploaded to a database and linked to a server, You can always put a extra column to fix it, or even download it back to fix permanently.
I still think the hash idea would work.
If it is online, then server can assign an ID back.
If it is offline application, I don&amp;#39;t see too many reasons to really really have a &amp;quot;Unique&amp;quot; ID.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unique Device ID</title><link>https://devzone.nordicsemi.com/thread/7639?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2014 14:58:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1896c66-393c-48e6-a984-dbb3624bb285</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;No ID in the chip is guaranteed to be unique, as they are all randomly generated in production of the chip. If you need a value that&amp;#39;s guaranteed to be unique, this is hence something you&amp;#39;ll have to do yourself in your own production flow.&lt;/p&gt;
&lt;p&gt;You may also have use in taking a look at &lt;a href="https://devzone.nordicsemi.com/index.php/how-to-get-nrf51822-serial-number-and-hw-id-through-segger#"&gt;this question&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unique Device ID</title><link>https://devzone.nordicsemi.com/thread/7637?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2014 20:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e66b7505-6581-47fd-ab57-d0f446595b5a</guid><dc:creator>Dave</dc:creator><description>&lt;p&gt;Yeah. So, I looked at the MAC address ICs which have a EUI-48 id whereby 24bit is said to be a unique id (the other 24bit is manufactures code). That said, if you buy in batches over years, and they are assigned contiguously by ATMEL, common IDs will be encountered. Unless they do it by account, which I doubt.&lt;/p&gt;
&lt;p&gt;URL:
&lt;a href="http://www.atmel.com/images/atmel-8807-seeprom-at24mac402-602-datasheet.pdf"&gt;www.atmel.com/.../atmel-8807-seeprom-at24mac402-602-datasheet.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The obvious solution is post production programming of a contiguous ID, but is an timely step for manufacturing when production numbers are high.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unique Device ID</title><link>https://devzone.nordicsemi.com/thread/7636?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2014 18:45:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba4ee986-e659-4a8a-8a2d-f1e6f3cd3d02</guid><dc:creator>Paul</dc:creator><description>&lt;p&gt;Yes, statistically you will have common IDs.
But you won&amp;#39;t be able avoid that no matter what if you scale down a &amp;quot;guaranteed&amp;quot; 64-bit number to 32-bit.
Even you understand how Nordic compiles the IDs, there is no way you can &amp;quot;pick out&amp;quot; 32-bit still unique numbers over the years.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unique Device ID</title><link>https://devzone.nordicsemi.com/thread/7635?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2014 09:25:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54301bd6-f4cc-4d9d-993c-0a287107df2b</guid><dc:creator>Dave</dc:creator><description>&lt;p&gt;Thanks Paul. I thought of that but my understanding would be that statistically common IDs might be generated. I.e. if there are 10,000 of these devices being produced per year and they rely on a unique ID, the lower 16 bits of a hash may be common. Or am I misunderstanding this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unique Device ID</title><link>https://devzone.nordicsemi.com/thread/7634?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2014 17:01:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd2ca3cf-5502-45ff-86e0-5e79582974f8</guid><dc:creator>Paul</dc:creator><description>&lt;p&gt;Just apply a standard hash such as sha1 or md5 and then take the last 16 bits.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>