name: XKB_U262-24XN-4BV60
description: connector, USB-C, receptacle, 24-pin, SMT+THT+TABS
datasheet: http://www.helloxkb.com/public/images/pdf/U262-24XN-4BV60.pdf
distributor: LCSC C388659
alternative: HRO TYPE-C-31-M-04 C129018 http://www.krhro.com/uploads/soft/180519/1-1P519104315.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: 9.9
  bodyLength: 10
  bodyPosition: 0, 3.17 # use mounting holes line as center (2.53 + 5.64 - 10.0 / 2)
  height: 3.21 # from older version of datasheet

  # A
  numbers: A1-12
  padWidth: 0.30
  padHeight: 0.90
  pitch: 0.50
  rowCount: 1
  columnCount: 12
  rowDX: 0
  rowDY: -0.56

  # B
  numbers1: B1-12
  holeDiameter1: 0.4
  padDiameter1: 0.66
  padPosition1: 2.8, 0.65, 2.4, 1.35, 1.6, 1.35, 1.2, 0.65, 0.8, 1.35, 0.4, 0.65, -0.4, 0.65, -0.8, 1.35, -1.2, 0.65, -1.6, 1.35, -2.4, 1.35, -2.8, 0.65

  # shield
  numbers2: S1, S2, S3, S4
  slotWidth2: 0.5
  slotHeight2: 1.1
  padWidth2: 0.9
  padHeight2: 1.5
  padPosition2: -4.125, 1.25, 4.125, 1.25, -4.5, 5.64, 4.5, 5.64

  # mounting hole
  holeDiameter3: 0.75 # make hole larger because three of their datasheet with the same revision number have different dimensions
  padPosition3: -3.6, 0, 3.6, 0
