cancel
Showing results for 
Search instead for 
Did you mean: 

bank mode and data alignement

ssmrabhi
Associate

Hello,

I'm currently working with the STM32G474RE microcontroller and aiming to transition from the standard dual bank mode to the single bank mode.

However, I've encountered an issue during this transition. When switching the bank mode, the read width changes from 64 bits to 128 bits. This change in read width is leading to data misalignment problems so when  the HAL launch function responsible for loading and resetting the option byte after the bank mode switch is called, the program seems to hang, suggesting possible damage.

Could you please provide guidance on how to address these issues and ensure a smooth transition to single bank mode without causing data misalignment or program damage?

Thank you for your assistance.

 

Unbenannt.PNG

0 REPLIES 0