<?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>Uart not working correctly when net core flashed by hci_rpmsg</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82666/uart-not-working-correctly-when-net-core-flashed-by-hci_rpmsg</link><description>Hi, 
 I am using SES and NCS SDK 1.6.1 under Win10. 
 A GPS module is connected to NRF5340, using an UARTE to communicate. The pin receiving GPS data is P0.31. 
 It works well when net core is not used or flahsed. 
 Now I want to use BLE together with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Dec 2021 13:37:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82666/uart-not-working-correctly-when-net-core-flashed-by-hci_rpmsg" /><item><title>RE: Uart not working correctly when net core flashed by hci_rpmsg</title><link>https://devzone.nordicsemi.com/thread/344379?ContentTypeID=1</link><pubDate>Mon, 20 Dec 2021 13:37:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b69ba95f-afb9-4676-9aba-dd06a7711386</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t see any clear connections between the Softdevice controller and the pins that you&amp;#39;re using. I see that P0.31 is connected to LED4 on the development kit. Maybe the application running on the app core is toggling that LED?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try changing the RX pin to something else and see if it asserts?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart not working correctly when net core flashed by hci_rpmsg</title><link>https://devzone.nordicsemi.com/thread/343884?ContentTypeID=1</link><pubDate>Thu, 16 Dec 2021 12:19:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e63e340-b8db-49f2-ab1c-92dca5445188</guid><dc:creator>squwal</dc:creator><description>&lt;p&gt;I tested baud rate 9600 and 115200, and yes, both sides used the same baud rate at the same time. I found if BLE is not used, both 9600 and 115200 can worked well. But only 9600 can work after BLE flashed to net core. It is weird because I believe the uart signal&amp;nbsp;is received by UARTE hardware, I don&amp;#39;t understand why BLE has an influence on uart.&lt;/p&gt;
&lt;p&gt;I tried to set HFXO with the code below:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART = 1;
while (NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED == 0);
NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED = 0;&lt;/pre&gt;and nothing changed.&lt;/p&gt;
&lt;p&gt;Is there anything I can do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart not working correctly when net core flashed by hci_rpmsg</title><link>https://devzone.nordicsemi.com/thread/343685?ContentTypeID=1</link><pubDate>Wed, 15 Dec 2021 14:12:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cb8a8b1-c141-4510-bcf2-e1b3a41dae26</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;That&amp;#39;s a break and framing error. From &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/uarte.html?cp=3_0_0_6_37_3#concept_fpm_qcm_wr"&gt;product specification&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;An ERROR event, in the form of a framing error, will be generated if a valid stop bit is not detected in a frame. Another ERROR event, in the form of a break condition, will be generated if the RXD line is held active low for longer than the length of a data frame. Effectively, a framing error is always generated before a break condition occurs.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;What baud rate are you using? Is it the same on both sides?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart not working correctly when net core flashed by hci_rpmsg</title><link>https://devzone.nordicsemi.com/thread/343181?ContentTypeID=1</link><pubDate>Mon, 13 Dec 2021 13:14:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57a0a84d-0b1d-4b85-9c0e-0acdc100925d</guid><dc:creator>squwal</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;The uart I used is UARTE0(base addr 0x50008000), the offset addr of ERRORSRC register&amp;nbsp;is 0x480, the value I read from addr 0x50008480 is 0xC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart not working correctly when net core flashed by hci_rpmsg</title><link>https://devzone.nordicsemi.com/thread/343124?ContentTypeID=1</link><pubDate>Mon, 13 Dec 2021 11:00:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17aaff0f-3a0a-4dd2-9921-02eebe4f61fc</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you set a breakpoint in the handler and read out the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/uarte.html?cp=3_0_0_6_37_8_36#register.ERRORSRC"&gt;ERRORSRC &lt;/a&gt;register?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>