<?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>How to get in code the DeviceID registers of nRF51422</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12248/how-to-get-in-code-the-deviceid-registers-of-nrf51422</link><description>Hi All, 
 Could anyone please, tell me how to read the DEVICEID[0], DEVICEID[1] registers in code ? 
 Thank you in advance :)</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Mar 2016 21:10:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12248/how-to-get-in-code-the-deviceid-registers-of-nrf51422" /><item><title>RE: How to get in code the DeviceID registers of nRF51422</title><link>https://devzone.nordicsemi.com/thread/46334?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2016 21:10:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb3827b7-0660-487b-a699-1e2de254294a</guid><dc:creator>Aymen Rejeb</dc:creator><description>&lt;p&gt;Yes, I noticed the direct mapping to the NRF_FICR register in the nrf51.h file.&lt;/p&gt;
&lt;p&gt;Thanks a lot for your support :)&lt;/p&gt;
&lt;p&gt;B.R.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get in code the DeviceID registers of nRF51422</title><link>https://devzone.nordicsemi.com/thread/46333?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2016 17:01:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10f7efce-98f9-49bd-8721-c521be22aee7</guid><dc:creator>John</dc:creator><description>&lt;p&gt;You should be able to do something like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint32_t deviceID[2]; deviceID[0] = NRF_FICR-&amp;gt;DEVICEID[0]; deviceID[1] = NRF_FICR-&amp;gt;DEVICEID[1];
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Stolen shamelessly from this question and answer:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/1691/how-to-get-nrf51822-serial-number-and-hw-id-through-segger/"&gt;Old question&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>