Hi Ben
Do you have any news?
DSP FIR filter component coefficients
-
- Posts: 89
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:06 am
- Location: Italy
- Has thanked: 37 times
- Been thanked: 10 times
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 686 times
Re: DSP FIR filter component coefficients
Hello,
Sorry it's on the list, I looked at the example code you sent and it looks like they have done a lot of the DMA work themselves so maybe it's not as simple as the Espressif library makes out at the moment. I'll hopefully get back on with it soon but in the mean time if you fancy having a play then the C code for the I2S CAL can be found here.
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_I2S.c
Let me know if you have a go
Sorry it's on the list, I looked at the example code you sent and it looks like they have done a lot of the DMA work themselves so maybe it's not as simple as the Espressif library makes out at the moment. I'll hopefully get back on with it soon but in the mean time if you fancy having a play then the C code for the I2S CAL can be found here.
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_I2S.c
Let me know if you have a go

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
-
- Posts: 89
- Joined: Wed Dec 02, 2020 10:06 am
- Location: Italy
- Has thanked: 37 times
- Been thanked: 10 times
Re: DSP FIR filter component coefficients
Hi Ben
I think dma management can solve the problems but managing them correctly isn't easy .I will continue to investigate a bit and do some experiments.
Maybe I can find some code with comments that can actually understand how to properly handle i2s
Regards
I think dma management can solve the problems but managing them correctly isn't easy .I will continue to investigate a bit and do some experiments.
Maybe I can find some code with comments that can actually understand how to properly handle i2s
Regards
-
- Posts: 89
- Joined: Wed Dec 02, 2020 10:06 am
- Location: Italy
- Has thanked: 37 times
- Been thanked: 10 times
Re: DSP FIR filter component coefficients
Hi Ben
On the website of espressif is present "Espressif Audio Development Framework" whose examples are much more complete.
In addition, there are many examples https://github.com/espressif/esp-adf/tr ... e_passthru
I don't know, given the framework dedicated exclusively to audio if this can be integrated or not. But if you think it's a good way I couldgrab a couple of ESP32-LyraT Development Boards and send you one if that helps
On the website of espressif is present "Espressif Audio Development Framework" whose examples are much more complete.
In addition, there are many examples https://github.com/espressif/esp-adf/tr ... e_passthru
I don't know, given the framework dedicated exclusively to audio if this can be integrated or not. But if you think it's a good way I couldgrab a couple of ESP32-LyraT Development Boards and send you one if that helps
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 686 times
Re: DSP FIR filter component coefficients
Hello,
I have been playing with i2s and have got output streaming working great. Trying to wrangle input streaming now but it's proving tricky. I'll keep at it and hopefully have it sorted this week with some easy to follow examples.
I have been playing with i2s and have got output streaming working great. Trying to wrangle input streaming now but it's proving tricky. I'll keep at it and hopefully have it sorted this week with some easy to follow examples.
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
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 686 times
Re: DSP FIR filter component coefficients
Here you go 

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