Abstract
With the rapid development of Artificial Intelligence IoT (AIoT), Bluetooth Low Energy (BLE) has become a cornerstone for low-power communication. This paper details the design of a high-performance, low-power BLE baseband transmission module using Verilog HDL. The proposed IP core implements critical link-layer functions, including CRC verification, data whitening, and Forward Error Correction (FEC) encoding, compliant with the BLE 5.3 specification. Simulation results using Synopsys VCS demonstrate functional accuracy across various physical layer (PHY) modes, providing a robust foundation for integrated AIoT communication systems.
Introduction
The evolution of short-range wireless communication has positioned BLE as a dominant protocol due to its minimal power consumption and cost-effectiveness. As AIoT devices demand higher data reliability and longer range, the complexity of the digital baseband—the component responsible for bitstream processing—has increased. Specifically, the introduction of "Coded PHY" in recent Bluetooth specifications necessitates sophisticated hardware to handle convolutional encoding and pattern mapping without compromising power efficiency. This research addresses the need for domestic, high-efficiency hardware IP by providing a modular RTL implementation of the BLE baseband transmission chain.
Hardware Architecture
The design adopts a modular architecture to ensure flexibility and ease of integration. The core of the IP is a transmission data processing pipeline that transforms raw payload data into a protocol-compliant bitstream ready for the RF interface.
The architecture includes dedicated modules for encryption (optional), CRC generation, whitening, and FEC encoding. A central Finite State Machine (FSM) orchestrates the timing and data flow between these modules, ensuring that each field of the BLE packet is processed according to the selected PHY mode.
Implementation Details
The module supports both standard Uncoded PHY (1Mbps and 2Mbps) and the long-range Coded PHY modes. The hardware is specifically tuned for BLE’s "Least Significant Bit (LSB) first" transmission order, ensuring that the shift registers and RAM interfaces don't require expensive bit-reversal logic.
Bitstream Processing Modules
- CRC Calculation: A 24-bit Linear-Feedback Shift Register (LFSR) calculates the checksum for the PDU. To maintain compatibility with BLE's transmission order, the module processes and stores bits from least significant to most significant (LSB-first).
- Whitening: To prevent long sequences of identical bits that could disrupt radio synchronization, a 7-bit LFSR scrambles the data.
- FEC and Pattern Mapping: For Coded PHY, a (2, 1, 3) convolutional encoder with a constraint length of 4 is employed. This is followed by a pattern mapper that supports S=2 (500kbps) and S=8 (125kbps) coding schemes, effectively increasing the communication range through redundancy.
Memory and Control
Data buffering is handled by a dual-port synchronous RAM (32-bit width, 256-bit depth). The FSM manages transitions between packet states—Preamble, Access Address, PDU, CRC, and Constant Tone Extension (CTE)—ensuring seamless operation even when switching between different transmission rates.
Verification and Results
The RTL design was verified using the Synopsys VCS simulation environment. Test vectors representing various BLE 5.3 scenarios were used to validate the output bitstreams.
- Functional Accuracy: Waveform analysis confirmed that the CRC, whitening, and FEC modules produced outputs perfectly aligned with the Bluetooth specification.
- Dynamic Adaptation: The system successfully demonstrated the ability to switch between S=2 and S=8 coding schemes on-the-fly, correctly identifying Coding Indicators (CI) and adjusting the pattern mapping accordingly.
- Timing and Reliability: The FSM transitions were verified to be robust, with no timing violations observed during state switches between packet fields.
Conclusion
This paper presents a verified RTL design for a BLE baseband transmission module optimized for low-power AIoT applications. By offloading bitstream processing to dedicated hardware, the design reduces CPU load and enhances system efficiency. Future work will focus on the implementation of the corresponding receiver (RX) module, including Viterbi decoding, and the physical synthesis of the IP to obtain precise power and area metrics on advanced semiconductor process nodes.
Summary updated