This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC2640R2F: Stalling in ICall_leaveCSImpl function

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2540

Tool/software: TI-RTOS

Hello,

   

    I am trying to run PDMCC26XX drivers and receive the sound data.

    In my scenario there are two additional tasks and other tasks are native to code(Gaprole task, simple peripheral task, PDMCC26XX task etc.).

    One of the my tasks handles microphone, sound data and sending sound data over BLE. Other one handles sensors and sending data of these sensors over BLE. 

    If I try to send sound data over BLE to a mobile application, after sending a bunch of packets, execution stops. As I checked, execution stalls in "ICall_leaveCSImpl" function.

    In another case, If try to send data to TI packet sniffer(TI CC2540 CDC), there will be no problem.

    What is your comment on this?

Regards.

Oytun

  • Hello Oytun,

    It's hard to say what is going on. If the tasks were working up until a certain point, this would probably indicate a memory leak or task stack overflow somewhere that is corrupting memory. Since you are adding tasks, make sure that you have adequate memory for worst case operation.

    Best wishes