Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


What means the Msp in HAL_MspInit ?

Hi All,

When Googling ‘STM32 HAL What is MSP’ and absolutely no relevant answer comes as result then a system of developing has become seriously archaïc.

Anybody knows what MSP exactly stands for? It’s neither explained in none of the repository files.

Greets,
Ben

I wondered the same thing before finding a definition of “MCU Support Package”.

Unfortunately, after stumbling across that definition I just picked myself up and carried on and now I have no idea where I found it...


ST document UM1718 section 5.1

Took me a while to find as well.

Cheers

Reynard



This comment generated by the CubeMX at the start of main()
defines MSP.
/* STM32F4xx HAL library initialization:
- Configure the Flash prefetch, instruction and Data caches
- Configure the Systick to generate an interrupt each 1 msec
- Set NVIC Group Priority to 4
- Global MSP (MCU Support Package) initialization
*/

Hmmmmm,

This comment does not appear in any file I create using STM32CubeMX V4.13.0

Reynard


Me too. Well yeah... I guess I’m not the only one that was obsessively hung up in what turned out to be a STUPID LOOP on finding that #@!!@#$!~@!.....”thing”

Deedle dum.... “TSCH”

Wahhh waahhh

@@
>
-



MSP = MCU Specific Package

Source: Acronyms and definitions of “UM1725 User Manual Description of STM32F4xx HAL drivers” (http://www.st.com/content/ccc/resource/technical/document/user_manual/2f/71/ba/b8/75/54/47/cf/DM00105879.pdf/files/DM00105879.pdf/jcr:content/translations/en.DM00105879.pdf)


exclaim In UM1718 I see it in section 6.1, not 5.1.

MSPs are user callback functions to perform system level initializations such as (Clock, GPIOs, DMA, interrupts).

The peripheral initialization is done through HAL_PPP_Init() while the hardware resources
initialization used by a peripheral (PPP) is performed during this initialization by calling
MSP callback function HAL_PPP_MspInit().
The MspInit callback performs the low-level initialization related to the different additional
hardware resources: RCC, GPIO, NVIC and DMA.

source:UM1725


 

Newest Forum Posts

  1. Монтаж камина с грилем в Москве - установка и барбекю by KpddomErorb, 2025-05-10 18:28
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs