一键导入
asmedia
ASMedia Technology MPN encoding patterns, series identification, and handler guidance. Use when working with USB/Storage controller ICs or ASMediaHandler.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
ASMedia Technology MPN encoding patterns, series identification, and handler guidance. Use when working with USB/Storage controller ICs or ASMediaHandler.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when refactoring, cleaning up, or enhancing the lib-electronic-components codebase. Provides guidance on architecture patterns, known issues, duplication hotspots, and recommended improvements.
Base skill for working with electronic components in this library. Use when adding new component types, manufacturer handlers, or working with MPN (Manufacturer Part Number) operations, BOM entries, or component classification.
Use this skill BEFORE creating a PR to ensure all documentation, skills, and learnings are updated. Critical for preserving institutional knowledge and preventing documentation drift.
Use when working with component similarity calculations - comparing MPNs, finding equivalent parts, implementing new similarity calculators, or understanding how component matching works.
Use when working with capacitor similarity calculations - comparing ceramic/electrolytic/film capacitor MPNs, understanding value/voltage/dielectric matching, or capacitor-specific similarity logic.
Use when working with connector similarity calculations - comparing connector MPNs, understanding pin count/pitch/family matching, or connector-specific similarity logic.
| name | asmedia |
| description | ASMedia Technology MPN encoding patterns, series identification, and handler guidance. Use when working with USB/Storage controller ICs or ASMediaHandler. |
ASMedia MPNs follow this general structure:
ASM[SERIES][VARIANT][PACKAGE][-REEL]
| | | | |
| | | | └── Optional: REEL, TRAY, TR for packaging
| | | └── Package code (QFN, BGA, LQFP, or single letter)
| | └── Revision letter (A, B, etc.)
| └── 4-digit series number (1xxx, 2xxx, 3xxx)
└── ASMedia prefix
ASM1042A-QFN
│ │ │ │
│ │ │ └── QFN package
│ │ └── A revision
│ └── 1042 = PCIe to USB 3.0 host controller
└── ASM = ASMedia prefix
ASM2364-BGA
│ │ │
│ │ └── BGA package
│ └── 2364 = USB 3.2 Gen2x2 to NVMe bridge
└── ASM = ASMedia prefix
| Series | Type | Description |
|---|---|---|
| ASM1042 | PCIe Host | USB 3.0 Host Controller |
| ASM1074 | Hub | USB 3.0 Hub Controller |
| ASM1142 | PCIe Host | USB 3.1 Gen2 Host Controller |
| ASM1143 | PCIe Host | USB 3.1 Gen2 Host Controller (variant) |
| ASM1153 | Bridge | USB 3.0 to SATA Bridge (single port) |
| ASM1156 | Bridge | USB 3.0 to SATA Bridge |
| Series | Type | Description |
|---|---|---|
| ASM2362 | Bridge | PCIe to NVMe/SATA Bridge |
| ASM2364 | Bridge | USB 3.2 Gen2x2 to NVMe Bridge |
| Series | Type | Description |
|---|---|---|
| ASM3242 | Controller | USB4 Controller |
| Code | Package | Notes |
|---|---|---|
| QFN | QFN | Quad Flat No-Lead |
| Q | QFN | Short form |
| BGA | BGA | Ball Grid Array |
| B | BGA | Short form |
| LQFP | LQFP | Low-profile Quad Flat Package |
| L | LQFP | Short form |
| Series | USB Version |
|---|---|
| ASM1042 | USB 3.0 |
| ASM1074 | USB 3.0 |
| ASM1153 | USB 3.0 |
| ASM1156 | USB 3.0 |
| ASM1142 | USB 3.1 Gen2 |
| ASM1143 | USB 3.1 Gen2 |
| ASM10xx | USB 3.0 (general) |
| ASM11xx | USB 3.1 (general) |
| ASM2362 | N/A (PCIe) |
| ASM2364 | USB 3.2 Gen2x2 |
| ASM3242 | USB4 |
| Series | Host Interface | Device Interface |
|---|---|---|
| ASM1042 | PCIe | USB |
| ASM1074 | USB | USB Hub |
| ASM1142 | PCIe | USB |
| ASM1153 | USB | SATA |
| ASM1156 | USB | SATA |
| ASM2362 | PCIe | NVMe/SATA |
| ASM2364 | USB | NVMe |
| ASM3242 | USB4 | Thunderbolt |
// ASM1xxx series - USB 3.x controllers and bridges
"^ASM1[0-9]{3}[A-Z]*.*"
// ASM2xxx series - SATA controllers
"^ASM2[0-9]{3}[A-Z]*.*"
// ASM3xxx series - USB4/Thunderbolt controllers
"^ASM3[0-9]{3}[A-Z]*.*"
// Generic pattern for all ASM parts
"^ASM[0-9]{4}[A-Z]*.*"
// Series is always "ASM" + 4 digits
// ASM1042A-QFN -> ASM1042
// ASM2364 -> ASM2364
if (mpn.length() >= 7) {
return mpn.substring(0, 7); // Returns "ASM1042"
}
// Check for explicit package suffix after hyphen
// ASM1042-QFN -> QFN
int hyphen = cleanMpn.indexOf('-');
if (hyphen > 0) {
String suffix = cleanMpn.substring(hyphen + 1);
// Map to package name
}
// Or extract trailing letter after digits
// ASM1042Q -> QFN (Q maps to QFN)
USB 3.1 Gen2 controllers can replace USB 3.0 (backward compatible):
Same-generation bridges are compatible:
manufacturers/ASMediaHandler.javaComponentType.IC