nrf connect sd

Hello there,

I am using nrf connect sdk using vs code.

Toolchain: v2.7.0
SDK: v2.7.0

I have custom hardware board based on nrf52811 SoC.

I have completed a firmware based project for this board but used nrf5-sdk v17.1.0.

Now i want to port it to nrf connect sdk.

So i thought of going through blinky example.

this example is working on my nrf52840-dk and also able to see logs to my terminal.

Now to use this same example on  my custom board, i have prepared an overlay file like below:

/ {

};

&led0 {
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};

&uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 21)>;
};
};

&uart0_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 21)>;
low-power-enable;
};
};
&uicr {
/delete-property/ gpio-as-nreset;
};

I do not want to use 21 as reset pin here.

I have also added this file in build system.


now main problem:
this example is not working on this custom board.

for more info this is my prj.conf file:

I do not want to use 21 as reset pin here.

Now i am pretty sure that i am able to flash the binary for this blinky example + there isn't fault with my hardware as well
as previous made nrf5-sdk baed project is still working.

I can not move forward until this gets solved.

this overlay file, device tree is something new for me.

Help is required.
Parents Reply
  • This is made to emulate the nRF52811 on the nRF52840 DK:

    This means you will actually be building for the nRF52840 SoC, which can lead to some unexpected behavior if you load the FW to a native nRF52811 target. That said, I would still expect basic examples such as blinky and hello world to work just fine. Does your board include the optional 32 KHz crystal like the DK does? If not, you need to select the internal RC oscillator as the LF clock source through Kconfig. You can do this by adding the following line to your project configuration file (prj.conf):

    CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y

    Also, to disable the reset pin, you can include the following in your devictree overlay:

    &uicr {
        // Disable pinreset
        /delete-property/ gpio-as-nreset;
    };
    

Children
Related