Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

CC3351: CC3351 BLE scanning and Wi-Fi questions

Part Number: CC3351

Tool/software:

My customer has met 3 issues with CC3351:

1. Referring to the command for BLE scanning in CC33xx SDK docs, the server side can send out a broadcast that can be scanned by the phone using the BLE debug assistant, but the device cannot be scanned on another CC3351 (client).
2. Two CC3351, one as 5G AP and the other as client to connect to the AP. The client is constantly pinging the AP, after a long time the network is down. Client side reports "ERROR FW stuck, triggering recovery", after recovery the client can connect to the AP again but reports ERROR FW stuck again after a while. A phone can keep a steady connection to the same AP.
3. CC351 as AP + STA both connected, using STA role to ping the router, the connection is terminated for a short period of time after 10 - 20 minutes. After the disconnection it can recover. This issue does not appear on 2.4GHz band.

Please find the logs for the issues as attached, thanks.

CC3351.zip

Best regards,

Shuyang

  • Hi Shuyang, 

    Issues #2 and #3 have been reported, so we have addressed these internally. We have engineering release of these available on mysecure, while the public version will be available at the end of this month.

    Regarding the first issue, can you provide the steps you are using to bring up the BLE connection? 

  • Hi Sabeeh,

    BLE has two cmd files in the log directory, which are all the actions and results I performed after loading the driver.

    Added before "scan on" command -->Menu scan -->Transport le -->Back

    Then it can be swept to the opposite cc3351 device.

    However, the problem now is that my mobile phone can scan to the cc3351 via the BLE assistant(APP). However, many other colleagues cannot scan the cc3351 using the same APP. I used a Bluetooth device that supports dual mode B to call  btmgmt -i hci0 off to emulate a ble device. And the rest of the operation is the same as calling cc3351. My colleague can scan this device B with a ble assistant.

    I saw the cc3351 and the broadcast packet of device B through my mobile phone's ble assistant, I wonder if there is a problem with my settings, which has caused the cc3351 cannot be scanned by some devices?

    The screenshot of the previous attachment shows the cc3351 broadcast packet captured by the ble assistant, which is attached to Device B broadcast packet that can be scanned by colleagues normally.

    Below are the information of the environment:

    Operating System Environment:

    1.openwrt+bluez5.66

    2.cc3351 Official yocto file system

    The same kernel for both systems, am6231 cpu + 6.1.83kernel

    Only insmod and echo 1 > ble_enable are executed after power-on

    In the next step. This is followed by the operations in the cmd file in the previous log.

  • Hi Shuyang,

    Your steps are a little unclear to me for getting the BLE advertising is a little confusing to me. Could you perhaps follow these commands for the getting the device to advertise? I'm not sure how this is from OpenWRT:

    echo 160 >> /sys/kernel/debug/bluetooth/hci0/adv_min_interval
    echo 160 >> /sys/kernel/debug/bluetooth/hci0/adv_max_interval
    
    btmgmt -i hci0 info
    
    btmgmt -i hci0 power off
    
    btmgmt -i hci0 le on
    
    btmgmt -i hci0 connectable on
    
    btmgmt -i hci0 debug-keys off
    
    btmgmt -i hci0 sc on
    
    btmgmt -i hci0 bondable on
    
    btmgmt -i hci0 pairable on
    
    btmgmt -i hci0 privacy off
    
    btmgmt -i hci0 name cc33xxble
    
    btmgmt -i hci0 advertising on
    
    btmgmt -i hci0 power on
    
    hcitool -i hci0 lerlon
    

  • the issue is solved after changed a New APP.