<?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>nRF52 - Zephyr, boot hangs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18764/nrf52---zephyr-boot-hangs</link><description>Hi, 
 We are using a BL652 from Laird, embedding a nRF52832. We wanted to give Zephyr a try, but we are facing a problem. 
 We compiled the blink example, but when we flash the hex file generated by Zephyr and reset the board, nothing happens. 
 The</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Jan 2017 14:39:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18764/nrf52---zephyr-boot-hangs" /><item><title>RE: nRF52 - Zephyr, boot hangs</title><link>https://devzone.nordicsemi.com/thread/72468?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 14:39:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bc16551-0f04-4c98-8af2-9e89dabf25fe</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I found the config parameters in the defconfig file for the BBC micro:bit board, which also have no external low frequency crystal oscillator.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 - Zephyr, boot hangs</title><link>https://devzone.nordicsemi.com/thread/72467?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 14:29:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5383672b-1bd2-40f5-aeca-83e24c239841</guid><dc:creator>GiulianoFranchetto</dc:creator><description>&lt;p&gt;Perfect! The LED is blinking !&lt;/p&gt;
&lt;p&gt;Thanks a lot. How did you come to the solution?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 - Zephyr, boot hangs</title><link>https://devzone.nordicsemi.com/thread/72466?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 14:26:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bcc8770-0822-42ec-a62f-bc981225956a</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Try adding the two lines below to the file &lt;code&gt;[ZEPHYR_ROOT]/boards/arm/nrf52_pca10040/nrf52_pca10040_defconfig&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;CONFIG_CLOCK_CONTROL_NRF5_K32SRC_RC=y
CONFIG_CLOCK_CONTROL_NRF5_K32SRC_250PPM=y
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 - Zephyr, boot hangs</title><link>https://devzone.nordicsemi.com/thread/72465?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 14:00:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f16dae7f-0b08-4a7e-bc94-289541d13f3e</guid><dc:creator>GiulianoFranchetto</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for your answer. I read this blog, and the zephyr project documentation.&lt;/p&gt;
&lt;p&gt;I thought that because the BL652 contains a nRF52832, every would have been fine (except with the gpio being different, but that should be easy enough).&lt;/p&gt;
&lt;p&gt;I tried some examples (blinky, shell ...), and there is nothing happening. No LED, no output message.&lt;/p&gt;
&lt;p&gt;Here is an extract of the BL652 datasheet about the available oscillators :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The integrated high accuracy 32 MHz
(±10 ppm) crystal oscillator helps
with radio operation and reducing
power consumption in the active modes.
The integrated on-chip 32.768 kHz RC
oscillator (±250 ppm) provides
protocol timing and helps with radio
power consumption in the system
StandByDoze and Deep Sleep modes by
reducing the time that the RX window
needs to be open. To keep the on-chip
32.768 kHz RC oscillator within ±250 ppm (which is needed to run the BLE
stack) accuracy, RC oscillator needs
to be calibrated (which takes 16-17
mS) regularly. The default calibration
interval is eight seconds which is
enough to keep within ±250 ppm. The
calibration interval ranges from 0.25
seconds to 31.75 seconds (in multiples
of 0.25 seconds) and configurable via
smartBASIC command at+cfg210.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 - Zephyr, boot hangs</title><link>https://devzone.nordicsemi.com/thread/72464?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 13:53:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:feeb33ef-7654-4529-8dc5-5bee42344898</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you try following this &lt;a href="https://devzone.nordicsemi.com/blogs/1059/nrf5x-support-within-the-zephyr-project-rtos/"&gt;blog post/guide&lt;/a&gt; to get started with Zephyr on nRF5x devices? I do not have a BL652 device available, but I teste with the nRF52 DK and that works as expected.&lt;/p&gt;
&lt;p&gt;BL652 is &lt;a href="https://wiki.zephyrproject.org/view/Supported_Boards"&gt;not listed as a board supported by Zephyr&lt;/a&gt;, so you should maybe ask the developers if there is any plans to support this module, or if there are some problems related to this.&lt;/p&gt;
&lt;p&gt;Does your board have a 32 kHz crystal oscillator? If not, it might cause some errors in the initialization. Have you checked with the terminal if there are any output from the device? I tested the Bluetooth Beacon example described in the above linked guide and this prints some status messages to the terminal.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>