<?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>The RXDRDY is being written without having received message packet.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3353/the-rxdrdy-is-being-written-without-having-received-message-packet</link><description>Hi, 
 I am trying to use the RX interrupt on the PCA10001 board, using UART0 for wired communication and S110 (s110_nrf51822_5.2.1) for Bluetooth LE communication at the same time. 
 Without have nothing connected on wire in RX port (without having</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Aug 2014 20:59:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3353/the-rxdrdy-is-being-written-without-having-received-message-packet" /><item><title>RE: The RXDRDY is being written without having received message packet.</title><link>https://devzone.nordicsemi.com/thread/12221?ContentTypeID=1</link><pubDate>Wed, 13 Aug 2014 20:59:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13fc0d04-705e-4996-ba69-ae7e6f2806e6</guid><dc:creator>Claudio</dc:creator><description>&lt;p&gt;Thanks, now it worked. I used a pull-up resistor, i correct the priority and after the simple_uart_put was inserted a delay, to allow the interrupt to happen without send another package.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The RXDRDY is being written without having received message packet.</title><link>https://devzone.nordicsemi.com/thread/12220?ContentTypeID=1</link><pubDate>Wed, 06 Aug 2014 05:43:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bc074ea-9647-42c3-8001-0c3ac5c75269</guid><dc:creator>kk</dc:creator><description>&lt;p&gt;I&amp;#39;m in favor of what Stefan Birnir Sverrisson said.
The priority of 0 and 2 is for softdevice, 1 and 3 is for application.
You can check it in SDK help file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The RXDRDY is being written without having received message packet.</title><link>https://devzone.nordicsemi.com/thread/12219?ContentTypeID=1</link><pubDate>Tue, 05 Aug 2014 14:11:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:326c95b8-7d2e-4d3e-9f65-cafb11297bc6</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You say that you are using the softdevice at the same time, which I think is of concern. We have a UART example in nRF51 SDK v5.2.0 and SDK v6.0.0 under PCA10001/S110/experimental/ where you can perhaps find something you are missing in your code.&lt;/p&gt;
&lt;p&gt;I notice that you are setting the priority of the UART interrupt to 2, which is not allowed when the softdevice is enabled. There are two priorities assigned for the application when the softdevice is enabled, priority 1 (APP_IRQ_PRIORITY_HIGH) and priority 3 (APP_IRQ_PRIORITY_LOW). Priorities 0 and 2 are reserved for the softdevice.&lt;/p&gt;
&lt;p&gt;Make sure you initialize your UART before enabling the softdevice, otherwise the NVIC is blocked by the softdevice and you would need to call sd_nvic_SetPriority function instead of NVIC_SetPriority function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The RXDRDY is being written without having received message packet.</title><link>https://devzone.nordicsemi.com/thread/12218?ContentTypeID=1</link><pubDate>Mon, 04 Aug 2014 07:50:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87205bc7-0a7f-4eb5-bef5-ee0bb974bd9e</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;Oh, I didn&amp;#39;t notice you where using the eval kit. I have never had problems with this at hardware level so it should be something else causing this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The RXDRDY is being written without having received message packet.</title><link>https://devzone.nordicsemi.com/thread/12216?ContentTypeID=1</link><pubDate>Mon, 04 Aug 2014 07:10:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f7aef84-c187-49a4-b3b1-bc3a04ef6dc5</guid><dc:creator>Claudio</dc:creator><description>&lt;p&gt;Hi Christian, i already insert a pull-down resistor, it did not work, is not noise, the RXD buffer is empty.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The RXDRDY is being written without having received message packet.</title><link>https://devzone.nordicsemi.com/thread/12217?ContentTypeID=1</link><pubDate>Mon, 04 Aug 2014 06:49:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:366116df-0230-4f5e-9795-5fb203d275b5</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;Have you tried inserting a pull-up resistor on the RX line? I think your situation can occur when nothing is connected, and the RX line just receives environmental noise. I would suggest trying a 10k resistor between RX and VDD.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>