Firmware and design files for an educational DSP device.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Clyne dd295d4b2c
update .gitattributes
2 months ago
ChibiOS_20.3.2 add L4 and G4 to ChibiOS; delete bloat 3 years ago
doc hardware folder; add BOM 1 year ago
hardware hardware folder; add BOM 1 year ago
source dynamic code time measurement 2 years ago
.gitattributes update .gitattributes 2 months ago
.gitignore add guide .odt 2 years ago
.gitmodules remove unnecessary gitmodules entry 3 years ago
LICENSE Initial commit 4 years ago
Makefile optimized samplebuffer copying 3 years ago Update '' 2 years ago
openocd.cfg reorganized source, wip 3 years ago 8kSps rate; elf in SRAM2 4 years ago


The stmdsp project enables certain NUCLEO development boards to be used as an educational tool for digital signal processing (DSP). The solution is portable, and can be used without any external tools or lab equipment.

The project consists of three parts:

  1. Firmware that allows users to upload custom DSP algorithms to process signals in real-time.
  2. A custom add-on board which provides the necessary circuitry for interfacing with signals and the host computer.
  3. Computer software that facilitates algorithm design and execution while also providing numerous analysis features.


  • Real-time signal processing: signal readings from the ADC are streamed through the loaded algorithm binary and out the DAC.
  • Custom algorithms are uploaded to the hardware at run-time, enabling a fast design and test process.
  • Supports signal sampling rates from 8kS/s up to 96kS/s, with buffer size of up to 4,096 samples.
  • Supports signals between -3.3V and +3.3V, with adequate protection for the development board.
  • Two parameter knobs allow for algorithm adjustments while the algorithm is running.
  • An on-board signal generator eliminates the need for inputs from external hardware.
  • Numerous analysis features, including signal visualization and algorithm execution time measurement, eliminate the need of other equipment such as oscilloscopes.

Learn more

See the project's wiki for more details. The doc folder also contains add-on board schematics and a work-in-progress PDF guide (which may later be abandoned in favor of the wiki).


The stmdsp, stmdspgui, and ChibiOS projects are all licensed under version three of the GNU General Public License.