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

Bare metal, Assembly language • Re: Struggling to make SPI DMA work

$
0
0
Interesting thing.
I have swapped RX to different DMA channel and it worked.
Previously SPI TX DREQ was assigned to DMA channel 0, SPI RX DREQ - to DMA channel 1,
And I was able to receive interrupts for DMA channel 0, but not for channel 1.
I have randomly switched from channel 1 to channel 5 and was able to start receiving interrupts.

Statistics: Posted by valc — Fri Mar 08, 2024 8:51 pm



Viewing all articles
Browse latest Browse all 4801

Trending Articles