Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Convert SSOP-10_3.9x4.9mm_P1.00mm to generator, and add SOP-10_3.9x4.9mm_P1mm and NSOP-16_3.9x9.9mm_P1.27mm #645

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
FileHeader:
library_Suffix: 'SO'
device_type: 'NSOP'

NSOP-16_3.9x9.9mm_P1.27mm:
size_source: 'JEDEC MS-012AC, https://www.holtek.com/documents/10179/11842/HT42B534-xv110.pdf'
thatoddmailbox marked this conversation as resolved.
Show resolved Hide resolved
body_size_x: # from JEDEC
nominal: 3.9
tolerance: 0.1
body_size_y:
minimum: 9.8
maximum: 10
thatoddmailbox marked this conversation as resolved.
Show resolved Hide resolved
overall_height:
maximum: 1.75

overall_size_x: # from JEDEC (agrees with linked datasheet)
nominal: 6
tolerance: 0.2
lead_len:
thatoddmailbox marked this conversation as resolved.
Show resolved Hide resolved
minimum: 0.4
maximum: 1.27
lead_width: # from JEDEC (agrees with linked datasheet)
minimum: 0.31
maximum: 0.51

pitch: 1.27
num_pins_x: 0
num_pins_y: 8
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ SOIC-8_7.5x5.85mm_P1.27mm:

SOIC-14_3.9x8.7mm_P1.27mm:
#round to two significant digits to comply with old name
custom_name_format: SOIC-{pincount:d}_{size_x:.2g}x{size_y:.2g}mm_P{pitch:g}mm
custom_name_format: SOIC-{pincount:s}_{size_x:.2g}x{size_y:.2g}mm_P{pitch:g}mm
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change all of those?
edit: I see that you commented on that. My first guess is that this is an unintended changed in the generator.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I can undo this change if you want, but then the script crashes on generating soic.yaml.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI: We are discussing this issue in #649

size_source: 'JEDEC MS-012AB, https://www.analog.com/media/en/package-pcb-resources/package/pkg_pdf/soic_narrow-r/r_14.pdf'
body_size_x: # from JEDEC
nominal: 3.9
Expand All @@ -458,7 +458,7 @@ SOIC-14_3.9x8.7mm_P1.27mm:
num_pins_y: 7

SOIC-14W_7.5x9.0mm_P1.27mm:
custom_name_format: SOIC-{pincount:d}W_{size_x:g}x{size_y:g}mm_P{pitch:g}mm
custom_name_format: SOIC-{pincount:s}W_{size_x:g}x{size_y:g}mm_P{pitch:g}mm
size_source: 'JEDEC MS-013AF, https://www.analog.com/media/en/package-pcb-resources/package/54614177245586rw_14.pdf'
body_size_x: # from JEDEC (agrees with linked datasheet)
nominal: 7.5
Expand Down Expand Up @@ -533,7 +533,7 @@ SOIC-16_4.55x10.3mm_P1.27mm:
num_pins_y: 8

SOIC-16W_7.5x10.3mm_P1.27mm:
custom_name_format: SOIC-{pincount:d}W_{size_x:g}x{size_y:g}mm_P{pitch:g}mm
custom_name_format: SOIC-{pincount:s}W_{size_x:g}x{size_y:g}mm_P{pitch:g}mm
size_source: 'JEDEC MS-013AA, https://www.analog.com/media/en/package-pcb-resources/package/pkg_pdf/soic_wide-rw/rw_16.pdf'
body_size_x: # from JEDEC (agrees with linked datasheet)
nominal: 7.5
Expand Down Expand Up @@ -561,7 +561,7 @@ SOIC-16W_7.5x10.3mm_P1.27mm:

SOIC-16W_7.5x12.8mm_P1.27mm:
#round to two significant digits to comply with old name
custom_name_format: SOIC-{pincount:d}W_{size_x:.2g}x{size_y:.3g}mm_P{pitch:g}mm
custom_name_format: SOIC-{pincount:s}W_{size_x:.2g}x{size_y:.3g}mm_P{pitch:g}mm
size_source: 'https://www.analog.com/media/en/package-pcb-resources/package/pkg_pdf/ri_soic_ic/ri_16_1.pdf'
body_size_x:
minimum: 7.4
Expand Down Expand Up @@ -589,7 +589,7 @@ SOIC-16W_7.5x12.8mm_P1.27mm:

SOIC-18W_7.5x11.6mm_P1.27mm:
#round to two significant digits to comply with old name
custom_name_format: SOIC-{pincount:d}W_{size_x:.2g}x{size_y:.3g}mm_P{pitch:g}mm
custom_name_format: SOIC-{pincount:s}W_{size_x:.2g}x{size_y:.3g}mm_P{pitch:g}mm
size_source: 'JEDEC MS-013AB, https://www.analog.com/media/en/package-pcb-resources/package/33254132129439rw_18.pdf'
body_size_x: # from JEDEC (agrees with linked datasheet)
nominal: 7.5
Expand Down Expand Up @@ -617,7 +617,7 @@ SOIC-18W_7.5x11.6mm_P1.27mm:

SOIC-20W_7.5x12.8mm_P1.27mm:
#round to two significant digits to comply with old name
custom_name_format: SOIC-{pincount:d}W_{size_x:.2g}x{size_y:.3g}mm_P{pitch:g}mm
custom_name_format: SOIC-{pincount:s}W_{size_x:.2g}x{size_y:.3g}mm_P{pitch:g}mm
size_source: 'JEDEC MS-013AC, https://www.analog.com/media/en/package-pcb-resources/package/233848rw_20.pdf'
body_size_x: # from JEDEC (agrees with linked datasheet)
nominal: 7.5
Expand Down Expand Up @@ -645,7 +645,7 @@ SOIC-20W_7.5x12.8mm_P1.27mm:

SOIC-24W_7.5x15.4mm_P1.27mm:
#round to two significant digits to comply with old name
custom_name_format: SOIC-{pincount:d}W_{size_x:.2g}x{size_y:.3g}mm_P{pitch:g}mm
custom_name_format: SOIC-{pincount:s}W_{size_x:.2g}x{size_y:.3g}mm_P{pitch:g}mm
size_source: 'JEDEC MS-013AD, https://www.analog.com/media/en/package-pcb-resources/package/pkg_pdf/soic_wide-rw/RW_24.pdf'
body_size_x: # from JEDEC (agrees with linked datasheet)
nominal: 7.5
Expand Down Expand Up @@ -673,7 +673,7 @@ SOIC-24W_7.5x15.4mm_P1.27mm:

SOIC-28W_7.5x17.9mm_P1.27mm:
#round to two significant digits to comply with old name
custom_name_format: SOIC-{pincount:d}W_{size_x:.2g}x{size_y:.3g}mm_P{pitch:g}mm
custom_name_format: SOIC-{pincount:s}W_{size_x:.2g}x{size_y:.3g}mm_P{pitch:g}mm
size_source: 'JEDEC MS-013AE, https://www.analog.com/media/en/package-pcb-resources/package/35833120341221rw_28.pdf'
body_size_x: # from JEDEC (agrees with linked datasheet)
nominal: 7.5
Expand Down Expand Up @@ -701,7 +701,7 @@ SOIC-28W_7.5x17.9mm_P1.27mm:

SOIC-28W_7.5x18.7mm_P1.27mm:
#round to two significant digits to comply with old name
custom_name_format: SOIC-{pincount:d}W_{size_x:.2g}x{size_y:.3g}mm_P{pitch:g}mm
custom_name_format: SOIC-{pincount:s}W_{size_x:.2g}x{size_y:.3g}mm_P{pitch:g}mm
size_source: 'https://www.akm.com/akm/en/file/datasheet/AK5394AVS.pdf#page=23'
body_size_x:
nominal: 7.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,34 @@ SOP-8_6.62x9.15mm_P2.54mm:
num_pins_x: 0
num_pins_y: 4

SOP-10_3.9x4.9mm_P1mm:
size_source: 'https://www.holtek.com/documents/10179/11842/HT42B534-xv110.pdf'
body_size_x:
minimum: 3.80
maximum: 4.00
body_size_y:
minimum: 4.80
maximum: 5.00
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where did you get the min-max values from?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I didn't realize you were able to just write exact values! These don't have tolerances, so I changed them.

overall_height:
maximum: 1.75

overall_size_x:
minimum: 5.90
maximum: 6.10
lead_width:
minimum: 0.30
maximum: 0.45
lead_len:
# the Holtek datasheet seems to have invalid values for this measurement
# (it claims a maximum of 1.27, which seems too big)
# so use alternate source http://www.st.com/resource/en/datasheet/viper01.pdf
minimum: 0.40
maximum: 0.90
thatoddmailbox marked this conversation as resolved.
Show resolved Hide resolved

pitch: 1.00
num_pins_x: 0
num_pins_y: 5

SOP-16_4.4.55x10.3mm_P1.27mm:
size_source: 'https://toshiba.semicon-storage.com/info/docget.jsp?did=12855&prodName=TLP290-4'
body_size_x:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,31 @@ SSOP-8_5.25x5.24mm_P1.27mm:
num_pins_x: 0
num_pins_y: 4

SSOP-10_3.9x4.9mm_P1mm:
size_source: 'http://www.st.com/resource/en/datasheet/viper01.pdf'
thatoddmailbox marked this conversation as resolved.
Show resolved Hide resolved
body_size_x:
minimum: 3.80
maximum: 4.00
body_size_y:
minimum: 4.80
maximum: 5.00
thatoddmailbox marked this conversation as resolved.
Show resolved Hide resolved
overall_height:
maximum: 1.75

overall_size_x:
minimum: 5.80
maximum: 6.20
lead_width:
minimum: 0.31
maximum: 0.51
lead_len:
minimum: 0.40
maximum: 0.90

pitch: 1.00
num_pins_x: 0
num_pins_y: 5

SSOP-32_11.3x20.5mm_P1.27mm:
size_source: 'http://www.issi.com/WW/pdf/61-64C5128AL.pdf'
body_size_x:
Expand Down