<?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>modifying nrf_spim p10056 to a p10056e build</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52013/modifying-nrf_spim-p10056-to-a-p10056e-build</link><description>I am having quite a frustrating time trying to make SPI drivers compile into a 52811 project I already started, so I thought I&amp;#39;d back off, and try to just get an SPI example project running (simulated) on the 52840-DK Of course there are exactly zero</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Sep 2019 07:28:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52013/modifying-nrf_spim-p10056-to-a-p10056e-build" /><item><title>RE: modifying nrf_spim p10056 to a p10056e build</title><link>https://devzone.nordicsemi.com/thread/210291?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 07:28:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:576b90e5-a0b9-4808-9a8c-c06f0fdea200</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I agree that the PRS module is not very well documented. You can see which box is used for sharing witch peripheral, for each chip, in the &lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/master/drivers/src/prs/nrfx_prs.h#L67"&gt;nrfx_prs.h header file&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: modifying nrf_spim p10056 to a p10056e build</title><link>https://devzone.nordicsemi.com/thread/210273?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 06:45:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d513986-51a9-4090-930f-d64a429c0f13</guid><dc:creator>Julian</dc:creator><description>&lt;p&gt;thanks for the answer..&lt;br /&gt;&lt;br /&gt;When I get some time, I&amp;#39;d like to dig into what the difference is between the config for a uart&amp;nbsp;project and the blinky project&amp;nbsp;for the same&amp;nbsp;target,&amp;nbsp;I&amp;#39;m sure it&amp;#39;ll be instructive to&amp;nbsp;see what difference makes some defines for the bsp button handling code fall over in a screaming heap.&lt;br /&gt;&lt;br /&gt;I had a quick search, but haven&amp;#39;t been able to find much info on what these PRS_BOX values even mean? letalone why I need to set one of these for a particular chip but can&amp;#39;t for another. the SDK help files for the whole PRS are particularly&amp;nbsp;frustrating&amp;nbsp;in describing each setting as...&amp;nbsp; itself.....&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Anyway - since asking this question,&amp;nbsp;I decided that the 52811 isn&amp;#39;t for this project. &lt;br /&gt;&lt;br /&gt;Having no room to compile a debug version of the firmware, before&amp;nbsp;I had even started any dev beyond configuring some on chip peripherals and the BLE radio from a sample skeleton project that does nothing....... well,&amp;nbsp;that&amp;nbsp;seems to be asking for trouble.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve&amp;nbsp;got an nRF52-DK&amp;nbsp;and some eval boards for the parts&amp;nbsp;the custom board was using, and&amp;nbsp;now I&amp;#39;m progressing on the 52832...&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: modifying nrf_spim p10056 to a p10056e build</title><link>https://devzone.nordicsemi.com/thread/209366?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2019 09:32:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2183507-141d-41e8-89c2-2d5479bd3b22</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tested porting the nrfx_spim example to pca10056e and I did not face any BSP related errors, however, I used a different approach than you did. I copied the pca10056e projects from uart example into nrfx_spim example, copied sdk_config from pca10056 directory into pca10056e directory, and added the missing source files required by the nrfx_spim example. I also face the multiple UART handler error, but this can easily be fixed by setting&amp;nbsp;NRFX_PRS_BOX_2_ENABLED to 1 in your sdk_config.h file (fewer peripheral instances on nRF52811 cause less required resource sharing boxes, in nRF52811 box 2 is used for UART/UARTE, while box 4 is used in nRF52840).&lt;/p&gt;
&lt;p&gt;Attached project:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-51ecdcb6fb81449db49810b050234a23/nrfx_5F00_spim_5F00_pca10056e.zip"&gt;devzone.nordicsemi.com/.../nrfx_5F00_spim_5F00_pca10056e.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: modifying nrf_spim p10056 to a p10056e build</title><link>https://devzone.nordicsemi.com/thread/209282?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2019 02:10:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b86077d-39f2-45b3-8834-a790f9819e63</guid><dc:creator>Julian</dc:creator><description>&lt;p&gt;Failing an actual resolution to this exact issue... is there any recommended approach for just throwing out the SDK completely (or partially?) and writing my own drivers for the peripherals I need, while still being able to configure and use&amp;nbsp;a softdevice, and not stepping on any shared resource requirement&amp;#39;s toes?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: modifying nrf_spim p10056 to a p10056e build</title><link>https://devzone.nordicsemi.com/thread/209281?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2019 02:09:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a646076c-8a6e-4521-8068-8725b50d34ac</guid><dc:creator>Julian</dc:creator><description>&lt;p&gt;FYI... just modified a TWI example project from scratch&amp;nbsp;to&amp;nbsp;work for emulated 52811 on 52840-DK, and had exactly the same problem.&amp;nbsp; (project needs TWI too, and I wanted a sanity check that i hadn&amp;#39;t made a mistake in translating the Segger Embedded Studio project file)&lt;br /&gt;&lt;br /&gt;Also, note that if I continue to hack bsp.c so it at least compiles (putting in the same rules to block out code that depends on that define, as the define has!) the next problem I get is that the linker doesn&amp;#39;t link, because I get a&amp;nbsp;multiple definitions&amp;nbsp;of&amp;nbsp;UARTE0_UART0_IRQHandler&lt;br /&gt;&lt;br /&gt;Here&amp;#39;s the hacked bsp.c file from the SDK that gets me to the definition collision for the linker, in both the TWI example port I&amp;#39;m trying to do, and the SPI example port I was trying to do yesterday.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/bsp.c"&gt;devzone.nordicsemi.com/.../bsp.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>