How to set up APS512XX RAM in 1K burst mode on the STM32U5A9J-DK board
I am trying to set up the on-board 512Mb AP PSRAM to have a 1K word linear read burst.
Similar to the HSPI demo in the BSP example, I call the function "BSP_HSPI_RAM_Config16BitsOctalRAM(...)"
with my configuration set to use a 1K word linear burst.
However, the implementation of this function in the file 'stm32u5x9j_discovery_hspi.c' contains this conditional check at the very beginning of the function:
/* Check if the instance is supported */
if ((Instance >= HSPI_RAM_INSTANCES_NUMBER)
|| (Cfg->BurstLength == APS512XX_BURST_2_KBYTES))
{
ret = BSP_ERROR_WRONG_PARAM;
}
