<?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>BLE App Uart nRF52810</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40500/ble-app-uart-nrf52810</link><description>I&amp;#39;m trying to get the ble_app_uart example working on a nRF52810. I&amp;#39;m using SDK 15.2.0 together with Softdevice S112. 
 The infocenter says the Example needs Softdevice S132 or S140 http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Nov 2018 12:00:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40500/ble-app-uart-nrf52810" /><item><title>RE: BLE App Uart nRF52810</title><link>https://devzone.nordicsemi.com/thread/157927?ContentTypeID=1</link><pubDate>Mon, 19 Nov 2018 12:00:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:167842d7-dcd5-434a-918d-b8c840e7bccd</guid><dc:creator>berkutta</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Yep, I can confirm that this was the root issue. I thought it&amp;#39;s resetting due to P0.21 but I was also unintentionally touching RX with my hands (and thus causing the APP_UART_COMMUNICATION_ERROR event). With enabling the Pullup or disabling the UART module it&amp;#39;s fixed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the first class support &lt;a href="https://devzone.nordicsemi.com/members/vibe"&gt;Vidar Berg&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE App Uart nRF52810</title><link>https://devzone.nordicsemi.com/thread/157906?ContentTypeID=1</link><pubDate>Mon, 19 Nov 2018 10:18:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4ef6ef4-54f1-44d6-9076-a50d34c43af9</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Pinreset should not have been triggered if&amp;nbsp; P0.21 was left floating. I suspect the actual issue is floating RX input: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/40625/app_ble_uart-uart-must-be-hooked-up"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/40625/app_ble_uart-uart-must-be-hooked-up&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE App Uart nRF52810</title><link>https://devzone.nordicsemi.com/thread/157682?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 10:21:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88ed18b1-2728-4680-bedf-b55ccba18f66</guid><dc:creator>berkutta</dc:creator><description>&lt;p&gt;hmm, it&amp;#39;s a bit strange. I have disabled the -DCONFIG_GPIO_AS_PINRESET, erased the chip and reflashed everything. But the reset seems to be still active. My Hardware leaves P0.21 floating&lt;/p&gt;
&lt;p&gt;The PSELRESET register looks like that:&lt;/p&gt;
&lt;p&gt;nrfjprog -f NRF52 --memrd 0x10001200 --n 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;0x10001200: FFFFFFFF FFFFFFFF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |........|&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE App Uart nRF52810</title><link>https://devzone.nordicsemi.com/thread/157654?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 08:35:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9516dc36-b623-4669-abcf-8819f578f4a1</guid><dc:creator>berkutta</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks! The Reset Pin was the issue, it&amp;#39;s now working! What I don&amp;#39;t understand is, if I understand correctly the -DCONFIG_GPIO_AS_PINRESET flag enables this feature. But that&amp;#39;s also enabled on the ble_app_beacon example. But the beacon example is working without hooking up P0.21 to VCC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE App Uart nRF52810</title><link>https://devzone.nordicsemi.com/thread/157647?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 08:08:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83be7908-d13a-442f-b8e5-ae36298a9a53</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would suggest that you debug the code, see if the program reaches main() for instance. You may use Segger embedded studio for debugging if you don&amp;#39;t have a different debug setup. Also, since you have a custom board, note that the code enables pinreset on P0.21 by default (is active low).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE App Uart nRF52810</title><link>https://devzone.nordicsemi.com/thread/157587?ContentTypeID=1</link><pubDate>Thu, 15 Nov 2018 17:43:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df6fad63-f855-4eb1-8d59-1de1adb6581b</guid><dc:creator>berkutta</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have Pin6 connected to a USB - UART converter. I&amp;#39;m using a BL651 from Laird with a Breakout Board. I have tried to compile the Example with DDEBUG but don&amp;#39;t see anything in RTTviewer. Any more ideas? For me it looks like it doesn&amp;#39;t do anything at all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE App Uart nRF52810</title><link>https://devzone.nordicsemi.com/thread/157509?ContentTypeID=1</link><pubDate>Thu, 15 Nov 2018 12:58:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b94b9373-0fb1-4a87-9a10-409494175c54</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How are you connecting the UART interface to your PC, do you have a USB&amp;lt;-&amp;gt;UART bridge? I&amp;#39;ve tested the example (GCC - make flash_softdevice &amp;amp;&amp;amp; make flash) with 52DK where the 52832 has been replaced with a nRF52810 and it worked.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can compile the the example with -DDEBUG then view the debug log with RTTviewer to see if there are any runtime errors.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE App Uart nRF52810</title><link>https://devzone.nordicsemi.com/thread/157503?ContentTypeID=1</link><pubDate>Thu, 15 Nov 2018 12:48:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27a1c6ad-afc2-41ac-8f04-37d3e23f71ea</guid><dc:creator>berkutta</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the fast answer. I already did that but it still doesn&amp;#39;t work. I&amp;#39;m using arm gcc under Linux. I have also removed the emulation flags in the Makefile.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE App Uart nRF52810</title><link>https://devzone.nordicsemi.com/thread/157492?ContentTypeID=1</link><pubDate>Thu, 15 Nov 2018 12:27:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc484eb6-c4c9-41f4-9f18-f89e0d6732d1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;span&gt;pca10040e configuration requires softdevice s112 (\components\softdevice\s112\hex) which will be uploaded automatically if you use Segger Embedded studio. Does you board include a 32kHz crystal? If not, make sure to change the clock source to use the internal RC in sdk_config.h.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;//==========================================================

// &amp;lt;h&amp;gt; Clock - SoftDevice clock configuration

//==========================================================
// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_SRC  - SoftDevice clock source.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_SRC_RC 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_SRC_XTAL 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_SRC_SYNTH 

#ifndef NRF_SDH_CLOCK_LF_SRC
#define NRF_SDH_CLOCK_LF_SRC 0
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval. 
#ifndef NRF_SDH_CLOCK_LF_RC_CTIV
#define NRF_SDH_CLOCK_LF_RC_CTIV 16
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature. 
// &amp;lt;i&amp;gt; How often (in number of calibration intervals) the RC oscillator shall be calibrated
// &amp;lt;i&amp;gt;  if the temperature has not changed.

#ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_ACCURACY  - External clock accuracy used in the LL to compute timing.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_ACCURACY_250_PPM 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_ACCURACY_500_PPM 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_ACCURACY_150_PPM 
// &amp;lt;3=&amp;gt; NRF_CLOCK_LF_ACCURACY_100_PPM 
// &amp;lt;4=&amp;gt; NRF_CLOCK_LF_ACCURACY_75_PPM 
// &amp;lt;5=&amp;gt; NRF_CLOCK_LF_ACCURACY_50_PPM 
// &amp;lt;6=&amp;gt; NRF_CLOCK_LF_ACCURACY_30_PPM 
// &amp;lt;7=&amp;gt; NRF_CLOCK_LF_ACCURACY_20_PPM 
// &amp;lt;8=&amp;gt; NRF_CLOCK_LF_ACCURACY_10_PPM 
// &amp;lt;9=&amp;gt; NRF_CLOCK_LF_ACCURACY_5_PPM 
// &amp;lt;10=&amp;gt; NRF_CLOCK_LF_ACCURACY_2_PPM 
// &amp;lt;11=&amp;gt; NRF_CLOCK_LF_ACCURACY_1_PPM 

#ifndef NRF_SDH_CLOCK_LF_ACCURACY
#define NRF_SDH_CLOCK_LF_ACCURACY 1
#endif
&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>