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

nrf52810 custom board

image description![image description] hi,

I can able to flash but when i try to debug by putting breakpoints its not coming out of this APP_ERROR_CHECK(err_code) function, attached is the screenshot for the same.

Thanks in advance pavan

(/attachment/53ae4f7b9bc6d98850e47c9c96522853) still its not working i am using below SDK with below path.E:\Nordic\Epigon_latest_code\nRF5_SDK_14.2.0_17b948a\nRF5_SDK_14.2.0_17b948a\examples\ble_peripheral\ble_app_uart\pca10040e ..

Attched the gerber details . please suggest if any changes required. Thanks in advance pktron

Hello,

I have designed custom board using nrf52810 but i am unable detect the device in mobile nothing is broadcasting , my setup as below

  1. Custom board have only 32MZ crystal . we are using internal oscillator and my code changes for internal clock is as below

//#define NRF_CLOCK_LFCLKSRC {.source = NRF_CLOCK_LF_SRC_RC ,
// .rc_ctiv = 32,
// .rc_temp_ctiv = 2,
// .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}

please let me know if any changes required?

  1. First I am erasing the board completely.

  2. flashed the softdevice from this path nRF5_SDK_14.2.0_17b948a\nRF5_SDK_14.2.0_17b948a\components\softdevice\s112\hex

  3. then flashed the apllication code from this path nRF5_SDK_14.2.0_17b948a\nRF5_SDK_14.2.0_17b948a\examples\ble_peripheral\ble_app_uart\pca10040e\s112\arm5_no_packs

when i run the code nothing is advertising in my mobile . please find the attached schematic of my custom for your reference NORDIC BLUETOOTH DESIGN.pdf

thanks pktron

Parents
  • Make sure that you have removed the DEVELOP_IN_NRF52832 define from the Preprocessor Symbols as this will enable nRF52832 workarounds that are not compatible with the nRF52810.

    Also, the rc_ctiv value should be 16 and not 32, i.e.

    #define NRF_CLOCK_LFCLKSRC {.source = NRF_CLOCK_LF_SRC_RC,
    .rc_ctiv = 16,
    .rc_temp_ctiv = 2,
    .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}

  • Hello,

    I have a custom board with 32 MHz crystal. My program(Just to ON the 2 LEDs) is flashed with no error and I am sure of that referring to this answer by tesc, hex file is FFFFFF.....

    But program is not working(LEDs are not glowing). LEDs are ok and pin defined in program is also right. So, It may be the error of clock/crystal.

    I am not getting this whole #define NRF_CLOCK_LFCLKSRC thing and its structure. Can you explain it?

    So, what should I write in #define?

Reply
  • Hello,

    I have a custom board with 32 MHz crystal. My program(Just to ON the 2 LEDs) is flashed with no error and I am sure of that referring to this answer by tesc, hex file is FFFFFF.....

    But program is not working(LEDs are not glowing). LEDs are ok and pin defined in program is also right. So, It may be the error of clock/crystal.

    I am not getting this whole #define NRF_CLOCK_LFCLKSRC thing and its structure. Can you explain it?

    So, what should I write in #define?

Children
No Data
Related