Skip to main content
Visitor II
December 2, 2024
Solved

Not working STM32U585 QUADSPI interface with external flash(NOR) in memory mapped mode

  • December 2, 2024
  • 1 reply
  • 844 views

Hi folks,

I am facing one issue for  external flash in memory map mode, I am using stm32U585 . I am unable to write/read/access external flash(NOR) while in memory mode. but in Indirect memory mode  all actions are working.

but in manual they have given as shown below. 

Vijay_kumar_0-1733133329511.png

its showing not recommended, but its not like its not possible. anyone can help me ,  how can I achieve OCTOSPI1 (QUADSPI) interface in memory map mode. 

 

 

    This topic has been closed for replies.
    Best answer by KDJEM.1

    Hello @Vijay_kumar and welcome to the community,

     

    Could you precise which QUAD memory are you using?

    I advise you to look at the errata sheet for memory-mapped errata

    • Memory-mapped write error response when DQS output is disabled
    • Data write discarded in memory-mapped mode if a write to a misaligned address is directly
      followed by a request to the same address

    The AN5050 provides some typical OCTOSPI implementation examples may help you.

     

    Thank you.

    Kaouthar

    1 reply

    KDJEM.1Answer
    Technical Moderator
    December 4, 2024

    Hello @Vijay_kumar and welcome to the community,

     

    Could you precise which QUAD memory are you using?

    I advise you to look at the errata sheet for memory-mapped errata

    • Memory-mapped write error response when DQS output is disabled
    • Data write discarded in memory-mapped mode if a write to a misaligned address is directly
      followed by a request to the same address

    The AN5050 provides some typical OCTOSPI implementation examples may help you.

     

    Thank you.

    Kaouthar