<?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>is it possible to initialize two UART in nrf52832?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76136/is-it-possible-to-initialize-two-uart-in-nrf52832</link><description>i working nrf52832 sdk 16 in that i want to use two uart? 
 actually nrf52832 have only one hardware interfced UART.but i try to implement two UART1 and UART2 in same program by using software 
 for that i try to implemrnt uarts like switching method</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Jun 2021 11:12:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76136/is-it-possible-to-initialize-two-uart-in-nrf52832" /><item><title>RE: is it possible to initialize two UART in nrf52832?</title><link>https://devzone.nordicsemi.com/thread/314884?ContentTypeID=1</link><pubDate>Fri, 11 Jun 2021 11:12:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afd5e536-873d-49bd-8f7c-870ea0f33c0f</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="0_velan_1"]while running getting run time error&amp;nbsp;[/quote]
&lt;p&gt;Please make sure to have DEBUG defined in your preprocessor defines, like shown in the included image:&lt;br /&gt;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/4747.enabling_5F00_debug_5F00_SES.PNG" /&gt;&amp;nbsp;&lt;br /&gt;This will make the logger output a detailed error message whenever a non-NRF_SUCCESS error is passed to an APP_ERROR_CHECK.&lt;br /&gt;&lt;br /&gt;Do this, and let me know what the error in your logger says.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is it possible to initialize two UART in nrf52832?</title><link>https://devzone.nordicsemi.com/thread/314700?ContentTypeID=1</link><pubDate>Thu, 10 Jun 2021 12:33:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e621abe-bfc7-4765-98b0-92d0066ad6e9</guid><dc:creator>0_velan_1</dc:creator><description>&lt;p&gt;hi I used uart example&amp;nbsp; changed tx and rx pin number as 26 and 27&amp;nbsp;&lt;/p&gt;
&lt;p&gt;while running getting run time error&amp;nbsp;&lt;/p&gt;
&lt;p&gt;here in 27 and 26 pin not interfaced any hardware interfaces&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is it possible to initialize two UART in nrf52832?</title><link>https://devzone.nordicsemi.com/thread/314364?ContentTypeID=1</link><pubDate>Wed, 09 Jun 2021 07:42:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d70105d-0085-4c62-bb9b-baf2636194da</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="0_velan_1"]if I&amp;nbsp;&lt;span&gt;re-initialize need to call&amp;nbsp;&amp;nbsp;sd_nvic_SystemReset(); I think this the way of re-initialize.&lt;/span&gt;[/quote]
&lt;p&gt;No, you do not have to do a system reset, you can instead &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.2%2Fgroup__nrfx__uart.html&amp;amp;anchor=ga9af3afd3fd7d9f1a3e4271db1b330f60"&gt;disable&lt;/a&gt; and &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.2%2Fgroup__nrfx__uart.html&amp;amp;anchor=ga3c7d3c7254fcc4e9c4e9059aa1c54ca2"&gt;uninit&lt;/a&gt; the UART peripheral, and then initialize it again with a different configuration.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is it possible to initialize two UART in nrf52832?</title><link>https://devzone.nordicsemi.com/thread/314342?ContentTypeID=1</link><pubDate>Wed, 09 Jun 2021 06:46:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cae4d857-13e3-41ae-9ee6-450827a23cd5</guid><dc:creator>0_velan_1</dc:creator><description>&lt;p&gt;OK, but if I&amp;nbsp;&lt;span&gt;re-initialize need to call&amp;nbsp;&amp;nbsp;sd_nvic_SystemReset(); I think this the way of re-initialize.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;is there any other way to re-initialize?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is it possible to initialize two UART in nrf52832?</title><link>https://devzone.nordicsemi.com/thread/314206?ContentTypeID=1</link><pubDate>Tue, 08 Jun 2021 12:14:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c5c7fdf-707e-4259-8663-7652d9ccd6e4</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Thank you for editing, elaborating and clarifying your ticket.&lt;br /&gt;&lt;br /&gt;Since the nRF52832 only has a single UART hardware instance you must initialize and re-initialize it when you intend to switch the configuration. You may not initialize it twice, since this will &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.2%2Fgroup__nrfx__uart.html&amp;amp;anchor=gad39364c2398152822f0a7cf08242c773"&gt;generate an INVALID_STATE error&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can I use two uart in nrf52832 one at a Time software-controlled UARTS?


witch between UART1 and UART2 in software control is it possble?</title><link>https://devzone.nordicsemi.com/thread/314183?ContentTypeID=1</link><pubDate>Tue, 08 Jun 2021 11:38:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d477598-386b-449f-a50b-08dbe322b07a</guid><dc:creator>0_velan_1</dc:creator><description>&lt;p&gt;i working nrf52832 sdk 16&amp;nbsp; in that i want to use two uart?&lt;/p&gt;
&lt;p&gt;actually nrf52832 have only one hardware interfced UART.but i try to implement two UART1 and UART2 in same program by using software&amp;nbsp;&lt;/p&gt;
&lt;p&gt;for that i try to implemrnt uarts like switching method&amp;nbsp; only one UART&amp;nbsp;active at a time&lt;/p&gt;
&lt;p&gt;is it possible? and two uart_init() function intialized in main function means any issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can I use two uart in nrf52832 one at a Time software-controlled UARTS?


witch between UART1 and UART2 in software control is it possble?</title><link>https://devzone.nordicsemi.com/thread/314182?ContentTypeID=1</link><pubDate>Tue, 08 Jun 2021 11:34:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84b9bf8f-d0e1-4a0d-8138-2535df366e18</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Please write a proper ticket, and do not put the entire question in the title. A proper ticket should be detailing the issues you are facing, what you already have tried to resolve them, what you observed after trying on your own and what you need help with.&lt;br /&gt;&lt;br /&gt;Furthermore, you mention that you would like to switch between two UART instances on the nRF52832. I am not exactly sure what you mean to ask since your ticket contains no additional information, but either way please be advised that &lt;a href="https://infocenter.nordicsemi.com/topic/struct_nrf52/struct/nrf52832_ps.html"&gt;the nRF52832 only has a single UART instance&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can I use two uart in nrf52832 one at a Time software-controlled UARTS?


witch between UART1 and UART2 in software control is it possble?</title><link>https://devzone.nordicsemi.com/thread/314177?ContentTypeID=1</link><pubDate>Tue, 08 Jun 2021 11:21:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca2ffb62-a685-4d02-be7a-1fbd9a166900</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;Can you please re-fomulate your question and don&amp;#39;t write in the subject?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>