Crowpanel 7" twitching screen when sound played with speaker

Hello,
I am using a Crowpanel 7" with a speaker connected on the SPK port.
I noticed that when a sound is being played on the speaker (using the library ESP32-audioI2S-master, following the tutorial on https://www.elecrow.com/wiki/ESP32_Display_7.0-inch_HMI_Arduino_Tutorial.html#example2-play-music), the displayed screen twitches from left to right, like there is noise on it.
Is it an issue known to you, and if so, do you have a solution on how to solve this, please?
Have a great day,

  • Mehdi

Comments

  • Hello @Elecrow , can I get your take on this, please?

  • Hello @Elecrow , can I get your take on this, please?

  • Hi friend, can you provide a video of the screen twitching from left to right and send your source program? Are you using LVGL to display?

  • Hi @Sun , thank you for reaching out about this :)
    I'm linking a zip file containing a video of the phenomenon and my source code to this message. Let me know if you need the libraries that I use as well.
    Yes I am using LVGL. As you can see on the video there seems to be some kind of interference between the display and the sound : when I press a button on the screen, the played sound twitches as well.
    Please let me know if you need additional info, and thank you again for your answer!

  • Hi, it is recommended not to play audio and update the screen at the same time. Implementing these two functions separately does not cause jitter or delay. You can choose to use it asynchronously.

Sign In or Register to comment.