Commit 91f6426
committed
Fix DVI blanking during SPI transactions
SPI was using DMA to transfer to PSRAM. When a cache miss occurs,
the DMA can't switch to another transfer and throws off DVI timing.
So, only use DMA with SPI when the buffers are in SRAM. This will
slow down SPI transactions when the FIFOs are empty and the CPU is
busy running a background task. It will still be correct though
since we control the SPI clock.
Fixes micropython#105571 parent edc82dd commit 91f6426
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
186 | 189 | | |
187 | 190 | | |
188 | 191 | | |
| |||
0 commit comments