Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4997

Bare metal, Assembly language • Re: SPI display and I2S audio

$
0
0
Unfortunately I'm currently not fully understand, why you have audio glitches, because the mini-organ example generates the sound entirely in the IRQ handler, so it should have priority over the SPI operation. Are IRQs disabled somewhere in your display driver for longer? Have you tried to increase the ChunkSize parameter of the I2S driver? The maximum time, how long IRQs are allowed to be disabled, will increase with this.

I think on a Raspberry Pi Zero 2 W offloading the display handling to another core is a good option.

Statistics: Posted by rst — Sun Oct 27, 2024 8:58 am



Viewing all articles
Browse latest Browse all 4997

Trending Articles