<?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>fail to generate a TXDRDY Interrupt</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5288/fail-to-generate-a-txdrdy-interrupt</link><description>Hi, 
 I&amp;#39;m unable to configure the UART so, that it will generate the TXDRDY event. I have an UART that should send periodicaly 4 Byte sequences without hardware handshake. I&amp;#39;m able to send the very first byte, but I&amp;#39;m unable to generate the interrupts</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Jan 2015 15:01:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5288/fail-to-generate-a-txdrdy-interrupt" /><item><title>RE: fail to generate a TXDRDY Interrupt</title><link>https://devzone.nordicsemi.com/thread/18501?ContentTypeID=1</link><pubDate>Wed, 28 Jan 2015 15:01:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a973514-bb77-4e97-b939-39a02a66bc8c</guid><dc:creator>Torsten Robitzki</dc:creator><description>&lt;p&gt;Hi Stefan,
thanks for the explanation. With my question, there comes a more general question: where was I supposed to get that information? I spend hours to figure out how this UART is working and read every single letter in that chapter at least twice. In 10.1.4 of the reference, I read: „Events can be generated by the peripheral even when the event register is set to ‚1‘.“ and in 10.1.6 „An interrupt is an exception that is generated by an event …“; so to me it sounds like it’s not necessary to reset the event register. There should be at least some explanation in the UART documentation, that one have to reset the event.&lt;/p&gt;
&lt;p&gt;Anyway: Thank your for taking the time for your answer :-)&lt;/p&gt;
&lt;p&gt;Cheers Torsten&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fail to generate a TXDRDY Interrupt</title><link>https://devzone.nordicsemi.com/thread/18500?ContentTypeID=1</link><pubDate>Wed, 28 Jan 2015 12:37:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cff1a4d6-6bd9-4540-bda2-a6c26ff6f6fe</guid><dc:creator>Torsten Robitzki</dc:creator><description>&lt;p&gt;Hi Stefan,
thank you for replying. No, my plattform is a bare metal nrf51422 with s210 or s310 (depends on the device in a system with multiple nrf51422).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fail to generate a TXDRDY Interrupt</title><link>https://devzone.nordicsemi.com/thread/18499?ContentTypeID=1</link><pubDate>Wed, 28 Jan 2015 12:31:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6e83a6b-194f-4f82-8007-36d8850b5101</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Torsten&lt;/p&gt;
&lt;p&gt;Thank you for your question. Is you platform the nRF51822 mBed kit? For those questions, the &lt;a href="http://developer.mbed.org/questions/tag/nRF51822/?page=2"&gt;mbed forum&lt;/a&gt; is perhaps better suited for your question.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 28.1.2015&lt;/strong&gt;
When the TXDRDY flag is set, an interrupt is generated. So it is needed to clear the TXDRDY flag in order to get a second interrupt.&lt;/p&gt;
&lt;p&gt;I guess disabling the interrupts is required in order for the interrupt_service() and update() functions not conflicting with each other, since they are accessing the same memory addresses. That could be the case if the two processes have different priorities, then one process could interrupt the other.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>