NRF54L15 Zephyr Blinky Sample did not start at Power on

Hi

The Blinky Programm only starts when I give the reset Go command via jlink commander.

At Power cycle nothing happens.

If i give the SOC an external Pin reset the running programm stops but never starts

Parents
  • Hello,

    Sorry for the late reply (had to stay at home with the kids after being assigned your ticket). 

    So it only runs if you start it manually using JLink commander, right?

    What HW are you running on? I suspect it is not an nRF54L15 DK, but a custom board, or a 3rd party kit?

    If it only runs when started by JLink, I suspect it is a clock "issue". That is usually the case when something only runs in a debug session, but not when run normally. The cause is usually that the LFCLOCK (32kHz) is not properly configured. Since the LFCLK XTALis optional, some 3rd party or custom boards don't have them, but most of the samples assume that it is present. 

    If that is the case, try adding this line to your prj.conf:

    CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y

    And see if it makes any difference. This will tell the application to use the internal RC oscillator instead of an external XTAL for the 32kHz clock source. Please let me know if it works or not.

    Best regards,

    Edvin

Reply
  • Hello,

    Sorry for the late reply (had to stay at home with the kids after being assigned your ticket). 

    So it only runs if you start it manually using JLink commander, right?

    What HW are you running on? I suspect it is not an nRF54L15 DK, but a custom board, or a 3rd party kit?

    If it only runs when started by JLink, I suspect it is a clock "issue". That is usually the case when something only runs in a debug session, but not when run normally. The cause is usually that the LFCLOCK (32kHz) is not properly configured. Since the LFCLK XTALis optional, some 3rd party or custom boards don't have them, but most of the samples assume that it is present. 

    If that is the case, try adding this line to your prj.conf:

    CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y

    And see if it makes any difference. This will tell the application to use the internal RC oscillator instead of an external XTAL for the 32kHz clock source. Please let me know if it works or not.

    Best regards,

    Edvin

Children
Related