fix(driver_spi): fixed master dma unaligned trans error

This commit is contained in:
wanckl
2026-03-16 14:01:49 +08:00
parent fbc049ed69
commit 19131099ea
4 changed files with 42 additions and 1 deletions
@@ -832,6 +832,10 @@ Please note that the ISR is disabled during flash operation by default. To keep
4. ``cs_ena_pretrans`` is not compatible with the Command and Address phases of full-duplex transactions.
.. only:: esp32
5. If DMA is enabled, the RX buffer should be word-aligned (starting from a 32-bit boundary and having a length of multiples of 4 bytes). Otherwise, DMA may overwrite the data in the unaligned part.
Application Examples
--------------------