<?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 on NRF51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11690/uart-on-nrf51822</link><description>Hello, 
 I have an development kit NRF51 and wrote a code for it which uses uart, ble advertising and ble scan. It works pretty well on the kit. 
 The problem is when I try to put the same code on a custom board with an NRF51822. I have already worked</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Feb 2016 15:21:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11690/uart-on-nrf51822" /><item><title>RE: uart on NRF51822</title><link>https://devzone.nordicsemi.com/thread/44187?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2016 15:21:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edf59d39-d3e5-462d-98f3-4e87779630c8</guid><dc:creator>elisio</dc:creator><description>&lt;p&gt;Thank you all, it&amp;#39;s solved now.&lt;/p&gt;
&lt;p&gt;When I compiled with one of the calibrated with RC options I also changed the second parameter of the function APP_TIMER_INIT to true and I got those warnings:&lt;/p&gt;
&lt;p&gt;In function &amp;#39;ble_stack_init&amp;#39;:
warning: passing argument 4 of &amp;#39;softdevice_handler_init&amp;#39; makes pointer from integer without a cast
SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_SYNTH_250_PPM, true)&lt;/p&gt;
&lt;p&gt;softdevice_handler.h:117:10: note: expected &amp;#39;softdevice_evt_schedule_func_t&amp;#39; but argument is of type &amp;#39;int&amp;#39;
uint32_t softdevice_handler_init(nrf_clock_lfclksrc_t clock_source,&lt;/p&gt;
&lt;p&gt;So I changed the parameter to NULL and it worked fine. Thank you all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart on NRF51822</title><link>https://devzone.nordicsemi.com/thread/44186?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2016 13:29:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84f5b87b-1b33-496a-a2ca-bb74dfe7e74d</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Are you sure the components are OK and everything is well soldered on the board with the nRF51822?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart on NRF51822</title><link>https://devzone.nordicsemi.com/thread/44184?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2016 13:17:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ad24775-c336-4cf0-9ec6-cd3c2bd86997</guid><dc:creator>elisio</dc:creator><description>&lt;p&gt;Hi, I have just the 16MHz crystal on my board.
I did as you said and changed the NRF_CLOCK_LFCLKSRC_XTAL_20_PPM to NRF_CLOCK_LFCLKSRC_RC_250_PPM_250MS_CALIBRATION and also to NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION. But it&amp;#39;s still not working.&lt;/p&gt;
&lt;p&gt;I did other test and put an NRF51422 on a custom board, the same kind of board and peripherals of the one I tested with the NRF51822 chip, and it worked.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart on NRF51822</title><link>https://devzone.nordicsemi.com/thread/44185?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2016 08:58:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2068d9bd-afb2-4a4d-a3d3-3bfcdfb83f42</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Edited to make whole code segment preformatted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart on NRF51822</title><link>https://devzone.nordicsemi.com/thread/44188?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2016 00:56:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f6fe84b-0676-4647-849c-38d6d73c06f6</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Do you have a LF crystal on your board as well? You only mentioned the 16MHz one in your post. If you don&amp;#39;t have one, then you&amp;#39;ll need to change the &lt;code&gt;NRF_CLOCK_LFCLKSRC_XTAL_20_PPM&lt;/code&gt; to one of the calibrated RC sources first.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>