<?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>SPI peripherial with no output</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60572/spi-peripherial-with-no-output</link><description>Hi, 
 I have got the problem with using BMD-340 demo SPI commuination for many days. 
 +----------------------------+ | | | Problem Describtion | | | +----------------------------+ 
 1. Developing Tool: 
 (*) RIGADO BMD-340 Evaluation Kit BMD-340 datasheet</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 May 2020 06:02:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60572/spi-peripherial-with-no-output" /><item><title>RE: SPI peripherial with no output</title><link>https://devzone.nordicsemi.com/thread/247755?ContentTypeID=1</link><pubDate>Mon, 04 May 2020 06:02:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:444a920c-4eb7-4750-9df1-b37f21afaec9</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;I&amp;#39;d like to see a picture or schematic of what pins are connected to the logic analyzer so I can double-check that the setup is correct.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI peripherial with no output</title><link>https://devzone.nordicsemi.com/thread/247708?ContentTypeID=1</link><pubDate>Sat, 02 May 2020 05:58:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5da41095-fda1-488e-aabd-c489f10fdf0a</guid><dc:creator>Nihsrob</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sorry, I didn&amp;#39;t get the &lt;strong&gt;&amp;quot;&amp;nbsp;physical setup from the EV kit to your logic analyzer?&amp;nbsp;&amp;quot;&amp;nbsp; &lt;/strong&gt;meaning&lt;/p&gt;
&lt;p&gt;did you mean port number setting from sdk_config.h&amp;nbsp;or setting in nrf_drv_spi.h ?&lt;/p&gt;
&lt;p&gt;or logic analyzer trigger setting?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Nihsrob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI peripherial with no output</title><link>https://devzone.nordicsemi.com/thread/247450?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2020 06:57:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5060bd7-4914-4262-a068-ac3b9b3f75d7</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you show me the physical setup from the EV kit to your logic analyzer?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see any reason why your project shouldn&amp;#39;t be able to communicate using SPI... Does an LED on the board toggle every 200ms as described in &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/nrfx_spim_example.html"&gt;the example documentation&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Can you try doing an erase all and build + run the project again? Press Target and erase all in the dropdown menu in SES in order to do so.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI peripherial with no output</title><link>https://devzone.nordicsemi.com/thread/247368?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2020 13:35:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3efac51d-95f0-4957-85f2-93e3714f805b</guid><dc:creator>Nihsrob</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;sorry so the late reply. I was busy doing my homework in past few days. :-)&lt;/p&gt;
&lt;p&gt;and yes, the J-link did work! and download successful message shown as following figure.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/_F764D653_.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;was so frustrated with these SPI-series project, one of my teammates said that it should be one of the easiest projects in embedded system project.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please feel free to ask any question or problem if you concerned. I hope that we can&amp;nbsp;conquer&amp;nbsp;the problem.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Nihsrob&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI peripherial with no output</title><link>https://devzone.nordicsemi.com/thread/246840?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2020 12:46:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1f45131-3c40-4a1d-990a-52dba55a9523</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Again, thank you for being so detailed in your replies! It&amp;#39;s not too often we get posts that are this thorough. One thing. When you flash the examples to your EV kit, do you see a &amp;quot;download successful&amp;quot; message like the one below in SES afterwards, to confirm that the firmware has been flashed onto the kit?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-9b99ef2eb23d4c6eb1d1bad31c4a8a7b/pastedimage1587991501966v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;If not, please try to press the Build and Run option in the&amp;nbsp;&lt;strong&gt;Build&amp;nbsp;&lt;/strong&gt;dropdown folder, and see if that flashes the board for you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI peripherial with no output</title><link>https://devzone.nordicsemi.com/thread/246615?ContentTypeID=1</link><pubDate>Sat, 25 Apr 2020 07:37:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b779a22c-caec-4138-bdf1-ff5008729b06</guid><dc:creator>Nihsrob</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s okay, I really thank you for giving me so many responses.&lt;/p&gt;
&lt;p&gt;And Yes, I did read the complete BMD-340 User Guide as you mention above.&lt;/p&gt;
&lt;p&gt;Maybe&amp;nbsp; I can&amp;nbsp; describe my problem again so that every reader can get my issue more clearly.&lt;/p&gt;
&lt;p&gt;--------------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;The full-screen is I want to use BMD-340 operate function f_open(&amp;quot;File_Name.txt&amp;quot;) to an SD card. Then pass the f_open address such as 32&amp;#39;h00_00_00_01 to FPGA port in SPI_mode.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Base on the project description, It can be divided into 2 parts.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;FIRST,&amp;nbsp; BMD-340 use &lt;em&gt;&lt;strong&gt;N&lt;/strong&gt;&lt;strong&gt;ordic/examples/peripheral/fatfs&lt;/strong&gt;&lt;/em&gt;&amp;nbsp;to execute f_open and get the address. (O) &amp;lt;== SUCCEED !!!&lt;/p&gt;
&lt;p&gt;[ It means BMD-340 can work on nordic peripheral,&amp;nbsp; BMD-340 I/O PIN can work on SD&amp;nbsp;card &amp;nbsp;]&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;SECOND, BMD-340 then pass value as &amp;quot;SPI MASTER&amp;quot; to other devices such as FPGA or something. (X) &amp;lt;== ISSUE&lt;/p&gt;
&lt;p&gt;--------------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;So, All I want to do is to check WHETHER BMD-340 can work as &lt;strong&gt;SPI MASTER ,&lt;/strong&gt;&amp;nbsp;passing value or any signal to its PIN.&lt;/p&gt;
&lt;p&gt;IF it &lt;strong&gt;does ( MOSI_PIN or SCK_PIN detect any signal) , &lt;/strong&gt;the&lt;strong&gt; Logic Analyzer&lt;/strong&gt; should detect signal.&lt;/p&gt;
&lt;p&gt;--------------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;I have tried &lt;em&gt;&lt;strong&gt;Nordic/example/peripheral/&lt;/strong&gt;&amp;nbsp;&lt;/em&gt;like&amp;nbsp;&lt;strong&gt;spi&lt;/strong&gt;&lt;strong&gt;&amp;nbsp; , nrfx_spim&amp;nbsp; ,&amp;nbsp; spi_master_using_nrf_spi_mngr&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In there&amp;nbsp;3 examples, all the CODE is in default. Which means I totally modify nothing for any part of code.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I JUST used&amp;nbsp;&lt;strong&gt;Logic Analyzer&lt;/strong&gt; detect if there&amp;nbsp;exists any signal on &lt;strong&gt;BMD-340 I/O PIN.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Results like what I have said above, I detect nothing. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;--------------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;I&amp;nbsp; am&amp;nbsp; confusing&amp;nbsp; about&amp;nbsp; how&amp;nbsp; other&amp;nbsp; project&amp;nbsp; &amp;nbsp;make&amp;nbsp; it&amp;nbsp; work&amp;nbsp; ?&amp;nbsp; &amp;nbsp;Can anyone&amp;nbsp; &amp;nbsp;provide&amp;nbsp; any source&amp;nbsp; which&amp;nbsp; can&amp;nbsp; run&amp;nbsp; in&amp;nbsp; BMD-340.&lt;/p&gt;
&lt;p&gt;My&amp;nbsp; BMD-340&amp;nbsp; detect&amp;nbsp; no&amp;nbsp; signal&amp;nbsp; but&amp;nbsp; 5V&amp;nbsp; output&amp;nbsp; PIN&amp;nbsp; and&amp;nbsp; &amp;nbsp;GND&amp;nbsp; PIN.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;============================================================&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Now, I still struggling with this issue, and trying to figure out what&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrfx_spim_xfer_dcx( ) &amp;amp;&amp;nbsp;nrfx_drv_spi_transfer( )&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;function work.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;============================================================&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank&amp;nbsp;you&amp;nbsp;for discussing&amp;nbsp;this problem with me, I hope that we can keep moving on.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Nihsrob&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI peripherial with no output</title><link>https://devzone.nordicsemi.com/thread/246455?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2020 10:17:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3341506-49ec-4bc1-bc0c-4ca3969569ae</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Sorry, I didn&amp;#39;t realize that you were using the Rigado EV kit initially. This kit does have the 32kHz crystal oscillator, so the defines I posted should not be necessary.&lt;/p&gt;
&lt;p&gt;Have you read through and completed the steps required to set up the evaluation board in the &lt;a href="https://www.u-blox.com/sites/default/files/BMD-34-38-EVAL_UserGuide_%28UBX-19033356%29.pdf"&gt;BMD-340 EV kit User Guide&lt;/a&gt;? I can&amp;#39;t see anything wrong with your procedure, and the SPI should work using these pins, but seeing as you&amp;#39;re using a BMD-340 kit we can&amp;#39;t guarantee that our examples will run on it, as it is not our design. We don&amp;#39;t have one available either I&amp;#39;m afraid, so I can&amp;#39;t test it here on my end. What I can say, is that the&amp;nbsp;&lt;span&gt;nrfx_spim_pca10056 is working as intended on the nRF52840 DK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI peripherial with no output</title><link>https://devzone.nordicsemi.com/thread/246314?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 15:11:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b12971a-9b71-497d-9094-5ad52e7768f3</guid><dc:creator>Nihsrob</dc:creator><description>&lt;p&gt;Hi, thank you for answering the problem.&lt;/p&gt;
&lt;p&gt;And I added the code you supply, the logic analyzer still detect no signal for SCK , MOSI ...&lt;/p&gt;
&lt;p&gt;-----------------------------------------------------&lt;/p&gt;
&lt;p&gt;This is my [main.c], I added print &amp;quot;Failed!&amp;quot; when stuck in the while loop.&lt;/p&gt;
&lt;p&gt;The debug mode actually keep printing &amp;quot;Failed&amp;quot; &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is another problem.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**
 * Copyright (c) 2017 - 2019, Nordic Semiconductor ASA
 *
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without modification,
 * are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice, this
 *    list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form, except as embedded into a Nordic
 *    Semiconductor ASA integrated circuit in a product or a software update for
 *    such product, must reproduce the above copyright notice, this list of
 *    conditions and the following disclaimer in the documentation and/or other
 *    materials provided with the distribution.
 *
 * 3. Neither the name of Nordic Semiconductor ASA nor the names of its
 *    contributors may be used to endorse or promote products derived from this
 *    software without specific prior written permission.
 *
 * 4. This software, with or without modification, must only be used with a
 *    Nordic Semiconductor ASA integrated circuit.
 *
 * 5. Any software provided in binary form under this license must not be reverse
 *    engineered, decompiled, modified and/or disassembled.
 *
 * THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA &amp;quot;AS IS&amp;quot; AND ANY EXPRESS
 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 */
#include &amp;quot;nrfx_spim.h&amp;quot;
#include &amp;quot;app_util_platform.h&amp;quot;
#include &amp;quot;nrf_gpio.h&amp;quot;
#include &amp;quot;nrf_delay.h&amp;quot;
#include &amp;quot;boards.h&amp;quot;
#include &amp;quot;app_error.h&amp;quot;
#include &amp;lt;string.h&amp;gt;
#include &amp;quot;nrf_log.h&amp;quot;
#include &amp;quot;nrf_log_ctrl.h&amp;quot;
#include &amp;quot;nrf_log_default_backends.h&amp;quot;

#define NRFX_SPIM_SCK_PIN  3
#define NRFX_SPIM_MOSI_PIN 4
#define NRFX_SPIM_MISO_PIN 28
#define NRFX_SPIM_SS_PIN   29
#define NRFX_SPIM_DCX_PIN  30

#define SPI_INSTANCE  3                                           /**&amp;lt; SPI instance index. */
static const nrfx_spim_t spi = NRFX_SPIM_INSTANCE(SPI_INSTANCE);  /**&amp;lt; SPI instance. */

static volatile bool spi_xfer_done;  /**&amp;lt; Flag used to indicate that SPI instance completed the transfer. */

#define TEST_STRING &amp;quot;Nordic123456789012345678901234567890&amp;quot;
static uint8_t       m_tx_buf[] = TEST_STRING;           /**&amp;lt; TX buffer. */
static uint8_t       m_rx_buf[sizeof(TEST_STRING) + 1];  /**&amp;lt; RX buffer. */
static const uint8_t m_length = sizeof(m_tx_buf);        /**&amp;lt; Transfer length. */

void spim_event_handler(nrfx_spim_evt_t const * p_event,
                       void *                  p_context)
{
    spi_xfer_done = true;
    NRF_LOG_INFO(&amp;quot;Transfer completed.&amp;quot;);
    if (m_rx_buf[0] != 0)
    {
        NRF_LOG_INFO(&amp;quot; Received:&amp;quot;);
        NRF_LOG_HEXDUMP_INFO(m_rx_buf, strlen((const char *)m_rx_buf));
    }
}

int main(void)
{
    bsp_board_init(BSP_INIT_LEDS);

    APP_ERROR_CHECK(NRF_LOG_INIT(NULL));
    NRF_LOG_DEFAULT_BACKENDS_INIT();

    nrfx_spim_xfer_desc_t xfer_desc = NRFX_SPIM_XFER_TRX(m_tx_buf, m_length, m_rx_buf, m_length);

    nrfx_spim_config_t spi_config = NRFX_SPIM_DEFAULT_CONFIG;
    spi_config.frequency      = NRF_SPIM_FREQ_1M;
    spi_config.ss_pin         = NRFX_SPIM_SS_PIN;
    spi_config.miso_pin       = NRFX_SPIM_MISO_PIN;
    spi_config.mosi_pin       = NRFX_SPIM_MOSI_PIN;
    spi_config.sck_pin        = NRFX_SPIM_SCK_PIN;
    spi_config.dcx_pin        = NRFX_SPIM_DCX_PIN;
    spi_config.use_hw_ss      = true;
    spi_config.ss_active_high = false;
    APP_ERROR_CHECK(nrfx_spim_init(&amp;amp;spi, &amp;amp;spi_config, spim_event_handler, NULL));

    NRF_LOG_INFO(&amp;quot;NRFX SPIM example started.&amp;quot;);

    while (1)
    {
        // Reset rx buffer and transfer done flag
        memset(m_rx_buf, 0, m_length);
        spi_xfer_done = 0;//false;

        APP_ERROR_CHECK(nrfx_spim_xfer_dcx(&amp;amp;spi, &amp;amp;xfer_desc, 0, 15));

        while (!spi_xfer_done)
        {
printf(&amp;quot;Failed!\n&amp;quot;);
            __WFE();
        }

        NRF_LOG_FLUSH();

//        bsp_board_led_invert(BSP_BOARD_LED_0);
        nrf_delay_ms(200);
    }
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Thank you for sharing that idea, I hope that we can keep moving with this problem.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Nihsrob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI peripherial with no output</title><link>https://devzone.nordicsemi.com/thread/246269?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 12:52:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64ad2e7d-69ab-47c1-acde-d4ac65344c05</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;A common problem with the modules is that they don&amp;#39;t include the optional LF crystal that our SDK examples run by default. Please try adding the following defines to your sdk_config.h file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;/e&amp;gt;

// &amp;lt;e&amp;gt; NRF_CLOCK_ENABLED - nrf_drv_clock - CLOCK peripheral driver - legacy layer
//==========================================================
#ifndef NRF_CLOCK_ENABLED
#define NRF_CLOCK_ENABLED 1
#endif
// &amp;lt;o&amp;gt; CLOCK_CONFIG_LF_SRC  - LF Clock Source
 
// &amp;lt;0=&amp;gt; RC 
// &amp;lt;1=&amp;gt; XTAL 
// &amp;lt;2=&amp;gt; Synth 
// &amp;lt;131073=&amp;gt; External Low Swing 
// &amp;lt;196609=&amp;gt; External Full Swing 

#ifndef CLOCK_CONFIG_LF_SRC
#define CLOCK_CONFIG_LF_SRC 0
#endif

// &amp;lt;q&amp;gt; CLOCK_CONFIG_LF_CAL_ENABLED  - Calibration enable for LF Clock Source
 

#ifndef CLOCK_CONFIG_LF_CAL_ENABLED
#define CLOCK_CONFIG_LF_CAL_ENABLED 1
#endif

// &amp;lt;o&amp;gt; CLOCK_CONFIG_IRQ_PRIORITY  - Interrupt priority
 

// &amp;lt;i&amp;gt; Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
// &amp;lt;0=&amp;gt; 0 (highest) 
// &amp;lt;1=&amp;gt; 1 
// &amp;lt;2=&amp;gt; 2 
// &amp;lt;3=&amp;gt; 3 
// &amp;lt;4=&amp;gt; 4 
// &amp;lt;5=&amp;gt; 5 
// &amp;lt;6=&amp;gt; 6 
// &amp;lt;7=&amp;gt; 7 

#ifndef CLOCK_CONFIG_IRQ_PRIORITY
#define CLOCK_CONFIG_IRQ_PRIORITY 6
#endif

//==========================================================
// &amp;lt;e&amp;gt; NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver
//==========================================================
#ifndef NRFX_CLOCK_ENABLED
#define NRFX_CLOCK_ENABLED 1
#endif
// &amp;lt;o&amp;gt; NRFX_CLOCK_CONFIG_LF_SRC  - LF Clock Source
 
// &amp;lt;0=&amp;gt; RC 
// &amp;lt;1=&amp;gt; XTAL 
// &amp;lt;2=&amp;gt; Synth 
// &amp;lt;131073=&amp;gt; External Low Swing 
// &amp;lt;196609=&amp;gt; External Full Swing 

#ifndef NRFX_CLOCK_CONFIG_LF_SRC
#define NRFX_CLOCK_CONFIG_LF_SRC 0
#endif

// &amp;lt;o&amp;gt; NRFX_CLOCK_CONFIG_IRQ_PRIORITY  - Interrupt priority
 
// &amp;lt;0=&amp;gt; 0 (highest) 
// &amp;lt;1=&amp;gt; 1 
// &amp;lt;2=&amp;gt; 2 
// &amp;lt;3=&amp;gt; 3 
// &amp;lt;4=&amp;gt; 4 
// &amp;lt;5=&amp;gt; 5 
// &amp;lt;6=&amp;gt; 6 
// &amp;lt;7=&amp;gt; 7 

#ifndef NRFX_CLOCK_CONFIG_IRQ_PRIORITY
#define NRFX_CLOCK_CONFIG_IRQ_PRIORITY 6
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;SImon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>