# OmniXRI TinyML 小學堂 (2025) 【第 5 講】通用微控制器軟體介面標準(CMSIS)
<img src="https://raw.githubusercontent.com/OmniXRI/TinyML_Course_2025/refs/heads/main/images/2025_TinyML%E5%B0%8F%E5%AD%B8%E5%A0%82%E8%AA%B2%E7%A8%8B%E7%9B%B4%E6%92%AD%E5%9C%96%E7%A4%BA_Ch5.JPG" alt="" width="640">
<span style="color:#FF0000;">**本課程完全免費,請勿移作商業用途!更多課程內容請參考文末教學資源連結。歡迎追蹤、留言、訂閱、點讚、轉發,讓更多需要的朋友也能一起學習。**</span>
**課程直播日期: 2025/04/09**
**課程直播連結: https://youtu.be/JFR5o4dFxrk**
**課程簡報名稱: [20250409_TInyML_Course_Ch05_OmniXRI_Jack.pdf](https://github.com/OmniXRI/TinyML_Course_2025/tree/main/Ch05_Arm_CMSIS)**
## 課程內容
5.1. CMSIS 基本介紹
* arm Cortex-M 架構差異
* 何謂 arm CMSIS
* CMSIS-5
* CMSIS-5 架構圖
* CMSIS-6
* CMSIS-6 主要元件功能
* CMSIS-6 架構圖
* CMSIS 5 / 6 Github 比較
* CMSIS 5 / 6 主要差異
5.2. CMSIS-Core & Driver
* CMSIS-6 Core
* CMSIS-6 Core 相關檔案
* CMSIS-6 Core 說明文件
* CMSIS-6 Core 範例程式
* CMSIS-6 Driver
* CMSIS-6 Driver 架構圖
* CMSIS-6 Driver 工作流程
* CMSIS-6 Driver 相關檔案
* CMSIS-6 Driver ─ GPIO 為例
5.3. CMSIS-DSP
* CMSIS-6 DSP
* CMSIS-6 DSP – 通用格式
* CMSIS-6 DSP – 數學函數
* CMSIS-6 DSP – 濾波器函數
* CMSIS-6 DSP – 矩陣函式
* CMSIS-6 DSP – 變換函式
* CMSIS 5 / 6 DSP 比較
5.4. CMSIS-NN
* CMSIS-6 NN
* CMSIS-6 NN 架構圖
* CMSIS-6 NN – 卷積函式
* CMSIS-6 NN – 激勵函式
* CMSIS-6 NN – 池化函式
* CMSIS-6 NN – 全連結層函式
* CMSIS-6 NN – Softmax函式
* CMSIS 5 / 6 NN 比較
## 參考文獻
[1] 許哲豪,NTUST Edge AI 人工智慧與邊緣運算實務
https://omnixri.blogspot.com/p/ntust-edge-ai.html
[2] 許哲豪,OmniXRI's Edge AI & TinyML 小學堂 Youtube 直播課程總結
https://omnixri.blogspot.com/2024/06/omnixris-edge-ai-tinyml-youtube.html
[3] 許哲豪,OmniXRI系列發文─TinyML(MCU AI)系列
https://hackmd.io/1PK1URhIQ7GutcWgpgsWbg#TinyMLMCU-AI%E7%B3%BB%E5%88%97
[4] 許哲豪,歐尼克斯實境互動工作室系列發文─TinyML(MCU AI)系列
https://hackmd.io/1PK1URhIQ7GutcWgpgsWbg#TinyMLMCU-AI%E7%B3%BB%E5%88%97
[5] 許哲豪,TinyML 核心函式庫 Arm CMSIS 6 DSP & NN 更新比較
https://omnixri.blogspot.com/2024/02/tinyml-arm-cmsis-6-dsp-nn.html
https://omnixri.blogspot.com/2024/01/vmaker-edge-ai-13-npuai.html
## 延伸閱讀
[a] arm, Common Microcontroller Software Interface Standard (CMSIS)
https://www.arm.com/technologies/cmsis
[b] arm, CMSIS-5 Document (Version 5.9.0)
https://arm-software.github.io/CMSIS_5/latest/General/html/index.html
[c] arm, CMSIS-6 Document
https://arm-software.github.io/CMSIS_6/latest/General/index.html
[d] arm, CMSIS-DSP Document
https://arm-software.github.io/CMSIS-DSP/latest/
[e] arm, CMSIS-NN Document
https://arm-software.github.io/CMSIS-NN/latest/
## 教學資源
OmniXRI 系列文章:
https://omnixri.blogspot.com/p/blog-page_19.html
OmniXRI Youtube 教學影片頻道:
https://www.youtube.com/@omnixri1784/videos
OmniXRI Github 課程簡報及相關範例:
https://github.com/OmniXRI/TinyML_Course_2025
---
**註:本課程非學校正式課程,現僅有老師一人,沒有教學助理可幫忙,如操作上有相關問題,請於[Youtube](https://www.youtube.com/@omnixri1784/featured), [FB Group](https://www.facebook.com/groups/edgeaitw), [Blogger](https://omnixri.blogspot.com/), [Medium](https://omnixri.medium.com/), [Hackmd](https://hackmd.io/@OmniXRI-Jack), [Github](https://github.com/OmniXRI) 各討論區中留言,老師會儘量協助,如有服務不週之處尚請見諒。**