<?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>using UART without bsp file problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17976/using-uart-without-bsp-file-problem</link><description>Hi! 
 I want to use UART function in my own project, base on ble_app_template.
but when I remove bsp module &amp;amp; board.h, add my custom pin config file, I can&amp;#39;t see any UART output and BLE advertising, the chip seem restart all the time. 
 SDK:10 
 Softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Nov 2016 03:43:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17976/using-uart-without-bsp-file-problem" /><item><title>RE: using UART without bsp file problem</title><link>https://devzone.nordicsemi.com/thread/69320?ContentTypeID=1</link><pubDate>Wed, 30 Nov 2016 03:43:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cf5b8c9-539b-4e29-9726-5822814eff6d</guid><dc:creator>Daniel.Chiu</dc:creator><description>&lt;p&gt;It look like hardware error, I will check the layout. thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: using UART without bsp file problem</title><link>https://devzone.nordicsemi.com/thread/69318?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2016 12:57:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9be96dd2-8a34-4ad4-bf94-cfaf5d1f55ac</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;In that case your approach seems correct. The reason why the chip restarts all the time, is because one of the &lt;code&gt;APP_ERROR_CHECK(err_code);&lt;/code&gt; is triggered with an error code. How you can debug and find the error code with Keil is explained in this &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;thread&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: using UART without bsp file problem</title><link>https://devzone.nordicsemi.com/thread/69319?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2016 07:37:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5290a84b-d1d3-438e-ac75-f7731d203ed1</guid><dc:creator>Daniel.Chiu</dc:creator><description>&lt;p&gt;Hi! thanks for replay.  In this case, I don&amp;#39;t need bsp module, so I prefer to remove it, but UART module does&amp;#39;t work correctly.&lt;/p&gt;
&lt;p&gt;Could you advice how to use UART without bsp module?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: using UART without bsp file problem</title><link>https://devzone.nordicsemi.com/thread/69317?ContentTypeID=1</link><pubDate>Fri, 25 Nov 2016 10:35:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3991c09-a20f-4c0d-bbd3-f27633bb2e9a</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you have a custom board, you should instead create your own board file. Don’t remove the bsp module.&lt;/p&gt;
&lt;p&gt;You can find the board files under:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;\SDK_INSTALL_FOLDER\examples\bsp
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;When creating a new board file, simply copy the e.g. the pca10028.h file, rename it, and modify it after your requirements (change pin configuration). Then you have to modify boards.h to support your new file, and add a new define that you specify in the Keil options to include your modified file(Options for Target -&amp;gt; C/C++ tab-&amp;gt; Define-&amp;gt; remove BOARD_PCA10028 and add your BOARD_CUSTOM). The bsp module is very dynamic, and will configure according to your board file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>