<?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>UART and SDK 10</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10619/uart-and-sdk-10</link><description>I have migrated a new project from SDK 9 to 10, and now I seem to be having issues. 
 I&amp;#39;m using the uart_fifo to read data from a GPS, so the data shows up every 1 Second. 
 I believe everything is going okay, until I put a breakpoint in and stop the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Dec 2015 17:01:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10619/uart-and-sdk-10" /><item><title>RE: UART and SDK 10</title><link>https://devzone.nordicsemi.com/thread/39596?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2015 17:01:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd6a6a66-4dae-49fa-abb8-3c20c4ea66b6</guid><dc:creator>Shannon</dc:creator><description>&lt;p&gt;In your project file, there is compiler include folders, these will allow the compiler to pull in any file that is in &amp;quot;#include&amp;quot;ed for from these folders, for instance ../../../components/drivers_nrf/config This should be available some place from within your IDE to modify or add them. Because I&amp;#39;m using Crossworks, and I haven&amp;#39;t used Keil I&amp;#39;m not sure where it would be in there. I have used IAR, but I don&amp;#39;t have it at my current location. so you may want to consult your compilers documentation to find where to change your include folders. you could in your main.c file define these 2 variables, they are just defaults, in case you don&amp;#39;t define them properly in your uart0_init call.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART and SDK 10</title><link>https://devzone.nordicsemi.com/thread/39599?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2015 16:50:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ec4c868-ee7d-47ad-bba5-b6a8ba76e7e1</guid><dc:creator>MARTIN FR</dc:creator><description>&lt;p&gt;i ahve one question in the SDK version 10 BSP exmaples using the UART terminal but nowhere in thedrivers or library folder mentioned it having nrv_drv_config.h so how does that file got linked tot he app_uart_fifo.c/nrf_drv_config.c can you please tell me if you know about this or if you have any idea about this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART and SDK 10</title><link>https://devzone.nordicsemi.com/thread/39598?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2015 16:34:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1c4d76b-1bf0-496e-adfc-d9d3ef651491</guid><dc:creator>Shannon</dc:creator><description>&lt;p&gt;A good way to know if the nrf_drv_config.h file is the one you think you are using is, if you make a change to the file, even just save it, and do a compile (not a full make) only the files that have been modified will compile, and since the nrf_drv_config.h file is included in a lot of .c files, quite a number will recompile. if none do. then you know the one included is not the one you think it is.&lt;/p&gt;
&lt;p&gt;I hope this helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART and SDK 10</title><link>https://devzone.nordicsemi.com/thread/39597?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2015 16:30:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b671671e-2529-4c41-8638-2cd25bf71014</guid><dc:creator>Shannon</dc:creator><description>&lt;p&gt;make sure your include folders only have one nrf_drv_config.h file, as it has include blocks it won&amp;#39;t include more than one copy. I think in the SDK it is located in ..../components\drivers_nrf\config, so if you have a copy elsewhare (say in your project folder), it could be included from there first.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART and SDK 10</title><link>https://devzone.nordicsemi.com/thread/39603?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2015 15:37:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9287cda-dab2-44e5-8a81-e8ab61f261f5</guid><dc:creator>MARTIN FR</dc:creator><description>&lt;p&gt;I used that BSP example UART it is wprking fine and i did the same configuration for the PWM exmaple and then am trying to add the UART terminal for that it is showing these kind of issues i dont understand why and i blocked&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART and SDK 10</title><link>https://devzone.nordicsemi.com/thread/39602?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2015 15:32:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33ae3467-0bf3-46d0-8ba5-effa26e63195</guid><dc:creator>MARTIN FR</dc:creator><description>&lt;p&gt;Thank you for your kind reply i added the nrf_drv_config into my location under nrf_drivers folders along with that #if (UART0_ENABLED == 1) i modified thos also but after compilations till showing the same error it is showing all those functions are undefined only i dont understand why it is not recognizing that linked file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART and SDK 10</title><link>https://devzone.nordicsemi.com/thread/39601?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2015 15:22:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2eea9b87-b071-4e13-b517-1cb029a8da00</guid><dc:creator>Shannon</dc:creator><description>&lt;p&gt;I believe this is defined in nrf_drv_config.h file. you need to define UART0_ENABLED = 1; (which I see you&amp;#39;ve already checked)
Check your project, to make sure there is only one copy of the nrf_drv_config.h file. I had copied mine to a location that was easier to find, than where it&amp;#39;s located in the SDK, and also linked it in my project. but when I upgraded my SDK to v10 it caused me some issues.
make sure you&amp;#39;re using the one or updated one from the SDK10 SDK
Here is what Mine looks like&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#if (UART0_ENABLED == 1)
#define UART0_CONFIG_HWFC         NRF_UART_HWFC_DISABLED
#define UART0_CONFIG_PARITY       NRF_UART_PARITY_EXCLUDED
#define UART0_CONFIG_BAUDRATE     NRF_UART_BAUDRATE_9600
#define UART0_CONFIG_PSEL_TXD     0
#define UART0_CONFIG_PSEL_RXD     0
#define UART0_CONFIG_PSEL_CTS     0
#define UART0_CONFIG_PSEL_RTS     0
#define UART0_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
#ifdef NRF52
#define UART0_CONFIG_USE_EASY_DMA false
//Compile time flag
#define UART_EASY_DMA_SUPPORT     1
#define UART_LEGACY_SUPPORT       1
#endif //NRF52
#endif
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I am also using Crossworks v3.5.1, and I have copied most of the SDK to my own project locations. so I&amp;#39;m not using the SDK directly, but a modified copy of it (as in location not as in modified code, other than the fix)&lt;/p&gt;
&lt;p&gt;Hope that helps somewhat.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART and SDK 10</title><link>https://devzone.nordicsemi.com/thread/39600?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2015 14:03:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa6de0e7-e2ba-447d-9b93-bd1ed39e090e</guid><dc:creator>MARTIN FR</dc:creator><description>&lt;p&gt;SHANNON can you tell me how you debug your code SDK 10because am facing this eror
..........\components\drivers_nrf\uart\nrf_drv_uart.c(74): error:  #20: identifier &amp;quot;UART0_CONFIG_PSEL_RXD&amp;quot; is undefined&lt;/p&gt;
&lt;p&gt;..........\components\drivers_nrf\uart\nrf_drv_uart.c(74): error:  #20: identifier &amp;quot;UART0_CONFIG_PSEL_CTS&amp;quot; is undefined&lt;/p&gt;
&lt;p&gt;even though enabling the UART0in the nrf_drv_config.h file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART and SDK 10</title><link>https://devzone.nordicsemi.com/thread/39595?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2015 14:16:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88c64b85-5768-41df-a53e-46f1b378e9e7</guid><dc:creator>Shannon</dc:creator><description>&lt;p&gt;That seems to have fixed it. I can now debug my code again. Thank you for pointing me to the answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART and SDK 10</title><link>https://devzone.nordicsemi.com/thread/39594?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2015 13:42:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36f8f539-3da7-4d85-a325-9eb52ce31a88</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;This may be a bug in the SDK similar to &lt;a href="https://devzone.nordicsemi.com/question/58241/how-to-handle-app_uart_communication_error/"&gt;this&lt;/a&gt;. Try to change app_uart_fifo.c with this file: &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2287.app_5F00_uart_5F00_fifo_5F00_mod.c"&gt;app_uart_fifo_mod.c&lt;/a&gt; (only added &lt;code&gt;(void)nrf_drv_uart_rx(rx_buffer, 1);&lt;/code&gt; at line 65).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>