BSP_QSPI_MemoryMappedMode Enable doesn't work with W25QXX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-29 10:35 PM
Hi,
I am trying to do a memory map with this board W25QXX and it's not working. For some reason even on the original code we can see the function for BSP_QSPI_MemoryMappedMode have a comment (https://www.waveshare.com/wiki/W25QXX_DataFlash_Board). Any idea why?
I am using this board, with STM32H743IIT the configuration of my QUADSPI is:
Solved! Go to Solution.
- Labels:
-
QSPI
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-10 10:40 AM
this should be the implementation:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-30 2:19 AM
Hello @aabba.1 ,
For some reason even on the original code we can see the function for BSP_QSPI_MemoryMappedMode have a comment (https://www.waveshare.com/wiki/W25QXX_DataFlash_Board). Any idea why?
The shared code isn't supported by ST. But, I noted that the TIMEOUT Counter is enabled in the comment code line, and it mentioned in the STM32F746 errata sheet that Memory-mapped read operations may fail when timeout counter is enabled and the workaround is to disable the timeout counter.
s_mem_mapped_cfg.TimeOutActivation = QSPI_TIMEOUT_COUNTER_ENABLE;
To configure QSPI in memory mapped mode using STM32H743 devices, I advise you to start with an available QSPI_MemoryMapped example in STM32CubeH7 package.
If you using STM32CubeMX toolchain to configure the QUADSPI interface, I recommend you to follow the steps shared in AN4760 precisely section 4. QUADSPI configuration.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-30 5:29 AM
What's the comment? Imagine I can't get to this on my phone, present better.
Make the command template work in direct mode, this maps directly to how the memory mapped read works, a template it stuffs an address field into.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-10 10:40 AM
this should be the implementation:
