Skip to content
heliaDSP
Home
HELIA HUB

heliaDSP

Signal processing for Ambiq silicon.

heliaDSP is a signal-processing library optimized for Ambiq silicon. It extends Arm CMSIS-DSP with new operations, Ambiq’s fixes, Helium kernels by default on Cortex-M55, and compact FFT tables that reduce flash. Call the same arm_* functions from your CMake, neuralSPOT-X or Zephyr firmware.

Filters, transforms, statistics

FIR and biquad filters, FFTs and MFCC features, matrix operations, statistics and classifiers.

Helium on Cortex-M55

1.5 to 2.7 times fewer cycles than the portable kernels on Apollo510.

F32F16Q31Q15Q7
One build foundation

CMake · neuralSPOT-X · Zephyr

See the measurements on Apollo510

Functions

From the sensor to the model’s input

An application filters, transforms and summarizes its signals before a model sees them, and often after. heliaDSP supplies that signal processing, beside heliaCORE’s neural-network kernels: the CMSIS-DSP function groups in floating point and fixed point, with Helium kernels for many of them.

Filtering

FIR filters, including decimating, interpolating, lattice and sparse forms; biquad cascades in direct forms I and II; LMS adaptive filters; convolution and correlation.

Transforms and features

Complex and real FFTs at power-of-two lengths, MFCC features for audio front ends, and window functions.

Matrix and vector

Matrix multiplication, matrix-vector products, inverse, Cholesky and LDLᵀ decompositions, and element-wise vector arithmetic.

Statistics and classifiers

Mean, variance, RMS, extrema and entropy; vector distances; Gaussian naive Bayes and SVM classifiers.

Complex and fast math

Complex magnitude and products, sine, cosine, square root, exponential and logarithm, and quaternion operations.

Interpolation and control

Linear, bilinear and cubic-spline interpolation, and PID controllers.

Helium on Apollo510

Fewer cycles for the same signal chain

On targets whose CPU has Helium, the handwritten vector kernels are the default, and ATfE 22.1.0 is the qualified compiler. Against the portable kernels compiled with GCC, heliaDSP’s previous default, the measured functions took 2.3 to 3.9 times fewer cycles, with every output checked against a float64 reference.

FIR, 32 taps, 256 samples

3.9× fewer cycles

22,144 → 5,703 cycles

Real FFT, 2048 points

2.9× fewer cycles

105,458 → 36,065 cycles

Biquad, 4 stages, 480 samples

2.8× fewer cycles

36,653 → 13,152 cycles

Matrix-vector, 160 × 160

2.7× fewer cycles

122,635 → 45,009 cycles

f32, Apollo510 EVB at 96.6 MHz, -O2; median cycles per call. Placing the matrix in tightly coupled memory instead of shared SRAM cut the Helium matrix-vector cycles by a further 2.0 to 2.35 times, and per-length FFT initializers cut a 512-point real FFT’s flash from 87.6 KB to 9.3 KB.

Build integration

One signal-processing library. Your build system.

Link one target, include arm_math.h and call the arm_* functions. Every path builds the same library from the same qualified CMSIS-DSP commit.