Skip to main content
rvumbaca
Associate
June 23, 2020
Question

STM32CubeMX/STM32CubeIDE does not include DelayBlock LL driver when using OctoSPI peripheral with Delay Block Enabled on STM32H7A

  • June 23, 2020
  • 4 replies
  • 2218 views

Using STM32CubeMX/STM32CubeIDE - when enabling and configuring the OctoSPI peripheral (Hyperbus mode) on STM32H7A and enabling the Delay Block feature, the LL driver for DelayBlock does not get included in generated projects.

I had to enable SDMMC1 to force inclusion of this driver, and even then it needs modification because it assumes that the MCU has a QuadSPI peripheral (not correct for STM32H7A).

Am I doing something wrong, or is this an issue in STM32CubeMX/STM32CubeIDE?

Thanks

This topic has been closed for replies.

4 replies

Khouloud ZEMMELI
ST Employee
July 24, 2020

Hello @rvumbaca​ ,

The OctoSPI Delay block is well generated in code , but only on HAL Driver because LL is not supported.

Best Regards,

Khouloud

rvumbaca
rvumbacaAuthor
Associate
July 24, 2020

Hi,

There is no HAL driver, generated code or API to configure the STM32H7 Delay Block which is a separate peripheral on STM32H7A.

Khouloud ZEMMELI
ST Employee
July 24, 2020

Could please share your ioc file ?

Thanks

Khouloud

rvumbaca
rvumbacaAuthor
Associate
July 25, 2020

HI,

I was using CubeMX 5.6.1 (latest availabile until recently) - in this version the H7 has an option for "Delay Block" in the interface, but when generating code, there was no code generated which actually used or configured the H7 Delay Block peripheral. So the "Delay Block" option in CubeMX 5.6.1 for H7 OctoSPI was useless and produced nothing.

I will check again with CubeMX 6.0.0.

CRich.4
Associate II
April 17, 2023

i'm working with CubeMX 6.7.0 and the option Delay block enable i the octospi peripheral in CubeMX just affects this line:

hospi2.Init.DelayBlockBypass = HAL_OSPI_DELAY_BLOCK_BYPASSED;

hospi2.Init.DelayBlockBypass = HAL_OSPI_DELAY_BLOCK_USED;

it doesn't configure/enable the delay block peripheral!

CRich.4
Associate II
April 17, 2023

[deleted]