<?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>nRF52810 -&amp;gt; nRF52805 firmware compatibility?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69084/nrf52810---nrf52805-firmware-compatibility</link><description>If I have a firmware project working reliably on the nRF52810, is it possible to build a single firmware image that will run on both the nRF52805 and the nRF52810? I&amp;#39;m not using any of the peripherals that the nRF52805 loses from the nRF52810. I understand</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Dec 2020 14:40:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69084/nrf52810---nrf52805-firmware-compatibility" /><item><title>RE: nRF52810 -&gt; nRF52805 firmware compatibility?</title><link>https://devzone.nordicsemi.com/thread/284578?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2020 14:40:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b412810b-3602-474c-a1ca-8ddb93cbb986</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Sydney&lt;/p&gt;
&lt;p&gt;I have asked around here and there, but so far I haven&amp;#39;t found anything.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will check in with a couple more people to be sure.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;One comment I got is that it is critical to ensure that the peripherals you use are located at the same address in the memory map, if you want to use the same code. If this is not the case you would need to run a runtime check that verifies the chip type, and changes the peripheral address based on this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52810 -&gt; nRF52805 firmware compatibility?</title><link>https://devzone.nordicsemi.com/thread/284209?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2020 00:35:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4094914f-c88d-4d12-8738-48011b4349c8</guid><dc:creator>Sydney</dc:creator><description>&lt;p&gt;Thanks. This is all really helpful. This is probably enough to consider this issue resolved, but I&amp;#39;d be interested if you&amp;#39;ve received or are expecting any feedback from your team about whether something like this has been tested internally.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52810 -&gt; nRF52805 firmware compatibility?</title><link>https://devzone.nordicsemi.com/thread/283827?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2020 13:40:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bee1943b-72c8-4b31-8bc2-1decc4ddac81</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
[quote user="alamysm"]If I start with nRF52810, is limiting PPI channels to 10 (instead of 20) to accommodate nRF52805 as simple as changing PP_CH_NUM from 20 to 10 in nrf52810_peripherals.h?[/quote]
&lt;p&gt;That should be enough, yes, but I would recommend copying these files and renaming them so you don&amp;#39;t have to change the originals. In order for this to work you need to define a new chip code (replacing&amp;nbsp;NRF52805_XXAA or&amp;nbsp;NRF52810_XXAA), and update nrf.h to point to your modified files instead of the originals.&amp;nbsp;&lt;/p&gt;
[quote user="alamysm"]Similarly, if I start with nRF52805, is limiting max EasyDMA size to accommodate nRF52810 as simple as changing X_EASYDMA_MAXCNT_SIZE #defines in nrf52805_peripherals.h? Looks like I&amp;#39;d have to reduce TWI/SPI values from 14 to 10.[/quote]
&lt;p&gt;Correct, changing these defines should be sufficient.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you diff the nrf528xx_peripherals.h files it is quite clear what is different (even if this includes some typo fixes and other non consequential differences).&amp;nbsp;&lt;/p&gt;
[quote user="alamysm"]There are no dev boards with real nRF52805 parts, are there?[/quote]
&lt;p&gt;Correct. For both the nRF52805 and the nRF52810 the development kit used is the nRF52DK (nRF52832).&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="alamysm"]So since I can&amp;#39;t actually test &amp;quot;nRF52810 code&amp;quot; on real nRF52805 hardware until/unless I build a custom board, it might make more sense to compile for nRF52805 and get it working on my nRF52810 board.[/quote]
&lt;p&gt;At some point you need to test on both platforms anyway,&amp;nbsp;but I agree that it makes sense to base your project around the nRF52805.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As I said earlier I think the safest way is to create new header files that limit the functionality to the lowest common denominator between the two devices.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52810 -&gt; nRF52805 firmware compatibility?</title><link>https://devzone.nordicsemi.com/thread/283669?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2020 21:52:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f08a517a-2d0a-42d5-bab5-3b8f1ef5343d</guid><dc:creator>Sydney</dc:creator><description>&lt;p&gt;If I start with nRF52810, is limiting PPI channels to 10 (instead of 20) to accommodate nRF52805 as simple as changing PP_CH_NUM from 20 to 10 in nrf52810_peripherals.h?&lt;/p&gt;
&lt;p&gt;Similarly, if I start with nRF52805, is limiting max EasyDMA size to accommodate nRF52810 as simple as changing X_EASYDMA_MAXCNT_SIZE #defines in nrf52805_peripherals.h? Looks like I&amp;#39;d have to reduce TWI/SPI values from 14 to 10.&lt;/p&gt;
&lt;p&gt;There are no dev boards with real nRF52805 parts, are there? Only emulated? So since I can&amp;#39;t actually test &amp;quot;nRF52810 code&amp;quot; on real nRF52805 hardware until/unless I build a custom board, it might make more sense to compile for nRF52805 and get it working on my nRF52810 board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52810 -&gt; nRF52805 firmware compatibility?</title><link>https://devzone.nordicsemi.com/thread/283569?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2020 14:01:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eab9cc75-ba94-4ae6-ba67-7f3d60f25221</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Whichever approach you pick there will be some possible pitfalls, because of missing functionality in one device over the other.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As an example the nRF52805 only has 10 PPI channels, vs 20 in the nRF52810, and lacks the PWM, PDM and COMP interfaces. If you compile for the nRF52810 you would need to make sure that you don&amp;#39;t access any of these features.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52810 -&gt; nRF52805 firmware compatibility?</title><link>https://devzone.nordicsemi.com/thread/283384?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2020 17:48:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e577219-2a1d-481b-a7b2-58c965b7908b</guid><dc:creator>Sydney</dc:creator><description>&lt;p&gt;Thanks for checking into this.&lt;/p&gt;
&lt;p&gt;Assuming this can work (and I&amp;#39;ll wait to see if you get any additional feedback from your team), it sounds like the correct approach would be to compile for nRF52810 because the nRF52810&amp;#39;s smaller EasyDMA length could work on nRF52805 (just not at peak performance) but the nRF52805&amp;#39;s larger EasyDMA length would not work at all on nRF52810.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52810 -&gt; nRF52805 firmware compatibility?</title><link>https://devzone.nordicsemi.com/thread/283365?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2020 15:44:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1d3837f-fef0-41e8-b6e7-0721695a5854</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This should be possible, but I will have to check internally if this is something we have tested.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Mostly the nRF52805 has a subset of the functionality in the nRF52810, but&amp;nbsp;since the nRF52805 was released after the nRF52810&amp;nbsp;there are some minor differences in the nRF52805&amp;#39;s favor, such as longer maximum length for EasyDMA transfers in many of the peripherals (TWIM and SPIM for instance).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will provide more details next week.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>