name: XKB_U262-24XN-4BV64
description: connector, USB-C, receptacle, 24-pin, SMT+TABS
datasheet: http://www.helloxkb.com/public/images/pdf/U262-24XN-4BV64.pdf
distributor: LCSC C388660
alternative: SOFNG MC-312D-C C183607 http://www.sofng.com/uploads/soft/200827/2-200RG61935.pdf

pinout:
  A:
    TX1+: A2
    TX1-: A3
    CC1: A5
    D+: A6
    D-: A7
    SBU1: A8
    RX2-: A10
    RX2+: A11
  B:
    RX1+: B11
    RX1-: B10
    SBU2: B8
    D-: B7
    D+: B6
    CC2: B5
    TX2-: B3
    TX2+: B2
  GND: A1, A12, B1, B12
  VBUS: A4, A9, B4, B9
  SHIELD: S1, S2, S3, S4

properties:
  power: VBUS
  ground: GND
  bidir: D-, D+, CC1, CC2, SBU1, SBU2
  in: RX1-, RX1+, RX2-, RX2+
  out: TX1-, TX1+, TX2-, TX2+
  passive: SHIELD

schematic:
  symbol: connector
  left: A
  right: B
  top: VBUS
  bottom: GND, SHIELD

housing:
  pattern: custom
  bodyWidth: 8.94
  bodyLength: 7.90
  bodyPosition: 0, -1.25 # use tab as center (2.70 - 7.90 / 2)
  height: 3.16

  # A
  numbers: A1-12
  padWidth: 0.30
  padHeight: 0.95
  pitch: 0.50
  rowCount: 1
  columnCount: 12
  rowDX: 0.12 # 5.5*0.5 - 2.63
  rowDY: -5.175 # 3.40 + 2.25 - 0.95/2

  # B
  numbers1: B1-12
  padWidth1: 0.30
  padHeight1: 0.95
  pitch1: -0.50
  rowCount1: 1
  columnCount1: 12
  rowDX1: -0.13 # 5.5*0.5 - 2.88
  rowDY1: -3.875 # 3.40 + 0.95/2

  # shield edge
  numbers2: S3, S4
  slotWidth2: 0.6
  slotHeight2: 1.9
  padWidth2: 1.0
  padHeight2: 2.3
  padPosition2: -4.32, 0, 4.32, 0 # 8.64/2

  # shield pins
  numbers3: S1, S2
  slotWidth3: 0.6
  slotHeight3: 1.6
  padWidth3: 1.0
  padHeight3: 2.0
  padPosition3: -4.32, -4.55, 4.32, -4.55 # 8.64/2

  numbers4: S1, S2
  slotWidth4: 1.2
  slotHeight4: 0.6
  padWidth4: 1.5
  padHeight4: 1.0
  padPosition4: -4.02, -4.05, 4.02, -4.05 # 8.64/2 + 0.3 - 1.2/2, -4.55+1.6/2-0.6/2

  # mounting hole
  holeDiameter5: 0.5
  padPosition5: -3.4, -3.2, 3.4, -3.2
