Clock init stuck at sys_notify_fetch_result

Hi everyone, 

I trying the DTM example and run with debug, I found the software stuck at dtm clock initial. what is the problem , and how can I fixed it , thanks. 

int main(void)
{
    int err;
    union dtm_tr_packet cmd;

    printk("Starting Direct Test Mode example\n");

    k_sleep(K_SECONDS(3));

    // err = bt_enable(NULL);
    err = bt_disable();
    printk("bt_disable , %d\n", err);

    // irq_disable(RADIO_IRQn );
   

    // printk("mpsl_is_initialized = %d\n",mpsl_is_initialized());
    printk("mpsl_lib_uninit , %d\n", mpsl_lib_uninit());

    // printk("mpsl_lib_init , %d\n", mpsl_lib_init());

   
    // mpsl_lib_init();
    err = dtm_tr_init();

    if (err) {
        printk("Error initializing DTM transport: %d\n", err);
        return err;
    }
}
Parents
  • Hi,

    Please make sure that all necessary initialization steps are being performed in the correct order. Also, it would be great if you also check the error codes of any other functions that return them which can can give you clues about what's going wrong.

    Which SDK version are you trying with? And wat device are you working with?

    Regards,

    Priyanka

Reply
  • Hi,

    Please make sure that all necessary initialization steps are being performed in the correct order. Also, it would be great if you also check the error codes of any other functions that return them which can can give you clues about what's going wrong.

    Which SDK version are you trying with? And wat device are you working with?

    Regards,

    Priyanka

Children
No Data
Related