I'm creating a synth project that uses a Raspberry Pi Zero 2 W, an Adafruit HX8357 TFT (https://www.adafruit.com/product/2050) display connected with SPI, a pair of I2S DAC/amplifiers (https://www.adafruit.com/product/3006) for sound output, and a USB MIDI keyboard. I'm using rst's Circle library and borrowing code from the mini-organ example. I've gotten to the point where I get a sound output and can draw things to the display, however, when I have sound outputting and I draw a filled in 100x100 square to the screen a few times a second as a test, there's a very noticeable glitching in the audio, which doesn't happen when I don't draw to the screen. I kinda cobbled together the display library from uGUI and the st7789 code from the Circle library (https://github.com/rsta2/circle/tree/ma ... on/display).
So my questions are:
Would sharing the code help you guys help my find a solution?
Would using SPI DMA help with that? If so, how do I implement it? My attempt to do so didn't seem to work.
Would using the 8 bit parallel interface help with that?
Or is there some other solution? Like offloading the display stuff to another core?
If you need any more information please let me know
So my questions are:
Would sharing the code help you guys help my find a solution?
Would using SPI DMA help with that? If so, how do I implement it? My attempt to do so didn't seem to work.
Would using the 8 bit parallel interface help with that?
Or is there some other solution? Like offloading the display stuff to another core?
If you need any more information please let me know
Statistics: Posted by hypercubed — Sat Oct 26, 2024 11:06 pm — Replies 0 — Views 29