Run Bluetooth Single-Item RF Tests¶
Single-item testing is the SDK's low-level RF path for board tuning, FCC/CE pre-compliance, and investigating one carrier or modulation setting at a time. It is not a product feature and does not replace BQB signaling tests.
Prepare the DUT and tool¶
Prepare a DUT, PC, USB data cable (not charge-only), RF coax, and a communications tester or spectrum analyzer. Expose VBAT, GND, and UART1 TX/RX. The source's default UART1 map is:
| Device/package | UART1 TX | UART1 RX |
|---|---|---|
| SF32LB56xU (QFN) | PA17 | PA18 |
| SF32LB56xV (BGA) | PA34 | PA30 |
| SF32LB58x | PA32 | PA31 |
| SF32LB52x | PA19 | PA18 |
| SF32LB55x | Board-specific | Board-specific |
SF32LB55x projects may use a different UART1 mapping; use the board's pin configuration. Connect UART1 to the PC at 1,000,000 baud and the RF port to the instrument through coax. Account for cable loss and distinguish conducted from radiated measurements.
Family scope
The UART table is the consolidated family/package comparison. The topology and SiFli_RfTool screenshots that follow are SF32LB52x source examples; select the actual chip family in the tool and verify the target project's UART mapping.

Enter RF test mode¶
- Boot the DUT and keep it awake.
- Send the FinSH command
bt_cm uart_dutthrough SiFli_Trace. - Verify the hexadecimal response
04 0E 04 XX 03 0C 00. - Disconnect the terminal; SiFli_RfTool will use the same UART for HCI control.
Transmit a BLE or Classic BT signal¶
- Open
SiFli_RfTool.exe, select the chip family, choose BLE non-signaling or BT non-signaling, select the UART1 COM port, and connect at 1,000,000 baud. - For BLE, set Frequency, Data Length, payload, and PHY, then select Start TX. Stop TX before changing a channel or PHY.
- For Classic BT, set Frequency, Data Length, and Packet Type, then select Start TX. Stop TX before changing packet parameters.
- On the tester, match the channel, packet type, payload, and PHY. A spectrum analyzer can show the waveform when no communications tester is available.
The SDK source includes LB52x HDK reference TX levels, but those values are board-specific. Use them only as a debugging reference and measure the actual product board.


Receive and calculate sensitivity¶
Stop TX before entering RX. Set the channel and press Start RX; stop RX before changing it. For BLE RX, configure the tester for Direct Test Mode, select the PHY/channel, send 1,500 packets, and calculate:
Record RSSI as well. For Classic BT RX, use a CMW500 GPRF Generator waveform such as DH1/2-DH1/3-DH1 and record received packets, error packets, bit counts, BER, and RSSI. The BLE and Classic BT RF paths share hardware; do not run them in parallel.

Single-carrier and instrument setup¶
Stop the current operation before switching to a single-carrier item. Set frequency and power, start TX, and inspect the output on a spectrum analyzer or power meter. For a tester, configure non-signaling reception with the same channel, packet type, and payload as SiFli_RfTool. For RX, configure the tester as the transmitter; BLE uses DTM parameters, while Classic BT uses a GPRF waveform.
If the tool or serial connection becomes unresponsive, close SiFli_RfTool, power-cycle the DUT, wait for boot, and reconnect. Keep the tool version, firmware identity, chip/package, UART pins, board revision, channel, PHY/packet type, power, cable loss, instrument configuration, and raw results with the test record.

Official family sources: SF32LB52x, SF32LB55x, SF32LB56x, and SF32LB58x.