一键导入
beken
Beken Corporation MPN encoding patterns, suffix decoding, and handler guidance. Use when working with Beken WiFi and BLE SoC components or BekenHandler.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Beken Corporation MPN encoding patterns, suffix decoding, and handler guidance. Use when working with Beken WiFi and BLE SoC components or BekenHandler.
用 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 | beken |
| description | Beken Corporation MPN encoding patterns, suffix decoding, and handler guidance. Use when working with Beken WiFi and BLE SoC components or BekenHandler. |
Beken Corporation specializes in WiFi and Bluetooth Low Energy (BLE) System-on-Chip (SoC) solutions, primarily targeting IoT applications including smart home, audio, and wearable devices.
Beken MPNs follow this general structure:
[PREFIX][SERIES][-PACKAGE]
| | |
| | +-- Optional: Package code (QFN-32, QFN-40)
| +-- Series number (7231, 3431, etc.)
+-- BK prefix (Beken)
BK7231
| |||
| ||+-- 1 = Variant
| |+-- 3 = Submodel
| +-- 72 = WiFi + BLE series
+-- BK = Beken prefix
BK7231-QFN-32
| ||| | |
| ||| | +-- 32 = 32-pin
| ||| +-- QFN = Package type
| ||+-- 1 = Variant
| |+-- 3 = Submodel
| +-- 72 = WiFi + BLE series
+-- BK = Beken prefix
BK3432
| |||
| ||+-- 2 = BLE 5.0 variant
| |+-- 3 = Submodel
| +-- 34 = BLE-only series
+-- BK = Beken prefix
| Series | Wireless Type | Protocol | Application |
|---|---|---|---|
| BK7xxx | WiFi + BLE | WiFi 4/6 + BLE | Smart home, audio |
| BK3xxx | BLE only | BLE 4.x/5.x | Wearables, sensors |
| Part Number | WiFi | BLE | Features |
|---|---|---|---|
| BK7231 | 802.11 b/g/n | BLE 4.2 | Basic combo |
| BK7251 | 802.11 b/g/n | BLE 5.0 | Audio + WiFi |
| BK7256 | 802.11ax (WiFi 6) | BLE 5.2 | Latest gen |
| Part Number | BLE Version | Features |
|---|---|---|
| BK3431 | BLE 4.2 | Basic BLE |
| BK3432 | BLE 5.0 | Enhanced range |
| Code | Package | Pin Count | Description |
|---|---|---|---|
| QFN-32 | QFN | 32 | Quad Flat No-lead, 32-pin |
| QFN-40 | QFN | 40 | Quad Flat No-lead, 40-pin |
| QFN-48 | QFN | 48 | Quad Flat No-lead, 48-pin |
| N | QFN | - | QFN (generic) |
| Q | QFN | - | QFN (alternate code) |
| Feature | BK7231 | BK7251 | BK7256 |
|---|---|---|---|
| WiFi Standard | 802.11n | 802.11n | 802.11ax |
| WiFi Band | 2.4GHz | 2.4GHz | 2.4GHz |
| BLE Version | 4.2 | 5.0 | 5.2 |
| Audio Support | No | Yes | Yes |
| Target Market | Basic IoT | Audio IoT | Premium IoT |
| Feature | BK3431 | BK3432 |
|---|---|---|
| BLE Version | 4.2 | 5.0 |
| Range | Standard | Extended |
| Power | Low | Ultra-low |
// WiFi + BLE combo chips (BK7xxx series)
"^BK7[0-9]{3}.*"
// BLE only chips (BK3xxx series)
"^BK3[0-9]{3}.*"
// Combined matching in matches() method
if (type == ComponentType.IC) {
return upperMpn.matches("^BK7[0-9]{3}.*") ||
upperMpn.matches("^BK3[0-9]{3}.*");
}
// Check for QFN-xx pattern (handles BK7231-QFN-32)
int qfnIndex = upperMpn.indexOf("QFN");
if (qfnIndex >= 0) {
// Extract from QFN including pin count
// Handle both QFN-32 and QFN32 formats
}
// Check suffix letters if no explicit QFN
if (suffix.startsWith("N") || suffix.startsWith("Q")) {
return "QFN";
}
// Extract 6 characters for series (e.g., BK7231, BK3432)
if (upperMpn.matches("^BK7[0-9]{3}.*") ||
upperMpn.matches("^BK3[0-9]{3}.*")) {
return upperMpn.substring(0, 6);
}
// BK7xxx = WiFi + BLE
if (upperMpn.matches("^BK7[0-9]{3}.*")) {
if (upperMpn.startsWith("BK7256")) return "WIFI6_BLE5";
return "WIFI_BLE";
}
// BK3xxx = BLE only
if (upperMpn.matches("^BK3[0-9]{3}.*")) {
if (upperMpn.startsWith("BK3432")) return "BLE5";
return "BLE";
}
Parts within the same series are compatible if:
// QFN packages with same pin count are compatible
// QFN-32 != QFN-40 (different pinouts)
// Unspecified package assumes compatible
| Use Case | Recommended Series |
|---|---|
| Smart home devices | BK7231, BK7256 |
| Audio streaming | BK7251 |
| Wearables | BK3431, BK3432 |
| Low-power sensors | BK3432 |
| WiFi 6 devices | BK7256 |
Beken provides SDK support for:
manufacturers/BekenHandler.javaIC