apache / apache/nuttx

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

Open
#16,366 0 comments 0 reactions 0 assignees View on GitHub
Arch: arm Area: Configuring Area: Drivers OS: Linux Type: Bug
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

### 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.
```CPP
/* 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](https://www.st.com/resource/en/reference_manual/rm0433-stm32h742-stm32h743753-and-stm32h750-value-line-advanced-armbased-32bit-mcus-stmicroelectronics.pdf) 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.