Hello,
We use a CC2564MODN on our new product. This product has to constantly scan in BT classic and BLE to detect when paired devices are powered on, in order to establish connections as soon as possible.
To acheive that we perform in loop an inquiry mode for 5 seconds followed by a LE scan for 5 seconds. Interval and window are set to 11.25ms.
In the long run, the CC2564MODN does not seem to support this high rate scan. All our boards end up to lost permanently their HCI communication randomly in a time window of 8 to 36 hours.
When this happens, the host cannot communicate with the module as the module does not reply to HCI commands anymore. At the same moment, the module TX-debug printouts many errors:
5921416 2 03/28/18 02:32:49.202 +33:36:20.297 BT Logger 1 HCILL send command: HCILL_GOTO_SLEEP_IND_MSG
5921417 2 03/28/18 02:32:49.202 +33:36:20.297 BT Logger 1 HCILL state machine is: WAITING FOR SLEEP ACK
5921418 2 03/28/18 02:32:49.202 +33:36:20.297 BT Logger 1 HCILL received command: HCILL_GOTO_SLEEP_ACK_MSG
5921419 2 03/28/18 02:32:49.202 +33:36:20.297 BT Logger 1 HCILL state machine is: SLEEP
5921420 7 03/28/18 02:32:49.330 +33:36:20.425 BT Logger 1 SCAN got invalid packet, type 15, length 44, AC 4, bits 28
5921421 7 03/28/18 02:32:49.378 +33:36:20.473 BT Logger 1 SCAN got invalid packet, type 9, length 25, AC 4, bits 27
5921422 3 03/28/18 02:32:49.474 +33:36:20.569 BT Logger 1 lm_lc_start_inquiry_scan
5921423 2 03/28/18 02:32:49.474 +33:36:20.569 BT Logger 1 LC_PICONIZER - allocated network clock 1
5921424 5 03/28/18 02:32:49.474 +33:36:20.569 BT Logger 1 synch event REG received, module INQUIRY SCAN, msi 1
5921425 5 03/28/18 02:32:49.474 +33:36:20.569 BT Logger 1 synch cmd abort instance, module WB_SCAN_MODULE_ID, msi: 1
5921426 5 03/28/18 02:32:49.474 +33:36:20.569 BT Logger 1 synch cmd return event ABORT_FINISH_SUSPENDED,module WB_SCAN_MODULE_ID
5921427 5 03/28/18 02:32:49.474 +33:36:20.569 BT Logger 1 synch cmd start instance, module INQUIRY SCAN, msi: 1
5921428 2 03/28/18 02:32:49.474 +33:36:20.569 BT Logger 1 LC Inquiry Scan - Start, LAP=0x9e8b33, Window=9 frames
5921429 5 03/28/18 02:32:49.474 +33:36:20.569 BT Logger 1 synch cmd return event STARTED,module INQUIRY SCAN
5921430 5 03/28/18 02:32:49.490 +33:36:20.585 BT Logger 1 synch event FINISH received, module INQUIRY SCAN, msi 1
5921431 5 03/28/18 02:32:49.490 +33:36:20.585 BT Logger 1 synch cmd start instance, module WB_SCAN_MODULE_ID, msi: 1
5921432 5 03/28/18 02:32:49.490 +33:36:20.585 BT Logger 1 synch cmd return event STARTED,module WB_SCAN_MODULE_ID
5921433 7 03/28/18 02:32:49.586 +33:36:20.681 BT Logger 1 SCAN got invalid packet, type 9, length 50, AC 1, bits 28
5921434 3 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 lm_lc_start_page_scan
5921435 2 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 LC_PICONIZER - allocated network clock 1
5921436 5 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 synch event REG received, module PAGE SCAN, msi 1
5921437 5 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 synch cmd abort instance, module WB_SCAN_MODULE_ID, msi: 1
5921438 5 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 synch cmd return event ABORT_FINISH_SUSPENDED,module WB_SCAN_MODULE_ID
5921439 5 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 synch cmd start instance, module PAGE SCAN, msi: 1
5921440 2 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 Page Scan start, Window = 9 frames
5921441 5 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 synch cmd return event STARTED,module PAGE SCAN
5921442 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 BLE Test: Transmitted/Bad CRC 0x%x-%x packets
5921443 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 Trace #3784
5921444 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 Trace #6276 : 452 989 0 52939 64815556 3469410304 3095903451 2147487232 5207748 7 7 0 825375029 3552308 3097214167 2147487488 5207748 7 7 0 825375029 3683380 3097476307 2281705472 ( 0x1C4 0x3DD 0x00 0xCECB 0x3DD01C4 0xCECB0000 0xB887BCDB 0x80000E00 0x4F76C4 0x07 0x07 0x00 0x31323935 0x363434 0xB89BBCD7 0x80000F00 0x4F76C4 0x07 0x07 0x00 0x31323935 0x383434 0xB89FBCD3 0x88001000 )
5921445 1 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 ERROR: Data Abort !!!, Link Register: 0x48350
5921446 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 Wibree Test Message
5921447 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 Wibree Test Message
5921448 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 ASSERT: IPC_SEND_FAIL (%1)(%d)
5921449 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 scan_activity_scan_setup_initializations
5921450 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 SCAN got invalid packet, type 9, length 50, AC 1, bits 28
5921451 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 mini_synchronizer_register: ABORT!! current_time: btclk 52928, pt 511. End Time: btclk 52919, pt 1159
5921452 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 mini_synchronizer_register: ABORT!! current_time: btclk 52928, pt 528. End Time: btclk 52919, pt 1159
5921453 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 mini_synchronizer_register: ABORT!! current_time: btclk 52928, pt 545. End Time: btclk 52919, pt 1159
5921454 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 mini_synchronizer_register: ABORT!! current_time: btclk 52928, pt 561. End Time: btclk 52919, pt 1159
5921455 1 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 ERROR: Data Abort !!!, Link Register: 0xe10f0004
Here is one of our lgr files: 2541.6833-debug-171-v10-nowa-TI-failure.zip
Here are the setup details:
- module CC2564MODN,
- host iMX 283, Linux kernel 4.8.6
- UART set to br 3000000
- BTS file is TIInit_6.7.16.zip (manual merge from initscripts-TIInit_6.7.16_bt_spec_4.1.bts and initscripts-TIInit_6.7.16_ble_add-on.bts)
- Bluez 5.45
Here is the scenario:
1- boot linux 4.8.6 kernel
2- load BTS file and attach hci interface thanks to this linux command: hciattach -s 115200 /dev/ttyAPP0 texas 3000000
3- start bluetoothd (bluez 5.45) in dual mode (LE + BT)
4- bluetoothd is set in discovery mode (continiously alterning inquiry mode and LE scan every 5 seconds)
5- after few hours in discovery mode (randomly between 8h and 36h), the CC2564MODN stops returning HCI event status
- a LE scan disable command is sent to the CC2564MODN to stop the current LE scan,
- the event status is not returned from the CC2564MODN,
- the HCI logs from TI logger displays errors at this exact same moment instead of displaying the LE scan disable command from host,
- the CC2564MODN does not answer to any HCI commands anymore
6- a hardware chip reset is neccessary to retablish HCI communication
Thank you for your support,