Skip to content
fuad1502Public

About

Open Source Bluetooth LE SoC 🌶️

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

127 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SamBLE: Open Source Bluetooth LE SoC

SamBLE Open Source Bluetooth LE SoC

Note

SamBLE is still a work in progress, see progress section for more detail.

SamBLE is an open source Bluetooth LE SoC project. It aims to provide the following components:

SamBLE Architecture

The design of custom RF / analog integrated circuit IP cores are currently not within the scope of SamBLE project. The design expects digitized baseband I/Q signal (centered on the requested channel) to be available for the SoC to process. The RF front-end development kit is meant to provide the signal when doing development on an FPGA.

The simulation target uses I/Q signal obtained from Bluetooth Wearable Device Dataset provided by the Institue of Electronics and Computer Science. The raw dataset contains 100 MSPS I/Q signal data obtained from real devcies captured using SDR in an RF isolated environment. The Python simulation project (sim/) converts the raw data into the expected 20 MSPS data centered around a specific Bluetooth LE channel.

PHY Architecture

Receiver PHY Architecture

Progress

Component Implemented? Note
BT LE receiver PHY Yes LE 1M; Currently only legacy advertisement reception is verified
BT LE transmitter PHY No
LiteX SoC integration Yes Tested on PYNQ-Z2 & Verilator simulation
Bluetooth stack integration No Bare metal firmware for decoding LE advertisement is provided
RF front-end development kit No Next task

Quick Start Guide

  1. Install dependencies. Some dependencies should be readily available from your package manager, for example:

    sudo apt install python3 make verilator

    Note that the verilator version available from your package repository might be incompatible, if so, install the latest version at the time of writing (v5.054) by following the guide here.

    For the other dependencies, see the corresponding guides:

  2. Prepare phy_config.toml

    cp phy/phy_config.sample.toml phy/phy_config.toml

    Currently, only width parameter variations are tested to work.

  3. Run a simulation of the SoC + bare metal firmware

    # Activate LiteX Python virtual environment, e.g. `pyenv activate litex`
    make all  # build PHY, SoC, and firmware
    make test # test PHY & dependencies
    make run  # simulate SoC with Verilator

Why is it called SamBLE?

SamBLE is based of the Indonesian word sambal, which means chili sauce 🌶️. This continues my tradition in naming my open source projects based of Indonesian words.

References

About

Open Source Bluetooth LE SoC 🌶️

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages