<?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>Program stops when UART and SPI are used at the same time.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36548/program-stops-when-uart-and-spi-are-used-at-the-same-time</link><description>Hello, I am a student studying firmware 
 I want to use SPI and UART in one project at the same time. 
 The soft program uses KEIL and is the latest version. Code generation(Arm compiler) is V5.06 update 6. Computer&amp;#39;s platform is Windows. I added the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Jul 2018 15:00:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36548/program-stops-when-uart-and-spi-are-used-at-the-same-time" /><item><title>RE: Program stops when UART and SPI are used at the same time.</title><link>https://devzone.nordicsemi.com/thread/140550?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 15:00:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b96985d0-9a87-4adb-98b6-010959d7c49e</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;0525JINU,&lt;/p&gt;
&lt;p&gt;Have you been able to test the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fuart_example.html&amp;amp;cp=4_0_0_4_5_47" target="_blank" rel="noopener noreferrer"&gt;UART&amp;nbsp;&lt;/a&gt;and &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fspi_master_example.html&amp;amp;cp=4_0_0_4_5_36" target="_blank" rel="noopener noreferrer"&gt;SPI &lt;/a&gt;separate?&lt;/p&gt;
&lt;p&gt;One tip could be to use the Template application as a starting point, enable SPI and UART in sdk_config.h, then use the SPI and UART example as reference and add that to your application.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;(&lt;em&gt;We have&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/nrf51_setups_serialization.html?cp=4_0_0_1_4"&gt;serialization examples&lt;/a&gt;&amp;nbsp;in the SDK, which allows you to control the softdevice over UART and SPI. You can&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/serialization_porting_guide.html?cp=4_0_0_3_38_5"&gt;port these libraries&lt;/a&gt;&amp;nbsp;to other architectures if you want.)&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>