System description:
BLE-Master (CC2541 + BLE Stack 1.4.0) can be connected with 3 Slave (CC2541 + BLE Stack 1.4.0)
BLE-Master communicates with a R-µC (mounted on the same pcb) via SPI (R-µC is SPI-Master)
Starting situation:
BLE-Master (CC2541 + BLE Stack 1.4.0) is linked with one Slave (CC2541 + BLE Stack 1.4.0)
BLE-Master is in Scan-Mode
Error Scenario:
1. Aborting of the connection is provoked.
2. Undefined behaviour on the SPI-MISO-Line (MISO toggles without SCLK signal)
3. BLE-Master sends on SPI "Connection Lost"
4. R-µC confirms "Connection Lost" with "Ack"
5. Furthermore undefined behaviour on the MISO-Line
6. R-µC sends on SPI "Reconnect" command
7. BLE-Master sends no answer on SPI
8. During the following seconds BLE-Master sends only cyclic "Scan-Active" on SPI
Remarks:
The problem only occurs when the BLE-.Master is in the "Scan-Mode" when the connection is broken.
If the BLE master is not in "Scan-Mode" when the connection is broken, then the Reconnect course works perfectly.
