Skip to main content
Senior
July 24, 2024
Solved

HAL API documentation and examples

  • July 24, 2024
  • 3 replies
  • 14930 views

Hi,

where do I find the full HAL API documentation? Is there a wiki? And also is there a way to pull it up in CubeIDE (I'm not referring to the autocomplete)?

 

Also is there a repository with all examples organised by topic, for example PWM, I2C etc.?

 

Thank you

Best answer by MOBEJ

hello @Ricko ,

You can find the full HAL API documentation on the STMicroelectronics website. Navigate to the specific STM32 product page and look for the "Documentation" section. Here, you will find user manuals, programming guides, and reference manuals.

you can check this  Description of STM32F1 HAL and low-layer drivers :

Description of STM32F1 HAL and low-layer drivers - User manual

Br

 

3 replies

MOBEJ
ST Employee
July 24, 2024

hello @Ricko  ,

STMicroelectronics provides a repository with examples organized by topic:

  • The STM32Cube repository on GitHub contains firmware packages for various STM32 series. Each package includes examples organized by peripheral (e.g., PWM, I2C, UART).
  • You can find the repository here: STM32Cube GitHub
  • For example, for STM32F4 series, you can navigate to the STM32CubeF4 repository.

Br

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
MOBEJ
MOBEJBest answer
ST Employee
July 24, 2024

hello @Ricko ,

You can find the full HAL API documentation on the STMicroelectronics website. Navigate to the specific STM32 product page and look for the "Documentation" section. Here, you will find user manuals, programming guides, and reference manuals.

you can check this  Description of STM32F1 HAL and low-layer drivers :

Description of STM32F1 HAL and low-layer drivers - User manual

Br

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
ST Employee
September 12, 2025

Hello, 

 

For HAL API documentations as explained in earlier comments they are available on wiki, st.com and

In case you have already downloaded full CubeFW source code, you can find a .chm documents for all HAL drivers and BSP drivers.

e.g. 

https://github.com/STMicroelectronics/STM32CubeMP2/blob/main/Drivers/STM32MP2xx_HAL_Driver/STM32MP257Cxx_CM33_User_Manual.chm

 

BR,