lib: used pin-name improved USB-C connector

This commit is contained in:
King Kévin 2022-02-21 12:02:36 +01:00
parent 3c1385e103
commit 1a835ed969
2 changed files with 142 additions and 144 deletions

View File

@ -387,8 +387,8 @@ li:pcb-rnd-subcircuit-v6 {
x = -2.750mm
y = -3.730mm
ha:attributes {
term = 1
name = 1
term = A1
name = A1
}
clearance = 0.200mm
ha:flags {
@ -401,8 +401,8 @@ li:pcb-rnd-subcircuit-v6 {
x = -2.250mm
y = -3.730mm
ha:attributes {
term = 2
name = 2
term = A2
name = A2
}
clearance = 0.200mm
ha:flags {
@ -415,8 +415,8 @@ li:pcb-rnd-subcircuit-v6 {
x = -1.750mm
y = -3.730mm
ha:attributes {
term = 3
name = 3
term = A3
name = A3
}
clearance = 0.200mm
ha:flags {
@ -429,8 +429,8 @@ li:pcb-rnd-subcircuit-v6 {
x = -1.250mm
y = -3.730mm
ha:attributes {
term = 4
name = 4
term = A4
name = A4
}
clearance = 0.200mm
ha:flags {
@ -443,8 +443,8 @@ li:pcb-rnd-subcircuit-v6 {
x = -0.750mm
y = -3.730mm
ha:attributes {
term = 5
name = 5
term = A5
name = A5
}
clearance = 0.200mm
ha:flags {
@ -457,8 +457,8 @@ li:pcb-rnd-subcircuit-v6 {
x = -0.250mm
y = -3.730mm
ha:attributes {
term = 6
name = 6
term = A6
name = A6
}
clearance = 0.200mm
ha:flags {
@ -471,8 +471,8 @@ li:pcb-rnd-subcircuit-v6 {
x = 0.250mm
y = -3.730mm
ha:attributes {
term = 7
name = 7
term = A7
name = A7
}
clearance = 0.200mm
ha:flags {
@ -485,8 +485,8 @@ li:pcb-rnd-subcircuit-v6 {
x = 0.750mm
y = -3.730mm
ha:attributes {
term = 8
name = 8
term = A8
name = A8
}
clearance = 0.200mm
ha:flags {
@ -499,8 +499,8 @@ li:pcb-rnd-subcircuit-v6 {
x = 1.250mm
y = -3.730mm
ha:attributes {
term = 9
name = 9
term = A9
name = A9
}
clearance = 0.200mm
ha:flags {
@ -513,8 +513,8 @@ li:pcb-rnd-subcircuit-v6 {
x = 1.750mm
y = -3.730mm
ha:attributes {
term = 10
name = 10
term = A10
name = A10
}
clearance = 0.200mm
ha:flags {
@ -527,8 +527,8 @@ li:pcb-rnd-subcircuit-v6 {
x = 2.250mm
y = -3.730mm
ha:attributes {
term = 11
name = 11
term = A11
name = A11
}
clearance = 0.200mm
ha:flags {
@ -541,8 +541,8 @@ li:pcb-rnd-subcircuit-v6 {
x = 2.750mm
y = -3.730mm
ha:attributes {
term = 12
name = 12
term = A12
name = A12
}
clearance = 0.200mm
ha:flags {
@ -552,11 +552,11 @@ li:pcb-rnd-subcircuit-v6 {
ha:padstack_ref.41 {
proto = 3
rot = 0
x = -2.875mm
x = 2.875mm
y = -2.520mm
ha:attributes {
term = 13
name = 13
term = B1
name = B1
}
clearance = 0.200mm
ha:flags {
@ -566,11 +566,11 @@ li:pcb-rnd-subcircuit-v6 {
ha:padstack_ref.42 {
proto = 3
rot = 0
x = -2.475mm
x = 2.475mm
y = -1.820mm
ha:attributes {
term = 14
name = 14
term = B2
name = B2
}
clearance = 0.200mm
ha:flags {
@ -580,11 +580,11 @@ li:pcb-rnd-subcircuit-v6 {
ha:padstack_ref.43 {
proto = 3
rot = 0
x = -1.675mm
x = 1.675mm
y = -1.820mm
ha:attributes {
term = 15
name = 15
term = B3
name = B3
}
clearance = 0.200mm
ha:flags {
@ -594,11 +594,11 @@ li:pcb-rnd-subcircuit-v6 {
ha:padstack_ref.44 {
proto = 3
rot = 0
x = -1.275mm
x = 1.275mm
y = -2.520mm
ha:attributes {
term = 16
name = 16
term = B4
name = B4
}
clearance = 0.200mm
ha:flags {
@ -608,11 +608,11 @@ li:pcb-rnd-subcircuit-v6 {
ha:padstack_ref.45 {
proto = 3
rot = 0
x = -0.875mm
x = 0.875mm
y = -1.820mm
ha:attributes {
term = 17
name = 17
term = B5
name = B5
}
clearance = 0.200mm
ha:flags {
@ -622,11 +622,11 @@ li:pcb-rnd-subcircuit-v6 {
ha:padstack_ref.46 {
proto = 3
rot = 0
x = -0.457mm
x = 0.457mm
y = -2.520mm
ha:attributes {
term = 18
name = 18
term = B6
name = B6
}
clearance = 0.200mm
ha:flags {
@ -636,11 +636,11 @@ li:pcb-rnd-subcircuit-v6 {
ha:padstack_ref.47 {
proto = 3
rot = 0
x = 0.457mm
x = -0.457mm
y = -2.520mm
ha:attributes {
term = 19
name = 19
term = B7
name = B7
}
clearance = 0.200mm
ha:flags {
@ -650,11 +650,11 @@ li:pcb-rnd-subcircuit-v6 {
ha:padstack_ref.48 {
proto = 3
rot = 0
x = 0.875mm
x = -0.875mm
y = -1.820mm
ha:attributes {
term = 20
name = 20
term = B8
name = B8
}
clearance = 0.200mm
ha:flags {
@ -664,11 +664,11 @@ li:pcb-rnd-subcircuit-v6 {
ha:padstack_ref.49 {
proto = 3
rot = 0
x = 1.275mm
x = -1.275mm
y = -2.520mm
ha:attributes {
term = 21
name = 21
term = B9
name = B9
}
clearance = 0.200mm
ha:flags {
@ -678,11 +678,11 @@ li:pcb-rnd-subcircuit-v6 {
ha:padstack_ref.50 {
proto = 3
rot = 0
x = 1.675mm
x = -1.675mm
y = -1.820mm
ha:attributes {
term = 22
name = 22
term = B10
name = B10
}
clearance = 0.200mm
ha:flags {
@ -692,11 +692,11 @@ li:pcb-rnd-subcircuit-v6 {
ha:padstack_ref.51 {
proto = 3
rot = 0
x = 2.475mm
x = -2.475mm
y = -1.820mm
ha:attributes {
term = 23
name = 23
term = B11
name = B11
}
clearance = 0.200mm
ha:flags {
@ -706,11 +706,11 @@ li:pcb-rnd-subcircuit-v6 {
ha:padstack_ref.52 {
proto = 3
rot = 0
x = 2.875mm
x = -2.875mm
y = -2.520mm
ha:attributes {
term = 24
name = 24
term = B12
name = B12
}
clearance = 0.200mm
ha:flags {
@ -723,8 +723,8 @@ li:pcb-rnd-subcircuit-v6 {
x = -4.205mm
y = -1.920mm
ha:attributes {
term = 25
name = 25
term = S1
name = S1
}
clearance = 0.200mm
ha:flags {
@ -737,8 +737,8 @@ li:pcb-rnd-subcircuit-v6 {
x = 4.205mm
y = -1.920mm
ha:attributes {
term = 26
name = 26
term = S2
name = S2
}
clearance = 0.200mm
ha:flags {
@ -751,8 +751,8 @@ li:pcb-rnd-subcircuit-v6 {
x = -4.565mm
y = 2.470mm
ha:attributes {
term = 27
name = 27
term = S3
name = S3
}
clearance = 0.200mm
ha:flags {
@ -765,8 +765,8 @@ li:pcb-rnd-subcircuit-v6 {
x = 4.565mm
y = 2.470mm
ha:attributes {
term = 28
name = 28
term = S4
name = S4
}
clearance = 0.200mm
ha:flags {
@ -807,8 +807,8 @@ li:pcb-rnd-subcircuit-v6 {
x = -3.445mm
y = -4.720mm
ha:attributes {
term = 29
name = 29
term = NC1
name = NC1
}
clearance = 0.200mm
ha:flags {
@ -821,8 +821,8 @@ li:pcb-rnd-subcircuit-v6 {
x = 3.445mm
y = -4.720mm
ha:attributes {
term = 30
name = 30
term = NC2
name = NC2
}
clearance = 0.200mm
ha:flags {

View File

@ -4,32 +4,30 @@ description=connector, USB-C, receptacle, 24-pin, SMT+THT+TABS
T 0 0 5 8 0 0 0 0 1
datasheet=https://datasheet.lcsc.com/szlcsc/1905061605_XKB-Enterprise-U262-241N-4BV60_C388659.pdf
T 0 0 5 8 0 0 0 0 1
keywords=connector, USB
T 0 0 5 8 0 0 0 0 1
footprint=CONNECTOR_XKB_U262-24XN-4BV60.fp
B 400 2600 3400 -2200 3 0 1 0 -1 -1 0 -1 -1 -1 -1 -1
P 0 2200 400 2200 1 0 0
{
T 680 2200 9 8 1 1 0 0 1
pinlabel=TX+1
pinlabel=TX1+
T 680 2200 5 8 0 0 0 2 1
pintype=out
T 120 2200 5 8 1 1 0 6 1
pinnumber=2
pinnumber=A2
T 120 2200 5 8 0 0 0 8 1
pinseq=2
pinseq=A2
}
V 500 2200 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 0 2000 400 2000 1 0 0
{
T 680 2000 9 8 1 1 0 0 1
pinlabel=TX-1
pinlabel=TX1-
T 680 2000 5 8 0 0 0 2 1
pintype=out
T 120 2000 5 8 1 1 0 6 1
pinnumber=3
pinnumber=A3
T 120 2000 5 8 0 0 0 8 1
pinseq=3
pinseq=A3
}
V 500 2000 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 0 1800 400 1800 1 0 0
@ -39,33 +37,33 @@ pinlabel=CC1
T 680 1800 5 8 0 0 0 2 1
pintype=io
T 120 1800 5 8 1 1 0 6 1
pinnumber=5
pinnumber=A5
T 120 1800 5 8 0 0 0 8 1
pinseq=5
pinseq=A5
}
V 500 1800 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 0 1600 400 1600 1 0 0
{
T 680 1600 9 8 1 1 0 0 1
pinlabel=D+1
pinlabel=D+
T 680 1600 5 8 0 0 0 2 1
pintype=io
T 120 1600 5 8 1 1 0 6 1
pinnumber=6
pinnumber=A6
T 120 1600 5 8 0 0 0 8 1
pinseq=6
pinseq=A6
}
V 500 1600 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 0 1400 400 1400 1 0 0
{
T 680 1400 9 8 1 1 0 0 1
pinlabel=D-1
pinlabel=D-
T 680 1400 5 8 0 0 0 2 1
pintype=io
T 120 1400 5 8 1 1 0 6 1
pinnumber=7
pinnumber=A7
T 120 1400 5 8 0 0 0 8 1
pinseq=7
pinseq=A7
}
V 500 1400 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 0 1200 400 1200 1 0 0
@ -75,57 +73,57 @@ pinlabel=SBU1
T 680 1200 5 8 0 0 0 2 1
pintype=io
T 120 1200 5 8 1 1 0 6 1
pinnumber=8
pinnumber=A8
T 120 1200 5 8 0 0 0 8 1
pinseq=8
pinseq=A8
}
V 500 1200 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 0 1000 400 1000 1 0 0
{
T 680 1000 9 8 1 1 0 0 1
pinlabel=RX-2
pinlabel=RX2-
T 680 1000 5 8 0 0 0 2 1
pintype=in
T 120 1000 5 8 1 1 0 6 1
pinnumber=10
pinnumber=A10
T 120 1000 5 8 0 0 0 8 1
pinseq=10
pinseq=A10
}
V 500 1000 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 0 800 400 800 1 0 0
{
T 680 800 9 8 1 1 0 0 1
pinlabel=RX+2
pinlabel=RX2+
T 680 800 5 8 0 0 0 2 1
pintype=in
T 120 800 5 8 1 1 0 6 1
pinnumber=11
pinnumber=A11
T 120 800 5 8 0 0 0 8 1
pinseq=11
pinseq=A11
}
V 500 800 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 4200 2200 3800 2200 1 0 0
{
T 3520 2200 9 8 1 1 0 6 1
pinlabel=RX+1
pinlabel=RX1+
T 3520 2200 5 8 0 0 0 8 1
pintype=in
T 4080 2200 5 8 1 1 0 0 1
pinnumber=14
pinnumber=B11
T 4080 2200 5 8 0 0 0 2 1
pinseq=14
pinseq=B11
}
V 3700 2200 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 4200 2000 3800 2000 1 0 0
{
T 3520 2000 9 8 1 1 0 6 1
pinlabel=RX-1
pinlabel=RX1-
T 3520 2000 5 8 0 0 0 8 1
pintype=in
T 4080 2000 5 8 1 1 0 0 1
pinnumber=15
pinnumber=B10
T 4080 2000 5 8 0 0 0 2 1
pinseq=15
pinseq=B10
}
V 3700 2000 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 4200 1800 3800 1800 1 0 0
@ -135,33 +133,33 @@ pinlabel=SBU2
T 3520 1800 5 8 0 0 0 8 1
pintype=io
T 4080 1800 5 8 1 1 0 0 1
pinnumber=17
pinnumber=B8
T 4080 1800 5 8 0 0 0 2 1
pinseq=17
pinseq=B8
}
V 3700 1800 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 4200 1600 3800 1600 1 0 0
{
T 3520 1600 9 8 1 1 0 6 1
pinlabel=D-2
pinlabel=D-
T 3520 1600 5 8 0 0 0 8 1
pintype=pas
pintype=io
T 4080 1600 5 8 1 1 0 0 1
pinnumber=18
pinnumber=B7
T 4080 1600 5 8 0 0 0 2 1
pinseq=18
pinseq=B7
}
V 3700 1600 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 4200 1400 3800 1400 1 0 0
{
T 3520 1400 9 8 1 1 0 6 1
pinlabel=D+2
pinlabel=D+
T 3520 1400 5 8 0 0 0 8 1
pintype=pas
pintype=io
T 4080 1400 5 8 1 1 0 0 1
pinnumber=19
pinnumber=B6
T 4080 1400 5 8 0 0 0 2 1
pinseq=19
pinseq=B6
}
V 3700 1400 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 4200 1200 3800 1200 1 0 0
@ -171,33 +169,33 @@ pinlabel=CC2
T 3520 1200 5 8 0 0 0 8 1
pintype=io
T 4080 1200 5 8 1 1 0 0 1
pinnumber=20
pinnumber=B5
T 4080 1200 5 8 0 0 0 2 1
pinseq=20
pinseq=B5
}
V 3700 1200 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 4200 1000 3800 1000 1 0 0
{
T 3520 1000 9 8 1 1 0 6 1
pinlabel=TX-2
pinlabel=TX2-
T 3520 1000 5 8 0 0 0 8 1
pintype=out
T 4080 1000 5 8 1 1 0 0 1
pinnumber=22
pinnumber=B3
T 4080 1000 5 8 0 0 0 2 1
pinseq=22
pinseq=B3
}
V 3700 1000 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 4200 800 3800 800 1 0 0
{
T 3520 800 9 8 1 1 0 6 1
pinlabel=TX+2
pinlabel=TX2+
T 3520 800 5 8 0 0 0 8 1
pintype=out
T 4080 800 5 8 1 1 0 0 1
pinnumber=23
pinnumber=B2
T 4080 800 5 8 0 0 0 2 1
pinseq=23
pinseq=B2
}
V 3700 800 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 1800 3000 1800 2600 1 0 0
@ -207,9 +205,9 @@ pinlabel=VBUS
T 1800 2320 5 8 0 0 90 8 1
pintype=pwr
T 1800 2880 5 8 1 1 90 0 1
pinnumber=4
pinnumber=A4
T 1800 2880 5 8 0 0 90 2 1
pinseq=4
pinseq=A4
}
V 1800 2500 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 2000 3000 2000 2600 1 0 0
@ -219,9 +217,9 @@ pinlabel=VBUS
T 2000 2320 5 8 0 0 90 8 1
pintype=pwr
T 2000 2880 5 8 1 1 90 0 1
pinnumber=9
pinnumber=A9
T 2000 2880 5 8 0 0 90 2 1
pinseq=9
pinseq=A9
}
V 2000 2500 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 2200 3000 2200 2600 1 0 0
@ -231,9 +229,9 @@ pinlabel=VBUS
T 2200 2320 5 8 0 0 90 8 1
pintype=pwr
T 2200 2880 5 8 1 1 90 0 1
pinnumber=16
pinnumber=B4
T 2200 2880 5 8 0 0 90 2 1
pinseq=16
pinseq=B4
}
V 2200 2500 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 2400 3000 2400 2600 1 0 0
@ -243,9 +241,9 @@ pinlabel=VBUS
T 2400 2320 5 8 0 0 90 8 1
pintype=pwr
T 2400 2880 5 8 1 1 90 0 1
pinnumber=21
pinnumber=B9
T 2400 2880 5 8 0 0 90 2 1
pinseq=21
pinseq=B9
}
V 2400 2500 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 1300 0 1300 400 1 0 0
@ -255,9 +253,9 @@ pinlabel=GND
T 1300 680 5 8 0 0 90 2 1
pintype=pwr
T 1300 120 5 8 1 1 90 6 1
pinnumber=1
pinnumber=A1
T 1300 120 5 8 0 0 90 8 1
pinseq=1
pinseq=A1
}
V 1300 500 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 1500 0 1500 400 1 0 0
@ -267,9 +265,9 @@ pinlabel=GND
T 1500 680 5 8 0 0 90 2 1
pintype=pwr
T 1500 120 5 8 1 1 90 6 1
pinnumber=12
pinnumber=A12
T 1500 120 5 8 0 0 90 8 1
pinseq=12
pinseq=A12
}
V 1500 500 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 1700 0 1700 400 1 0 0
@ -279,9 +277,9 @@ pinlabel=GND
T 1700 680 5 8 0 0 90 2 1
pintype=pwr
T 1700 120 5 8 1 1 90 6 1
pinnumber=13
pinnumber=B1
T 1700 120 5 8 0 0 90 8 1
pinseq=13
pinseq=B1
}
V 1700 500 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 1900 0 1900 400 1 0 0
@ -291,9 +289,9 @@ pinlabel=GND
T 1900 680 5 8 0 0 90 2 1
pintype=pwr
T 1900 120 5 8 1 1 90 6 1
pinnumber=24
pinnumber=B12
T 1900 120 5 8 0 0 90 8 1
pinseq=24
pinseq=B12
}
V 1900 500 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 2300 0 2300 400 1 0 0
@ -303,9 +301,9 @@ pinlabel=SHIELD
T 2300 680 5 8 0 0 90 2 1
pintype=pas
T 2300 120 5 8 1 1 90 6 1
pinnumber=25
pinnumber=S1
T 2300 120 5 8 0 0 90 8 1
pinseq=25
pinseq=S1
}
V 2300 500 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 2500 0 2500 400 1 0 0
@ -315,9 +313,9 @@ pinlabel=SHIELD
T 2500 680 5 8 0 0 90 2 1
pintype=pas
T 2500 120 5 8 1 1 90 6 1
pinnumber=26
pinnumber=S2
T 2500 120 5 8 0 0 90 8 1
pinseq=26
pinseq=S2
}
V 2500 500 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 2700 0 2700 400 1 0 0
@ -327,9 +325,9 @@ pinlabel=SHIELD
T 2700 680 5 8 0 0 90 2 1
pintype=pas
T 2700 120 5 8 1 1 90 6 1
pinnumber=27
pinnumber=S3
T 2700 120 5 8 0 0 90 8 1
pinseq=27
pinseq=S3
}
V 2700 500 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 2900 0 2900 400 1 0 0
@ -339,9 +337,9 @@ pinlabel=SHIELD
T 2900 680 5 8 0 0 90 2 1
pintype=pas
T 2900 120 5 8 1 1 90 6 1
pinnumber=28
pinnumber=S4
T 2900 120 5 8 0 0 90 8 1
pinseq=28
pinseq=S4
}
V 2900 500 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
T 400 2660 5 10 1 1 0 0 1