INMP441 Mic AudioInI2S library co-working with this HUB75 library #894
-
|
Hi, I am building an audio spectrum analyser using the above two libraries. The AudioInI2S outputs a simple list of freq bins and strengths which I was planning to display on a 32x128 LED matrix using a plain ESP32. Both libraries work independently. But will not work together as I get spurious data. I am (nearly) sure its because both libraries use DMA channel 0. Can someone please advise if I can get around this? Have I missed something. Co-pilot thinks the HUB75 library may be switched to channel 1, but then 'changed' its mind. Also if I switch to an ESP32 S3 will the above work because of GDMA? Please assume I am just a hobbyist. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
|
"mrcodetastic There are two lines." I found above despite all previous searches ....... I will try this shortly |
Beta Was this translation helpful? Give feedback.
-
Why don't you think the reason is that both libraries use the i2s interface? |
Beta Was this translation helpful? Give feedback.
-
|
Hi, Apart from the references below - I can see no reference to I2S_NUM_1, please help to explain how to move to I2S_NUM_1 or DMA Channel 1?? Is there some function I need to call to specify channel 1?
and |
Beta Was this translation helpful? Give feedback.
-
|
I would use an ESP32 S3. It's a much newer chip and the HUB75 output uses a totally different peripheral that is the LCD module. |
Beta Was this translation helpful? Give feedback.
I would use an ESP32 S3. It's a much newer chip and the HUB75 output uses a totally different peripheral that is the LCD module.