Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2650
Tool/software: TI-RTOS
Dear TI support,
I am working on a project based off of simpler_peripheral_observer using SDK 1.50.0.58 and am running into some troubles. My application is sending non-connectable advertisements and scanning for other devices continuously. This seems to work pretty well, except for the fact that sometimes I get an HCI_BLE_HARDWARE_ERROR_EVENT_CODE stack assert, which I am for now ignoring as it is being handled in a separate post.
What worries me more is that I sometimes get an exception in my application which seems to happen inside the RFCC26XX_singleMode function. I have attached the exception call stack:
It seems to be a timing issue in the RF driver, as my stack and heap aren't broken, I have HEAP_METRICS enabled and have included the task callstack:
The only thing that stands out is that my application has just called GAP_endDiscoverable(), but I am not sure if this triggers the exception as I do a lot of end_discoverable in my application. Is there any clue as to why this is happening? Is the stack unable to cope with a lot of GAP_ calls while scanning at the same time?
Thank you for your answer.
Best regards,
Mattia Fiumara
