Nexperia (Nexteria) Manufacturer Skill
Important Note: The handler filename uses "Nexteria" which is a typo. The actual manufacturer is "Nexperia" (formerly NXP Standard Products/Philips Semiconductors).
Manufacturer Overview
Nexperia specializes in discrete components and logic ICs:
- Transistors: PMBT, PBSS, BC, BF, PN, 2N series (NPN/PNP)
- MOSFETs: PSMN (N-ch power), PSMP (P-ch power), PMV (small signal), 2N7002
- Diodes: PMEG (Schottky), BAV/BAS (signal), BAT (Schottky), BZX/PZU (Zener)
- ESD Protection: PESD, PRTR, PTVS, IP4 series
- Logic ICs: 74LVC, 74AHC, 74AUP, 74HC, 74HCT families
MPN Structure
Nexperia MPNs generally follow these patterns:
Discrete Components (Transistors, MOSFETs, Diodes)
[PREFIX][SERIES][SPECS][PACKAGE][,REEL]
| | | | |
| | | | └── Optional: ,215 or ,315 for tape & reel
| | | └── Package suffix (varies by series)
| | └── Voltage/current ratings or grade
| └── Series identifier
└── Family prefix (PSMN, PMBT, PMEG, etc.)
Logic ICs
74[FAMILY][FUNCTION][PACKAGE]
| | |
| | └── Package code (GW, BQ, PW, D)
| └── Logic function number (00, 04, 595, etc.)
└── Technology family (HC, HCT, LVC, AHC, AUP, etc.)
Package Codes
Tape & Reel Suffixes (Comma-Separated)
| Code |
Package |
Notes |
| ,215 |
SOT23 |
Standard 7" reel |
| ,235 |
SOT23 |
Alternate SOT23 |
| ,315 |
SOD882 |
Leadless package |
| ,115 |
SOT223 |
Power package |
Letter Suffixes
| Code |
Package |
Notes |
| T |
SOT23 |
Default small signal |
| S |
SOT363 |
6-pin SOT |
| U |
SOT323 |
SC-70 |
| W |
SC70 |
Very small signal |
| F |
SOT89 |
Medium power |
| L |
TO-220 |
Through-hole power |
| FI |
TO-220F |
Isolated TO-220 |
| D |
SO14 |
SOIC 14-pin |
| PW |
TSSOP |
Thin profile |
| BQ |
DHVQFN |
QFN variant |
| GD |
XSON8 |
Tiny logic |
| GS |
XSON6 |
Tiny logic |
Power MOSFET Packages (PSMN/PSMP)
| Suffix |
Package |
Notes |
| T |
LFPAK56 |
Standard power MOSFET |
| U |
LFPAK88 |
Larger power MOSFET |
| V |
LFPAK33 |
Smaller power MOSFET |
| B |
SOT754 |
Power-SO8 |
| PE |
LFPAK56E |
Enhanced thermal |
| L |
TO-220 |
Through-hole |
| F / FI |
TO-220F |
Isolated |
Schottky Rectifier Packages (PMEG)
| Suffix |
Package |
| AEH |
SOD123 |
| AED |
SOD323F |
| BEA |
SOD128 |
| BEB |
CFP3 |
| AET |
SOD523 |
ESD Protection Packages (PESD)
| Suffix |
Package |
| BL |
SOD882 |
| BA |
SOD323 |
| UB |
SOT23 |
| UD |
SOT323 |
Family Prefixes by Component Type
MOSFETs
| Prefix |
Type |
Description |
| PSMN |
N-channel power |
High current, low RDS(on) |
| PSMP |
P-channel power |
Complementary to PSMN |
| PMV |
Small signal |
Low voltage, small packages |
| BSS |
Small signal |
Legacy/standard series |
| BUK |
Legacy power |
Older power MOSFET series |
| PJD |
JFET |
Junction FET series |
| 2N7002 |
N-channel |
Popular small signal MOSFET |
Transistors (BJT)
| Prefix |
Type |
Description |
| PMBT |
Small signal |
SOT23 transistors (PMBT2222A, etc.) |
| PBSS |
Small signal |
High performance |
| PMP |
Medium power |
Higher current capability |
| PXN |
High power |
High current transistors |
| MMBT |
SMD standard |
Surface mount TO-92 equivalent |
| BC |
Classic series |
BC546, BC547, BC548, BC549, BC550 |
| BF |
High frequency |
RF and switching |
| 2N2222 |
NPN |
Classic NPN general purpose |
| 2N3904 |
NPN |
General purpose NPN |
| 2N3906 |
PNP |
General purpose PNP |
| PN2222 |
NPN |
TO-92 variant of 2N2222 |
Diodes
| Prefix |
Type |
Description |
| PMEG |
Schottky rectifier |
Low forward voltage |
| BAV |
Signal/switching |
BAV99, BAV70 (dual diodes) |
| BAS |
Signal |
General purpose signal |
| BAT |
Schottky signal |
BAT54, BAT46 |
| BZX |
Zener |
BZX84 (SOT23), BZX55/79 (DO-35) |
| PZU |
Zener |
Alternative Zener series |
| 1N4148 |
Signal |
Standard signal diode |
| 1N914 |
Signal |
Equivalent to 1N4148 |
ESD Protection
| Prefix |
Type |
Description |
| PESD |
Single/dual line |
General ESD protection |
| PRTR |
Protection arrays |
Multi-line protection |
| PTVS |
TVS diodes |
Transient voltage suppression |
| IP4 |
Interface protection |
USB, HDMI specific |
Logic ICs (74-series)
| Family |
Description |
Voltage |
| 74HC |
High-speed CMOS |
2-6V |
| 74HCT |
HC with TTL inputs |
4.5-5.5V |
| 74LVC |
Low-voltage CMOS |
1.65-3.6V |
| 74LVCH |
LVC with bus hold |
1.65-3.6V |
| 74LVT |
Low-voltage BiCMOS |
3.3V |
| 74AHC |
Advanced high-speed |
2-5.5V |
| 74AHCT |
AHC with TTL inputs |
4.5-5.5V |
| 74AUC |
Advanced ultra-low voltage |
0.8-2.7V |
| 74AUP |
Advanced ultra-low power |
0.8-3.6V |
Interface ICs
| Prefix |
Type |
Description |
| PCA |
I2C devices |
Bus controllers, switches |
| PCF |
Interface/control |
Legacy interface ICs |
| PTN |
Level translators |
Voltage translation |
Example MPN Decoding
Power MOSFET
PSMN013-30YLC
│ │ │ ││
│ │ │ │└── C = Tape cut
│ │ │ └── L = TO-220 package
│ │ └── Y = Some variant indicator
│ └── 30 = 30V rating
└── PSMN013 = N-channel MOSFET with 13mOhm RDS(on)
Small Signal Transistor
PMBT2222A,215
│ │ │ └── ,215 = SOT23, 7" reel
│ │ └── A = Grade (improved specs)
│ └── 2222 = 2N2222 equivalent
└── PMBT = Plastic small signal transistor (SOT23)
Logic IC
74LVC1G04GW,125
│ │ │ ││ └── ,125 = Packaging code (tape & reel)
│ │ │ │└── GW = SOT353 package
│ │ │ └── 04 = Inverter function
│ │ └── 1G = Single gate
│ └── LVC = Low-voltage CMOS family
└── 74 = Logic IC prefix
Schottky Diode
PMEG6010AEH
│ │ ││ └── AEH = SOD123 package
│ │ │└── A = Grade
│ │ └── 10 = 1A forward current
│ └── 60 = 60V reverse voltage
└── PMEG = Schottky rectifier series
Zener Diode
BZX84-C5V1,215
│ │ │ │ └── ,215 = SOT23, 7" reel
│ │ │ └── 5V1 = 5.1V Zener voltage
│ │ └── C = Grade
│ └── 84 = SOT23 package series
└── BZX = Zener diode
ESD Protection
PESD5V0S1BL,315
│ │ │ ││ └── ,315 = SOD882, 7" reel
│ │ │ │└── BL = SOD882 package
│ │ │ └── S1 = Single line
│ │ └── 5V0 = 5.0V working voltage
│ └── PESD = ESD protection device
└── P = Nexperia prefix
Supported Component Types
The NexteriaHandler supports these ComponentTypes:
Base Types
MOSFET
TRANSISTOR
DIODE
IC
Nexperia-Specific Types
MOSFET_NEXPERIA
BIPOLAR_TRANSISTOR_NEXPERIA
ESD_PROTECTION_NEXPERIA
LOGIC_IC_NEXPERIA
Series Extraction Rules
The handler extracts series using these patterns:
| Pattern |
Extracted Series |
| PSMN* |
"PSMN" |
| PSMP* |
"PSMP" |
| PMV* |
"PMV" |
| BSS* |
"BSS" |
| 2N7002* |
"2N7002" |
| PMBT* |
"PMBT" |
| PBSS* |
"PBSS" |
| BC5xx* |
"BC5xx" |
| BC8xx* |
"BC8xx" |
| BC* |
"BC" |
| BF* |
"BF" |
| MMBT* |
"MMBT" |
| PMEG* |
"PMEG" |
| BAVxx* |
Specific (e.g., "BAV99") |
| BATxx* |
Specific (e.g., "BAT54") |
| BZXxx* |
Specific (e.g., "BZX84") |
| 74family* |
Family (e.g., "74LVC", "74AHC") |
| PCA* |
"PCA" |
| PCF* |
"PCF" |
| PTN* |
"PTN" |
Package Code Extraction Logic
Step 1: Check for Comma-Separated Suffix
// Nexperia uses ,215, ,315, etc. for tape & reel packaging
if (mpn.contains(",")) {
String suffix = mpn.substring(mpn.indexOf(',') + 1);
// Lookup in NEXPERIA_PACKAGES map
}
Step 2: Series-Specific Extraction
Power MOSFETs (PSMN/PSMP):
- Extract letter suffix after last digit
- T=LFPAK56, U=LFPAK88, V=LFPAK33, B=SOT754, L=TO-220
Small Signal (PMV/BSS/2N7002):
- Extract suffix after last digit
- Lookup in package map or return default SOT23
Transistors (PMBT/PBSS):
- Single letter suffix after grade letter = default SOT23
- Multi-letter suffix = lookup in map
Zener Diodes (BZX):
- BZX84 = SOT23
- BZX384 = SOD323
- BZX55/79 = DO-35
- BZX85 = DO-41
Signal Diodes (BAV/BAS/BAT):
Schottky Rectifiers (PMEG):
- Suffix-based: AEH=SOD123, AED=SOD323F, BEA=SOD128
ESD Protection (PESD):
- BL=SOD882, BA=SOD323, UB=SOT23, UD=SOT323
Logic ICs (74xxx):
- GW=SOT353, GM=XSON6, BQ=DHVQFN, PW=TSSOP, D=SO14
- Also handles underscore format: 74HC00_D
Official Replacement Rules
The handler supports isOfficialReplacement() for:
Logic ICs
- Same function number across families are compatible
- HCT is backward compatible with HC
- Same family, different packages are compatible
Transistors
- PMBT2222A, 2N2222, PN2222 are equivalent (base "2222")
- PMBT3904 and 2N3904 are equivalent
- PMBT3906 and 2N3906 are equivalent
MOSFETs
- Same base part, different package = compatible
- e.g., PSMN013-30YL and PSMN013-30YT (same specs, different packages)
Handler Implementation Notes
MPN Normalization
// Remove tape & reel suffix before pattern matching
private String normalizeForMatching(String mpn) {
if (mpn.contains(",")) {
return mpn.substring(0, mpn.indexOf(','));
}
return mpn;
}
Pattern Matching
The handler overrides matches() with explicit checks to avoid cross-handler false matches. It does NOT fall back to the PatternRegistry default implementation.
Supported Types Use Set.of()
return Set.of(
ComponentType.MOSFET,
ComponentType.TRANSISTOR,
ComponentType.DIODE,
ComponentType.IC,
ComponentType.MOSFET_NEXPERIA,
ComponentType.BIPOLAR_TRANSISTOR_NEXPERIA,
ComponentType.ESD_PROTECTION_NEXPERIA,
ComponentType.LOGIC_IC_NEXPERIA
);
Related Files
- Handler:
manufacturers/NexteriaHandler.java (note: typo in filename)
- Component types:
MOSFET_NEXPERIA, BIPOLAR_TRANSISTOR_NEXPERIA, ESD_PROTECTION_NEXPERIA, LOGIC_IC_NEXPERIA
Learnings & Quirks
Handler Filename Typo
- The file is named
NexteriaHandler.java but the manufacturer is Nexperia
- This is documented in the class-level Javadoc comment
- All ComponentTypes use the correct "NEXPERIA" suffix
Comma-Separated Package Codes
- Unlike most manufacturers, Nexperia uses comma-separated suffixes (,215, ,315)
- These MUST be stripped before pattern matching
- The comma suffix encodes both package AND tape/reel configuration
Logic IC Families
- When extracting logic family, check longer prefixes first: AHCT before AHC, LVCH before LVC
- The
extractLogicFamily() method iterates through families in correct order
Package Extraction Complexity
- Different series have completely different package encoding schemes
- PMEG uses full suffix codes (AEH, AED), while PSMN uses single letters (T, U, V)
- BZX series encodes package in the series name itself (BZX84 = SOT23)
Transistor Equivalents
- PMBT2222A = 2N2222A = PN2222A (same transistor, different packages)
- The handler correctly identifies these as equivalent in
isOfficialReplacement()
No ManufacturerComponentTypes
getManufacturerTypes() returns Collections.emptySet()
- All types are standard ComponentType enums
Pattern Registration
- Each pattern is registered for BOTH base type and Nexperia-specific type
- Example:
MOSFET and MOSFET_NEXPERIA both get the PSMN pattern
1---2name: nexteria3description: Nexperia (filename uses "Nexteria" typo) MPN encoding patterns for discrete semiconductors, logic ICs, and ESD protection. Use when working with Nexperia components or NexteriaHandler.4---5
6# Nexperia (Nexteria) Manufacturer Skill
7
8**Important Note**: The handler filename uses "Nexteria" which is a typo. The actual manufacturer is "Nexperia" (formerly NXP Standard Products/Philips Semiconductors).
9
10## Manufacturer Overview
11
12Nexperia specializes in discrete components and logic ICs:
13- **Transistors**: PMBT, PBSS, BC, BF, PN, 2N series (NPN/PNP)
14- **MOSFETs**: PSMN (N-ch power), PSMP (P-ch power), PMV (small signal), 2N7002
15- **Diodes**: PMEG (Schottky), BAV/BAS (signal), BAT (Schottky), BZX/PZU (Zener)
16- **ESD Protection**: PESD, PRTR, PTVS, IP4 series
17- **Logic ICs**: 74LVC, 74AHC, 74AUP, 74HC, 74HCT families
18
19---
20
21## MPN Structure
22
23Nexperia MPNs generally follow these patterns:
24
25### Discrete Components (Transistors, MOSFETs, Diodes)
26
27```
28[PREFIX][SERIES][SPECS][PACKAGE][,REEL]
29 | | | | |
30 | | | | └── Optional: ,215 or ,315 for tape & reel
31 | | | └── Package suffix (varies by series)
32 | | └── Voltage/current ratings or grade
33 | └── Series identifier
34 └── Family prefix (PSMN, PMBT, PMEG, etc.)
35```
36
37### Logic ICs
38
39```
4074[FAMILY][FUNCTION][PACKAGE]
41 | | |
42 | | └── Package code (GW, BQ, PW, D)
43 | └── Logic function number (00, 04, 595, etc.)
44 └── Technology family (HC, HCT, LVC, AHC, AUP, etc.)
45```
46
47---
48
49## Package Codes
50
51### Tape & Reel Suffixes (Comma-Separated)
52
53| Code | Package | Notes |
54|------|---------|-------|
55| ,215 | SOT23 | Standard 7" reel |
56| ,235 | SOT23 | Alternate SOT23 |
57| ,315 | SOD882 | Leadless package |
58| ,115 | SOT223 | Power package |
59
60### Letter Suffixes
61
62| Code | Package | Notes |
63|------|---------|-------|
64| T | SOT23 | Default small signal |
65| S | SOT363 | 6-pin SOT |
66| U | SOT323 | SC-70 |
67| W | SC70 | Very small signal |
68| F | SOT89 | Medium power |
69| L | TO-220 | Through-hole power |
70| FI | TO-220F | Isolated TO-220 |
71| D | SO14 | SOIC 14-pin |
72| PW | TSSOP | Thin profile |
73| BQ | DHVQFN | QFN variant |
74| GD | XSON8 | Tiny logic |
75| GS | XSON6 | Tiny logic |
76
77### Power MOSFET Packages (PSMN/PSMP)
78
79| Suffix | Package | Notes |
80|--------|---------|-------|
81| T | LFPAK56 | Standard power MOSFET |
82| U | LFPAK88 | Larger power MOSFET |
83| V | LFPAK33 | Smaller power MOSFET |
84| B | SOT754 | Power-SO8 |
85| PE | LFPAK56E | Enhanced thermal |
86| L | TO-220 | Through-hole |
87| F / FI | TO-220F | Isolated |
88
89### Schottky Rectifier Packages (PMEG)
90
91| Suffix | Package |
92|--------|---------|
93| AEH | SOD123 |
94| AED | SOD323F |
95| BEA | SOD128 |
96| BEB | CFP3 |
97| AET | SOD523 |
98
99### ESD Protection Packages (PESD)
100
101| Suffix | Package |
102|--------|---------|
103| BL | SOD882 |
104| BA | SOD323 |
105| UB | SOT23 |
106| UD | SOT323 |
107
108---
109
110## Family Prefixes by Component Type
111
112### MOSFETs
113
114| Prefix | Type | Description |
115|--------|------|-------------|
116| PSMN | N-channel power | High current, low RDS(on) |
117| PSMP | P-channel power | Complementary to PSMN |
118| PMV | Small signal | Low voltage, small packages |
119| BSS | Small signal | Legacy/standard series |
120| BUK | Legacy power | Older power MOSFET series |
121| PJD | JFET | Junction FET series |
122| 2N7002 | N-channel | Popular small signal MOSFET |
123
124### Transistors (BJT)
125
126| Prefix | Type | Description |
127|--------|------|-------------|
128| PMBT | Small signal | SOT23 transistors (PMBT2222A, etc.) |
129| PBSS | Small signal | High performance |
130| PMP | Medium power | Higher current capability |
131| PXN | High power | High current transistors |
132| MMBT | SMD standard | Surface mount TO-92 equivalent |
133| BC | Classic series | BC546, BC547, BC548, BC549, BC550 |
134| BF | High frequency | RF and switching |
135| 2N2222 | NPN | Classic NPN general purpose |
136| 2N3904 | NPN | General purpose NPN |
137| 2N3906 | PNP | General purpose PNP |
138| PN2222 | NPN | TO-92 variant of 2N2222 |
139
140### Diodes
141
142| Prefix | Type | Description |
143|--------|------|-------------|
144| PMEG | Schottky rectifier | Low forward voltage |
145| BAV | Signal/switching | BAV99, BAV70 (dual diodes) |
146| BAS | Signal | General purpose signal |
147| BAT | Schottky signal | BAT54, BAT46 |
148| BZX | Zener | BZX84 (SOT23), BZX55/79 (DO-35) |
149| PZU | Zener | Alternative Zener series |
150| 1N4148 | Signal | Standard signal diode |
151| 1N914 | Signal | Equivalent to 1N4148 |
152
153### ESD Protection
154
155| Prefix | Type | Description |
156|--------|------|-------------|
157| PESD | Single/dual line | General ESD protection |
158| PRTR | Protection arrays | Multi-line protection |
159| PTVS | TVS diodes | Transient voltage suppression |
160| IP4 | Interface protection | USB, HDMI specific |
161
162### Logic ICs (74-series)
163
164| Family | Description | Voltage |
165|--------|-------------|---------|
166| 74HC | High-speed CMOS | 2-6V |
167| 74HCT | HC with TTL inputs | 4.5-5.5V |
168| 74LVC | Low-voltage CMOS | 1.65-3.6V |
169| 74LVCH | LVC with bus hold | 1.65-3.6V |
170| 74LVT | Low-voltage BiCMOS | 3.3V |
171| 74AHC | Advanced high-speed | 2-5.5V |
172| 74AHCT | AHC with TTL inputs | 4.5-5.5V |
173| 74AUC | Advanced ultra-low voltage | 0.8-2.7V |
174| 74AUP | Advanced ultra-low power | 0.8-3.6V |
175
176### Interface ICs
177
178| Prefix | Type | Description |
179|--------|------|-------------|
180| PCA | I2C devices | Bus controllers, switches |
181| PCF | Interface/control | Legacy interface ICs |
182| PTN | Level translators | Voltage translation |
183
184---
185
186## Example MPN Decoding
187
188### Power MOSFET
189
190```
191PSMN013-30YLC
192│ │ │ ││
193│ │ │ │└── C = Tape cut
194│ │ │ └── L = TO-220 package
195│ │ └── Y = Some variant indicator
196│ └── 30 = 30V rating
197└── PSMN013 = N-channel MOSFET with 13mOhm RDS(on)
198```
199
200### Small Signal Transistor
201
202```
203PMBT2222A,215
204│ │ │ └── ,215 = SOT23, 7" reel
205│ │ └── A = Grade (improved specs)
206│ └── 2222 = 2N2222 equivalent
207└── PMBT = Plastic small signal transistor (SOT23)
208```
209
210### Logic IC
211
212```
21374LVC1G04GW,125
214│ │ │ ││ └── ,125 = Packaging code (tape & reel)
215│ │ │ │└── GW = SOT353 package
216│ │ │ └── 04 = Inverter function
217│ │ └── 1G = Single gate
218│ └── LVC = Low-voltage CMOS family
219└── 74 = Logic IC prefix
220```
221
222### Schottky Diode
223
224```
225PMEG6010AEH
226│ │ ││ └── AEH = SOD123 package
227│ │ │└── A = Grade
228│ │ └── 10 = 1A forward current
229│ └── 60 = 60V reverse voltage
230└── PMEG = Schottky rectifier series
231```
232
233### Zener Diode
234
235```
236BZX84-C5V1,215
237│ │ │ │ └── ,215 = SOT23, 7" reel
238│ │ │ └── 5V1 = 5.1V Zener voltage
239│ │ └── C = Grade
240│ └── 84 = SOT23 package series
241└── BZX = Zener diode
242```
243
244### ESD Protection
245
246```
247PESD5V0S1BL,315
248│ │ │ ││ └── ,315 = SOD882, 7" reel
249│ │ │ │└── BL = SOD882 package
250│ │ │ └── S1 = Single line
251│ │ └── 5V0 = 5.0V working voltage
252│ └── PESD = ESD protection device
253└── P = Nexperia prefix
254```
255
256---
257
258## Supported Component Types
259
260The NexteriaHandler supports these ComponentTypes:
261
262### Base Types
263- `MOSFET`
264- `TRANSISTOR`
265- `DIODE`
266- `IC`
267
268### Nexperia-Specific Types
269- `MOSFET_NEXPERIA`
270- `BIPOLAR_TRANSISTOR_NEXPERIA`
271- `ESD_PROTECTION_NEXPERIA`
272- `LOGIC_IC_NEXPERIA`
273
274---
275
276## Series Extraction Rules
277
278The handler extracts series using these patterns:
279
280| Pattern | Extracted Series |
281|---------|------------------|
282| PSMN* | "PSMN" |
283| PSMP* | "PSMP" |
284| PMV* | "PMV" |
285| BSS* | "BSS" |
286| 2N7002* | "2N7002" |
287| PMBT* | "PMBT" |
288| PBSS* | "PBSS" |
289| BC5xx* | "BC5xx" |
290| BC8xx* | "BC8xx" |
291| BC* | "BC" |
292| BF* | "BF" |
293| MMBT* | "MMBT" |
294| PMEG* | "PMEG" |
295| BAVxx* | Specific (e.g., "BAV99") |
296| BATxx* | Specific (e.g., "BAT54") |
297| BZXxx* | Specific (e.g., "BZX84") |
298| 74family* | Family (e.g., "74LVC", "74AHC") |
299| PCA* | "PCA" |
300| PCF* | "PCF" |
301| PTN* | "PTN" |
302
303---
304
305## Package Code Extraction Logic
306
307### Step 1: Check for Comma-Separated Suffix
308
309```java
310// Nexperia uses ,215, ,315, etc. for tape & reel packaging
311if (mpn.contains(",")) {
312 String suffix = mpn.substring(mpn.indexOf(',') + 1);
313 // Lookup in NEXPERIA_PACKAGES map
314}
315```
316
317### Step 2: Series-Specific Extraction
318
319**Power MOSFETs (PSMN/PSMP):**
320- Extract letter suffix after last digit
321- T=LFPAK56, U=LFPAK88, V=LFPAK33, B=SOT754, L=TO-220
322
323**Small Signal (PMV/BSS/2N7002):**
324- Extract suffix after last digit
325- Lookup in package map or return default SOT23
326
327**Transistors (PMBT/PBSS):**
328- Single letter suffix after grade letter = default SOT23
329- Multi-letter suffix = lookup in map
330
331**Zener Diodes (BZX):**
332- BZX84 = SOT23
333- BZX384 = SOD323
334- BZX55/79 = DO-35
335- BZX85 = DO-41
336
337**Signal Diodes (BAV/BAS/BAT):**
338- Most default to SOT23
339
340**Schottky Rectifiers (PMEG):**
341- Suffix-based: AEH=SOD123, AED=SOD323F, BEA=SOD128
342
343**ESD Protection (PESD):**
344- BL=SOD882, BA=SOD323, UB=SOT23, UD=SOT323
345
346**Logic ICs (74xxx):**
347- GW=SOT353, GM=XSON6, BQ=DHVQFN, PW=TSSOP, D=SO14
348- Also handles underscore format: 74HC00_D
349
350---
351
352## Official Replacement Rules
353
354The handler supports `isOfficialReplacement()` for:
355
356### Logic ICs
357- Same function number across families are compatible
358- HCT is backward compatible with HC
359- Same family, different packages are compatible
360
361### Transistors
362- PMBT2222A, 2N2222, PN2222 are equivalent (base "2222")
363- PMBT3904 and 2N3904 are equivalent
364- PMBT3906 and 2N3906 are equivalent
365
366### MOSFETs
367- Same base part, different package = compatible
368- e.g., PSMN013-30YL and PSMN013-30YT (same specs, different packages)
369
370---
371
372## Handler Implementation Notes
373
374### MPN Normalization
375
376```java
377// Remove tape & reel suffix before pattern matching
378private String normalizeForMatching(String mpn) {
379 if (mpn.contains(",")) {
380 return mpn.substring(0, mpn.indexOf(','));
381 }
382 return mpn;
383}
384```
385
386### Pattern Matching
387
388The handler overrides `matches()` with explicit checks to avoid cross-handler false matches. It does NOT fall back to the PatternRegistry default implementation.
389
390### Supported Types Use Set.of()
391
392```java
393return Set.of(
394 ComponentType.MOSFET,
395 ComponentType.TRANSISTOR,
396 ComponentType.DIODE,
397 ComponentType.IC,
398 ComponentType.MOSFET_NEXPERIA,
399 ComponentType.BIPOLAR_TRANSISTOR_NEXPERIA,
400 ComponentType.ESD_PROTECTION_NEXPERIA,
401 ComponentType.LOGIC_IC_NEXPERIA
402);
403```
404
405---
406
407## Related Files
408
409- Handler: `manufacturers/NexteriaHandler.java` (note: typo in filename)
410- Component types: `MOSFET_NEXPERIA`, `BIPOLAR_TRANSISTOR_NEXPERIA`, `ESD_PROTECTION_NEXPERIA`, `LOGIC_IC_NEXPERIA`
411
412---
413
414## Learnings & Quirks
415
416### Handler Filename Typo
417- The file is named `NexteriaHandler.java` but the manufacturer is **Nexperia**
418- This is documented in the class-level Javadoc comment
419- All ComponentTypes use the correct "NEXPERIA" suffix
420
421### Comma-Separated Package Codes
422- Unlike most manufacturers, Nexperia uses comma-separated suffixes (,215, ,315)
423- These MUST be stripped before pattern matching
424- The comma suffix encodes both package AND tape/reel configuration
425
426### Logic IC Families
427- When extracting logic family, check longer prefixes first: AHCT before AHC, LVCH before LVC
428- The `extractLogicFamily()` method iterates through families in correct order
429
430### Package Extraction Complexity
431- Different series have completely different package encoding schemes
432- PMEG uses full suffix codes (AEH, AED), while PSMN uses single letters (T, U, V)
433- BZX series encodes package in the series name itself (BZX84 = SOT23)
434
435### Transistor Equivalents
436- PMBT2222A = 2N2222A = PN2222A (same transistor, different packages)
437- The handler correctly identifies these as equivalent in `isOfficialReplacement()`
438
439### No ManufacturerComponentTypes
440- `getManufacturerTypes()` returns `Collections.emptySet()`
441- All types are standard ComponentType enums
442
443### Pattern Registration
444- Each pattern is registered for BOTH base type and Nexperia-specific type
445- Example: `MOSFET` and `MOSFET_NEXPERIA` both get the PSMN pattern
446
447<!-- Add new learnings above this line -->