Other Parts Discussed in Thread: SK-AM62B
Tool/software:
Hi Team,
I am testing the BLE functionality of the CC3351 module.
The platform I am using for testing is the SK-AM62B board with the CC3351 M.2 module. The spectrum analyzer is connected to the module’s UFL connector. The SD card image is the pre-built image under the cc33xx driver version 1.0.0.8.
I verified that the module's rf signal is normal by using the LE Transmitter Test command:
hcitool cmd 0x08 0x001e 0x00 0x25 0x00
However, I observed that the advertising channel signal is very weak after enabling BLE advertising by executing the following commands:
echo 160 >> /sys/kernel/debug/bluetooth/hci0/adv_min_interval
echo 160 >> /sys/kernel/debug/bluetooth/hci0/adv_max_interval
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
When the module is connected to the BLE app, the tx power of connection channels increases to nearly 0 dBm.
I executed the HCI_EXT_SetTxPowerCmd command to change the TX power to 20 dBm:
hcitool cmd 0x3f 0x0001 3
The TX power of the connection channels increased to 15 dBm, which is what I expected.
However, when the connection is terminated, the advertising channel's TX power remains weak.
I have tried disabling and re-enabling the advertising, but the TX power remains weak.
What is the method to change the TX power of the advertising channels?
I would greatly appreciate it if you could reply to me.
Regrads,
Xiaoxian