cancel
Showing results for 
Search instead for 
Did you mean: 

Is a database or metadata pin alternative functions available?

qua
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
STTwo-32
ST Employee

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

qua
Associate III

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


@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.