<?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>advertising is cut when uart is enabled</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109639/advertising-is-cut-when-uart-is-enabled</link><description>Hi, 
 i can do uart and advertising separately with the custom board I have. but when I run uart, advertising goes to the cut. how do I prevent this? can I not advertise when sending data with uart? 
 
 I use SDK 17, CP2102 for usb-ttl converter, nrf52810</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Mar 2024 11:22:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109639/advertising-is-cut-when-uart-is-enabled" /><item><title>RE: advertising is cut when uart is enabled</title><link>https://devzone.nordicsemi.com/thread/475872?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 11:22:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d676f9bc-7262-4243-b24c-2f02468e473e</guid><dc:creator>Oguzhann</dc:creator><description>&lt;p&gt;How can i define memory length?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising is cut when uart is enabled</title><link>https://devzone.nordicsemi.com/thread/475870?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 11:17:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3706325-7edc-4f9d-b7b8-4ab265231c41</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The code you&amp;#39;ve posted doesn&amp;#39;t&amp;nbsp;match with the log output. Anyway, to correct the reported errors, you should update the RAM start location and its size to the suggested values.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;Adjustment of RAM and Flash memory&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising is cut when uart is enabled</title><link>https://devzone.nordicsemi.com/thread/475869?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 11:07:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52e42293-781c-467c-a829-14e2986b4d89</guid><dc:creator>Oguzhann</dc:creator><description>&lt;p&gt;I just want to make a project like ble_app_uart.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I can use these two mod&amp;uuml;le separetly but when i run this code, i got error.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;int&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;main&lt;/span&gt;&lt;span&gt;(){&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&amp;nbsp; &amp;nbsp; uart_init();&lt;br /&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;log_init&lt;/span&gt;&lt;span&gt;();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; app_uart_put(&amp;quot;z&amp;quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;NRF_LOG_INFO&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;quot;Program &amp;ccedil;alıştı ve bitti&amp;quot;&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;NRF_LOG_FLUSH&lt;/span&gt;&lt;span&gt;();&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;for&lt;/span&gt;&lt;span&gt;(;;){&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;idle_state_handle&lt;/span&gt;&lt;span&gt;();&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&amp;lt;warning&amp;gt; app: System reset&lt;br /&gt;&amp;lt;info&amp;gt; app_timer: RTC: initialized.&lt;br /&gt;&amp;lt;warning&amp;gt; nrf_sdh_ble: Insufficient RAM allocated for the SoftDevice.&lt;br /&gt;&amp;lt;warning&amp;gt; nrf_sdh_ble: Change the RAM start location from 0x20001AE0 to 0x200022C8.&lt;br /&gt;&amp;lt;warning&amp;gt; nrf_sdh_ble: Maximum RAM size for application is 0x3D38.&lt;br /&gt;&amp;lt;error&amp;gt; nrf_sdh_ble: sd_ble_enable() returned NRF_ERROR_NO_MEM.&lt;br /&gt;&amp;lt;error&amp;gt; app: Fatal error&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising is cut when uart is enabled</title><link>https://devzone.nordicsemi.com/thread/475855?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 10:00:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e4a94f3-880d-4fe0-b787-04ecaf2d58af</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It is not possible to use the UART driver and the logger with the UART backend concurrently, as they cannot share the same UARTE instance. Instead, you can select the RTT logger backend to avoid this conflict. Note: To read RTT logs, you must have a J-Link debugger attached to your board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising is cut when uart is enabled</title><link>https://devzone.nordicsemi.com/thread/475810?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 06:50:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d137a7f3-6b5e-484d-a0b4-92e7e73a0e39</guid><dc:creator>Oguzhann</dc:creator><description>&lt;p&gt;No, I am not seeing any error.&lt;/p&gt;
&lt;p&gt;e two problems right now. someone&amp;#39;s device does nothing when I initialize the uart and log modules at the same time, it neither sends data from the log, nor sends data from the uart, nor does it advertise. but when I initiate these separately, I can send data.&lt;/p&gt;
&lt;p&gt;i can&amp;#39;t do advertising only when I activate the uart module, but I can send data via uart.&lt;/p&gt;
&lt;p&gt;i can&amp;#39;t debug either because uart and log don&amp;#39;t work at the same time.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;void&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;poi_uart_init&lt;/span&gt;&lt;span&gt;(){&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;ret_code_t&lt;/span&gt;&lt;span&gt; err_code;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;app_uart_comm_params_t&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;comm_params&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span&gt;tx_pin_no&lt;/span&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;TX_PIN_NUMBER&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span&gt;rx_pin_no&lt;/span&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;RX_PIN_NUMBER&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span&gt;rts_pin_no&lt;/span&gt;&lt;span&gt; &amp;nbsp; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;RTS_PIN_NUMBER&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span&gt;cts_pin_no&lt;/span&gt;&lt;span&gt; &amp;nbsp; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;CTS_PIN_NUMBER&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span&gt;flow_control&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; APP_UART_FLOW_CONTROL_DISABLED,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span&gt;use_parity&lt;/span&gt;&lt;span&gt; &amp;nbsp; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;false&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span&gt;baud_rate&lt;/span&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; NRF_UART_BAUDRATE_115200&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;APP_UART_FIFO_INIT&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;comm_params&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&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;/span&gt;&lt;span&gt;UART_RX_BUF_SIZE&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&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;/span&gt;&lt;span&gt;UART_TX_BUF_SIZE&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&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;/span&gt;&lt;span&gt;NULL&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&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;/span&gt;&lt;span&gt;APP_IRQ_PRIORITY_LOWEST&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;err_code);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;APP_ERROR_CHECK&lt;/span&gt;&lt;span&gt;(err_code);&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising is cut when uart is enabled</title><link>https://devzone.nordicsemi.com/thread/475803?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 06:36:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17466a75-d00b-4ac2-b93a-fc41d87875ee</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It seems like you were able to get logging to work according to your other thread here:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/109621/nrf-log-info-with-custom-board"&gt;nrf log info with custom board&lt;/a&gt;&amp;nbsp;. Are you seeing error messages in the log output?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising is cut when uart is enabled</title><link>https://devzone.nordicsemi.com/thread/475763?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2024 22:04:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b2cfdae-48b7-4533-997f-463b46c2cc72</guid><dc:creator>Oguzhann</dc:creator><description>&lt;p&gt;can i write here if i have any question?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising is cut when uart is enabled</title><link>https://devzone.nordicsemi.com/thread/475759?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2024 21:32:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fe87fe9-7606-47a8-9c94-b774656fe903</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;It&amp;#39;s been a long while I have not used it. &amp;nbsp;I don&amp;#39;t remember much. &amp;nbsp;Have a look at the documentation link bellow. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_nrf_log.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_nrf_log.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising is cut when uart is enabled</title><link>https://devzone.nordicsemi.com/thread/475757?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2024 21:24:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b66e99d9-371f-4c80-81a3-33b8efa1eada</guid><dc:creator>Oguzhann</dc:creator><description>&lt;p&gt;how can i use nrf_log_info or debug function? should i write err_code or simple comment like &amp;quot;log mod&amp;uuml;le completed&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising is cut when uart is enabled</title><link>https://devzone.nordicsemi.com/thread/475755?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2024 20:49:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7ba6dbc-dca9-45ef-91d7-609ed1891e0f</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Sure you can. &amp;nbsp;You need to configure it for uart instead of rtt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising is cut when uart is enabled</title><link>https://devzone.nordicsemi.com/thread/475754?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2024 20:46:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3edb03d-45c5-4275-bb35-730c0f840111</guid><dc:creator>Oguzhann</dc:creator><description>&lt;p&gt;can i do that with nrf_log over uart? I do not ahve any debugger jlink&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising is cut when uart is enabled</title><link>https://devzone.nordicsemi.com/thread/475750?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2024 20:00:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1384378e-1c8d-431d-867d-5377f0854adf</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;It is most likely your firmware crashed. &amp;nbsp;You&amp;#39;ll need to connect a debugger to find out where it crashes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>