KiCad / kicad-library

The schematic and 3D libraries for KiCad 4.0. Note that the footprint libraries are the *.pretty repos themselves. This is an orphaned repo, the news about the v5 libs, http://kicad.org/post/kicad-official-libraries/.
Other
746 stars 956 forks source link

Added Tja1052i Isolated CAN Transreciever #1819

Closed matyro closed 6 years ago

matyro commented 6 years ago

Hi, tja1052

I added TJA1052 isolated can transreciever. You can find the datasheet under: https://www.nxp.com/docs/en/data-sheet/TJA1052I.pdf

Cheers Dominik

matyro commented 6 years ago

Following errors of my symbol:

Violating S4.3

Rules for pin stacking

NC Pin NC (4) @ (0,600)is stacked on other pins

NC Pin NC (6) @ (0,600)is stacked on other pins

Pinstack @ (0,600) must have exactly one (1) visible pin

 - Pin NC (4) is INVISIBLE

 - Pin NC (6) is INVISIBLE

The rest are errors in "old" symbols

SchrodingersGat commented 6 years ago

Hi @matyro the NC pins must not be stacked - this will cause them to be connected together.

If (and only if) the NC pins are never to be connected to anything (as per the datasheet) then they can be deleted from the symbol entirely.

matyro commented 6 years ago

I made them visible and moved them to the µC site based on their physical location.

I could switch positions with TXD/RXD and move CANH/CANL a bit down as well. Maybe this would look nicer

tja1052

SchrodingersGat commented 6 years ago
  1. RS pin - please remove this pin as there is no pin 18 on this package (or in the datasheet)
  2. Ground pin stacking

Pin stacking requires some very specific rules to be followed. In particular:

Reference: http://kicad-pcb.org/libraries/klc/S4.3/

matyro commented 6 years ago

I moved some pins arround. RS should be STB. It is isolated from the left site of the circuit so i put it on the right side even though it is basicly an input.

The bigger distance between CANH & CANL is for protection diodes and termination resistors.

tja1052

matyro commented 6 years ago

Travis says that NC pins should be invisibe. When this is a fixed rule I will change it.

At least in my case I would still atach them to Gnd1 for additional mechanical strength, so I am not sure if they should be invisible or not.

SchrodingersGat commented 6 years ago

In that case I think that the NC pins should be placed on the lower left, and the TXD / RXD should line up with CAN H / CAN L

matyro commented 6 years ago

tja1052

Everything fixed with newest comit (further down) beside invisible NC pins

SchrodingersGat commented 6 years ago

Thanks @matyro for the changes!