cancel
Showing results for 
Search instead for 
Did you mean: 

STM32C0116-DK default project shows configuration warnings

MWebj
Associate III

I installed Cube 1.18.1 and selected STM32C0116-DK (STM32C0xx eval board) and created a test project. But when I open the .ioc file to check hw config I can see that there are warning signs on ADC1, TMR1, TMR3 and USART1. 
I disable SPI1 and USART2 but it doesn't remove USART2 in Pinout view, so I reset pins there. Warning signs on TMR1 and TMR3 disappear.
Still warning on USART1 : "PB6 mapped with GPIO output", but PB6 is not in the GPIO Settings for USART1. PB6 is used by LED on eval board.

How do I get rid of the warning?

Also, ADC1 complains about conflict with DEBUG: Serial Wire. The odd thing is DEBUG is using PA13 and PA14, and I can't see that ADC1 is using any of those pins.
Why is there no "Disable" for ADC1 ?

1 ACCEPTED SOLUTION

Accepted Solutions

1.

"Status: Partly disabled conflict with:" is detailed info, what might be a conflict between your idea and reality :

if use a pin for a function, obviously this pin cannot be used for other functions - thats the "conflict".

2.

You have a board with cpu + connected hardware , and use the ioc definition, that matches this;

so no good idea, to disable ADC on a pin, where it get the voltage from a resistor divider, to check the buttons - right ?

3.

You start a new design, with C011 cpu, then all pins are free , to be used or not. 

But you will need some pins, to do anything with this cpu - right ?

Then set : debug (you want flash and debug the cpu ), 2 pins used now. And possible warning: you can no more use this or that function, because these pins are fix/used now for debug connection.

And so on...the more pins you use, the more "warnings" - logical , or not ?

So on your new design, can use ADC or not - but on your board still the resistors connected to that pin, so you have to cut trace or desolder, if pin should be free for other use.

see circuit of the board:  https://www.st.com/resource/en/schematic_pack/mb1684-c011f6-b01-schematic.pdf

 

AScha3_0-1745823823659.png

So the warnings are just useful for you, to not imagine something, that cannot be realized with the pins available on this cpu.

If you want more/other functions same time - take a cpu with more pins... here 20pins, 18 can be used, as you like.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

5 REPLIES 5
AScha.3
Super User

What are the warning signs ?   yellow or red ?

...just show a pic. :)

If you feel a post has answered your question, please click "Accept as Solution".

Yellow

Something like this ?

AScha3_0-1745790845165.png

Thats no problem, its only a info : no more all functions or pins available, because already used.

Because every pin has many possible functions, you always will get this yellow info, as soon as you use a pin for a certain function,  on all other peripherals then maybe this warning, that other peripherals cannot be used on this pin any more - its "occupied".

If you feel a post has answered your question, please click "Accept as Solution".

Yes, something like this. But why does it (i.e TMR1) then say in the popup "Status: Partly disabled conflict with:" and then a list of devices?
What this tells (at least me and what contradicts what you say above) is that parts of TMR1 will not work because they are in conflict with some other functions.
If it's no problem, why the warning?
And why isn't it possible to disable ADC1?   

1.

"Status: Partly disabled conflict with:" is detailed info, what might be a conflict between your idea and reality :

if use a pin for a function, obviously this pin cannot be used for other functions - thats the "conflict".

2.

You have a board with cpu + connected hardware , and use the ioc definition, that matches this;

so no good idea, to disable ADC on a pin, where it get the voltage from a resistor divider, to check the buttons - right ?

3.

You start a new design, with C011 cpu, then all pins are free , to be used or not. 

But you will need some pins, to do anything with this cpu - right ?

Then set : debug (you want flash and debug the cpu ), 2 pins used now. And possible warning: you can no more use this or that function, because these pins are fix/used now for debug connection.

And so on...the more pins you use, the more "warnings" - logical , or not ?

So on your new design, can use ADC or not - but on your board still the resistors connected to that pin, so you have to cut trace or desolder, if pin should be free for other use.

see circuit of the board:  https://www.st.com/resource/en/schematic_pack/mb1684-c011f6-b01-schematic.pdf

 

AScha3_0-1745823823659.png

So the warnings are just useful for you, to not imagine something, that cannot be realized with the pins available on this cpu.

If you want more/other functions same time - take a cpu with more pins... here 20pins, 18 can be used, as you like.

If you feel a post has answered your question, please click "Accept as Solution".