DSP made easy

For general Flowcode discussion that does not belong in the other sections.
Post Reply
chipfryer27
Valued Contributor
Posts: 1320
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 321 times
Been thanked: 462 times

DSP made easy

Post by chipfryer27 »

Hi

I should perhaps have entitled this post "DSP made easier" as unless you have a brain the size of a planet and perhaps hold a doctorate in mathematics too, DSP is never going to be easy for mere mortals like myself.

Digital Signal Processing is everywhere you look (and listen) and decades have passed since I was forced to look..... FFT may have scarred me for life......

However being something of a masochist it is something I've wanted to understand better, especially using microcontrollers to implement. Flowcode has of course for years supported DSP with guides and examples and that is a great way to learn, but for me it was never too straightforward. Select my dsPIC, mess around with ICSP, purchase the necessary pack and so on, and of course a chip alone is no use by itself, it needs peripherals too. Having at the time no compelling need for DSP it seemed an awful lot of effort, especially as my local pub wasn't on fire.

By the time I decided to do something even the ECIO40p had been discontinued but the desire remained.

Enter SysBlocks from Matrix https://www.matrixtsl.com/sysblocks/

I recently took delivery of this seriously cool bit of kit. I'm sure you will read all about it yourselves but briefly it's a single board containing analogue input/outputs, twin bargraphs (VU meters), knobs, buttons, LEDs and display. It has a couple of E2-Blocks for interconnection with other Matrix boards and a Grove connector too. Powered by a 32-bit PIC it should put the fast in Fourier transforms :)

I've downloaded the guides and I'm working my way through "Getting Started" and I've found it to be quite intuitive, well so far...... It took no time at all to get a scope and signal generator connected to it and have an ADC / DAC doing their stuff.

SysBlocks.jpg
SysBlocks.jpg (59.11 KiB) Viewed 3816 times

ADC-DAC.jpg
ADC-DAC.jpg (77.28 KiB) Viewed 3816 times

Having it "all together" makes it quick and easy to experiment with and I now have an excellent reason to spend time in the Evil Lab despite the cold.

Regards

chipfryer27
Valued Contributor
Posts: 1320
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 321 times
Been thanked: 462 times

Re: DSP made easy

Post by chipfryer27 »

Hi

Whenever I could squeeze in the time I've been working my way through the tutorials and decided I needed a "white noise" generator so that I can experiment with filters a bit better.

Six weeks later I'm in possession of a Chinese generator. Now I knew it was a kit but must admit to being surprised that no paperwork at all was supplied, no schematic or list of parts. To assemble I need to actually look at the PCB for location and value.

However they helpfully supplied unmarked capacitors :) so my Peak will be getting poked into action but not today.......

Looking forward to playing with the boards though as now I can see exactly what each change I make has on the filter.

Regards

PS
I do know I can create a noise generator in FC but that's not as much fun <s>

chipfryer27
Valued Contributor
Posts: 1320
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 321 times
Been thanked: 462 times

Re: DSP made easy

Post by chipfryer27 »

Hi

So hot up in the Ivory Tower that I ddn't need an iron to melt the solder....

Put together that little noise generator and have to say the quality of the kit is very good. Once complete I connected to a scope.

100_0240.JPG
100_0240.JPG (98.25 KiB) Viewed 1199 times

Bear in mind I only paid a few pounds....

Next will be to create some filters...:) but not before I get to the ice-cream shop...

Regards

Post Reply