DSP with Arduino

Status
Not open for further replies.
In the following article, it seems he using Arduino as a DSP to slipt out different frequency ranges.
Arduino Powered Gainclone (amplifier): 10 Steps
GitHub - ahuxtable/TDA7439: Arduino library for the TDA7439 sound processor by ST

My requirement is for a digital crossover which can slipt the different frequency ranges to a tweeter, full-range drive and a subwoofer.

I am not sure that I can do this because of the limitation of the processing power of Arduino

Within this Instructable project, the Arduino doesn’t provide any kind of signal processing, it manage the radio chip (TEA5767), the LCD (1602), the clock (DS1307) and the programmable filter (TDA7439) through the I2C bus.
Audio filtering is achieved by the TDA7439 which operate in analog domain : it’s not a DSP even though it is manageable digitally.
Is TD7439 suitable for crossover ? I would say no : filter provided do not have classical low pass or high pass profile and you can’t manager the Q factor of the filter.
If you interested by running in software you own DSP on a microcontroller, check STM32 family and ST Audioweaver software which is a free limited edition of Audioweaver intended to run on STM32.

link : ST-AudioWeaver - Advanced audio development tool for STM32 - STMicroelectronics
 
Last edited:
I have done a DSP crossover using a PIC32MZ. There is plenty of power in a PIC32MZ to do stereo 2 way crossover and a heap of biquads for parametric, time alignment etc. Silicon chip published a couple of articles on the design and build of the XO.

The DSP part is not that hard. The tedious bit is all the I/O and user interface.

You can get the PCBs - (and C source code for free) here: PCBs - Silicon Chip Shop - Silicon Chip Online

Search for DSP.
 
If you want to stay with the Arduino programming environment, you could use the new teensy 4.0 board. The teensy board uses a 600MHz Cortex M7 core and Paul Stoffregen has an audio library and add-on boards for the teensy series. They work fine with the Arduino IDE. The teensy board is $20

OR, you could build a DSP shield for a basic $8 Arduino R3. The shield provides the analog I/O and you can select from a wide range of crossover options by adding a cheap LCD shield to the stack. Here is the info on the Arduino DSP shield: ADAU1701 Shield – Audiodevelopers Reborn
 
Status
Not open for further replies.