Skip to main content
Explorer II
November 3, 2023
Question

STM32U585 memory mapped hyperRAM and STOP2

  • November 3, 2023
  • 1 reply
  • 941 views

I'm using a STM32U585 that has some hyperRAM attached to OSPI2.  I've memory mapped it and it's working well during normal operation.  I've noticed, though, that when I leave it powered and put the processor into Stop 2 mode, it corrupts some of the data in the hyperRAM after I come out of Stop 2 and re-configure the clocks.  It doesn't happen every time.

Should I be re-configuring the Hyper Bus after I come out of Stop 2 as well?  Is there any known reason to be cautious about using the Stop modes while the OSPI is being used for memory mapped external memory?

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    November 7, 2023

    Hello @BDoon.1 , 

     

    Could you provide more details about your configuration? Are you using B-U585 IOT board? In STOP2, OCTOSPI is Frozen. Peripheral registers content should be kept.