STM32U5 and Hyper ram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
- Labels:
-
OctoSPI
-
STM32U5 series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-05-10 12:21 AM - edited 2023-11-20 6: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 :
- Select "Start My project from a Example"
- Enter "OSPI_HyperRAM"
- Then select the project according to your MCU (STM32U5) in your case .
Best Regards,
A.MVE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-05-10 12:21 AM - edited 2023-11-20 6: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 :
- Select "Start My project from a Example"
- Enter "OSPI_HyperRAM"
- Then select the project according to your MCU (STM32U5) in your case .
Best Regards,
A.MVE
