Part Number: CC2640R2F
Other Parts Discussed in Thread: CC1350
Tool/software:
Hi team,
I am using the BLE Simple Observer Example code along with this, I added the 3 tasks for IPC, UART Rx, and UART Tx (Priority 1). Here, I am facing an issue that while I am executing the code, the BLE Observer starts to scan but it doesn't complete the scanning after the scanning duration (5 seconds) has elapsed. But the IPC and UART tasks are working fine. If I disable the UART-related APIs then the BLE is working fine. I need both BLE and UART to work simultaneously. Please assist me in resolving this. Here I attached the main function snippet,
int main()
{
/* Register Application callback to trap asserts raised in the Stack */
RegisterAssertCback(AssertHandler);
PIN_init(BoardGpioInitTable);
#ifdef CC1350_LAUNCHXL
// Enable 2.4GHz Radio
radCtrlHandle = PIN_open(&radCtrlState, radCtrlCfg);
#endif //CC1350_LAUNCHXL
#ifndef POWER_SAVING
/* Set constraints for Standby, powerdown and idle mode */
Power_setConstraint(PowerCC26XX_SB_DISALLOW);
Power_setConstraint(PowerCC26XX_IDLE_PD_DISALLOW);
#endif //POWER_SAVING
#ifdef ICALL_JT
user0Cfg.appServiceInfo->timerTickPeriod = Clock_tickPeriod;
user0Cfg.appServiceInfo->timerMaxMillisecond = ICall_getMaxMSecs();
#endif /* ICALL_JT */
/* Initialize ICall module */
ICall_init();
CircularBuffer_Init();
IPC_Buffer_Init ();
UART_Drv_Init();
/* Start tasks of external images - Priority 5 */
ICall_createRemoteTasks();
/* Kick off profile - Priority 3 */
GAPObserverRole_createTask();
/* Kick off application - Priority 1 */
SimpleObserver_createTask();
UART_Task_CreateFnx ();
IPC_Task_CreateFnx ();
/* enable interrupts and start SYS/BIOS */
BIOS_start();
return 0
}
Thanks,
Santhosh.




