2024-05-10 07:16 PM
Hi :
I have a custom board, the mcu is STM32L4P5RG, I also connect Flash W25Q128(OSPI1) and APS6404L(OSPI2) to it.
But I can't reset them and hal status always return HAL_ERROR. Can someone help me?
The hardware schematic(Sch.png),Clock configuration(Clock.png),OSPI configuration(OSPI1.png, OSPI2.png),Reset code(Code.png) are as below:
I also attach my project.
Solved! Go to Solution.
2024-05-20 01:58 AM
Hi @Alex - APMemory :
thank you for you reply.
2024-05-20 02:03 AM
Hi :
Finally, I can reset both OSPI device. It need send more data to ensure reset successfully. Just change HAL_OSPI_ADDRESS_NONE to HAL_OSPI_ADDRESS_1_LINE will fix this.
I think it is something related to Errata sheets.