Part Number: CC2642R
Other Parts Discussed in Thread: SYSCONFIG
Hi,
I'm trying to integrate BLE functionality into a TI-RTOS preexisting application. The preexisting application had about 2-3 detached POSIX threads that ran without joining. I added the application files from the simple_peripheral TI-RTOS project to the preexisting project. I then commented out the run of the other threads and only constructed the simple_peripheral task in the main file and I was able to correctly run the simple_peripheral task. However, when I run all threads and tasks at the same time the simple_peripheral task will run (I can tell it is doing so with console output) but the device will no longer be discoverable on any bluetooth scanner.
I'm assuming that there is some sort of resource conflict between the simple_peripheral task (or the ICall remote tasks created to interact with the ble stack) and the preexisting threads. I've been trying to diagnose which threads may be causing the issue with the ROV but am still unable to see what is going wrong.
I've also tried to run the threads concurrently using Semaphore_post and Semaphore_pend between the tasks and threads but the same problem persists.
In this circumstance how can I run tasks in conjunction with threads without having them conflict?
What tools are available in CCS to diagnose resource conflicts and how can I use them?
Thanks in advance for the help!


