<?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>Software and hardware Difference betwwen nrf52832 and nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81299/software-and-hardware-difference-betwwen-nrf52832-and-nrf52840</link><description>Hi, helpies 
 I am currently workibg on nrf52832 board and now there are some changes in the hardware and we are left with pin shortage,so we planned to upgrade to nrf52840 which has 48 GPIO pins. 
 My code works with nrf52832 which is working fine and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Nov 2021 12:48:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81299/software-and-hardware-difference-betwwen-nrf52832-and-nrf52840" /><item><title>RE: Software and hardware Difference betwwen nrf52832 and nrf52840</title><link>https://devzone.nordicsemi.com/thread/337095?ContentTypeID=1</link><pubDate>Tue, 02 Nov 2021 12:48:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e147010-f6af-45da-bfdd-78b92e3d2f7f</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Rajbir,&lt;/p&gt;
&lt;p&gt;You will have to make some changes for going from nRF52832 to nRF52840. If your project is very similar to an existing nRF52840 project, you can start out with that and add your code. Another options is to transfer your nRF52832 project to nRF52840. To transfer a project to another SoC you must do the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Change&amp;nbsp;every instance of nRF52832 to nRF52840, such as target or device (nrf52832_xxaa -&amp;gt; nrf52840_xxaa) and preprocessor definitions (NRF52832_XXAA -&amp;gt; NRF52840_XXAA)&lt;/li&gt;
&lt;li&gt;Do the same with pca10040-&amp;gt;pca10056&lt;/li&gt;
&lt;li&gt;Adjust the linker script to match maximum RAM and flash of nRF52840 instead of nRF52832.&lt;/li&gt;
&lt;li&gt;Change the startup files (&amp;lt;compiler&amp;gt;&lt;span&gt;_startup_nrf52832.s -&amp;gt; &amp;lt;compiler&amp;gt;&lt;/span&gt;_startup_nrf52840.s and &lt;span&gt;s&lt;/span&gt;&lt;span&gt;ystem_nrf52832.c- &amp;gt;&amp;nbsp;&lt;/span&gt;system_nrf52840.c)&lt;/li&gt;
&lt;li&gt;The project will require a different SoftDevice variant, so you must change this to one compatible with nRF52840. This would normally be s140, see&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/comp_matrix_nrf52840/COMP/nrf52840/nRF52840_ic_rev_sdk_sd_comp_matrix.html"&gt;nRF52840 SDK &amp;amp; SD compatibility matrix&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You should also be aware that there are some pins you should avoid for high load/frequency applications. Please see&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/pin.html?cp=4_0_0_6_0"&gt;nRF52840 pin assigments&lt;/a&gt;&amp;nbsp;for recommended usage.&lt;/p&gt;
[quote user=""]And what is the difference between pca10040 and 10056.[/quote]
&lt;p&gt;Pca10040 is the nRF52 DK, and pca10056 is the nRF52840 DK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>