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

RTOS Software Timer 활용 — One-shot·Auto-reload·Daemon Task

· Hawk · 6분 읽기

#한 줄 요약

“Software timer는 timer service task가 다음 만료 시각까지 잠들었다가 깨어나 callback을 부르는 구조입니다.” 해상도는 RTOS tick이고, callback 하나가 막히면 다른 모든 timer가 함께 늦어집니다.

#어떤 상황에서 쓰나

LED를 250 ms마다 깜빡이고, 30초 동안 입력이 없으면 화면을 끄고, watchdog ping을 1초마다 보내는 펌웨어처럼 ms 단위 알람이 여럿일 때 씁니다. hardware timer를 알람마다 하나씩 쓰지 않고, RTOS tick 위에 필요한 만큼 software timer를 만듭니다.

tick보다 짧은 주기(예: 50 µs)나 tick에 묶이지 않는 시각이 필요한 작업은 hardware timer와 그 ISR로 처리합니다.

실행 환경은 6-01과 같습니다(FreeRTOS V11.2.0 ARM_CM3, configTIMER_TASK_PRIORITY 7, configTIMER_QUEUE_LENGTH 8, QEMU 11.1.3 mps2-an385 -icount shift=5). 아래 코드 중 screen_off(), led_set() 같은 함수는 애플리케이션 함수이고, 실행한 코드는 “측정” 절에 있습니다.

#핵심 개념

두 timer는 개수와 해상도가 다릅니다.

종류특성
HW timerperipheral 한 개 = timer 한 개, peripheral 설정에 따른 정밀도
SW timertimer task 한 개 = N개 가상 timer, RTOS tick 정밀도

FreeRTOS software timer 구조입니다.

API동작
xTimerCreatecallback, period, auto-reload 옵션
xTimerStarttimer command queue로 명령 전달
xTimerStop / xTimerDelete같은 queue로 전달
timer service task다음 만료 시각까지 command queue에서 잠들었다가, 만료된 timer의 callback 호출

timer service task는 tick마다 깨어나지 않습니다. timers.c의 prvProcessTimerOrBlockTask()는 가장 가까운 만료 시각까지 남은 tick을 vQueueWaitForMessageRestricted( xTimerQueue, ( xNextExpireTime - xTimeNow ), … )에 넘겨 command queue에서 기다립니다. callback은 이 task 안에서 차례로 실행되므로, callback이 막히거나 오래 걸리면 다른 timer의 callback이 모두 그만큼 늦어집니다(아래 측정).

#코드 / 실제 사용 예

#One-shot timer

TimerHandle_t inactivity;
void inactivity_cb(TimerHandle_t t) {
screen_off();
}
void on_user_input(void) {
xTimerReset(inactivity, 0); /* 30초 새로 셈 */
}
void init(void) {
inactivity = xTimerCreate(
"idle",
pdMS_TO_TICKS(30000),
pdFALSE, /* one-shot */
NULL,
inactivity_cb);
xTimerStart(inactivity, 0);
}

pdFALSE가 one-shot입니다. callback이 한 번 실행되고 timer는 dormant 상태가 됩니다. xTimerReset()은 dormant인 timer도 다시 시작하므로 입력이 올 때마다 30초를 새로 셉니다.

#Auto-reload timer

TimerHandle_t heartbeat;
void hb_cb(TimerHandle_t t) {
static int phase;
led_set(phase ^= 1);
watchdog_ping();
}
void init(void) {
heartbeat = xTimerCreate(
"hb",
pdMS_TO_TICKS(500),
pdTRUE, /* auto-reload */
NULL,
hb_cb);
xTimerStart(heartbeat, 0);
}

pdTRUE가 auto-reload입니다. 다음 만료 시각은 이전 만료 시각에 period를 더한 값이라, callback이 늦게 불려도 주기가 밀리지 않습니다(아래 측정의 B).

#Timer ID로 instance 구분

TimerHandle_t led_timers[4];
void led_cb(TimerHandle_t t) {
int idx = (int)(uintptr_t)pvTimerGetTimerID(t);
led_toggle(idx);
}
void init(void) {
for (int i = 0; i < 4; i++) {
led_timers[i] = xTimerCreate("led", pdMS_TO_TICKS(100 * (i + 1)),
pdTRUE, (void *)(uintptr_t)i, led_cb);
xTimerStart(led_timers[i], 0);
}
}

timer 넷이 callback 하나를 나눠 쓰고, pvTimerGetTimerID()로 어느 timer인지 구분합니다.

#Static timer

static StaticTimer_t hb_buf;
TimerHandle_t hb;
void init(void) {
hb = xTimerCreateStatic(
"hb", pdMS_TO_TICKS(500),
pdTRUE, NULL, hb_cb, &hb_buf);
xTimerStart(hb, 0);
}

xTimerCreateStatic()은 heap 대신 호출자가 넘긴 StaticTimer_t에 timer를 만듭니다.

#ISR에서 reset

void EXTI_IRQHandler(void) {
BaseType_t hp = pdFALSE;
xTimerResetFromISR(inactivity, &hp); /* 30s timer reset */
portYIELD_FROM_ISR(hp);
}

xTimerResetFromISR()은 timer service task의 command queue에 명령을 넣습니다. 실제 reset은 그 task가 돌 때 일어납니다.

#HW timer가 필요한 경우

/* 50 us period: below the 1 ms tick, so a hardware timer ISR */
void TIM2_IRQHandler(void) {
pwm_update();
}

tick(여기서 1 ms)보다 짧은 주기는 software timer로 만들 수 없습니다. software timer callback은 timer service task의 우선순위와 앞선 callback의 실행 시간만큼 늦어집니다.

#Timer 종료 시 race 처리

void shutdown_module(void) {
xTimerStop(t, pdMS_TO_TICKS(100));
/* the stop command may not have been processed yet */
if (xTimerDelete(t, pdMS_TO_TICKS(100)) != pdPASS) {
log_err("timer delete failed");
}
/* callback이 사용하던 자원은 callback 완료 후 free */
}

xTimerStop()·xTimerDelete()는 command queue에 명령을 넣을 뿐입니다. 이 함수를 부른 task가 timer service task보다 우선순위가 높으면, 명령이 처리되기 전에 돌아오므로 callback이 그 뒤에 한 번 더 불릴 수 있습니다. callback이 쓰는 자원은 명령이 처리된 것을 확인한 뒤 정리합니다.

#측정

#callback이 막히면

one-shot A(tick 15)와 auto-reload B(10 tick)를 만들고, A의 callback 안에서 vTaskDelay(25)로 막히게 한 빌드와 막히지 않는 빌드를 비교했습니다.

/* swtimer.c: timer service behaviour on FreeRTOS V11.2.0.
-DBLOCKING makes timer A's callback block for 25 ticks. */
#include "FreeRTOS.h"
#include "task.h"
#include "timers.h"
extern void pr(const char *, ...); extern void hosted_exit(int);
static TimerHandle_t ta, tb;
static int nb;
static void cb_a(TimerHandle_t t) { /* one-shot at tick 15 */
(void)t;
pr("A fires at %u\n", (unsigned)xTaskGetTickCount());
#ifdef BLOCKING
vTaskDelay(25); /* blocks the timer task */
#endif
}
static void cb_b(TimerHandle_t t) { /* auto-reload every 10 ticks */
(void)t;
pr(" B fires at %u\n", (unsigned)xTaskGetTickCount());
if (++nb == 6) hosted_exit(0);
}
int main(void) {
ta = xTimerCreate("A", 15, pdFALSE, NULL, cb_a);
tb = xTimerCreate("B", 10, pdTRUE, NULL, cb_b);
xTimerStart(ta, 0);
xTimerStart(tb, 0);
vTaskStartScheduler();
return 0;
}
막히지 않음A callback이 25 tick 막힘
B fires at 10B fires at 10
A fires at 15A fires at 15
B fires at 20B fires at 40
B fires at 30B fires at 40
B fires at 40B fires at 40
B fires at 50B fires at 50
B fires at 60B fires at 60

A의 callback이 timer service task를 tick 15부터 40까지 막는 동안, tick 20과 30에 만료된 B의 callback은 불리지 못하고 tick 40에 세 번 연달아 불렸습니다. 그 뒤 50, 60은 원래 주기대로입니다. auto-reload의 다음 만료가 이전 만료 시각 + period라서 밀린 만큼 한꺼번에 따라잡은 것입니다.

#period 0

/* period0.c: a software timer with period 0 */
#include "FreeRTOS.h"
#include "task.h"
#include "timers.h"
extern void hosted_exit(int);
static void cb(TimerHandle_t t) { (void)t; }
int main(void) { xTimerCreate("x", 0, pdTRUE, NULL, cb); hosted_exit(0); return 0; }
ASSERT failed: timers.c line 425

xTimerCreate()는 timers.c 425행 configASSERT( ( xTimerPeriodInTicks > 0 ) )로 period 0을 거부합니다.

#자주 보는 함정

Callback에서 block

void cb(TimerHandle_t t) {
xQueueReceive(q, &item, portMAX_DELAY); /* timer task 자체가 멈춤 */
}

위 측정처럼 timer service task가 막힌 동안 다른 timer의 callback이 모두 밀립니다. callback에서는 기다리는 API를 부르지 않습니다(timeout 0으로만).

Callback에서 무거운 작업

void cb(TimerHandle_t t) {
flash_write(buf, 4096); /* 다음 callback 늦어짐 */
}

막히는 것과 같은 효과입니다. callback은 worker task에 notification이나 queue로 신호만 보내고, 긴 일은 worker가 합니다.

Timer command queue full

xTimerStart(t, 0); /* timer queue 가득 차면 fail */

command queue 길이는 configTIMER_QUEUE_LENGTH(이 설정에서 8)입니다. timer service task가 돌기 전에 명령이 그보다 많이 쌓이면 block time 0인 xTimerStart()는 pdFAIL을 돌려줍니다. 반환값을 확인합니다.

Period를 0으로

xTimerCreate("x", 0, pdTRUE, NULL, cb); /* configASSERT, timers.c 425 */

period는 1 tick 이상이어야 합니다(위 측정). 1 ms tick에서 1 ms보다 짧은 주기는 software timer로 만들 수 없습니다.

Delete 후 자원 즉시 free

xTimerDelete(t, 0);
free(my_buf); /* 마지막 callback이 my_buf 사용 중이면 use-after-free */

delete 명령은 queue에 들어갈 뿐이라, xTimerDelete()가 돌아온 시점에 timer service task가 그 명령을 처리했다는 보장이 없습니다. callback이 쓰는 자원은 명령 처리 뒤에 해제합니다.

#정리

  • SW timer의 해상도는 RTOS tick(이 설정에서 1 ms)이고, 더 짧은 주기는 HW timer ISR로 만듭니다.
  • One-shot은 pdFALSE, auto-reload는 pdTRUE입니다.
  • Callback은 timer service task 안에서 차례로 돕니다. 하나가 25 tick 막히자 B의 두 주기가 tick 40으로 밀렸습니다.
  • 명령은 timer command queue로 전달됩니다. queue 길이와 ISR 빈도를 확인합니다.
  • Stop·delete는 명령을 넣을 뿐이므로, callback 자원은 명령이 처리된 뒤 정리합니다.

다음 편은 ISR-Safe API 설계입니다.

#관련 항목

Modern Embedded Recipes · 71 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