MPSL thread being blocked due to application threads

Hi,

With reference to the below image:

As you can see I have 2 UART threads running on priorities 14, at baud 115200, which are I believe blocking the MPSL signal thread, due to which my BLE Mesh models are responding to OPCODES with a delay of 9 mins & at time getting stuck without progressing. Further I also observed BT APIs reaching maximum retries.

I need your help with 2 things:

1. How can I get this to work whilst retaining my application & UART threads..?

2. How can I probe the CPU utilization further to find out what is happening or what is the issue leading to MPSL thread being blocked..?

Thanks,

Ubaid

Parents Reply
  • Hi,

    Ubaid_M said:
    I was able to work put some issues and now all threads are being scheduled.

    Great!

    Ubaid_M said:
    However, some thread are getting junk prints for CPU utilization as in below:

    That is strange. Are you using CONFIG_THREAD_ANALYZER_USE_LOG or CONFIG_THREAD_ANALYZER_USE_PRINTK ?

    Try setting

    CONFIG_THREAD_ANALYZER_USE_LOG=y

    CONFIG_THREAD_ANALYZER_USE_PRINTK=n

Children
No Data
Related