cancel
Showing results for 
Search instead for 
Did you mean: 

Feature request Stm32CubeMX : Named SPI and I2C buses

cgrant
Associate
Posted on June 08, 2016 at 11:58

Hi,

I use STM32CubeMX daily to create and modify projects. I really like the way the tool has been improving (e.g. now putting the pin names in a header file for use in the project). An issue I find is that the STM32 devices have so many SPI and I2C buses that I forget which one is connected to particular external peripherals (one of the dangers of working on multiple projects), so it would be great if I could assign a name to each of the SPI and I2C buses in STM32CubeMX. 

Thanks.

#feature
2 REPLIES 2
Nesrine M_O
Lead II
Posted on June 08, 2016 at 13:54

Hi grant.colin,

Thanks for the suggestion! I will forward this to our MX team.

-Syrine-

stm32cube-t
Senior III
Posted on June 10, 2016 at 13:52

Dear user,

Right-click on the pin and select ''Enter user label''. You will retrieve pin defines using your user label within the mxconstants.h file.

Best regards