| FORUM

FEDEVEL
Platform forum

Altium PIN Errors

SkyDvv , 04-22-2024, 07:22 PM
Hello hope everyone is doing fine.
Altium Pin types always make me stress, I always find errors with them and don't konw how to deal with it.
I don't like seeing an schematic errors after all.
right here I assigned all the periferals for each pin, so its type should be I/O, but In this application I use CAN for pins 45,46. it's an error of course as the Rx and Tx are unidirectional but the pin itself is supposed to be I/O for other periferals like GPIO, and pins from 22 - 29 they are GPIO but I use it as only output.

Is there a way to set the pin typr for each periferal? like can I select CAN_RX and it identify itself as an output automatically?
and if not, what is the best way, to edit my component every single type or Just stick with the "NO ERC" 🙂
QDrives , 04-22-2024, 07:51 PM
What you are describing is exactly the reason I do not use pin types. I do not see any use for them.
Not the answer to your question, but I do not think the time it takes to modify the types is worth it.
SkyDvv , 04-22-2024, 08:22 PM
you're right tbh I saw alot of people don't consider them at all.. but, sometimes you realize some mistakes because of the errors, like input or output only pins for some controllers or switching RX TX, no matter how good and focused I am, I'm still vulnerable to those kind of mistakes.
Robert Feranec , 04-23-2024, 01:27 PM
The same as @QDrives ... for the same reason I always set all the pins to passive. I rather set port direction ... port direction can be checked by DRC and will check your signal the same way as if you would use pin type.
QDrives , 04-23-2024, 04:15 PM
That is why you do a review before going to layout and again before going to production.
Some of the checks you do:
- Are the Tx/Rx pins correct? Do not forget DTE/DCE.
- Are the pins direction capable?
- Are the pins analog capable?
- Are the peripherals able to handle the pins? If possible check with software tools, ie STM CubeMX.
- Did you assign the correct voltage for clearance?
- Are all nets connected? Highlight the nets (nothing = not checked, orange = checking, and green = checked).
Also have a look at the navigator!
Use our interactive Discord forum to reply or ask new questions.
Discord invite
Discord forum link (after invitation)

Didn't find what you were looking for?