ANT on PCA10056 and custom board ?

Dear Members,

I want to run ANT+ code in my custom board,

It works well on PCA10056, I can upload softdevice and the code to custom board board,

but I didn't get any responses,

I have tried with code without softdevice, the custom board works well

Any ideas ?

Thanks

  • Debug and breakpoint screen shot :

    Any clues ?

    LFCLK Not Running

  • The program will not return from nrf_sdh_enable_request() unless the crystal oscillator has started, and you said earlier it did return. So it should not be an issue with the crystal not starting up. However, if you still suspect the 32KHz crystal to be the culprit, then you try to select the NRF_CLOCK_LF_SRC_SYNTH  source.

    Can you print out the return value from nrf_sdh_enable_request()?

  • Can you print out the return value from nrf_sdh_enable_request()?

    No I can not get the printout :

      ret_code_t err_code = nrf_sdh_enable_request();
          APP_ERROR_CHECK(err_code);

    it stopped at

      CRITICAL_REGION_ENTER();
             NRF_LOG_INFO("CRITICAL_REGION_ENTER\r\n");

    Have you seen my screen shot ?

    LFCLKSTAT = 0

    I have tried

     NRF_CLOCK_LF_SRC_SYNTH  source,

    it's not responding as well...

    What could have been wrong ?

    Thanks

  • Can you print out the return value from nrf_sdh_enable_request()?

    No I can not get the printout :

      ret_code_t err_code = nrf_sdh_enable_request();
          APP_ERROR_CHECK(err_code);

    it stopped at

      CRITICAL_REGION_ENTER();
             NRF_LOG_INFO("CRITICAL_REGION_ENTER\r\n");

    Have you seen my screen shot ?

    LFCLKSTAT = 0

    I have tried

     NRF_CLOCK_LF_SRC_SYNTH  source,

    it's not responding as well...

    What could have been wrong ?

    Thanks

  • The log :



    nfo> app: log_init.
                                                             

                                                                                  

    nfo> app_timer: RTC: initialized.
                                                


    fo> app: Rixtronix LAB. SP_BUTTON_ACTION_PUSH
                                   

                                                                                  


    fo> app: Rixtronix LAB. SP_BUTTON_ACTION_PUSH
                                   

                                                                                  


    fo> app: Rixtronix LAB. SP_BUTTON_ACTION_PUSH
                                   

                                                                                  


    fo> app: Rixtronix LAB. SP_BUTTON_ACTION_PUSH
                                   

                                                                                  


    fo> app: utils_setup
                                                            

                                                                                  


    fo> app: softdevice_setup main
                                                  

                                                                                  


    fo> nrf_sdh: nrf_sdh_enable_request
                                             

                                                                                  


    fo> nrf_sdh: CRITICAL_REGION_ENTER
     

Related