<?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>Adapting NRF52832 example to custom board with NRF52810</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57016/adapting-nrf52832-example-to-custom-board-with-nrf52810</link><description>My custom board with NRF52810 is done and I&amp;#39;m now trying to get some examples working. I am adapting blinky_s132 in SES. To do this I edited the project options including disabling the FPU, defining BOARD_CUSTOM, chaning the device definition to NRF52810_XXAA</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Feb 2020 13:25:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57016/adapting-nrf52832-example-to-custom-board-with-nrf52810" /><item><title>RE: Adapting NRF52832 example to custom board with NRF52810</title><link>https://devzone.nordicsemi.com/thread/232339?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 13:25:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fd33609-10cc-4a50-b076-12c93b479e88</guid><dc:creator>Amanda Hsieh</dc:creator><description>[quote user="cory123"]Do I need to enable the RC LF in all of those sections?[/quote]
&lt;p&gt;&amp;nbsp;Yes. Please also see this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49739/lfclk-source-selection"&gt;post &lt;/a&gt;and &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39655/programming-nrf52840-on-custom-board-with-the-ble_app_uart/153752#153752"&gt;this&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adapting NRF52832 example to custom board with NRF52810</title><link>https://devzone.nordicsemi.com/thread/232155?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 17:52:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70afcd9b-9a4a-4733-b90d-01233b093e2a</guid><dc:creator>cory123</dc:creator><description>&lt;p&gt;I&amp;#39;m seeing 3 section in sdk_config.h which configure the LF clock...&lt;/p&gt;
&lt;p&gt;// &amp;lt;h&amp;gt; Clock - SoftDevice clock configuration&lt;/p&gt;
&lt;p&gt;// &amp;lt;e&amp;gt; NRF_CLOCK_ENABLED - nrf_drv_clock - CLOCK peripheral driver - legacy layer&lt;/p&gt;
&lt;p&gt;// &amp;lt;e&amp;gt; NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver&lt;/p&gt;
&lt;p&gt;Do I need to enable the RC LF in all of those sections?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adapting NRF52832 example to custom board with NRF52810</title><link>https://devzone.nordicsemi.com/thread/232043?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 10:07:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:611a11fc-c797-4469-ac78-2abd17fb71a2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;See&amp;nbsp;the&amp;nbsp;&lt;a title="Clock source" href="https://infocenter.nordicsemi.com/topic/sds_s112/SDS/s1xx/sd_mgr/sd_mgr_clock_src.html?cp=4_5_0_0_4_1"&gt;Clock source&lt;/a&gt;&amp;nbsp;page&lt;/span&gt;&lt;span&gt;&amp;nbsp;for information about the SoftDevice clock source. If you don&amp;#39;t have LF crystal, you will need to use the RC Oscillator. Please see this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/32545/couldn-t-connect-52810-successfully-during-dfu-mode/149157#149157"&gt;post&lt;/a&gt;&amp;nbsp;to set the sdk_config.h and let me know it help or not.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adapting NRF52832 example to custom board with NRF52810</title><link>https://devzone.nordicsemi.com/thread/231983?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 22:44:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e265db52-28cc-4163-911a-5c0aa6f92d86</guid><dc:creator>cory123</dc:creator><description>&lt;p&gt;I have found that I am not using a low frequency XTAL and so I need to set ...&lt;/p&gt;
&lt;p&gt;NRF_SDH_CLOCK_LF_SRC 0&lt;/p&gt;
&lt;p&gt;After changing that in sdk_config.h my program drops into app_error_fault_handler(). Am I setting the LF clock correctly when I set NRF_SDH_CLOCK_LF_SRC&amp;nbsp; to 0? I&amp;#39;m not using any LF hardware clock outside of the NRF52810. You thoughts?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adapting NRF52832 example to custom board with NRF52810</title><link>https://devzone.nordicsemi.com/thread/231963?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 16:39:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a13f8a4d-f0ae-40b0-8ded-88bd4144a726</guid><dc:creator>cory123</dc:creator><description>&lt;p&gt;I enabled RTT as suggested and also disabled deferred logging with...&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;NRF_LOG_DEFERRED=0&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;/p&gt;
&lt;p&gt;I can now see RTT output from this I added in main.c .....&lt;/p&gt;
&lt;p&gt;NRF_LOG_WARNING(&amp;quot;hello you\n&amp;quot;);&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am getting no RTT output from the SoftDevice or any other RTT output at all. When the SVCALL(SD_SOFTDEVICE_ENABLE ...) is called the program runs until it gets trapped (see screencap). Am I programming the SoftDevice incorrectly? I&amp;#39;m can&amp;#39;t seem to figure this one out!&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/soft_5F00_device_5F00_not_5F00_initializing.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adapting NRF52832 example to custom board with NRF52810</title><link>https://devzone.nordicsemi.com/thread/231623?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2020 11:59:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae11f1e7-7a37-4a88-b88d-bab1893c46e9</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you enable the RTT log in the sdk_config.h as follwing and provide it?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;//==========================================================
// &amp;lt;e&amp;gt; NRF_LOG_BACKEND_RTT_ENABLED - nrf_log_backend_rtt - Log RTT backend
//==========================================================
#ifndef NRF_LOG_BACKEND_RTT_ENABLED
#define NRF_LOG_BACKEND_RTT_ENABLED 1
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;It will show in the Segger.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adapting NRF52832 example to custom board with NRF52810</title><link>https://devzone.nordicsemi.com/thread/231488?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 16:57:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30e764ca-4342-4b13-ba27-b247bb65866f</guid><dc:creator>cory123</dc:creator><description>&lt;p&gt;I am using the same custom_board.h in both projects. Here is the preprocessor macros from my blinky project:&lt;/p&gt;
&lt;p&gt;BOARD_CUSTOM&lt;br /&gt;BSP_DEFINES_ONLY&lt;br /&gt;CONFIG_GPIO_AS_PINRESET&lt;br /&gt;FLOAT_ABI_SOFT&lt;br /&gt;INITIALIZE_USER_SECTIONS&lt;br /&gt;NO_VTOR_CONFIG&lt;br /&gt;NRF52810_XXAA&lt;br /&gt;NRF52_PAN_74&lt;/p&gt;
&lt;p&gt;And is the preprocessor macros for the BLE GATTS example:&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;APP_TIMER_V2&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;APP_TIMER_V2_RTC1_ENABLED&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;BOARD_CUSTOM&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;CONFIG_GPIO_AS_PINRESET&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;FLOAT_ABI_SOFT&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;INITIALIZE_USER_SECTIONS&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;NO_VTOR_CONFIG&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;NRF52810_XXAA&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;NRF52_PAN_74&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;NRF_SD_BLE_API_VERSION=7&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;S112&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;SOFTDEVICE_PRESENT&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;The only differences I see are...&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;APP_TIMER_V2&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;APP_TIMER_V2_RTC1_ENABLED&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;BSP_DEFINES_ONLY&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;NRF_SD_BLE_API_VERSION=7&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;S112&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;SOFTDEVICE_PRESENT&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;I don&amp;#39;t have a serial port on my NRF52810 board. Do you mean an emulated serial port over the debugger or a physical serial port?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adapting NRF52832 example to custom board with NRF52810</title><link>https://devzone.nordicsemi.com/thread/231397?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 12:39:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2867cc8-2859-4e9b-af91-e394c1544d40</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="cory123"] I can run non-softdevice examples fine. [/quote]
&lt;p&gt;&amp;nbsp;Do you use the same setting in Setp.2 &amp;amp; 3?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please start a terminal emulator like PuTTY and connect to the used COM port with the following UART settings and provide the log:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Baud rate: 115.200&lt;/li&gt;
&lt;li&gt;8 data bits&lt;/li&gt;
&lt;li&gt;1 stop bit&lt;/li&gt;
&lt;li&gt;No parity&lt;/li&gt;
&lt;li&gt;HW flow control: None&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adapting NRF52832 example to custom board with NRF52810</title><link>https://devzone.nordicsemi.com/thread/231264?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 21:51:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88ceaa44-244e-462d-8179-29e115830a85</guid><dc:creator>cory123</dc:creator><description>&lt;p&gt;I&amp;#39;m still having problems with my NRF52810 board. I can run non-softdevice examples fine. Here are the steps I&amp;#39;m taking to get the ble_app_gatts_c_pca10040e project working in SES.&lt;/p&gt;
&lt;p&gt;1. open this project in SES.&lt;/p&gt;
&lt;p&gt;2. Change project options for &amp;quot;common&amp;quot; config.. Preproccesor macros set to &lt;/p&gt;
&lt;p&gt;APP_TIMER_V2&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;APP_TIMER_V2_RTC1_ENABLED&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;BOARD_CUSTOM&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;CONFIG_GPIO_AS_PINRESET&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;FLOAT_ABI_SOFT&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;INITIALIZE_USER_SECTIONS&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;NO_VTOR_CONFIG&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;NRF52810_XXAA&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;NRF52_PAN_74&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;NRF_SD_BLE_API_VERSION=7&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;S112&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;SOFTDEVICE_PRESENT&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;3. created custom_board.c by copying board_pca10040.c and removing defines that do not apply.&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;4. Comment out contents of buttons_leds_init() function in main.c because I have no buttons on my board.&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;5. Open nrfGo Studio, program s112 softdevice followed by the new project hex file. I&amp;#39;ve tried both the &amp;quot;Debug&amp;quot; and &amp;quot;release&amp;quot; without success. If I attache the debugger, reset and then pause the program, I always end up at the same instruction:&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;4770&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bx lr&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;I&amp;#39;ve attached a screen cap of that program location I get trapped in. Can you see any mistake I&amp;#39;m making?&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/softdevice_5F00_stuck.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adapting NRF52832 example to custom board with NRF52810</title><link>https://devzone.nordicsemi.com/thread/231262?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 20:11:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb56154a-753f-4881-b0e6-4ce2b7108198</guid><dc:creator>cory123</dc:creator><description>&lt;p&gt;You might add in the &amp;quot;Transfering emulated project&amp;quot; section something about changing BOARD_PCA10040 to BOARD_CUSTOM.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adapting NRF52832 example to custom board with NRF52810</title><link>https://devzone.nordicsemi.com/thread/231261?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 20:08:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f10188b-d589-4744-ac4d-130345ec0995</guid><dc:creator>cory123</dc:creator><description>&lt;p&gt;&lt;code&gt;&lt;/code&gt;Great. This is exactly what I needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adapting NRF52832 example to custom board with NRF52810</title><link>https://devzone.nordicsemi.com/thread/231101?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 11:48:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d79cf26-639f-4386-9ce4-99ff80a3194c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please see the expiration in the&amp;nbsp;&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;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adapting NRF52832 example to custom board with NRF52810</title><link>https://devzone.nordicsemi.com/thread/231000?ContentTypeID=1</link><pubDate>Sun, 26 Jan 2020 23:15:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df805f72-c93f-47dc-a616-36db46cc1a69</guid><dc:creator>cory123</dc:creator><description>&lt;p&gt;I think I have resolved this issue. Instead of adapting the PCA10040 project, I&amp;#39;m adapting PCA10040e which is set up for NFR52810 emulation. Can you tell me, is there any options I need to change from the &amp;quot;emulated NRF52810&amp;quot; to the real NRF52810? Much appreciated!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adapting NRF52832 example to custom board with NRF52810</title><link>https://devzone.nordicsemi.com/thread/230999?ContentTypeID=1</link><pubDate>Sun, 26 Jan 2020 21:23:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bb59d1f-0b91-4ac2-b0b9-cbab0c0e0173</guid><dc:creator>cory123</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/blinky_5F00_project_5F00_still_5F00_using_5F00_nrf52832.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>