Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the MSP in STM32CubeMX HAL_xxx_MspInit() functions stand for?

I was wondering what the abbreviation "MSP" in HAL_xxx_MspInit() callbacks stands for. I have seen that in some firmware drivers like the HAL library from ST. For example:

void HAL_UART_MspInit(UART_HandleTypeDef *huart);
void HAL_SPI_MspInit(SPI_HandleTypeDef *hspi);

from stm32f3xx_hal_uart.h and stm32f3xx_hal_spi.h. I am wondering what Msp refers to. Is it just a naming convention for callbacks from init functions in drivers or does it have a deeper meaning (what I suspect it has).

like image 846
StarSheriff Avatar asked May 29 '16 19:05

StarSheriff


1 Answers

In STM32CubeMX it stands for MCU Support Package.

The STM32CubeMX documentation "STM32CubeMX for STM32 configuration and initialization C code generation" (UM1718) is clear on this - section 5.1:

enter image description here

It does however somewhat unhelpfully use the term several times in the documentation before it actually defines it!

Other aspects of the STM32CubeMX naming conventions are also defined in this document.

like image 52
Clifford Avatar answered Oct 19 '22 21:10

Clifford