

Hello,
Please make sure to have DEBUG defined in your preprocessor defines, like shown in the included image:
This will make your logger output a detailed error message whenever a non-NRF_SUCCESS error is passed to an APP_ERROR_CHECK.
Do this, and check the returned error code against the returning function's API Reference to see how you may rectify it.
Best regards,
Karl
same settings i have done
What does your logger output in this case?
Could you confirm that you have made this configuration in the common configuration?
Best regards,
Karl
APP_TIMER_V2
APP_TIMER_V2_RTC1_ENABLED
BOARD_PCA10056
CONFIG_GPIO_AS_PINRESET
FLOAT_ABI_HARD
INITIALIZE_USER_SECTIONS
NO_VTOR_CONFIG
NRF52840_XXAA
yes done in common configuration only
I do not see your DEBUG define present in this list.
Please make sure to add it, and run the program again.
I do not see your DEBUG define present in this list.
Please make sure to add it, and run the program again.
OK but in any of the example clock was not initialised why?
How do i enable 64Mhz clock for all the pheripherals?
what was the maximum frequency i can set for pheripherals in nrf52840 DK , they have used external clock of 12Mhz?
venkatesha kj said:OK but in any of the example clock was not initialised why?
Please elaborate. What clock, and what examples? None of the provided examples are missing anything in their configuration that I have ever heard of.
venkatesha kj said:How do i enable 64Mhz clock for all the pheripherals?
venkatesha kj said:what was the maximum frequency i can set for pheripherals in nrf52840 DK , they have used external clock of 12Mhz?
Please be more specific.
Which peripheral are you referring to?
The peripherals will use the frequency and source that they are configured to use in the sdk_config.h file.
Best regards,
Karl
i want to configure clock for the GPIO how do i do that?