Hi Ben
Yes V10 Beta is perfect,
and I'm always ready to test new DSP componeten or functions.
regards
Stefan
DSP Output CSV1 clear data
-
- Valued Contributor
- Posts: 997
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 686 times
Re: DSP Output CSV1 clear data
Hi Stefan,
Ok I've pushed the v10 changes for you. Let me know how you're getting on.
Ok I've pushed the v10 changes for you. Let me know how you're getting on.
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: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: DSP Output CSV1 clear data
Hi Ben
It's compieling and starting, card is ok, but it cant open the file for writing in the ESP32. Never get ret_bool= 1
I get always a 0
If I dont test it's crashing later while writing.
regards
Stefan
It's compieling and starting, card is ok, but it cant open the file for writing in the ESP32. Never get ret_bool= 1
I get always a 0
If I dont test it's crashing later while writing.
regards
Stefan
- Attachments
-
- Fc10_csv_test1.fcfx
- (28.13 KiB) Downloaded 464 times
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 686 times
Re: DSP Output CSV1 clear data
Hi Stefan,
Hmm ok I did some work to streamline the File SD component so I wonder if I've introduced a bug. I'll investigate and see if I can get it resolved.
Hmm ok I did some work to streamline the File SD component so I wonder if I've introduced a bug. I'll investigate and see if I can get it resolved.
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: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: DSP Output CSV1 clear data
Hi Ben
I also suspect the problem in the file-sd component. I can't write to the card even without a DSP component.
But in the simulation it's working also with the DSP component.
regards
Stefan
I also suspect the problem in the file-sd component. I can't write to the card even without a DSP component.
But in the simulation it's working also with the DSP component.
regards
Stefan
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 686 times
Re: DSP Output CSV1 clear data
I've got it working now on a 16-bit PIC turned out to be a problem with the DSP component opening the file.
Hopefully working well for you too but worrying you were having issues with the SD component as it's playing fairly nicely here.
Assuming it's now working for you as well is there anything else you would like to see from the DSP component?
Hopefully working well for you too but worrying you were having issues with the SD component as it's playing fairly nicely here.
Assuming it's now working for you as well is there anything else you would like to see from the DSP component?
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: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: DSP Output CSV1 clear data
Hi Ben
Yes it's working now. Super!
Now it works great with the DSP CSV writer.
Same style as this DSP CSV witer it should also have a
DSP RAW writer.
Instead of a string to excel, this simply stores a INT or a LONG in little endian Format.
Byte, Uint, Ulong, it actually doesn't need it.
For example this way you can save 8Channel INT in a (binary) file,
Later I can open this file with the Flowcode10 APP but also with Matlab, Audacity or whatever.
I guess I can then very easily load it into the FC10 APP with the DSP RAW reader and filter there again with the DSP system or calculate mean values and much more.
I can also add a Wav header (you have showed it to me, a while ago) just open the first block, add infos and save the first block again.
And one DSP component for a Microfon I2S PORT,PDM encoding output (CLK/DAT) like the SPM1423
A samplerate of 2Khz is already enough for me. At the moment I'm using an analogue microphone but it's quite big.
It works well for recording snoring, grinding teeth, coughing during the night. But the new mics are much smaller and often already on the board
or simply to place it on my own board.
example of a I2S MIC
https://shop.m5stack.com/collections/m5 ... it-spm1423
regards
Stefan
Yes it's working now. Super!
Now it works great with the DSP CSV writer.
Same style as this DSP CSV witer it should also have a
DSP RAW writer.
Instead of a string to excel, this simply stores a INT or a LONG in little endian Format.
Byte, Uint, Ulong, it actually doesn't need it.
For example this way you can save 8Channel INT in a (binary) file,
Later I can open this file with the Flowcode10 APP but also with Matlab, Audacity or whatever.
I guess I can then very easily load it into the FC10 APP with the DSP RAW reader and filter there again with the DSP system or calculate mean values and much more.
I can also add a Wav header (you have showed it to me, a while ago) just open the first block, add infos and save the first block again.
And one DSP component for a Microfon I2S PORT,PDM encoding output (CLK/DAT) like the SPM1423
A samplerate of 2Khz is already enough for me. At the moment I'm using an analogue microphone but it's quite big.
It works well for recording snoring, grinding teeth, coughing during the night. But the new mics are much smaller and often already on the board
or simply to place it on my own board.
example of a I2S MIC
https://shop.m5stack.com/collections/m5 ... it-spm1423
regards
Stefan
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: DSP Output CSV1 clear data
Hi Ben
I did a test with 10 DSP filter
Filter 1 has coeficient 1
Filter 2 has coeficient 2 .....
The signal is from a HX711 and a strain gage. After 7 Sec I load some coins on the straingage and after 100 Sec I stopped recording
It's working perfect.
Just not so fast.
Now tried to use array
Test Adapter: Filter and raw Signal: Open in Excel and add all in a Diagramm
I did a test with 10 DSP filter
Filter 1 has coeficient 1
Filter 2 has coeficient 2 .....
The signal is from a HX711 and a strain gage. After 7 Sec I load some coins on the straingage and after 100 Sec I stopped recording
It's working perfect.
Just not so fast.
Now tried to use array
Test Adapter: Filter and raw Signal: Open in Excel and add all in a Diagramm
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 686 times
Re: DSP Output CSV1 clear data
Excellent glad it's working and love the results. Many thanks for sharing.
Also those coins look pretty cool
Also those coins look pretty cool

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