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

Problem in using both clock source (High frequency and low frequency).

Hello ,

I am having nrf52832 custom board. 

In my project i need to use both CLOCK source ( Low frequency clock and High frequency clock source ).

Timer running on high frequency but when i call below function then it's reflect fatal error. 

so, their is any problem if i use both clock source in application?

static void lfclk_config(void)

{
ret_code_t err_code = nrf_drv_clock_init();
APP_ERROR_CHECK(err_code);

nrf_drv_clock_lfclk_request(NULL);
}

Thank you,

vivek machchhar

Parents
  • Hello Vivek Machchhar,

    Timer running on high frequency but when i call below function then it's reflect fatal error. 

    Could you verify that you have DEBUG defined in your preprocessor defines?
    It should look like the included image:

    Having DEBUG defined will provide a more complete error message, and which function that caused it.
    Please run the program again with this defined, and let me know which error was generated and from what function it was returned.

    Best regards,
    Karl

Reply
  • Hello Vivek Machchhar,

    Timer running on high frequency but when i call below function then it's reflect fatal error. 

    Could you verify that you have DEBUG defined in your preprocessor defines?
    It should look like the included image:

    Having DEBUG defined will provide a more complete error message, and which function that caused it.
    Please run the program again with this defined, and let me know which error was generated and from what function it was returned.

    Best regards,
    Karl

Children
Related