Skip to main content
qua
Associate III
August 3, 2025
Solved

Is a database or metadata pin alternative functions available?

  • August 3, 2025
  • 2 replies
  • 363 views

Hi.

I like to make a little spreadsheet/graphic for MCUs that shows all of the available pins and the functions available on them. You can sort of view it in CubeMX, but not in a table. Makes selecting pins and layouts easier.

I do them by hand but it's a chore, especially on MCUs with a lot of peripherals. Is the data available in some form that I can process automatically? There is a table in the reference manual of each part, but it's not easy to convert to something like CSV.

Thanks.

Best answer by STTwo-32

Hello @qua 

Could you please have a look at this GitHub repository and this post. You may find what you are looking for.

Best Regards.

STTwo-32

2 replies

STTwo-32
STTwo-32Best answer
Technical Moderator
August 3, 2025

Hello @qua 

Could you please have a look at this GitHub repository and this post. You may find what you are looking for.

Best Regards.

STTwo-32

Andrew Neil
Super User
August 4, 2025

@STTwo-32 wrote:

 have a look at this GitHub repository and this post.


Thanks - that looks useful!

It seems to be all XML - is there something to convert that to CSV or similar?

See also: STM32U535VE / Pin configuration table / Excel or CSV-table. by @RicOs 

 

PS

If I download STM32F030R8Tx.xml and open in MS Excel, I see this:

AndrewNeil_0-1754296039391.png

 

So that doesn't give  the full mapping of Alternate Functions - like this:

AndrewNeil_1-1754296241025.png

See: https://community.st.com/t5/stm32-mcus-products/stm32u535ve-pin-configuration-table-excel-or-csv-table/m-p/762040/highlight/true#M270653 by @Amel NASRI 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
qua
quaAuthor
Associate III
August 3, 2025

Thanks. The output from CubeMX does the job if I export with alt functions.