본문으로 건너뛰기
Modern Embedded Recipes · 149/153

Matter·Thread 분석 — IoT 통합 표준·Commissioning·Multi-Fabric

· Hawk · 9분 읽기
recipes iot matter thread openthread csa

#한 줄 요약

“Matter는 여러 생태계가 같이 쓰는 IoT application-layer 표준이고, Thread는 그 아래에서 저전력 장치를 IPv6 mesh로 묶는 transport입니다.” 아래에서 OpenThread simulation으로 leader·router·sleepy child 세 node를 띄워 보니, sleepy child까지의 ping 왕복 시간이 poll period에 그대로 묶였습니다.

#이 글의 실행 환경과 출처

  • OpenThread main commit 5251dce(2026-11-15). Debian 13 arm64 guest에서 ./script/cmake-build simulation으로 빌드한 ot-cli-ftd·ot-cli-mtd를 Python script로 조작했습니다.
  • Matter 쪽은 실행하지 않았습니다. project-chip/connectedhomeip(commit e0a616e)와 espressif/esp-matter(commit 80fc466)의 소스·문서와 대조했습니다. Matter 명세 본문은 열어 보지 못했으므로, 명세 수준의 값은 SDK의 data model XML에 적힌 것만 옮겼습니다.

#어떤 상황에서 쓰나

조명·잠금장치·센서처럼 집이나 건물에서 여러 브랜드의 controller와 함께 동작해야 하는 장치입니다. 장치 하나가 여러 생태계의 controller에 동시에 등록될 수 있어야 하고, 배터리 장치는 오래 잠들어 있어야 합니다.

#핵심 개념

#Matter

층구성
ApplicationData Model: Endpoint·Cluster·Attribute·Command
SecurityPASE(commissioning 첫 단계의 session), CASE(commissioning 끝과 운영 중의 session)
TransportIPv6. Thread·Wi-Fi·Ethernet

장치 하나가 여러 fabric(생태계별 관리 영역)에 들어갈 수 있고, fabric마다 별도의 NOC(Node Operational Certificate)를 받습니다. Operational Credentials cluster의 data model XML은 SupportedFabrics attribute를 min="5" max="254"로 정의하고, connectedhomeip SDK의 기본값은 CHIP_CONFIG_MAX_FABRICS 16입니다.

#Thread

Thread는 IEEE 802.15.4 위의 IPv6 mesh입니다. OpenThread CLI의 state는 leader, router, child 등으로 node의 역할을 보여 주고, mode로 child의 성격(수신기를 항상 켤지, FTD인지)을 정합니다. 수신기를 끈 child(Sleepy End Device)는 parent에게 주기적으로 poll해서 쌓인 message를 받습니다.

OpenThread는 include/openthread/thread.h에 Thread version을 OT_THREAD_VERSION_1_1~1_4로 두고, CSL transmitter 같은 기능을 OPENTHREAD_CONFIG_THREAD_VERSION >= OT_THREAD_VERSION_1_2일 때만 켭니다. 아래 simulation의 neighbor table에서 version은 5(= 1.4)로 나왔습니다.

#코드 / 실제 사용 예

#OpenThread simulation — leader, router, sleepy child

Terminal window
git clone --depth 1 https://github.com/openthread/openthread.git
cd openthread
git submodule update --init --recursive --depth 1 # mbedtls and its own submodule
./script/cmake-build simulation
./build/simulation/examples/apps/cli/ot-cli-ftd 1 # node id 1; nodes talk over the simulated radio

--recursive 없이 submodule을 받으면 mbedtls 안의 submodule이 비어 CMake 단계에서 “CMakeLists.txt not found”로 멈춥니다.

script는 node마다 프로세스를 띄우고 CLI 명령을 보냅니다. node 1이 새 dataset으로 network를 만들고, node 2(FTD)와 node 3(MTD)이 같은 dataset으로 들어옵니다.

node 1: dataset init new / dataset channel 15 / dataset panid 0x1234
dataset networkkey 00112233445566778899aabbccddeeff / dataset commit active
ifconfig up / thread start
node 2: routerselectionjitter 1 / dataset set active <hex from node 1> / ifconfig up / thread start
node 3: mode - / pollperiod 5000 / dataset set active <hex> / ifconfig up / thread start

mode -는 수신기를 끄고(r 없음) MTD로 동작하는 sleepy child입니다. 결과입니다.

[1] became leader after 7.7 s
[2] state router after 2.6 s
[3] state child after 1.5 s
[3] > mode
-
[3] > pollperiod
5000
[1] > child table
| ID | RLOC16 | Timeout | Age | LQ In | C_VN |R|D|N|Ver|CSL|QMsgCnt|Suprvsn| Extended MAC |
| 2 | 0x3c02 | 240 | 0 | 3 | 214 |0|0|0| 5| 0 | 0 | 129 | a2266e84e078ce9d |
[1] > neighbor table
| Role | RLOC16 | Age | Avg RSSI | Last RSSI | LQ In |R|D|N| Extended MAC | Version |
| C | 0x3c02 | 0 | -20 | -20 | 3 |0|0|0| a2266e84e078ce9d | 5 |
| R | 0xe000 | 1 | -20 | -20 | 3 |1|1|1| 12d308569ae7ff58 | 5 |

node 3은 leader(RLOC16 0x3c00)의 child 0x3c02가 됐고, child table의 R 열이 0(수신기 꺼짐)입니다. node 2는 router 0xe000입니다. script는 routerselectionjitter 1로 jitter를 줄였습니다(CLI README의 예시 출력에서 이 값은 120). router가 되기까지의 시간은 실행마다 달라, 다시 돌렸을 때는 20.9 s가 걸렸습니다.

#Sleepy child까지의 지연

leader에서 sleepy child의 ML-EID로 ping을 보냈습니다. OpenThread CLI의 ping 형식은 ping <ipaddr> [size] [count] [interval] [hoplimit] [timeout]입니다.

### pollperiod 5000 ms: ping leader -> SED, 5 echo requests, 1 s interval, 10 s timeout
16 bytes from fd00:534a:f8ec:793b:658:72cd:abe5:6c49: icmp_seq=1 hlim=64 time=2803ms
16 bytes from fd00:534a:f8ec:793b:658:72cd:abe5:6c49: icmp_seq=2 hlim=64 time=1806ms
16 bytes from fd00:534a:f8ec:793b:658:72cd:abe5:6c49: icmp_seq=3 hlim=64 time=803ms
16 bytes from fd00:534a:f8ec:793b:658:72cd:abe5:6c49: icmp_seq=4 hlim=64 time=4800ms
16 bytes from fd00:534a:f8ec:793b:658:72cd:abe5:6c49: icmp_seq=5 hlim=64 time=3800ms
5 packets transmitted, 5 packets received. Packet loss = 0.0%. Round-trip min/avg/max = 803/2802.400/4800 ms.
### pollperiod 1000 ms: same ping
Round-trip min/avg/max = 3/211.000/1012 ms.

parent는 child가 poll할 때까지 message를 들고 있으므로, 왕복 시간은 0에서 poll period 사이로 퍼집니다. poll period 5 s에서는 0.84.8 s, 1 s에서는 31012 ms였습니다. 처음에 timeout을 주지 않고 ping했을 때는 3번 중 2번이 실패했는데, OpenThread의 기본 ping timeout(OPENTHREAD_CONFIG_PING_SENDER_DEFAULT_TIMEOUT)이 3000 ms로 poll period 5 s보다 짧기 때문입니다. sleepy 장치를 상대하는 application의 timeout도 같은 이유로 poll period보다 길어야 합니다.

#OpenThread C API

위 CLI 명령에 해당하는 API입니다. OpenThread header(include/, examples/platforms/openthread-system.h)로 컴파일만 했습니다.

otInstance *thread_init(void) {
otInstance *ot = otInstanceInitSingle();
otOperationalDataset ds;
memset(&ds, 0, sizeof ds);
ds.mActiveTimestamp.mSeconds = 1;
ds.mComponents.mIsActiveTimestampPresent = true;
memcpy(ds.mNetworkKey.m8, network_key, sizeof network_key);
ds.mComponents.mIsNetworkKeyPresent = true;
ds.mChannel = 15;
ds.mComponents.mIsChannelPresent = true;
otDatasetSetActive(ot, &ds);
otIp6SetEnabled(ot, true);
otThreadSetEnabled(ot, true);
return ot;
}
void make_sleepy(otInstance *ot) {
otLinkModeConfig mode = { .mRxOnWhenIdle = false, .mDeviceType = false, .mNetworkData = false };
otThreadSetLinkMode(ot, mode);
otLinkSetPollPeriod(ot, 5000);
}
void dump_neighbors(otInstance *ot) {
otNeighborInfoIterator it = OT_NEIGHBOR_INFO_ITERATOR_INIT;
otNeighborInfo info;
while (otThreadGetNextNeighborInfo(ot, &it, &info) == OT_ERROR_NONE)
printf("neighbor rloc=%04x rssi=%d lq_in=%d\n", info.mRloc16, info.mAverageRssi, info.mLinkQualityIn);
}
void main_loop(otInstance *ot) {
for (;;) { otTaskletsProcess(ot); otSysProcessDrivers(ot); }
}

위 simulation은 dataset init new가 나머지 항목을 채운 뒤 일부만 바꿨습니다. 실제 장치에서는 commissioning으로 받은 dataset 전체를 씁니다.

#Matter SDK 빌드 (Linux example)

connectedhomeip docs/guides/BUILDING.md와 examples/lighting-app/linux/README.md의 순서입니다. 이 글에서는 실행하지 않았습니다.

Terminal window
git clone https://github.com/project-chip/connectedhomeip
cd connectedhomeip
./scripts/checkout_submodules.py --shallow --platform linux
source scripts/activate.sh
cd examples/lighting-app/linux
gn gen out/debug
ninja -C out/debug

#Attribute 변경 callback

On/Off command 자체는 SDK의 cluster server가 처리하고, application은 attribute가 바뀐 뒤 불리는 MatterPostAttributeChangeCallback에서 hardware를 움직입니다. examples/lighting-app/linux/main.cpp의 구현입니다.

void MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size,
uint8_t * value)
{
if (attributePath.mClusterId == OnOff::Id && attributePath.mAttributeId == OnOff::Attributes::OnOff::Id)
{
LightingMgr().InitiateAction(*value ? LightingManager::ON_ACTION : LightingManager::OFF_ACTION);
}
}

#esp-matter

esp-matter의 examples/light/main/app_main.cpp는 node를 만들고 light endpoint를 붙인 뒤 Matter stack을 시작합니다. 아래는 그 구조를 on/off light로 줄인 것이고, 함수 선언은 esp-matter header와 대조했습니다.

node::config_t node_config;
node_t *node = node::create(&node_config, app_attribute_update_cb, app_identification_cb);
on_off_light::config_t light_config;
endpoint_t *endpoint = on_off_light::create(node, &light_config, ENDPOINT_FLAG_NONE, light_handle);
esp_matter::start(app_event_cb);

on_off_light::create의 선언은 endpoint_t *create(node_t *node, config_t *config, uint8_t flags, void *priv_data)이고(data_model/legacy/esp_matter_endpoint_impl.h), 예제는 extended_color_light::create를 같은 형태로 부릅니다.

#Commissioning 순서

connectedhomeip controller의 CommissioningDelegate.h에 있는 commissioning 단계 중 주요한 것입니다.

단계내용(소스 주석)
kSecurePairingEstablish a PASE session with the device
kArmFailSafeArmFailSafe command
kSendPAICertificateRequest, kSendDACCertificateRequestPAI·DAC CertificateChainRequest
kSendAttestationRequest, kAttestationVerificationAttestationRequest를 보내고 응답 검증
kAttestationRevocationCheckDAC chain의 폐기 여부 확인
kSendOpCertSigningRequest, kValidateCSRCSRRequest와 응답 검증
kSendTrustedRootCert, kSendNOCAddTrustedRootCertificate, AddNOC
kThreadNetworkSetup / kWiFiNetworkSetupAddOrUpdateThreadNetwork / AddOrUpdateWiFiNetwork
kThreadNetworkEnable / kWiFiNetworkEnableConnectNetwork
kFindOperationalForCommissioningCompleteoperational discovery와 CASE session
kSendCompleteCommissioningComplete

PASE로 시작해 DAC chain으로 장치를 확인하고, NOC를 설치한 뒤 운영 network에 붙이고, CASE로 다시 접속해 끝냅니다.

#OTA

connectedhomeip data model XML에서 OTA Software Update Provider cluster는 0x0029, Requestor cluster는 0x002A입니다. Provider cluster에는 QueryImage, ApplyUpdateRequest, NotifyUpdateApplied command가 있고, QueryImageResponse에 ImageURI가 들어가며, 전송 방식으로 BDXSynchronous·BDXAsynchronous가 정의되어 있습니다. 장치 안에서 받은 image를 검증·설치하는 것은 platform bootloader의 몫이고, TF-M 장치라면 12-12의 MCUboot가 그 역할을 합니다.

#측정 / 성능 비교

위 ping 실험이 이 글의 측정입니다. simulation은 radio 환경을 흉내 내지 않으므로 mesh 성능 숫자로 쓰지 않습니다. 설치 환경에서는 다음을 잽니다.

지표측정 방법
commissioning 시간controller log의 단계별 timestamp
command 지연(hop 수별)controller 송신 → attribute report
sleepy 장치 응답 시간poll period·CSL 설정별(위 실험처럼 poll period가 상한)
router 제거 뒤 회복 시간route 재수렴까지
배터리 수명평균 전류 = sleep 전류와 poll·송신·센서 burst의 시간 가중 평균, 수명 ≈ 유효 용량 / 평균 전류

#자주 보는 함정

⚠️ application timeout이 poll period보다 짧음

sleepy child로 가는 응답은 최대 poll period만큼 늦습니다. 위 실험에서 기본 ping timeout 3 s는 poll period 5 s에서 실패했습니다.

⚠️ poll period를 너무 짧게

1 s로 줄이면 지연 상한이 poll period인 1 s 근처로 내려오지만(이 실험 최대 1012 ms) 그만큼 radio를 자주 켭니다. 지연 요구와 배터리 계산을 같이 보고 정합니다.

⚠️ OpenThread submodule을 재귀로 받지 않음

git submodule update --init --recursive를 빼면 mbedtls의 하위 submodule이 비어 빌드가 멈춥니다.

⚠️ fabric 한도

SupportedFabrics의 최소값은 5이고 SDK 기본값은 16입니다. CommissionedFabrics로 현재 수를 보고, 쓰지 않는 fabric을 지울 수 있게 합니다.

⚠️ DAC 없이 출하

commissioning에는 DAC chain을 요청하고 검증하는 단계(kSendDACCertificateRequest~kAttestationVerification)가 있습니다. 장치마다 공장에서 DAC chain을 넣고, private key는 보호된 저장소에 둡니다.

⚠️ OTA를 받아도 되돌릴 수 없음

OTA cluster는 image를 전달할 뿐입니다. 새 image가 부팅하지 못할 때 되돌리려면 bootloader가 이전 image를 보존하도록 업데이트 전략을 고릅니다(12-12).

#정리

  • Matter는 Data Model·PASE/CASE·IPv6 transport로 이루어지고, 장치는 fabric마다 NOC를 받습니다. SupportedFabrics는 최소 5, SDK 기본 한도는 16입니다.
  • Thread의 sleepy child는 parent에 poll해서 message를 받으므로, 지연의 상한이 poll period입니다(simulation에서 5 s → 최대 4.8 s, 1 s → 최대 1.012 s).
  • OpenThread simulation으로 leader·router·sleepy child를 PC에서 바로 재현할 수 있습니다.
  • commissioning은 PASE → attestation(DAC chain) → CSR·NOC 설치 → network 설정 → CASE → CommissioningComplete 순서이고, SDK의 CommissioningDelegate.h가 그 단계를 정의합니다.
  • OTA cluster(0x0029/0x002A)는 image 전달까지이고, 검증·설치·rollback은 bootloader가 맡습니다.

#관련 항목

Modern Embedded Recipes · 150 of 153 전체 목차
  1. 1 Modern Embedded Recipes — 모던 임베디드 실전 레시피 시리즈 소개
  2. 2 디지털 신호 기초 — Voltage Level·Edge·Noise Margin·반사 분석
  3. 3 임베디드 클럭과 타이밍 — Skew·Jitter·PLL 분석
  4. 4 GPIO 내부 구조 분해 — Push-Pull·Open-Drain·Schmitt Trigger
  5. 5 UART 하드웨어 동작 분석 — Baud Rate·Framing·FIFO
  6. 6 SPI 하드웨어 분석 — Clock Mode·MOSI/MISO·Chip Select
  7. 7 I2C 하드웨어 분석 — Open-Drain·Clock Stretching·Arbitration
  8. 8 ADC 동작 원리 — SAR·Sigma-Delta 비교
  9. 9 DAC 동작 원리 — R-2R Ladder·Sigma-Delta·Settling Time
  10. 10 PWM 신호 생성 분석 — Duty·Frequency·Dead Time·Center-Aligned
  11. 11 CAN 버스 전기적 특성 — 종단·전압 레벨·GND 전위차와 1 Mbit/s 버스 길이 예산
  12. 12 RS-485·RS-422 차동 신호 분석 — Termination·Biasing·Topology
  13. 13 LVDS 차동 신호 분석 — Common-Mode·Impedance·Eye Pattern
  14. 14 ARM Cortex-M 시리즈 비교 — M0·M3·M4·M7·M33·M55 분석
  15. 15 ARM Cortex-A 시리즈 비교 — A53·A55·A72·A78·X1 분석
  16. 16 Cortex-M 레지스터 구조 분석 — R0~R15·xPSR·CONTROL·Mask Registers
  17. 17 Cortex-M4 예외 처리 — Vector Table·NVIC 우선순위·Tail-Chaining
  18. 18 ARM 메모리 맵 분석 — Normal·Device·Strongly-Ordered Region
  19. 19 Cortex-M7 캐시와 DMA — Cache Line·Write-Back·Clean/Invalidate 순서
  20. 20 Cortex-M4 MPU 활용 — Region 배치·Stack Guard·Task 격리
  21. 21 AArch64 Linux MMU 기초 — Translation Table·TLB·ASID
  22. 22 ARM TrustZone-M 기초 — Secure/Non-Secure·NSC·MPC
  23. 23 ARM Memory Barrier 실전 — DMB·DSB·ISB·DMA·MMIO
  24. 24 임베디드 크로스 컴파일러 분석 — GCC·Clang·Sysroot 구성
  25. 25 C 컴파일 4단계 — Preprocess·Compile·Assemble·Link 추적
  26. 26 ELF 파일 구조 분석 — Section·Segment·Symbol Table·DWARF
  27. 27 링커 스크립트 기초 — SECTIONS·MEMORY·entry point
  28. 28 링커 스크립트 고급 — Overlay·BSS·init_array·LMA/VMA
  29. 29 임베디드 스타트업 코드 분석 — Reset_Handler·Vector Table·SystemInit
  30. 30 C 런타임 crt0 분석 — Stack·BSS Zero·Data Copy·atexit
  31. 31 임베디드 메모리 레이아웃 — .text·.rodata·.data·.bss·.heap·.stack
  32. 32 임베디드 컴파일러 최적화 분석 — -O0~-O3·-Os·-LTO 비교
  33. 33 Map 파일 분석 — 링커가 넣은 것, 끌어온 이유, 버린 것 읽기
  34. 34 Make·CMake 크로스 컴파일 — Toolchain File·Sysroot·Preset
  35. 35 임베디드 Bootloader 체인 — BootROM·SPL·U-Boot·Kernel·Secure Boot
  36. 36 첫 bare-metal 프로그램 작성 — Linker·Startup·main의 최소 구성
  37. 37 MMIO 레지스터 직접 접근 — volatile·Memory Map·Aliasing 분석
  38. 38 GPIO 드라이버 직접 구현 — STM32F407을 HAL 없이 레지스터로
  39. 39 임베디드 클럭 설정 분석 — HSE·PLL·SYSCLK·AHB/APB 분주
  40. 40 Cortex-M 인터럽트 핸들링 — NVIC·Priority·Vector·EXTI
  41. 41 SysTick 타이머 활용 — 24-bit Counter·1ms Tick·delay 구현
  42. 42 UART 드라이버 구현 — polling·interrupt·DMA 3가지 방식 비교
  43. 43 SPI 드라이버 구현 — Master·Slave·CRC·DMA
  44. 44 I2C 드라이버 구현 — STM32F405/407 Master·Repeated START·Clock Stretching·Bus Recovery
  45. 45 임베디드 DMA 기초 — Memory-to-Memory·Peripheral·Circular Mode
  46. 46 저전력 모드 분석 — Sleep·Stop·Standby·Wake-up Source
  47. 47 STM32F405/407 IWDG·WWDG 워치독 구현 — Independent vs Window 비교
  48. 48 임베디드 Flash 프로그래밍 — Erase·Program·Read While Write
  49. 49 DDR 초기화 실패 진단 — Timing·Calibration·Walking Bit Test
  50. 50 PWM 출력 실전 — LED 밝기·모터 속도 제어
  51. 51 DC 모터 제어 — H-Bridge·PWM Duty·Encoder Feedback
  52. 52 스테퍼 모터 제어 — Full Step·Half Step·Microstepping
  53. 53 서보 모터 제어 — 50 Hz PWM·다채널·Calibration
  54. 54 Character LCD 제어 — HD44780·4-bit Mode·Custom Char
  55. 55 SPI OLED 제어 — SSD1306·Frame Buffer·Page 단위 갱신
  56. 56 TFT 디스플레이 구동 — ILI9341 SPI와 STM32F746 LTDC
  57. 57 환경 센서 활용 — BME280 온습압·SHT3x 비교
  58. 58 IMU 센서 활용 — MPU-6050·Data Ready·Complementary Filter
  59. 59 CAN 통신 구현 — bxCAN Bit Timing·Filter·Mailbox·Error 상태
  60. 60 USB Device 기초 — TinyUSB CDC·Descriptor·STM32F407 OTG_FS
  61. 61 Ethernet MAC+PHY 통합 — RMII·MDIO·lwIP Raw API
  62. 62 SD 카드 SPI 모드 + FatFs — 초기화·diskio 포팅·다중 블록 쓰기와 f_sync
  63. 63 STM32F4 RTC 활용 — Calendar·Alarm·Sub-second·Tamper·Backup Register
  64. 64 RTOS 도입 결정 분석 — Super Loop vs RTOS 트레이드오프
  65. 65 RTOS Task 설계 패턴 — 우선순위·스택·State Machine
  66. 66 RTOS Scheduler 동작 분석 — Tick·Context Switch·Yield
  67. 67 RTOS Semaphore 활용 — Binary·Counting·ISR Give
  68. 68 RTOS Mutex 활용 — Recursive·Priority Inheritance 적용
  69. 69 RTOS Queue 활용 — By-Value·By-Reference·Timeout 패턴
  70. 70 RTOS Event Group 활용 — Bit Wait·Sync·Notify
  71. 71 RTOS Software Timer 활용 — One-shot·Auto-reload·Daemon Task
  72. 72 ISR-Safe API 설계 — Reentrant·Atomic·Defer 패턴
  73. 73 Priority Inversion 진단·예방 — Mars Pathfinder Lesson 추적
  74. 74 Timer Wheel 분석 — Hashed·Hierarchical·O(1) Tick
  75. 75 RTOS 디버깅 기법 — Stack·Heap·Run-time Stats·SystemView
  76. 76 i.MX8M Mini EVK Linux 부팅 흐름 — BootROM에서 PID 1까지 단계별 인계
  77. 77 U-Boot 활용 — bootcmd·env·tftp·boot.scr 분석
  78. 78 Device Tree 실전 — DTS·DTB·Overlay·Phandle 추적
  79. 79 Device Tree Overlay 적용 — Runtime fragment·dtoverlay
  80. 80 임베디드 커널 빌드 — defconfig·menuconfig·Image·deb 패키지
  81. 81 커널 모듈 기초 — init/exit·Parameter·KBuild·modprobe
  82. 82 캐릭터 드라이버 작성 — file_operations·cdev·register_chrdev
  83. 83 Platform 드라이버 작성 — of_match·devm 해제 순서·probe 실패 판정 (Linux v6.12)
  84. 84 mmap 4가지 모드 — Anonymous·File·Shared·Huge Page
  85. 85 epoll 실전 — LT·ET·ONESHOT·EXCLUSIVE 비교
  86. 86 UIO·VFIO 분석 — User-Space Driver와 IOMMU 격리
  87. 87 sysfs·configfs 활용 — kobject 기반 User 인터페이스
  88. 88 IRQ Affinity 설정이 거부되거나 되돌아가는 이유 — smp_affinity·effective_affinity·isolcpus·irqbalance
  89. 89 루트 파일시스템 구축 — Buildroot 기초·Package·Toolchain
  90. 90 임베디드 동적 메모리 — malloc 위험·결정성·대안 분석
  91. 91 메모리 정렬과 패딩 분석 — Natural·Strict Alignment·Trap
  92. 92 Cache Line Alignment — alignas·Padding·SoA 적용
  93. 93 DMA-Friendly Allocator — dma_alloc_coherent·IOMMU·Pool
  94. 94 Zero-Copy Pipeline — DMA-BUF·sendfile·io_uring·splice
  95. 95 NUMA Memory Topology — numactl·numa_alloc·HBM 적용
  96. 96 SIMD 활용 분석 — Intrinsics·Auto-Vectorization·OpenMP SIMD
  97. 97 ARM NEON 심화 — Matrix Multiply·FFT·Image Filter 적용
  98. 98 임베디드 스택 분석 — high-water·overflow 탐지
  99. 99 임베디드 코드 크기 최적화 — -Os·LTO·Section Garbage Collection
  100. 100 임베디드 전력 최적화 — Sleep Mode·Clock Gating·DVFS
  101. 101 WCET 분석 기법 — Static·Measurement·Hybrid 방법론
  102. 102 Lock-Free Ring Buffer 구현 — SPSC·Power-of-2·Memory Order
  103. 103 Wait-Free Signaling — Atomic Flag·Sequence·Latest-Value
  104. 104 RCU (Read-Copy-Update) 기초 — Quiescent State·Grace Period
  105. 105 Hazard Pointer 분석 — Lock-Free Memory Reclamation
  106. 106 Compare-And-Swap 패턴 — Stack·Counter·Linked List 적용
  107. 107 Atomic Operation 비용 분석 — Fence·Cache Line·Contention
  108. 108 Spinlock vs Mutex 결정 가이드 — Context Switch·Hold Time
  109. 109 ABA 문제 회피 — Tagged Pointer·Hazard·Generation Counter
  110. 110 False Sharing 해결 — Cache Line Padding·Per-CPU·thread_local
  111. 111 MPMC Queue 구현 — Multi-producer Multi-consumer Lock-Free
  112. 112 임베디드 디버깅 마인드셋 — 가설·격리·재현·이분탐색
  113. 113 JTAG·SWD 안 붙을 때 — 핀·전압·속도·세션 진단
  114. 114 GDB 원격 디버깅 — OpenOCD·J-Link·target remote 구성
  115. 115 Cortex-M 하드폴트 분석 — Stacked Frame·CFSR 읽기
  116. 116 UART 안 찍힐 때 — Bare-metal 체크리스트
  117. 117 임베디드 부팅 실패 진단 — 단계별 Isolation
  118. 118 인터럽트 누락·중복 진단 — Priority·Pending·Re-entry 추적
  119. 119 메모리 오버플로우·오염 진단 — Canary·MPU·Pattern 분석
  120. 120 타이밍·Race 진단 — Heisenbug 잡는 법
  121. 121 통신 프로토콜 분석 — Logic Analyzer와 Protocol Decoder
  122. 122 임베디드 로깅 시스템 설계 — 레벨·버퍼·SWO·Deferred
  123. 123 임베디드 포스트모템 분석 — Core Dump와 Field Crash
  124. 124 FPGA 기초 분석 — LUT·FF·BRAM·DSP 자원 구조
  125. 125 Vivado 사용법 — Project·Constraint·Synth·Impl·Bitstream
  126. 126 PCIe BAR 매핑 분석 — Config Space·Enumeration·MMIO 접근
  127. 127 AXI 인터페이스 — AXI4·AXI4-Lite·AXI-Stream 비교
  128. 128 Zynq PS-PL 통신 — GP·HP·ACP 인터페이스 선택
  129. 129 Mailbox Protocol 분석 — Host와 Accelerator를 잇는 Doorbell
  130. 130 Command Queue·Submission Queue — NVMe·XDMA 공통 패턴
  131. 131 DMA Completion 메커니즘 — Interrupt·Polling·Completion Ring
  132. 132 PCIe Streaming 분석 — BAR Type·MSI-X·Kernel Bypass
  133. 133 Vitis HLS 분석 — Pragma·Pipeline II·Dataflow 실전 감각
  134. 134 HLS 최적화 기법 — Pipeline·Unroll·Partition·Dataflow
  135. 135 Vitis AI 분석 — DPU·xmodel·VART
  136. 136 OpenCL on FPGA — Kernel·Channel·Burst Memory 분석
  137. 137 Intel Quartus로 넘어가기 전 — 어느 toolchain에서나 쓰는 HDL과 testbench
  138. 138 Edge Inference 분석 — Cloud vs Edge·Latency·Privacy
  139. 139 Edge 추론 Pipeline 측정 — Stage Latency·Mailbox 정책·Buffer 수
  140. 140 NPU 아키텍처 분석 — Ethos·Hexagon·Systolic Array 비교
  141. 141 딥러닝 Quantization 분석 — PTQ·QAT·INT8·INT4·Calibration
  142. 142 TensorRT 분석 — ONNX→Engine·FP16·INT8·DLA·Multi-Stream
  143. 143 TFLite Micro 분석 — Op Resolver·Tensor Arena·Cortex-M
  144. 144 ONNX Runtime 분석 — Execution Provider와 Cross-Platform 배포
  145. 145 Edge Thermal Management — Throttling·DVFS·Fan Curve·Sustained
  146. 146 NVIDIA Jetson 분석 — Nano·Xavier·Orin·Thor·JetPack·DLA·VPI
  147. 147 Zero-Copy Camera Pipeline — V4L2·DMA-BUF·GPU Import·NPU 직결
  148. 148 온디바이스 LLM 추론 — llama.cpp·GGUF·MLX·KV Cache·NPU Backend
  149. 149 Cortex-M33 TF-M·TrustZone — Secure Firmware·PSA·MCUboot
  150. 150 Matter·Thread 분석 — IoT 통합 표준·Commissioning·Multi-Fabric
  151. 151 PCIe → CXL 진화 — 같은 PHY 위 cache-coherent 프로토콜 추가
  152. 152 QEMU CXL Type 3 디바이스 에뮬레이션 — 노트북에서 CXL 개발 환경 구축
  153. 153 Linux CXL 드라이버 분석 — cxl_pci·cxl_core·region·DAX