Microchip AN1264 Application Note

This application note explains how to integrate Microchip software libraries and protocol stacks with an RTOS and discusses the code changes required.


Microchip AN1264 Application Note - cover page
Brand
MICROCHIP
Category
Application program
Document type
Application Note
Language
Chinese
Pages
22
File format
PDF
File size
499 KB
Published
07 October, 2026
Updated
07 October, 2026
MD5 checksum
80D1F5F5D16EB543E43319269AC9DC99

About this manual

The note introduces the reasons for porting Microchip middleware libraries and protocol stacks to an RTOS‑based platform, and describes the modifications needed when using an RTOS. It covers the use of FreeRTOS, task scheduling, semaphores, and queues to manage library interactions and avoid priority‑inversion problems.

A demonstration application is built around an energy‑metering use case, using the Explorer 16 development board with PIC24F or PIC32 modules, a QVGA touch screen, Ethernet and 2.4 GHz RF interfaces. The document details hardware setup, task implementation, and the minimal changes required to keep COTS libraries functional in the RTOS environment. This manual is written in Chinese.

What's inside

  • 背景
  • RTOS功能
  • 阻塞函数
  • 优先级反转、互斥和信号量
  • 库和应用程序移植
  • 演示应用程序
  • 演示性硬件
  • 实现
  • FreeRTOS 修改
  • 能量计

Specifications

Supported librariesTCP/IP stack, Zigbee®, MiWi®, USB host/client, IrDA®, graphics library, mTouch®, Memory Disk Drive, audio library
RTOS used in demoFreeRTOS

Frequently asked questions

Which real‑time operating system is used in the demonstration?

The demonstration uses FreeRTOS as the RTOS.

Download PDF (499 KB)

More MICROCHIP Manuals


View all MICROCHIP manuals →