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 Components - An introduction
-
- Matrix Staff
- Posts: 1756
- http://meble-kuchenne.info.pl
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 446 times
- Been thanked: 606 times
DSP Components - An introduction
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: DSP Components - An introduction
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
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
- Attachments
-
- dsp.fcfx
- (15.82 KiB) Downloaded 81 times
-
- error
- foutmeldig_dsp.jpg (103.43 KiB) Viewed 1731 times
-
- Matrix Staff
- Posts: 1756
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 446 times
- Been thanked: 606 times
Re: DSP Components - An introduction
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 760
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 150 times
- Been thanked: 171 times
Re: DSP Components - An introduction
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
Simple dsp function:
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
Simple dsp function:
- Attachments
-
- Demo_ESP32_Key_post_DSP_out.fcfx
- (75.85 KiB) Downloaded 72 times