Page 1 of 1

DSP Components - An introduction

Posted: Wed Mar 17, 2021 2:02 pm
by BenR
Hello,

Here is a short video I made on how to use the DSP components in Flowcode. They should work equally well in Embedded or App Creator.



As always if you have any comments, questions or requests then please let us know.
DSP.fcfx
(16.75 KiB) Downloaded 188 times

Re: DSP Components - An introduction

Posted: Wed Aug 17, 2022 12:30 pm
by ruben123
hi

I'm traying to replicate the same thing with an arduino uno
but i get this error( see attachement)
what do i wrong?

kind regards

Re: DSP Components - An introduction

Posted: Wed Aug 17, 2022 3:07 pm
by BenR
Hello,

Please can you try going to Help -> Library Updates, Then change the Files in use setting at the bottom of the window to Full Database. This should download some new files and after reloading your project hopefully it will all compile ok for you now.

One thing I did notice is the DSPWaveGen componnent Calculate Data property is currently generating a compile error when set to Yes so I'm going to try and investigate this for you now. edit - this should also be fixed now too.

Re: DSP Components - An introduction

Posted: Thu Aug 18, 2022 8:07 am
by ruben123
everything works now thank you 8-)

Re: DSP Components - An introduction

Posted: Tue Aug 30, 2022 4:55 pm
by stefan.erni
Hi Ben


In your video everything works so simply but..
I tried to control the DAC of the ESP32 with the DSP.
Even on the beginn with the setting of the interrupt is not clear to me how that works.
At the end there should be a sinus signal of about 1 kHz on the DAC output, so a 10 kHz interrupt frequency would be good.

And as soon as I turn on the interrupt, the program crashes


regards

Stefan

how to set to 10khz
esp32_2022-08-30_17-37-16.jpg
esp32_2022-08-30_17-37-16.jpg (15.44 KiB) Viewed 1533 times

Simple dsp function:
output_2022-08-30_17-38-36.jpg
output_2022-08-30_17-38-36.jpg (9.41 KiB) Viewed 1533 times