cancel
Showing results for 
Search instead for 
Did you mean: 

Auto-polling mode with octal memories is not functional.

Hzhan.2
Associate II

Hello everyone,

I made a custom board for our design, a STM32L4R9VI and an ospi memory MX25UM51245G are integrated on this board. There is a MX25LM51245G on STM32L4R9I-disco board, but it is not in stock, so I chose this 1.8V version MX25UM51245G.

The code is mostly generated by Touchgfx for STM32L4R9I-disco, and I modified it to fit my board, but the program is always blocked at the function which configures auto polling mode to read the status register and wait for the memory is ready. For example, it is blocked at the ResetMemory function (generated by Touchgfx), if more exactly, it is:

if (HAL_OSPI_AutoPolling(hospi, &sConfig, HAL_OSPI_TIMEOUT_VALUE) != HAL_OK)

In the function OctalMode which enables the octal mode of the memory, the code is also blocked at HAL_OSPI_AutoPolling.

In the Errata sheet (ES0393 - Rev 😎 of STM32L4Rxxx devices, it is mentioned:

Auto-polling mode not functional with new octal memories

Description: Auto-polling mode with octal memories is not functional.

Workaround: Use memory-mapped access to poll the status registers. 

So anyone else has the same problem? How can I solve this problem with memory-mapped?

Thank you.

0 REPLIES 0