<?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 Central and UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60956/nrf52810-central-and-uart</link><description>Hi, I would like to develop a BLE central node that sends over UART when a button is pressed. I understand the memory is limited on nRF52810, but I think it&amp;#39;ll fit. The example app (ble_app_uart_pca10040) uses VFP register arguments. Would it be complex</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 May 2020 06:40:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60956/nrf52810-central-and-uart" /><item><title>RE: nRF52810 Central and UART</title><link>https://devzone.nordicsemi.com/thread/248618?ContentTypeID=1</link><pubDate>Thu, 07 May 2020 06:40:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fef4beb-e3f1-4694-b917-26dbee494fdf</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You have some flash you can free to the app if you increase &amp;#39;FLASH_SIZE&amp;#39;, but apart from that, it looks ok. Can you upload your project/hex files so I can try it here? Wrong RAM setting will not lead to programming errors, but cause problems when you try to run the code.&lt;/p&gt;
&lt;p&gt;Also, please remember that s132 v7 is not qualified for the 52810. So this combination should only be used for evaluation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52810 Central and UART</title><link>https://devzone.nordicsemi.com/thread/248614?ContentTypeID=1</link><pubDate>Thu, 07 May 2020 06:09:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6bf3589-85a7-420e-af33-dba69c3d44da</guid><dc:creator>eyss5</dc:creator><description>&lt;p&gt;Got it thanks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It compiles but won&amp;#39;t download anymore. I&amp;#39;m getting the &amp;quot;cannot download multiple load files because they overlap&amp;quot; error. I&amp;#39;m guessing my ram start/stop/sizing is incorrect.&lt;/p&gt;
&lt;p&gt;I did some searching on the internet and figuring out the start/stop/ram sizes seems to be pretty difficult. The RAM needed depends on the config, so I get that it&amp;#39;s not clear until you actually run it. I followed the ble_stack_init where it fetches the ramstart address and got 0x2a28 (using&amp;nbsp;S132 on 52832 project)&lt;/p&gt;
&lt;p&gt;For the same project using S132 v.7.01, but hoping to emulate a 52810, my settings are:&lt;/p&gt;
&lt;p&gt;linker_section_placement_macros=&amp;quot;&lt;/p&gt;
&lt;p&gt;FLASH_PH_START=0x0;&lt;/p&gt;
&lt;p&gt;FLASH_PH_SIZE=0x30000; (192kb)&lt;/p&gt;
&lt;p&gt;RAM_PH_START=0x20000000;&lt;/p&gt;
&lt;p&gt;RAM_PH_SIZE=0x6000; (24kb)&lt;/p&gt;
&lt;p&gt;FLASH_START=0x26000;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;FLASH_SIZE=0x4000;&lt;/p&gt;
&lt;p&gt;RAM_START=0x20002a28;&lt;/p&gt;
&lt;p&gt;RAM_SIZE=0x35d8&amp;quot;&lt;/p&gt;
&lt;p&gt;linker_section_placements_segments=&amp;quot;&lt;/p&gt;
&lt;p&gt;FLASH RX 0x0 0x30000;&lt;/p&gt;
&lt;p&gt;RAM RWX 0x20000000 0x6000&amp;quot;&lt;/p&gt;
&lt;p&gt;Does it look right?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In the base ble_app_uart_c_pca10040_s132 project, the memory usage is telling me that it&amp;#39;s using 32KB (31.9KB free of 64KB), which is a bad sign, since the 52810 only has 24kb. I&amp;#39;m hoping this isn&amp;#39;t optimized and that I can squeeze it in. For the default project, can you tell me&amp;nbsp;if&amp;nbsp;that project will fit in 24kb of RAM? I basically need it as-is.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52810 Central and UART</title><link>https://devzone.nordicsemi.com/thread/248338?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 06:57:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dbaa382-3abc-433c-a081-65ad0976c24c</guid><dc:creator>Vidar Berg</dc:creator><description>[quote userid="90049" url="~/f/nordic-q-a/60956/nrf52810-central-and-uart/248303"]For arm_fpu_type, it works with both &amp;quot;soft&amp;quot; and &amp;quot;none&amp;quot;.[/quote]
&lt;p&gt;There is no&amp;nbsp;difference between these two settings when you have selected the Soft ABI as far as I can tell. But it seems like we should have selected &amp;quot;none&amp;quot; as the &amp;quot;soft&amp;quot; option is not documented.&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52810 Central and UART</title><link>https://devzone.nordicsemi.com/thread/248303?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 19:12:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9df75e1e-6564-4e2f-8b02-ee60e0312a09</guid><dc:creator>eyss5</dc:creator><description>&lt;p&gt;Thanks Vidar. That&amp;#39;s exactly what I ended up doing -- a diff on the s112 vs s132 project settings and I was able to successfully compile and run. For arm_fpu_type, it works with both &amp;quot;soft&amp;quot; and &amp;quot;none&amp;quot;. What happens on each if I keep arm_fp_abi = &amp;quot;soft&amp;quot;?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;for reference for future searches, these links helped me:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33812/developing-for-nrf52810---the-full-story" rel="nofollow noopener noreferrer" target="_blank"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Fnrf52810_user_guide.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33812/developing-for-nrf52810---the-full-story" rel="nofollow noopener noreferrer" target="_blank"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/33812/developing-for-nrf52810---the-full-story&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48318/multiple-definition-of-uarte0_uart0_irqhandler"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/48318/multiple-definition-of-uarte0_uart0_irqhandler&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52810 Central and UART</title><link>https://devzone.nordicsemi.com/thread/248146?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 10:56:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef894790-4404-4019-97b1-c317137fbc86</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for confirming&amp;nbsp;and for the additional information.&amp;nbsp;&amp;nbsp;As you indicated,&amp;nbsp;&amp;nbsp;a broadcaster/observer model will have worse performance in terms of power consumption and/or latency, so I think you have chosen&amp;nbsp;the correct model for the use case you outlined.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The other thread you linked to about the Gazell library (support got added in SDK 16 by the way) was more related to the fact that we have not distributed a non-FPU variant of it. Our Softdevice binaries work both with and without the FPU present.&amp;nbsp;It&amp;#39;s usually quite straight forward to create a new pca10040e configuration. You can&amp;nbsp;see the difference between a pca10040 and pca10040e configuration by doing a side-by-side comparison of the *.emProject files from a project that has both. E.g. from the ble_app_hrs project as shown below. This is also covered by the &amp;quot;&lt;a title="Developing for nRF52810" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/nrf52810_user_guide.html?cp=7_1_5_0"&gt;Developing for nRF52810&lt;/a&gt;&amp;quot; guide.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-dc96f7cb4fa44152acd7d48c05a0c8d0/pastedimage1588675940460v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52810 Central and UART</title><link>https://devzone.nordicsemi.com/thread/247986?ContentTypeID=1</link><pubDate>Mon, 04 May 2020 16:17:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f77d5b13-7580-424a-a1ce-403fdebd46b0</guid><dc:creator>eyss5</dc:creator><description>&lt;p&gt;Vidar thanks for the response. A bit more info maybe useful: I&amp;#39;m developing a system that has nRF on both sides (1 central/1 peripheral). The variables I need to track are a button press on one side and when the 2 nodes are in proximity of each other. Specifically, if the button is pressed while in proximity, and then proximity is lost (without releasing the button), then an alarm needs to be raised.&lt;/p&gt;
&lt;p&gt;So, one of the 2 sides will need to be Central.&lt;/p&gt;
&lt;p&gt;Initially, I explored using a broadcaster/observer model, but it wasn&amp;#39;t optimal. If I change the advertising data (due to button press/release), then how quickly the observer picks up on the information is based on how often I&amp;#39;m scanning. This isn&amp;#39;t great for battery life, and both sides are power constrained. Also, detecting proximity when not connected seemed to vary in real-world performance. Basically, connecting seems to be the better choice. In your opinion, is this still the better method? I could re-visit the simpler broadcast/observe vs trying to get UART working&amp;nbsp;with the 52810 on both sides.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My original question: how complex is it to modify the ble_uart_central app to remove support of FPU?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52810 Central and UART</title><link>https://devzone.nordicsemi.com/thread/247882?ContentTypeID=1</link><pubDate>Mon, 04 May 2020 13:07:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05ef782d-e999-48ca-964d-21942bc25c09</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Would it be an option for this device to have the GAP peripheral role instead? Currently, the only Softdevice that support the GAP central role and is qualified for the 52810 is the older s132 v.5.1.0 (&lt;a title="SDKs and SoftDevices" href="https://infocenter.nordicsemi.com/topic/comp_matrix_nrf52810/COMP/nrf52810/nRF52810_ic_rev_sdk_sd_comp_matrix.html?cp=4_5_2_2"&gt;SDKs and SoftDevices&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A blog post&amp;nbsp;explaining how to use this Softdevice with the 52810&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/the-s132-v5-1-0-is-now-production-tested-on-nrf52810"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/the-s132-v5-1-0-is-now-production-tested-on-nrf52810&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>