cancel
Showing results for 
Search instead for 
Did you mean: 

Memory issue

RAleo.1
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions
ChahinezC
Lead

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. 

View solution in original post

3 REPLIES 3
ChahinezC
Lead

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
Associate

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
Lead

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.