Skip to main content
Associate II
December 18, 2024
Solved

Standard Peripheral Library for STM32H7

  • December 18, 2024
  • 2 replies
  • 1075 views

Hello all,

 

I am using STM32H747 in my project, previously I was using HAL library for my project, but now I want to shift my code to standard peripheral library, my question is do STMH7 series support to standard peripheral library if Yes then can anyone share me the SDK for the same

 

 

Thanks!!!!

Best answer by mƎALLEm

Hello @tobbymathew ,

There is no SPL library for H7. If you mean by that using low level driver you can use LL implementation available in HAL:

SofLit_0-1734526072523.png 

But not all peripherals have this implementation: FDCAN as an example.

2 replies

Andrew Neil
Super User
December 18, 2024

The Standard Peripheral Library (SPL) was the predecessor of HAL.

I think SPL was discontinued (replaced by HAL) long before the H7 series was introduced.

 


@tobbymathew wrote:

I was using HAL library for my project, but now I want to shift my code to standard peripheral library


Why?

 


@tobbymathew wrote:

do STMH7 series support to standard peripheral library 


You're asking that question the wrong way around.

The real question: "Is SPL available for STM32H7?" - to which the answer is, NO:

https://community.st.com/t5/stm32-mcus-embedded-software/does-the-spl-is-available-for-stm32g-series/m-p/265995/highlight/true#M18065

https://www.st.com/en/embedded-software/stm32-standard-peripheral-libraries.html

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
mƎALLEm
mƎALLEmBest answer
Technical Moderator
December 18, 2024

Hello @tobbymathew ,

There is no SPL library for H7. If you mean by that using low level driver you can use LL implementation available in HAL:

SofLit_0-1734526072523.png 

But not all peripherals have this implementation: FDCAN as an example.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.