This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Place nRF52840-QIAA-D0 in custom board

Hi,

We have developed a custom board. We can upload code using nrf52840 sdk-ble stack. We can read NRF_LOGS. However when we test with the ble_app_blinky that works fine with the dev kit, it doesn't do anything in our custom board. We have placed NRF_LOGS in all the functions and we read all the messages. So the code is not blocked in any part. But in the nordic app we can not see the advertising of our custom board.  

We think that we probably did some obvious error but don't know where.

The pdf has our schematic

Series-8-main.pdf

Parents
  • Hi,

     

    I would recommend that you start by checking your clock sources, mainly the HF and LF clk.

    You can start them manually like this:

    NRF_CLOCK->TASKS_HFCLKSTART=1;
    while(NRF_CLOCK->EVENTS_HFCLKSTARTED == 0);
    
    /* Use external LF CLK */
    NRF_CLOCK->LFCLKSRC = 1;
    
    NRF_CLOCK->TASKS_LFCLKSTART=1;
    while(NRF_CLOCK->EVENTS_LFCLKSTARTED == 0);

     

    If you hang in one of the above while-loops, it indicates issues starting up the respective clock. You should then check the soldering and see if there's anything out-of-the-ordinary.

     

    Kind regards,

    Håkon

Reply
  • Hi,

     

    I would recommend that you start by checking your clock sources, mainly the HF and LF clk.

    You can start them manually like this:

    NRF_CLOCK->TASKS_HFCLKSTART=1;
    while(NRF_CLOCK->EVENTS_HFCLKSTARTED == 0);
    
    /* Use external LF CLK */
    NRF_CLOCK->LFCLKSRC = 1;
    
    NRF_CLOCK->TASKS_LFCLKSTART=1;
    while(NRF_CLOCK->EVENTS_LFCLKSTARTED == 0);

     

    If you hang in one of the above while-loops, it indicates issues starting up the respective clock. You should then check the soldering and see if there's anything out-of-the-ordinary.

     

    Kind regards,

    Håkon

Children
Related