Other Parts Discussed in Thread: CC2540, BOOSTXL-SHARP128
Tool/software: TI-RTOS
Hi all!
I have a CC2650 LaunchPad with multi_role project and a BOOSTXL-SHARP128 boosterpack for display that connects to one to four devices using CC2540 with simpleBLEcentral projects. The CC2540 devices can mostly connect to the CC2650 without problems, but sometimes they get stuck in a loop connecting and disconnecting forever, and the only solution is to reflash the CC2540 device. The same problem never occurs when connecting two CC2540 together. Does anyone have any idea what might cause this?
Another problem is that when one or more devices succesfully connects, the CC2650 drops all connections and stops advertising after around 10 minutes (time varies a bit). Trying to manually start advertising again through the menu does nothing. It says it is advertising, but can not be found by any device nearby, the only workaround is by pressing the physical reset button. It would be ok to have a software reset somewhere in the code. I tried to use HAL_SYSTEM_RESET() , but I don't think I implemented it correctly as the CC2650 never resets itself and CCS gives warning that the function is definited implcitly.
A lot of people seem to have struggled with similar problems before, some examples:
Regards
Sebastian