I’m designing a board using an stm32g030k and I am confused by the design of the symbol and footprint. Pin 21 and pin 19 are marked with an X and did not appear in the symbol. I edited the symbol to include them. Even after updating the PCB from the schematic the ‘X’ remains. Why? Even setting pin 19 to a new net does not replace the ‘X’. Is this expected behavior?
When you edit the symbol, you must not only make the pins visible, but you must also change the Electrical Type from Unconnected to whatever is appropriate for your schematic.
I also had a brief look at the datasheet of this IC, and it puzzles me a bit why this pin is hidden and set to “unconnected” by default.
Screenshot made from page 29 of: file:///home/paul/downloads/stm32g030k6.pdf
No, not true. In my setup, open pins are treated as nets with a single pin, and get net names such as unconnected-(U1-PB2-Pad17). The “x” is for pins which have a no-connect flag, or as set as unconnected in the symbol itself.
You can also label a net with “x”, and then they look the same in the PCB editor as the unconnected pins, but KiCad can still keep them apart.
OK, that makes sense. I had only tried to create a net with the pin. Once I added additional components the correct net name showed up. But, yes, I find it odd that Pin 19 and Pin 21 are hidden by default.