Is it possible to change the pin logic name of a component in schematic editor? For example I have an MCU with a lot of multiplexed functions on a pin but in my schematic is used only one function. (However in the library is useful to have all the functions)
There are 2 way's of doing this: There is one step you should do in both approaches:
* Create multiple pin attributies in your part for every function the pin can be used for (eg PF1=GPIO PF2=UART_TX) This can be done in the PINS tab of your part.
Then there are 2 way's (as far as I know of ) to get this information in your schematic:
The first approach: Create a schematic symbol with all this pin attributes at the same place. Connect this symbol to you part (in gates). If you place this part in your design. You have to switch of all the not used pin attributes.
The second approach:
Create another pin attribute called something like Used_function=PF1 Now create substitution in the "Logic name" field. In this case %%%%%Used_function%%%%% (nested substitution).
Now you can place this part in your schematic and choose the function by changing the Used_function attribute to PF2.
I included some example lib's and schematic designs to demonstate this approaches.