Hi, everyone
Our team are developing products with BLE functions base on CC2541. Recently, we are obstructed by a problem about bluetooth advertising.
The problem appears as the board, previously mentioned product, do advertising at first, but after a piece of time it get into not advertising. This problem can only be recovered by restart the system, for example, power on again.
Through the recent endeavor, we achieve the following conclusion about the problem.
1) problem is caused by firmware, while not hardware bugs
2) if an period routine is added, the problem can be triggered. A longer routine is easy to trigger the problem.
3) the problem often happen when advertising and event processing come in the same time
the red indication points to a period advertising in 800ms
the green indication points to the time when the advertising disappeared, and this is the problem
the yellow indication points to the start and stop of a period routine of 1000ms
we can see that problem happens in the routine process
The red indication points to the time system seems back into normal, which the core sleep and active to run again and again, but the advertising never recover.
After problem happens the core didn't go to power saving, and after about 32 seconds, the power saving is set on again. this is also a suspicious point.
It's a critical time of our project, hope someone having the same problem can give some advises on it.
Thanks a lot!
William