issue while using I2S #2703
Unanswered
jalmince
asked this question in
Q&A - General
Replies: 2 comments
-
I suspect the I2S interface is consuming processor power. You might try allocating I2S audio processing to the second processor. I don't think this is a TFT_eSPI library issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
i also meet your problems, when i init my i2s, my tft program will crash,have you solved your problems? @jalmince |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Bodmer, and congrats for your job !
Thanks to your lib I wrote code which runs fine on the LilyGo T-embed ( using its embeded mic and speaker, while displaying animated sprites)
Now I am trying to port it onto the LilyGo T-Display-S3.
Therefore I connected an I2S mic and an I2S sound boards to the T-Display-S3.
( code and connections are ok, since I can listen to a web radio, or read the mic samples.)
Issue is that when I add the TFT-eSPI, the displaying is at best very slow, and most of the time interrupted.
I have stripped down my code ( below ) to the bare essentials showing my issue:
the code "flashes" the display by alternating tft.fillScreen( TFT_BLACK) and tft.fillScreen( TFT_RED) in the loop.
of course it works absolutely fine.
But if I just try to install the I2S driver for the mic, ( without even reading the I2S), "flashing" is gone ...
I suspect a conflict, but ive struggled for days now, and can't find a solution.
code below if you have time to help ....
cheers,
Jean-Paul
Beta Was this translation helpful? Give feedback.
All reactions