Below there are the links for get the free HAL/LL STM32 libraries, this library are CMSIS compliant.
Here there is a video tutorial concerning the STM32H7 library but the concepts are valid for all STM32 libraries.
The examples are available for:
- STM32CubeIDE or, sometimes is present:
- STW4STM32 that is possible import in STM32CubeIDE