SAMV7 QSPI: DMA transfer width should be 32- not 16-bits
This commit is contained in:
parent
7b3c0ac7bc
commit
2e99311fb4
@ -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) */
|
||||
|
Loading…
Reference in New Issue
Block a user