Skip to the content
6 layers160 × 145 mmMes main board, the printed circuit board in 3D

STM32MP257 Embedded Main Board

Size
160 × 145 mm
Copper layers
6
Thickness
1.56 mm
Parts
736
Nets
855
Pads
3,406
Tracks, vias
3,443, 898
Pours
33
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
25 Aug 2025
Updated
6 Jan 2026

Overview

Mes main board is an open-source printed circuit board by jmh8231-Dev, from the jmh8231-Dev/mes-main-board repository on GitHub. It is a 6-layer board of 160 × 145 mm with 736 parts on 855 nets, routed with 3,443 tracks and 898 vias.

It is built around the MCP2562FD-E/P, FT232RL and OPA1611AID, with the ECMF4-40A100N10, ECMF2-40A100N6 and HSP051-4M10 among its other parts. Its parts include 342 capacitors, 204 resistors, 33 ICs, 22 diodes and 19 inductors.

Main components

12

README

README.md

MES Main Board (Rev 1.0)

STM32MP257 기반 임베디드 메인보드. DSI→HDMI, GbE, Wi-Fi/BT, eMMC/µSD/QSPI, USB 허브, CAN-FD, 하이파이 오디오 체인을 단일 보드에 통합하였다. 전원은 ATX-24로부터 공급되며, 보조 MCU ATmega328P가 “SoftKill Power” 시퀀스를 통해 안전한 전원 관리와 강제 종료 로깅을 담당한다.

3D Render Top


1. 핵심 사양

  • MPU: ST STM32MP257FAI3 (Cortex-A35 듀얼 + Cortex-M33)
  • 메모리/부트
    • LPDDR4: Micron MT53E1G32D2FW-046
    • eMMC: KIOXIA THGAMVG8T13BAIL
    • QSPI-NOR: Macronix MX25L51245G
    • microSD: GSD090012SEU
  • 네트워킹
    • Gigabit PHY: Realtek RTL8211F-CG
    • MagJack: 48F-01GYD2NL
  • 무선: Murata LBEE5KL1YN-814 (802.11b/g/n, BT v5.2, SDIO + UART/PCM)
  • 비디오/디스플레이
    • Analog Devices ADV7535 (MIPI-DSI → HDMI 1.4)
    • HDMI ESD 보호: HDMI05-CL02F3
    • LVDS 패널 커넥터 제공
  • USB
    • Microchip USB2514B 4-포트 USB 2.0 허브
    • USB-C(2계통: A35 경로 / M33 경로), USB 3.0 Type-A, Stacked USB-A
  • 필드버스: MCP2562FD CAN-FD 트랜시버 ×2, ESDCAN 보호소자
  • 오디오 체인
    • DAC: AK4458VN(8채널)
    • Op-Amp: OPA1611
    • 저노이즈 LDO: TPS7A4701 / TPS7A3301(±전원)
  • 전원/시퀀싱
    • PMIC: STPMIC25
    • 입력: ATX-24
  • 클록: 24/25/40 MHz TCXO, 32.768 kHz RTC, 16 MHz(ATmega)

부품 요약 CSV: docs/mes_key_components.csv


2. 시스템 구성 개요

  • 스토리지 계층: QSPI-NOR(부트로더) → eMMC(루트 파일시스템) + microSD(리커버리/업데이트)
  • 그래픽 파이프라인: MPU MIPI-DSI → ADV7535 변환 → HDMI(DDC/EDID/HPD/CEC)
  • 네트워크: RGMII 기반 1 GbE(Phy RTL8211F-CG + MagJack)
  • 무선: SDIO 4-bit + LPO/WAKE, 40 MHz TCXO, 안테나 π-네트워크
  • 오디오: AK4458 → OPA1611(Line-out), ±레일 저노이즈 LDO로 SNR/THD 최적화
  • 필드버스: MCP2562FD ×2, 종단 저항/보호소자 구성

이미지 참조:

  • 레이아웃: docs/images/pcb-layout.png
  • 탑레벨 스키매틱: docs/images/schematic-overview.png
  • Ethernet/Video/Storage/Wi-Fi/Audio/PMIC/DDR 등: docs/images/ 하위 파일

3. SoftKill Power (ATmega328P)

전원은 ATX-24에서 입력되며, 보조 MCU ATmega328P가 PSU의 PS_ON#과 PWR_OK를 제어·감시한다.

3.1 정상 동작 시퀀스

  1. Power On: 사용자가 Power SW를 누르면 ATmega가 PS_ON#을 구동하여 PSU를 켬 → PWR_OK 감시 → MPU_WakeUP 신호 출력.
  2. Power Down: Power SW 또는 GUI의 “전원 끄기” → ATmega가 종료 요청을 MPU에 전달 → MPU가 모듈별 종료를 수행하고 ‘Shut-OK’ 회신 → ATmega가 전원 차단.

3.2 강제 종료 시퀀스

  • 조건: Power SW를 n초 이상 지속 입력.
  • 처리
    • ATmega가 강제종료 이벤트를 EEPROM에 기록하고 MPU에 이벤트 통보.
    • MPU 응답: 최대 n초 동안 모듈 종료 대기 → MPU의 ‘Shut-OK’ 수신 시 전원 차단(시간 초과 시에도 차단).
    • MPU 무응답: 즉시 전원 차단.

3.3 ATmega 리셋 방법

  1. AC 코드 분리 2) JP1 쇼트로 하드 리셋.

4. Bring-up 절차

  1. 전원/시퀀스: STPMIC25 레일 타이밍·리플 측정, ATX 입력 보호/서지 경로 확인.
  2. LPDDR4: TF-A/U-Boot에서 training 로그 확인, memtester로 장시간 스트레스.
  3. 부트체인: QSPI-NOR → eMMC 부팅 확인, microSD 리커버리 경로 검증.
  4. Ethernet: RGMII 타이밍/strap, MDIO 주소 확인, iperf3 스루풋 측정.
  5. Display: ADV7535 I²C 접근, EDID/HPD/CEC 정상 → 720p → 1080p 순으로 검증.
  6. Wi-Fi/BT: SDIO 25/50 MHz 단계 bring-up, NVRAM/FW 로딩, 안테나 VSWR 체크.
  7. USB 허브: USB2514B enumerate, 각 포트 전류 한계/ESD 보호 확인.
  8. CAN-FD: 루프백/피어 통신(500 kbps/2 Mbps), 종단 저항 설정 검증.
  9. Audio: I²S/TDM 클록(256fs/512fs) 정합, 라인아웃 SNR/THD 측정.

5. Linux 디바이스트리 체크리스트

  • SoC: st,stm32mp25 / PMIC: st,stpmic25(레일/시퀀스/IRQ)
  • QSPI NOR: mx25l51245g (bootloader/MTD 파티션)
  • MMC: mmc0=eMMC(HS200/HS400), mmc1=µSD(UHS-I)
  • MIPI-DSI + adv7535(HPD/CEC/DDC)
  • Ethernet: RGMII + realtek,rtl8211f PHY 노드
  • Wi-Fi/BT: SDIO(LBEE5KL1YN-814), BT UART/PCM, 32 kHz LPO
  • USB: root hub + microchip,usb2514b(리셋 GPIO 있으면 명시), Type-C CC/role
  • CAN-FD: mcp2562fd enable/standby GPIO
  • Audio: ak4458 codec, I²S/TDM DAI-link
  • ATmega328P: 보조 MCU 인터페이스(UART/I²C/SPI) 노드

Parts

736
QtyValueFootprintReferences
1480.1uFCapacitor_SMD:C_0603_1608MetricC101, C102, C104, C105, C107, C110, C111, C112, C114, C115, C117, C118, C120, C123, C124, C125 +132
591uFCapacitor_SMD:C_0603_1608MetricC12, C13, C148, C160, C165, C172, C177, C180, C183, C187, C214, C215, C228, C229, C230, C231 +43
5510kResistor_SMD:R_0603_1608MetricR12, R13, R14, R100, R110, R112, R115, R118, R119, R120, R121, R122, R137, R139, R140, R148 +39
3622uFCapacitor_SMD:C_1206_3216MetricC15, C16, C17, C18, C19, C20, C100, C103, C106, C108, C109, C113, C116, C119, C121, C122 +20
310Resistor_SMD:R_0603_1608MetricR1, R2, R10, R11, R129, R138, R167, R172, R173, R175, R177, R179, R184, R186, R187, R189 +15
2510uFCapacitor_SMD:C_1206_3216MetricC1, C2, C3, C39, C134, C136, C159, C163, C178, C206, C211, C314, C335, C336, C338, C341 +9
23BeadInductor_SMD:L_0805_2012MetricFB1, FB2, FB11, FB12, FB13, FB14, FB15, FB16, FB17, FB18, FB19, FB20, FB21, FB22, FB23, FB24 +7
214.7kResistor_SMD:R_0603_1608MetricR70, R71, R72, R76, R101, R102, R109, R125, R128, R132, R135, R147, R182, R183, R197, R198 +5
1822Resistor_SMD:R_0603_1608MetricR28, R52, R53, R54, R55, R56, R57, R58, R59, R60, R61, R62, R107, R108, R145, R146 +2
184.7uFCapacitor_SMD:C_0805_2012MetricC10, C11, C29, C31, C44, C45, C46, C47, C48, C49, C57, C147, C205, C210, C299, C300 +2
1747uFCapacitor_Tantalum_SMD:CP_EIA-6032-28_Kemet-CC158, C167, C169, C171, C174, C185, C186, C195, C199, C201, C203, C212, C213, C272, C311, C312 +1
111kResistor_SMD:R_0603_1608MetricR42, R97, R98, R111, R142, R149, R150, R152, R156, R157, R158
7 MountingHole:MountingHole_3.2mm_M3_DIN965_Pad_TopBottom , , , , , ,
7ECMF4-40A100N10ECMF4-40A100N10:ECMF440A100N10U3, U11, U12, U21, U22, U41, U43
7ESDA5V3LPackage_TO_SOT_SMD:SOT-23D30, D31, D32, D33, D34, D35, D36
6100Resistor_SMD:R_0603_1608MetricR15, R17, R136, R141, R155, R195
6100kResistor_SMD:R_0603_1608MetricR88, R94, R95, R96, R99, R166
610uHInductor_SMD:L_0805_2012MetricL10, L11, L12, L13, L14, L15
65.1kResistor_SMD:R_0603_1608MetricR103, R104, R143, R144, R180, R181
6BSS138Package_TO_SOT_SMD:SOT-23Q1, Q2, Q3, Q4, Q5, Q6
50.68uHInductor_SMD:L_1210_3225MetricL1, L2, L3, L6, L7
52.2uFCapacitor_SMD:C_0805_2012MetricC59, C83, C85, C87, C227
5200Resistor_SMD:R_0603_1608MetricR41, R168, R169, R170, R174
547kResistor_SMD:R_0603_1608MetricR29, R30, R31, R32, R33
5ECMF2-40A100N6ECMF2-40A100N6:ECMF240A100N6U27, U37, U38, U39, U42
4100uFCapacitor_Tantalum_SMD:CP_EIA-7343-30_AVX-NC277, C278, C283, C284
4150Resistor_SMD:R_0603_1608MetricR126, R127, R133, R134
42200uFCapacitor_THT:CP_Radial_D12.5mm_P5.00mmC52, C274, C281, C282
4220uFCapacitor_THT:CP_Radial_D8.0mm_P3.50mmC126, C132, C140, C226
4270Resistor_SMD:R_0603_1608MetricR73, R161, R163, R165
43.9kResistor_SMD:R_0603_1608MetricR123, R124, R130, R131
43kResistor_SMD:R_0603_1608MetricR16, R22, R23, R24
4470pFCapacitor_SMD:C_0603_1608MetricC190, C191, C193, C194
447uHInductor_SMD:L_10.4x10.4_H4.8L17, L18, L19, L20
46.8pFCapacitor_SMD:C_0603_1608MetricC265, C266, C267, C269
4CCapacitor_SMD:C_0402_1005MetricC55, C56, C220, C340
4ESDA7P120-1U1MDiode_SMD:ST_QFN-2L_1.6x1.0mmD9, D10, D11, D12
4ESDALC6V1Diode_SMD:D_SOD-882DD22, D23, D24, D25
4HSP051-4M10HSP051-4M10:HSP0514M10U14, U15, U16, U17
30.1Resistor_SMD:R_2816_7142MetricR178, R185, R188
31.5kResistor_SMD:R_0603_1608MetricR82, R83, R84
32.2uHInductor_SMD:L_1210_3225MetricL4, L5, L9
32kResistor_SMD:R_0603_1608MetricR43, R45, R46
3330Resistor_SMD:R_0603_1608MetricR151, R154, R159
3INA219BxDPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU46, U47, U48
20Resistor_SMD:R_0402_1005MetricR114, R117
210pFCapacitor_SMD:C_0603_1608MetricC196, C197
210uFCapacitor_THT:C_Rect_L18.0mm_W9.0mm_P15.00mm_FKS3_FKP3C316, C317
2120Resistor_SMD:R_0603_1608MetricR113, R116
222pFCapacitor_SMD:C_0603_1608MetricC332, C333
2240Resistor_SMD:R_0603_1608MetricR26, R27
23.9nFCapacitor_THT:C_Disc_D7.5mm_W2.5mm_P5.00mmC189, C192
2500mAFuse:Fuse_1210_3225MetricF3, F4
2510Resistor_SMD:R_0603_1608MetricR68, R69
2ESDCAN24-2BLYPackage_TO_SOT_SMD:SOT-23D15, D16
2FT232RLPackage_SO:SSOP-28_5.3x10.2mm_P0.65mmU31, U33
2IMP34DT05TRPCB:MIC_MP34DT06JTRMIC1, MIC2
2MCP2562FDPackage_DFN_QFN:DFN-8-1EP_3x3mm_P0.65mm_EP1.55x2.4mmU24, U25
2OPA1611Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU34, U35
2SN74LVC1T45DBVPackage_TO_SOT_SMD:SOT-23-6U44, U45
2STMPS2252MTRPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU19, U20
2TCXO 24MHzPCB:ECS-TXO-2520Y1, Y3
2TPS7A4701xRGWPackage_DFN_QFN:Texas_RGW0020A_VQFN-20-1EP_5x5mm_P0.65mm_EP3.15x3.15mm_ThermalViasU23, U28
2TVSPackage_TO_SOT_SMD:SOT-23-6U30, U32
2USB_A_StackedConnector_USB:USB_A_Wuerth_61400826021_Horizontal_StackedJ5, J16
1+12VLED_SMD:LED_0805_2012MetricD2
1+5VLED_SMD:LED_0805_2012MetricD3
1+5VSBLED_SMD:LED_0805_2012MetricD4
1-12VLED_SMD:LED_0805_2012MetricD17
11.62MResistor_SMD:R_0603_1608MetricR105
11000pFCapacitor_SMD:C_1206_3216MetricC155
110uFCapacitor_SMD:C_1210_3225MetricC219
112kResistor_SMD:R_0603_1608MetricR93
116MHzPCB:TSX-3225 16.0000MF18X-AC0Y6
11GbpsLED_SMD:LED_0805_2012MetricD8
12-1734592-2Connector_FFC-FPC:Hirose_FH12-22S-0.5SH_1x22-1MP_P0.50mm_HorizontalJ17
12.49kResistor_SMD:R_0603_1608MetricR67
12.4nHInductor_SMD:L_0603_1608MetricL8
12.5AFuse:Fuse_1812_4532MetricF1
1215kResistor_SMD:R_0603_1608MetricR106

The 667 most common of 736 parts.

Similar boards

  • 6 layers150.1 × 110.1 mmMB1939, the printed circuit board in 3D

    MB1939

    svogl/stm32n6-board

    altium project import; kicad 10

    643 parts1
  • 4 layers62.3 × 94.3 mmSTM32N6 Thesis Board, the printed circuit board in 3D

    STM32N6 Thesis Board

    tobiasbaas/Roboterarm1

    Herzlich willkommen zum Repo des Robotersarmes der Arbeitsgruppe. Bitte beachtet, dass es sich hierbei handelt um eine Erweiterung bereits vorhandener Infrastruktur.

    221 parts1
  • 6 layers215 × 70 mmCarierBoard, the printed circuit board in 3D

    CarierBoard

    manuInWound/-inwound-hg2_hard_devicecontrollerpcb_v3

    Device Controller PCB revision after EMC pre-test

    334 parts
  • 4 layers75 × 50 mmUsb3-gmm7550, the printed circuit board in 3D

    Usb3-gmm7550

    GMM-7550/gmm7550-hardware

    CologneChip GateMate FPGA Module: GMM-7550

    206 parts36
  • 4 layers80 × 70 mmStm32, the printed circuit board in 3D

    Stm32

    ackom-a-o/stm32f446-development-board

    Custom STM32F446ZET6 development board in KiCad. Prototype hardware, design review and validation log; hardware testing pending.

    69 parts
  • 2 layers100 × 100 mmFreeDSP Catamaran, the printed circuit board in 3D

    FreeDSP Catamaran

    freeDSP/FreeDSP_Catamaran_AB

    A mono contruction Differntial 1 Input 4 output ADAU1701 DSP board, 96kHz TDM8 interlink is available.

    257 parts12CC0-1.0

Questions

How big is the Mes main board PCB?

It measures 160 × 145 mm and has 6 copper layers, 1.56 mm thick.

What parts does the Mes main board use?

736 parts, built around the MCP2562FD-E/P, FT232RL, OPA1611AID and ECMF4-40A100N10. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Mes main board KiCad files?

From the jmh8231-Dev/mes-main-board repository on GitHub, at the commit this page was made from: the board is MES Main Board/MES Main Board.kicad_pcb and its schematic MES Main Board/AI.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Mes main board design in my own project?

Its repository states no licence, so its author keeps all rights: ask jmh8231-Dev before reusing the design.