2023-05-08 12:04 PM
Hi,
After I configure hospi1->Init.MemoryType = HAL_OSPI_MEMTYPE_HYPERBUS;
If I still want to send a command using CA[47:0] (or DQ[7:0]) and read back data such as device ID, how should I approach this? Is there an example code I can refer to?
I am wondering if the command type (sCommand) needs to be OSPI_HyperbusCmdTypeDef? the max address is 32 bit but I need to send 48 bit.
or should I use OSPI_RegularCmdTypeDef? Then set MemoryType to HAL_OSPI_MEMTYPE_HYPERBUS later after I read all the data I want?
Thanks in advance.
Solved! Go to Solution.
2023-05-10 12:21 AM - edited 2023-11-20 06:01 AM
Hi @Community member ,
I think the easiest way for you to start is by using one of the example provided par CubeMX.
You can download them on CubeMX :
Best Regards,
A.MVE
2023-05-10 12:21 AM - edited 2023-11-20 06:01 AM
Hi @Community member ,
I think the easiest way for you to start is by using one of the example provided par CubeMX.
You can download them on CubeMX :
Best Regards,
A.MVE