Skip to main content
Visitor II
September 17, 2024
Solved

Looking for LL driver for interfacing with Octospi for STM32H5 series

  • September 17, 2024
  • 1 reply
  • 908 views

Hi all,

We are currently using the stm32h5-hal-library in our project. Our preference is to use the LL drivers rather than the HAL and for the Octospi, we only see a HAL drive for it (stm32h5xx_hal_xspi.c). Is there a LL driver equivalent for this? I have also tried generating the code with STM32CubeIDE and didn't see an option to switch to the LL driver as I normally would for other peripherals

HuyDang_0-1726582555825.png

 

Thanks in advance. 

 

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Hello @HuyDang and welcome to the community.

    Unfortunately, there is no LL driver for XSPI. 

    All peripherals supporting LL have a driver with a file name having ll in the middle: stm32h5xx_ll_(name).c:

    Look at the driver folder:

     https://github.com/STMicroelectronics/stm32h5xx_hal_driver/tree/7e8c7d8e91c15321864f513f8458ce7f6555eb4e/Src

    there is no stm32h5xx_ll_xspi.c file there.

    1 reply

    mƎALLEmAnswer
    Technical Moderator
    September 17, 2024

    Hello @HuyDang and welcome to the community.

    Unfortunately, there is no LL driver for XSPI. 

    All peripherals supporting LL have a driver with a file name having ll in the middle: stm32h5xx_ll_(name).c:

    Look at the driver folder:

     https://github.com/STMicroelectronics/stm32h5xx_hal_driver/tree/7e8c7d8e91c15321864f513f8458ce7f6555eb4e/Src

    there is no stm32h5xx_ll_xspi.c file there.

    HuyDangAuthor
    Visitor II
    September 17, 2024

    thanks for the quick response. I figured that's the case but just want to confirm with you guys.