2025-06-23 10:17 PM - last edited on 2025-06-24 12:37 AM by Peter BENSCH
I am working on a project using the STM32H743ZI microcontroller.
I want to implement SPI communication using the LL (Low-Layer) drivers instead of HAL.
:question_mark: Can you confirm whether the STM32H743ZI supports LL SPI driver APIs like LL_SPI_Init, LL_SPI_TransmitData8, etc.?
Also, are there any specific settings or header files (like USE_FULL_LL_DRIVER) required to enable these LL functions in STM32CubeIDE
Does STM32H743ZI support SPI communication using LL drivers? I’m using STM32CubeIDE.
SPI1 is enabled, but LL_SPI functions are disabled unless I define USE_FULL_LL_DRIVER.
Is this the correct way to enable LL SPI support?
2025-06-23 11:17 PM
How was the project code generated? By STM32CubeMX (.ioc file)?
2025-06-23 11:51 PM
I am using stm32h747bit6-DISO board in stm32cubeide 1.18.1 software
2025-06-24 12:34 AM - edited 2025-06-24 12:48 AM
You can switch between HAL and LL drivers (when available) in the Project Manager TAB (Advanced Settings).
This should enable USE_FULL_LL_DRIVER automatically.
2025-06-24 12:57 AM - edited 2025-06-24 12:59 AM
@mohitha wrote:Can you confirm whether the STM32H743ZI supports LL SPI driver APIs like LL_SPI_Init, LL_SPI_TransmitData8, etc.?
You have that question the wrong way around!
The STM32H743ZI neither knows nor cares what you use in your source code - all it sees are the binary instructions in its Flash.
The question, then, is whether the Firmware Pack provides these LL APIs.
You can find this on the 'Tools & Software' tab of the STM32H743ZI Product Page:
https://www.st.com/en/microcontrollers-microprocessors/stm32h743zi.html#tools-software
This links you to the STM32CubeH7 firmware package - see the 'Documentation' tab for documentation:
https://www.st.com/en/embedded-software/stm32cubeh7.html#documentation
The document you require is UM2217, Description of STM32H7 HAL and low-layer drivers: