cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F411/STM32F413: Enabling i-cache results in SPI read getting blocked

MSuhe
Associate III

I am working with STM32F411/13 controllers from ST. And i observe an issue with SPI reads if i-cache is enabled. More details as below:

  1. I do have the FLASH PRE-FETCH enable set. And Flash wait states properly configured based on the System clock.
  2. And as soon as i enable i-cache i observe an issue with SPI reads. Where, RXNE flag for the last byte to be read is never set. Resulting in SPI read getting blocked indefinitely waiting for RXNE to be true.
  3. And this issue is not seen all the time, but occurs sporadically. Which makes it even more difficult to understand the cause.

Is there is any specific sequence to follow when it comes to enabling i-cache on these parts?

Or is there any errata on this already for the said parts?

Please do share your inputs, i have been blocked due to this issue for some time already. Your inputs are highly appreciated.

0 REPLIES 0