STM32L4P5RG two OSPI with multiplexed pin not working
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.





