<?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>NRF52832 serial number</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61945/nrf52832-serial-number</link><description>Hello, I am working on the BMD-300 Series Evaluation Kit with nrf52832 microcontroller and I tried accessing the serial number of my nrf52832, with these functions: 
 m_device_id1 = NRF_FICR-&amp;gt;DEVICEID[0]; 
 m_device_id2 = NRF_FICR-&amp;gt;DEVICEID[1]; 
 the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Jun 2020 15:37:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61945/nrf52832-serial-number" /><item><title>RE: NRF52832 serial number</title><link>https://devzone.nordicsemi.com/thread/252809?ContentTypeID=1</link><pubDate>Tue, 02 Jun 2020 15:37:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11ed2621-5bad-4a9c-b8bb-d40cfcb9ccf1</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;The Rigado BMD-350 prints the MAC address on the module, but this can be lost if the chip is erased without first reading the value (although it can be recreated). You might find my notes helpful:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**@note
 *
 * Rigado has defined a MAC address stored within NRF_UICR, which matches the address inscribed on
 * the module. The Nordic examples (eg uart on which the pump is based)
 * use the Device Id in NRF_FICR to form a MAC address, which is different and fixed
 *
 * The 6-byte BLE Rigado MAC address is stored in the nRF52832 UICR at NRF_UICR_BASE+0x80 LSB first.
 * address during programming. Modules with factory firmware AA and AB are provided
 * with full memory protection enabled, not allowing the UICR to be read via the SWD interface. If
 * performing a full-erase, the MAC can then only be recovered from the 2D barcode and humanreadable text.
 * Modules with factory firmware code AC and later no longer enable read-back
 * protection from the factory, allowing the MAC address to be read with an SWD programmer.
 *
 * UICR Register (94:54:93:XX:YY:ZZ) see BMD-350 Data Sheet v2.0:
 * NRF_UICR + 0x80 (0x10001080): MAC_Addr [0] (0xZZ)
 * NRF_UICR + 0x81 (0x10001081): MAC_Addr [1] (0xYY)
 * NRF_UICR + 0x82 (0x10001082): MAC_Addr [2] (0xXX)
 * NRF_UICR + 0x83 (0x10001083): MAC_Addr [3] (0x93)
 * NRF_UICR + 0x84 (0x10001084): MAC_Addr [4] (0x54)
 * NRF_UICR + 0x85 (0x10001085): MAC_Addr [5] (0x94)
 *
 * Nordic MAC Address
 * ==================
 * DA:88:19:2D:84:27 from DE5FDA88192D8427
 *
 * Last 2 bits in 48-bit stream - top 2 bits in last byte of Device Address
 * 00 Public
 * 01 Static
 * 10 Resolvable
 * 11 Non-Resolvable
 *
 * Note that even though the address is &amp;quot;Random&amp;quot;, it is invariant and never changes
 * for a specific Nordic device as the NRF_FICR-&amp;gt;DEVICEADDR registers are Read-Only
 */&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 serial number</title><link>https://devzone.nordicsemi.com/thread/252670?ContentTypeID=1</link><pubDate>Tue, 02 Jun 2020 09:52:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9404230-9626-46db-9459-f99acd923f4e</guid><dc:creator>cyrine</dc:creator><description>&lt;p&gt;Thank you that answers my questions&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 serial number</title><link>https://devzone.nordicsemi.com/thread/252427?ContentTypeID=1</link><pubDate>Fri, 29 May 2020 13:20:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92548bfd-c115-4ebe-b733-f5df1d75ce03</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;No it&amp;#39;s not possible to get the number printed on the chip from the code. Please use the&amp;nbsp;DEVICEID[] instead.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 serial number</title><link>https://devzone.nordicsemi.com/thread/252381?ContentTypeID=1</link><pubDate>Fri, 29 May 2020 11:32:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d3047eb-aa1a-408e-8f44-2d43d6b93350</guid><dc:creator>cyrine</dc:creator><description>&lt;p&gt;Thank you for response. But just to be sure, the 64 bits device ID found in the FICR (DEVICEID[1]DEVICEID[0]) register is&amp;nbsp;not the same as the numbers printed on top of my chip.&lt;/p&gt;
&lt;p&gt;If it is the case, is it possible to obtein in a programme the numbers printed on the chip? And if I want to use a more likely unique number, I shoul go with&amp;nbsp;&lt;span&gt;DEVICEID[ ] ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 serial number</title><link>https://devzone.nordicsemi.com/thread/252370?ContentTypeID=1</link><pubDate>Fri, 29 May 2020 10:56:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:783af822-2247-40aa-8d7c-6b8a77df397c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Cyrine,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As mentioned by Andrew Neil, the device ID is not Unique but there&amp;nbsp;are&amp;nbsp;&lt;span&gt;18446744073709551616&amp;nbsp; possibilities and&amp;nbsp;&amp;nbsp;the chance that you have 2 device with same device ID is pretty small.&amp;nbsp;&lt;br /&gt;The serial number on top of the chip only contain the chip ID, variant, build code and the week and year the chip manufactured, it&amp;#39;s not unique at all.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 serial number</title><link>https://devzone.nordicsemi.com/thread/252317?ContentTypeID=1</link><pubDate>Fri, 29 May 2020 08:32:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:224c427a-dfee-4f4d-ac37-39545f27ba57</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;The Device ID is &lt;span style="text-decoration:underline;"&gt;&lt;em&gt;&lt;strong&gt;not&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt; unique:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49664/title-corrected-deviceid-is-not-unique---it-is-random/198087#198087"&gt;devzone.nordicsemi.com/.../198087&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>