<?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>nRF5340 FICR ID uniqueness</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122655/nrf5340-ficr-id-uniqueness</link><description>Quick question. 
 Per the unique ID in chips from around a decade ago were not guaranteed to be unique. 
 I&amp;#39;m wondering if this is still the case for a given nRF5340 chip, or if changes in manufacturing approach have affected the way this is handled.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Jul 2025 17:29:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122655/nrf5340-ficr-id-uniqueness" /><item><title>RE: nRF5340 FICR ID uniqueness</title><link>https://devzone.nordicsemi.com/thread/541215?ContentTypeID=1</link><pubDate>Wed, 02 Jul 2025 17:29:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d30288a8-7434-48d6-ade8-cd83bbb3b7f1</guid><dc:creator>Kelso</dc:creator><description>&lt;p&gt;Thanks for confirming it&amp;#39;s still random as well as the collision estimates.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 FICR ID uniqueness</title><link>https://devzone.nordicsemi.com/thread/541174?ContentTypeID=1</link><pubDate>Wed, 02 Jul 2025 12:52:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f5f56c1-dc04-4b8a-a3ae-53100d45c511</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Both DEVICEADDR and DEVICEID are randomly generated in production, and therefore not 100 % guaranteed to be unique. That is correct. It is also correct for nRF5340 devices.&lt;/p&gt;
&lt;p&gt;Assuming close to true randomness, the statistical likelihood of two devices sharing the same randomly generated ID can be calculated the same as for the solution to the&amp;nbsp;&lt;a href="https://en.wikipedia.org/wiki/Birthday_problem"&gt;Birthday problem&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I.e. with &lt;em&gt;n&lt;/em&gt; devices using an ID with &lt;em&gt;d&lt;/em&gt; possible values, the probability of at least one collision is approximately &lt;em&gt;n^2 / 2d&lt;/em&gt;. (This uses &lt;em&gt;square approximation&lt;/em&gt;, which works well for probabilities less than or equal to 1/2.) Accurate calculations are possible, but involve large factorials.&lt;/p&gt;
&lt;p&gt;2^64 is an incredibly large number. You will therefore see:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a one-in-a-billion (1:10^9) probability of collision at around two hundred thousand devices&lt;/li&gt;
&lt;li&gt;a one-in-a-million (1:10^6) probability at around six million devices&lt;/li&gt;
&lt;li&gt;a 1 % probability at around six hundred million devices&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Note that the above probabilities are for the existence of one or more collisions among all of the devices involved; the probability of one specific device being involved in an ID conflict is much lower.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>