<?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>Configuration UARTE with nrf52805 for ESB</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79889/configuration-uarte-with-nrf52805-for-esb</link><description>Hello, 
 I am using nrf52 DK to program an nrf52805 with the ESB protocol. My nrf52805 is in slave mode compared to a micro Stm8l serial connected. 
 I&amp;#39;m having trouble configuring the UARTE on the nrf52805. 
 My configuration is: the TX pin of the Stm8l</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Sep 2021 09:10:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79889/configuration-uarte-with-nrf52805-for-esb" /><item><title>RE: Configuration UARTE with nrf52805 for ESB</title><link>https://devzone.nordicsemi.com/thread/331002?ContentTypeID=1</link><pubDate>Fri, 24 Sep 2021 09:10:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64b713d4-9c4d-47ec-87d4-13ad7a3b4af1</guid><dc:creator>Ilary</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;I did some tests with the oscilloscope directly connected to pins 21 and 18 of the nrf52805. &lt;br /&gt;The transmission on pin 18 by the Stm8l works perfectly. The problem I encounter now is that nrf52805 I have the pull up instruction on this pin &lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrf_gpio_cfg_input(PORTA_RXD,GPIO_PIN_CNF_PULL_Pullup);&lt;/pre&gt;&lt;br /&gt;but nothing happens when oscilloscopes. &lt;br /&gt;It could be that I get the pin definition wrong initially&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define UARTE_BASE           0x40002000
  #define PORT_UARTE          ((NRF_UARTE_Type *) UARTE_BASE )
  #define PIN_TXD            21
  #define PIN_RXD            18&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;or the pull up configuration of pin 18, set as input and pin 21 as output? &lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt; nrf_gpio_cfg_input(PIN_RXD,GPIO_PIN_CNF_PULL_Pullup);
 nrf_gpio_cfg_output(PIN_TXD);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration UARTE with nrf52805 for ESB</title><link>https://devzone.nordicsemi.com/thread/330964?ContentTypeID=1</link><pubDate>Fri, 24 Sep 2021 06:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:accff499-2ea8-40e9-8270-6708ca63b036</guid><dc:creator>Ilary</dc:creator><description>&lt;p&gt;Thanks,&lt;/p&gt;
&lt;div class="module--translations-translatedtext js-module--translations-translatedtext" style="height:216px;"&gt;is there a particular method to include new libraries in the project? because looking at the example uses the library app_uart.h and the app_uart_fifo.h that is not included in the ESB project.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration UARTE with nrf52805 for ESB</title><link>https://devzone.nordicsemi.com/thread/330897?ContentTypeID=1</link><pubDate>Thu, 23 Sep 2021 14:43:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d364ae5d-d8b7-48e5-b30e-1a429b3c5fab</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;You should take a look at the uart example then.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;lt;SDK_InstallFolder&amp;gt;\examples\peripheral\uart&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/uart_example.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/uart_example.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration UARTE with nrf52805 for ESB</title><link>https://devzone.nordicsemi.com/thread/330890?ContentTypeID=1</link><pubDate>Thu, 23 Sep 2021 14:11:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fc5a303-8fda-4d20-811e-1333344ec7ac</guid><dc:creator>Ilary</dc:creator><description>&lt;p&gt;I used nRF5 SDK 17.0.2&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration UARTE with nrf52805 for ESB</title><link>https://devzone.nordicsemi.com/thread/330883?ContentTypeID=1</link><pubDate>Thu, 23 Sep 2021 14:02:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fce288df-12a5-477c-b2dc-16f79f16cfb5</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;We have examples that uses the UART you should take a look at. What SDK are you using? nRF5 SDK or nRF Connect SDK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration UARTE with nrf52805 for ESB</title><link>https://devzone.nordicsemi.com/thread/330764?ContentTypeID=1</link><pubDate>Thu, 23 Sep 2021 08:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48c6da29-e584-45df-af4b-c6223bfa5483</guid><dc:creator>Ilary</dc:creator><description>&lt;p&gt;hello, &lt;/p&gt;
&lt;div class="module--translations-translatedtext js-module--translations-translatedtext" style="height:216px;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;I have a doubt, the data that is passed how can I be sure to read it correctly?&amp;nbsp; &lt;/span&gt;
&lt;div class="module--translations-translatedtext js-module--translations-translatedtext" style="height:216px;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;currently I try to read the value to which the RX buffer points but I&amp;#39;m not sure if it is the correct method&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration UARTE with nrf52805 for ESB</title><link>https://devzone.nordicsemi.com/thread/330638?ContentTypeID=1</link><pubDate>Wed, 22 Sep 2021 11:34:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cebcc595-b2b9-4b0a-a9ab-249b40b910f1</guid><dc:creator>Ilary</dc:creator><description>&lt;div class="module--translations-translatedtext js-module--translations-translatedtext" style="height:216px;"&gt;&lt;br /&gt;
&lt;div class="module--translations-translatedtext js-module--translations-translatedtext" style="height:216px;"&gt;&lt;span style="font-size:inherit;"&gt;thanks, I deleted the defined indicated but I still do not get the value that I send in serial. Could it be a configuration issue?&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration UARTE with nrf52805 for ESB</title><link>https://devzone.nordicsemi.com/thread/330631?ContentTypeID=1</link><pubDate>Wed, 22 Sep 2021 11:18:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e35fcca6-954d-40a3-a5ef-986bc1b095e4</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]the pin 21 of the nrf52805[/quote]
&lt;p&gt;&amp;nbsp;Pin 21 is also configurable as a reset-pin.&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52805%2Fpin.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52805%2Fpin.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3022.pastedimage1632309185213v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;So this might be the reason for the issue you are seeing.&lt;/p&gt;
&lt;p&gt;Try using a different pin if possible.&lt;/p&gt;
&lt;p&gt;If that is not possible for you, then you need to remove the preprocessor define CONFIG_GPIO_AS_PINRESET&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/5826.pastedimage1632309494463v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>