Support us and view this ad

可选:点击以支持我们的网站

免费文章

1. Introduction: The Coexistence Conundrum in Dual-Mode Bluetooth 5.4 The Qualcomm QCC5171 is a high-performance dual-mode Bluetooth audio SoC supporting both Bluetooth Classic (BR/EDR) and Bluetooth Low Energy (BLE) 5.4. While the chip's architecture is capable of simultaneous operation, the fundamental challenge lies in the shared 2.4 GHz ISM band and the inherent time-division nature of the radio transceiver. BR/EDR employs frequency-hopping spread spectrum (FHSS) with 1 MHz channels and a slot-based (625 µs) synchronous connection-oriented (SCO) or asynchronous connection-oriented (ACL) link. BLE, on the other hand, uses a different hopping pattern (37 data channels + 3 advertising), adaptive frequency hopping (AFH), and microsecond-precision connection events. Without intelligent coexistence, packet collisions lead to retransmissions, increased latency, jitter in audio streams, and degraded BLE throughput. This article provides a technical deep-dive into optimizing this coexistence on the QCC5171 using two key mechanisms: dynamic power control (DPC) and time-slot scheduling (TSS). 2. Core Technical Principle: Time-Slot Scheduling and Dynamic Power Control The QCC5171's radio controller implements a hybrid coexistence model. The core principle is to partition the radio's time domain into dedicated slots for BR/EDR and BLE, while dynamically adjusting transmit power to minimize interference and conserve energy. The scheduling is governed by a priority-based arbiter that considers link type, QoS requirements, and pending traffic. Time-Slot Scheduling (TSS): The scheduler uses a fixed-length superframe of 6250 µs (10 BR/EDR slots). Within this superframe, slots are allocated based on a configurable ratio. For example, a 70:30 split means 7 slots (4375 µs) for BR/EDR and 3 slots (1875 µs) for BLE. The scheduler maintains a state machine with three primary states: BR_EDR_ACTIVE, BLE_ACTIVE, and IDLE. Transitions are triggered by slot timer interrupts and pending connection events. The BLE connection interval (e.g., 30 ms) must be an integer multiple of the superframe to ensure alignment. A critical parameter is the guard time (e.g., 150 µs) inserted between slot type changes to allow the radio PLL to relock to a different frequency. Dynamic Power Control (DPC): DPC works in tandem with TSS. During a BR/EDR slot, if the link quality indicator (LQI) is high (e.g., > 200), the transmit power is reduced from +10 dBm to 0 dBm. During a BLE slot, the power is adjusted based on the received signal strength indicator (RSSI) of the last connection event. The algorithm uses a proportional-integral (PI) controller to compute the desired power level. The formula is: P_tx = P_base + Kp * (RSSI_target - RSSI_measured) + Ki * integral_error Where P_base is the nominal power (e.g., 0 dBm), Kp = 0.5, Ki = 0.1, and RSSI_target = -65 dBm. The integral error is accumulated over a window of 10 connection events. The output is clamped between -20 dBm and +10 dBm. This reduces the probability of desensitizing the other radio's receiver. 3....

继续阅读完整内容

支持我们的网站,请点击查看下方广告

正在加载广告...

Login