<?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>Softdevice example doesn&amp;#39;t start when powered by other source than MCU interface.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25916/softdevice-example-doesn-t-start-when-powered-by-other-source-than-mcu-interface</link><description>Hi, 
 Recently I receive the &amp;quot;nRF52840-Preview-DK&amp;quot; and I download the &amp;quot;nRF5 SDK v14.0.0&amp;quot;.
I try some example with Keil and all of them works well when I use the MCU interface.
But when I try to powered the board with other source than the MCU interface</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Oct 2017 13:21:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25916/softdevice-example-doesn-t-start-when-powered-by-other-source-than-mcu-interface" /><item><title>RE: Softdevice example doesn't start when powered by other source than MCU interface.</title><link>https://devzone.nordicsemi.com/thread/102083?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 13:21:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:202c61b1-e4c1-4137-b9fd-7ca29f200791</guid><dc:creator>Francois5Co</dc:creator><description>&lt;p&gt;yes it solve it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice example doesn't start when powered by other source than MCU interface.</title><link>https://devzone.nordicsemi.com/thread/102082?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 13:18:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2090aed-d162-4214-9951-8d502bdb260a</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Interesting! So did this solve your problem then?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice example doesn't start when powered by other source than MCU interface.</title><link>https://devzone.nordicsemi.com/thread/102086?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 13:04:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:189f0aaa-30ae-4280-8d68-111ea6dac6cb</guid><dc:creator>Francois5Co</dc:creator><description>&lt;p&gt;If I define other pins on nRF52840 to drive Uart signal (TxD, RxD), which are not link to the Analog Switch FSA2466, it works with all power supply configuration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice example doesn't start when powered by other source than MCU interface.</title><link>https://devzone.nordicsemi.com/thread/102085?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 14:52:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df4354ce-dac0-451d-a3b0-6936b0c2ea6d</guid><dc:creator>Francois5Co</dc:creator><description>&lt;p&gt;When I powered the board by the connector J2 (interface MCU) the SW (debug) signal is routed between the PCA10056 and the nRF52840 through the Analog Switch FSA2466 if I powered the board with another connector, this signal is cut off. Perhaps this can help us.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice example doesn't start when powered by other source than MCU interface.</title><link>https://devzone.nordicsemi.com/thread/102084?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 14:29:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96cbe8b4-7420-4749-8e60-4ad171000b2d</guid><dc:creator>Francois5Co</dc:creator><description>&lt;p&gt;I looked at the signal of the LF CLK source and it is a correct signal at 32.8kHz with 200mV peak to peak.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice example doesn't start when powered by other source than MCU interface.</title><link>https://devzone.nordicsemi.com/thread/102080?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 12:47:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab198017-6908-4320-8436-382900f0ddb2</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Well that should be independent on the power source. The only HW thing i relays on is LF CLK source. If you have logical analyzer or oscilloscope you can try to see what LF crystal on the board is doing...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice example doesn't start when powered by other source than MCU interface.</title><link>https://devzone.nordicsemi.com/thread/102081?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 12:09:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9fbd129-13ee-4085-82ee-4f8f0898442d</guid><dc:creator>Francois5Co</dc:creator><description>&lt;p&gt;After investigation, it seems that this call of function &amp;quot;ret_code = sd_softdevice_enable(&amp;amp;clock_lf_cfg, app_error_fault_handler);&amp;quot; reset the processor when the board is connected with J3 (nRF USB).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice example doesn't start when powered by other source than MCU interface.</title><link>https://devzone.nordicsemi.com/thread/102079?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 09:18:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:274bee34-2e4e-4430-921d-c80cdb777b04</guid><dc:creator>Francois5Co</dc:creator><description>&lt;p&gt;I have try with a lithium coin cell but it doesn&amp;#39;t work too. I also try to move SW9 to USB but it doesn&amp;#39;t work too. If you see the schematic of the nRF52840-Preview-DK and you select VDD to nRF power source you can see that the power supply is the same across the board when powered by J3 or J2 the only difference is USB detection is not done by the PCA10056 if you powered by J3 (nRF USB).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice example doesn't start when powered by other source than MCU interface.</title><link>https://devzone.nordicsemi.com/thread/102078?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 09:07:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec23f7bd-0d34-414a-8a07-061e503b7527</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Nice. If you want to power the target from USB then you need to move SW9 to USB, at least this is &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/development/nrf52840_pdk/power_source.html?cp=2_0_3_5_2_3"&gt;how I read nRF52840 PDK user manual&lt;/a&gt;... definitely worth trying to use other means like external VDD to VIN PIN of P20 or battery and see if then BLE works on the target. If so then you just have wrong setting of SW9 and 10 while powering through USB (or other problem like bad cable).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice example doesn't start when powered by other source than MCU interface.</title><link>https://devzone.nordicsemi.com/thread/102077?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 08:51:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2ace045-f8fc-4a52-944b-848f4d53a6a5</guid><dc:creator>Francois5Co</dc:creator><description>&lt;p&gt;For example, I connect the demo board with a USB cable to the MCU Interface (J2), I copy this hex file &amp;quot;nRF5_SDK_14.0.0_3bcc1f7/examples/peripheral/blinky/hex/blinky_pca10056.hex&amp;quot; to the removable file named JLINK and now I see the 4 led blinking. Now I disconect, the USB cable, I don&amp;#39;t move the nRF power source selector (SW9) VDD is still selected and I connect the usb cable to the nRF USB connector to power the board and I can see the led blinking.&lt;/p&gt;
&lt;p&gt;Now I reconnect the demo board with a USB cable to the MCU Interface (J2) , I copy this hex file &amp;quot;nRF5_SDK_14.0.0_3bcc1f7/examples/ble_peripheral/ble_app_uart/hex/ble_app_uart_pca10056_s140.hex&amp;quot; to the removable file named JLINK and now I see the led 1 blinking, and I can see &amp;quot;Nordic_UART&amp;quot; device if I scan BLE devices. Now I disconect, the USB cable, I don&amp;#39;t move the nRF power source selector (SW9) VDD is still selected and I connect the usb cable to the nRF USB connector to power the board and the four leds are switch on with few luminosity and if I scan BLE device I didn&amp;#39;t found the Nordic_UART device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice example doesn't start when powered by other source than MCU interface.</title><link>https://devzone.nordicsemi.com/thread/102076?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 07:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94069378-b213-4c23-8f35-9ef1c2ad0fc6</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;OK. So at least nRF52840 is alive, that is good. Now what exactly is the difference between working and not working examples? How you flash it to the board (when you have SEGGER J-Link disconnected because you plug only USB cable directly to nRF52)? Which example HEX files work and how these with Soft Device misbehave? At least some debug trace from UART or RTT?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice example doesn't start when powered by other source than MCU interface.</title><link>https://devzone.nordicsemi.com/thread/102075?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 06:52:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70abfba9-a9fc-4ff4-bca6-56b2f42d69b8</guid><dc:creator>Francois5Co</dc:creator><description>&lt;p&gt;I mean power the board with the 5V on the usb connector used for the MCU. If I powered the board with a 5V in the other usb connector (J3, directly connected to the nRF chip) only example without softdevice run on the device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice example doesn't start when powered by other source than MCU interface.</title><link>https://devzone.nordicsemi.com/thread/102074?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 06:48:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5ef9df3-4c21-4126-a946-dff08b80c0bf</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;What do you mean by &amp;quot;power the board with other source then MCU&amp;quot;? You always power the board just with Volts not MCUs;) You can use 5V USB on the Dev Kit or attach different 5V source through the PIN on the header, or you can power it directly through 3V3 or you can use battery holder on the Dev Kit...&lt;/p&gt;
&lt;p&gt;If you have problems with flashing the target then use nRFgo Studio, nrfjprog (from NRFTOOLS package) or similar tool which has some logs in case of error. That will tell us more.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>