Part Number: CC1352R
Hi,
So far I've been successfully using the BLE 2.40 SDK. However, from anaylysis in different e2e thread it seems that TRNG driver used there takes too much current for my application and using the CC13X2 TRNG driver implementation crashes after one use. Basing on this I've decided to migrate my project to 3.10 SDK. Everything seems fine until I try to start the Bluetooth Coded Advertising from one task (from another one starting and stopping both 1M and LE Coded advertising works so it's ICALL registration issue). The stack aborts in ICALL thread on osal_alien2proxy function. My best guess is that it could not find the task handle. Unfortunately I'm not sure as the libary is just linked to the project, moreover it is optimized and has no debug symbols so I cannot see what is going on. Unfortunately, I have no Idea also where I can force to link the SDK in debug version.
What is strange, in the project .opt file I've changed the:
-DICALL_MAX_NUM_ENTITIES=10
-DICALL_MAX_NUM_TASKS=8
However, if my guess is correct, the OSAL_MAX_NUM_PROXY_TASKS is set to 2, and that is why project aborts. Do you have any guidelines how to fix this?
In my code, every task using ble SDK calls ICall_registerApp>
PS. I remember I had the same issue in the 2.40 SDK, however I've managed to fix it by just changing the
#define OSAL_MAX_NUM_PROXY_TASKS 2
to
#define OSAL_MAX_NUM_PROXY_TASKS 3
In the SDK 3.10 the osal.c is in the library so I cannot change its value.
Please help, my deadline is this wednesday.
Best regards,
Konrad