Skip to main content
RAleo.1
Associate
December 9, 2022
Solved

Memory issue

  • December 9, 2022
  • 3 replies
  • 1885 views

Dear community members

We are using Quad SPI in stm32l476 while having a memory to read data but we are facing an issue. Garbage values when entering memory mapped mode.

why is that?

Thank you.

This topic has been closed for replies.
Best answer by ChahinezC

This is a known errata on the QSPI interface within STM32L476, wrong data can be read with the first memory-mapped read request after an indirect mode operation.

You can reset the QUADSPI_AR register before entering memory-mapped mode, the workaround is detailed in the STM32L476xx/STM32L486xx device erratasheet.

Thank you.

Chahinez. 

3 replies

ChahinezC
Associate II
December 9, 2022

Hello @RAleo.1​,

Which memory you are using? Can you share with me your code so I can help you.

Do you use indirect mode before entering memory mapped mode?

Thank you.

Chahinez.

RAleo.1
RAleo.1Author
Associate
December 9, 2022

Thank you for your answer.

I will share the project by private message on Monday and yes at first we are using indirect mode.

ChahinezC
ChahinezCBest answer
Associate II
December 9, 2022

This is a known errata on the QSPI interface within STM32L476, wrong data can be read with the first memory-mapped read request after an indirect mode operation.

You can reset the QUADSPI_AR register before entering memory-mapped mode, the workaround is detailed in the STM32L476xx/STM32L486xx device erratasheet.

Thank you.

Chahinez.