mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
SAMV7 QSPI: DMA transfer width should be 32- not 16-bits
This commit is contained in:
@@ -858,7 +858,7 @@ static int qspi_memory_dma(struct sam_qspidev_s *priv,
|
||||
/* Configure RX DMA */
|
||||
|
||||
dmaflags |= ((uint32_t)priv->rxintf << DMACH_FLAG_PERIPHPID_SHIFT) |
|
||||
DMACH_FLAG_PERIPHWIDTH_16BITS | DMACH_FLAG_MEMWIDTH_16BITS;
|
||||
DMACH_FLAG_PERIPHWIDTH_32BITS | DMACH_FLAG_MEMWIDTH_32BITS;
|
||||
sam_dmaconfig(priv->dmach, dmaflags);
|
||||
|
||||
/* Setup the RX DMA (memory-to-peripheral) */
|
||||
|
||||
Reference in New Issue
Block a user