<?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>unexpected error from APP_UART_INIT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29737/unexpected-error-from-app_uart_init</link><description>SDK 12.2 on nrf52 custom board 
 uint32_t err_code;
const app_uart_comm_params_t comm_params =
{
 RX_PIN_NUMBER,
 TX_PIN_NUMBER,
 RTS_PIN_NUMBER,
 CTS_PIN_NUMBER,
 APP_UART_FLOW_CONTROL_DISABLED,
 false,
 UART_BAUDRATE_BAUDRATE_Baud57600
};</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Jan 2018 17:59:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29737/unexpected-error-from-app_uart_init" /><item><title>RE: unexpected error from APP_UART_INIT</title><link>https://devzone.nordicsemi.com/thread/117963?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 17:59:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9faa13d-0c18-4079-bf5a-28a39a0bad9f</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;I´m glad to hear that fixed your problem!&lt;br /&gt;
I updated my comment to an answer.&lt;br /&gt;
Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unexpected error from APP_UART_INIT</title><link>https://devzone.nordicsemi.com/thread/117962?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 16:10:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3ee7864-6cc5-4ed6-8594-58f6626e14b9</guid><dc:creator>paul_tanner</dc:creator><description>&lt;p&gt;Thx @Joakim
Yes. Error code 7 is indeed NRF_ERROR_INVALID_PARAM.
I had switched from APP_UART_FIFO_INIT without altering the Makefile.
I do not get why the linker did not pick the fact that I was still referencing app_uart_fifo_init.
Anyway, referencing the right .c file seems to have fixed it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unexpected error from APP_UART_INIT</title><link>https://devzone.nordicsemi.com/thread/117961?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 14:05:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b936d888-41d2-4c64-98b3-a9f097c09685</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi Paul.&lt;br /&gt;
You can find the complete list of error codes in the &lt;code&gt;nrf_error.h&lt;/code&gt; header file.&lt;br /&gt;
The list can also be found in our all-knowing &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/group__nrf__error.html?cp=2_3_1_1_2_2_0_7"&gt;infocenter&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The infocenter also states this about &lt;code&gt;NRF_ERROR_INVALID_PARAM&lt;/code&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;When Hardware Flow Control is not
used, these errors cannot occur.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Maybe you could take a look at &lt;a href="https://devzone.nordicsemi.com/question/92697/uart-init-without-fifo/"&gt;this post&lt;/a&gt;, and see if that could be helpful?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;
Joakim.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>