nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

[BUG] <title>STM32H7 QuadSPI QUADSPI_CR register doesn't have QSPI_CR_DMAEN

Open retergty opened this issue 7 months ago • 0 comments

Description / Steps to reproduce the issue

Hi! In file nuttx/arch/arm/stm32h7/stm32qspi.c, the function qspi_memory_dma set not present bit flag QSPI_CR_DMAEN.

  /* Enable the memory transfer */

  regval = qspi_getreg(priv, STM32_QUADSPI_CR_OFFSET);
  regval |= QSPI_CR_DMAEN;
  qspi_putreg(priv, regval, STM32_QUADSPI_CR_OFFSET);

I read STM32H743 refence manual, the QUADSPI_CR doesn't have QSPI_CR_DMAEN bit. STM32H743 refencen manual link in page 897.

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Ubuntu 22.04

NuttX Version

master

Issue Architecture

[Arch: arm]

Issue Area

[Area: Drivers], [Area: Configuring]

Host information

No response

Verification

  • [x] I have verified before submitting the report.

retergty avatar May 13 '25 09:05 retergty