cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U585 memory mapped hyperRAM and STOP2

BDoon.1
Associate III

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?

1 REPLY 1
FBL
ST Employee

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.

 

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.


I'm out of offce with limited access to my emails.
Happy New Year!