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

PCA63519-SR3_nRF52832_Shield demo can't run in my board

I configured the pca63519-sr3_nrf52832_shield to fit on my board (actually disabled all peripherals, only the bluetooth protocol part), but found that the modified code could run on nrf52-dk, but could not run on my board, via RTT hint "[00000000] <error> app_error: error 3 [NRF_ERROR_INTERNAL] at..\..\..\ Source \ Modules \ m_init. C: 163"

How did this problem arise and how can it be solved?

my modified config file:sdk_config.h , sr3_config_nrf52832_pca63519.h

my hardware sch:SCHEMATIC.pdf

my rtt output log:rtt_output.txt

Parents
  • Hi,

    There is a lot of internal functions that is run inside m_coms_init(), which is called on line 163 in m_init.c. One initial observation is that your board does not seem to populate the 32.768 kHz low-frequency crystal. To use the softdevice without this crystal, it is necessary to configure the clock source to use the internal RC oscillator. See this post for details on how to change configuration.

    If this does not help, please try setting breakpoints inside m_coms_init() to see how far it gets before returning the error, to determine which function is failing.

    Best regards,
    Jørgen

  • thanks for reply!

    1. Ble_app_blinky demo can be run perfectly in my board by modifying NRF_SDH_CLOCK_LF_SRC= NRF_CLOCK_LF_SRC_RC in SDk_config.h  and  Modify the appropriate IO port.

    2.I tried to debug the problem, the program can run to m_coms_ble_init() in m_coms_init(), and return is success

    i continue run in step mode, it return to m_init(), i continue run in step mode, then the error occur

Reply Children
No Data
Related