2022-12-09 06:40 AM
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.
Solved! Go to Solution.
2022-12-09 07:10 AM
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.
2022-12-09 06:46 AM
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.
2022-12-09 07:02 AM
Thank you for your answer.
I will share the project by private message on Monday and yes at first we are using indirect mode.
2022-12-09 07:10 AM
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.