WU-YANG Technology Co., Ltd. SIOC 實驗6:DMA 黃彥翔/陳慶瀚 MIAT實驗室.

Slides:



Advertisements
Similar presentations
Chapter Programming in C
Advertisements

桃園縣政府貼心規劃【 1999 縣民諮詢服務熱 線】,提供桃園縣民更優質、便捷的服務。 有不清楚的縣政問題,歡迎您隨時拿起電話 撥打 1999 ,我們將協助您提供諮詢服務,讓 您享受便捷的生活。 1999 將是您的好幫手, 天天在您左右!
Divide-and-Conquer. 什麼是 divide-and-conquer ? Divide 就是把問題分割 Conquer 則是把答案結合起來.
本章結構 前言 符號介紹與立透法則 指數機率分配 基本無限來源模式 基本有限來源模式 等候系統的經濟分析-最佳化 進階等候模式 16-1.
Teacher : Ing-Jer Huang TA : Chien-Hung Chen 2015/6/2 Course Embedded Systems : Principles and Implementations Weekly Preview Question CH6.1~CH /12/05.
Event Sampling 事件取樣法. 關心重點為「事件」本身明確的焦點 行為 清楚掌握主題 - 當「事件」出現時才開 始記錄 記錄程序 等待目標事件的發生 開始記錄 事件結束,停止記錄.
Teacher : Ing-Jer Huang TA : Chien-Hung Chen 2015/6/3 Course Embedded Systems : Principles and Implementations Weekly Preview Question CH3.5 ~ CH /10/31.
活動時間: 99 年 05 月 07 號 ( 五 ) 上午 9.20~12.10 活動地點:校本部科技大樓 4 樓 3401 E 化教學教室 電子系 - 光電實驗室 即時實驗現場互動.
目的 「升學調查系統」,幫助某一學校調查並記錄 其歷屆畢業生報考研究所的情況、未來提供給 學弟妹作參考,以及學校推廣之相關工作。 功能需求 紀錄並追蹤歷屆畢業生升學的狀態 協助畢業生做升學輔導 未來提供學弟妹作查詢、參考 計算上榜率、前十大學校上榜率.
Forum 2004 Building and Plaza Herzog & de Meuron Barcelona, Spain Pic 1.
小綠人行人用交通號誌燈 指導教授:黃朝章 學生:951408陳宜歆 徐祐祥.
WU-YANG Technology Co., Ltd. SIOC 實驗 4 : Embedded SRAM 實驗 郭明聰 / 陳慶瀚 MIAT 實驗室.
駱威達.  Abstract  Introduction  THE ARCHITECTURE OF NETWORK NODE BASED ON SOFTWARE RADIO TECHNOLOGY  HARDWARE SCHEME OF NODE  TESTING RESULTS.
指導教授:陳淑媛 學生:李宗叡 李卿輔.  利用下列三種方法 (Edge Detection 、 Local Binary Pattern 、 Structured Local Edge Pattern) 來判斷是否為場景變換,以方便使用者來 找出所要的片段。
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. 參 實驗法.
亂數產生器安全性評估 之統計測試 SEC HW7 姓名:翁玉芬 學號:
1 實驗二 : SIP User Mobility 實驗目的 藉由 Registra 和 Redirect Server 的設計,深入瞭解 SIP 的運 作及訊息格式。 實作部分 ( 1 )實作一個 Registrar 來接收 SIP REGISTER ,而且 要將 REGISTER 中 Contact.
資料庫名稱 中國期刊全文資料庫 (China Journal Full-text Database)
1 實驗一 網路線的製作 一對一 (Straight-Through) 與 扭接 (Crossover) 的網路線製作.
各種線上電子資源的特異功能 STICnet 的 SDI 專題訂閱服務 2003/4/28 修改. 無論校內外皆可使用。連線至
1 網路同步學習 如何使用中山大學管理學院知識管理平台 愷中 製作. 2 如何登入中山大學網路學習平台 1. 首先, 請輸入 2. 點選申請帳號, 依照螢幕所示, 輸入個人資訊.
Department of Air-conditioning and Refrigeration Engineering/ National Taipei University of Technology 模糊控制設計使用 MATLAB 李達生.
軟體保護技術及其弱點 序列號保護與弱點. 組員名單 資訊三乙 D 吳俊緯 資訊三乙 D 吳俊緯 資訊三乙 D 陳品端 資訊三乙 D 陳品端.
Wireless Protocol Bluetooth
Introduction to Java Programming Lecture 17 Abstract Classes & Interfaces.
: Next Same-Factored ★★★★☆ 題組: Problem Set Archive with Online Judge 題號: : Next Same-Factored 解題者:蔡宗翰 解題日期: 2008 年 5 月 9 日 題意: 給一個整數 X ,求出.
最新計算機概論 第 5 章 系統程式. 5-1 系統程式的類型 作業系統 (OS) : 介於電腦硬體與 應用軟體之間的 程式,除了提供 執行應用軟體的 環境,還負責分 配系統資源。
© The McGraw-Hill Companies, Inc., 2006© The McGraw-Hill Companies, Inc., 2007 Chapter 7 位址解析通訊協定及 反向位址解析通訊協定.
Ubiquitous News(Unews) 的設計與實作 指導教授:黃毅然 教授 學生:葉雅琳 系別:資訊工程學系.
各種線上電子資源的特異功能 SwetsWise 的 alert, TOC alert 與 Favorites 2003/4/28 修改.
各種線上電子資源的特異功能 SpringerLINK 的 Alert, Serials Update, News 2003/4/28 修改.
Distributed Video Coding. Outline Distributed video coding Lossless compression Lossy compression Low complexity video encoding Distributed image coding.
電子化政府的新架構: 建立以知識管理為主的政府資訊網服務入口網站 (A New Infrastructure for E-Government: Building A Knowledge Management Portal for E-Government Services) 胡毓忠教授政治大學資訊科學.
生產系統導論 生產系統簡介 績效衡量 現代工廠之特徵 管理機能.
教材名稱:網際網路安全之技術及其應用 (編號: 41 ) 計畫主持人:胡毓忠 副教授 聯絡電話: 教材網址: 執行單位: 政治大學資訊科學系.
11 ZIGBEE. 2 Equipment  FT-6200 High-power Zigbee Starter Kit.
Chapter 17 Windows API 程式入門 VC++ 與 WindowsVC++ 與 Windows 建構遊戲設計的舞台 建構遊戲設計的舞台.
資料結構實習-一 參數傳遞.
6-2 認識元件庫與內建元件庫 Flash 的元件庫分兩種, 一種是每個動畫專 屬的元件庫 (Library) ;另一種則是內建元 件庫 (Common Libraries), 兩者皆可透過 『視窗』功能表來開啟, 以下即為您說明。
1 LAB 5. Audio Transmission over WLAN/GPRS. 2 Goal 嘗試使用 WLAN/GPRS 傳送 Audio 瞭解 WLAN/GPRS 網路特性 瞭解 WLAN/GPRS 對於 Audio 傳輸之影響 增進對於網路特性及多媒體傳輸的基本認識.
Management Abstracts Retrieval System; MARS 檢索操作.
Section 4.2 Probability Models 機率模式. 由實驗看機率 實驗前先列出所有可能的實驗結果。 – 擲銅板:正面或反面。 – 擲骰子: 1~6 點。 – 擲骰子兩顆: (1,1),(1,2),(1,3),… 等 36 種。 決定每一個可能的實驗結果發生機率。 – 實驗後所有的實驗結果整理得到。
Teacher : Ing-Jer Huang TA : Chien-Hung Chen 2015/6/25 Course Embedded Systems : Principles and Implementations Weekly Preview Question CH 2.4~CH 2.6 &
Image Interpolation Use SSE 指導教授 : 楊士萱 學 生 : 楊宗峰 日 期 :
2010 MCML introduction 製作日期: 2010/9/10 製作人 : 胡名霞.
: Expect the Expected ★★★★☆ 題組: Contest Archive with Online Judge 題號: 11427: Expect the Expected 解題者:李重儀 解題日期: 2008 年 9 月 21 日 題意:玩一種遊戲 (a game.
校園網頁整合平台介紹 電算中心綜合業務組. 大綱 設計理念 功能介紹 實做 FAQ 特殊案例 Q&A.
寬頻通訊系統基礎教育計畫 分項計畫二 寬頻網路通訊 主要參與人員 黎碧煌 教 授 鍾順平 副教授
網路介紹及其運用 講師陳炯勳. 5-2 IP 協定 ( 一 ) IP 協定運作 (1) – 網路成員:主機 (Host) 與路由器 (Router) – 路由表 – 電報傳輸運作.
計算機概論 第 9 章 無線網路. 主講人:沈宗南 9-1 無線區域網路 (WLAN) 無線區域網路 (WLAN) 的標準是由 IEEE 於 1997 年 6 月所發表的 ,爾後又於 1999 年延伸為 a 和 b 兩個標準 無線區域網路 (WLAN) 的標準是由.
概念性產品企劃書 呂學儒 李政翰.
1/17 A Study on Separation between Acoustic Models and Its Application Author : Yu Tsao, Jinyu Li, Chin-Hui Lee Professor : 陳嘉平 Reporter : 許峰閤.
無線通訊網路 Mac 層 TDM 通訊模式的操作與效能研究 專題生 : 林書弘、蔡逸祥、毛建翔、王政 華 指導教授 : 黃依賢.
無線網路防干擾機制 彭祺恩 蔣軼倫. 前言 一個區域內存在有多台 AP(Access Point) ,在 許多研究中發現,多台 AP 彼此在一定的範圍 內,對於鄰頻 (Next Channel) 或同頻 (co- Channel) 的 AP 會互相干擾,尤其鄰頻的干擾 程度會遠大於同頻。
Toward Optimized MPEG-4 Decoder 羅仲耘 吳方荃楊士萱教授 指導. Outline 專題方向簡介 改善項目 改善方法 未來工作.
連續隨機變數 連續變數:時間、分數、重量、……
Teacher : Ing-Jer Huang TA : Chien-Hung Chen 2015/6/30 Course Embedded Systems : Principles and Implementations Weekly Preview Question CH7.1~CH /12/26.
Outlook 教學與研習 (1) - 設定及收發郵件 - 設定郵件規則 陽明大學資訊與通信中心 陳坤元 2006/03/27.
資工碩一 林昱宏 CH 1 Main purposes of operating system Multiprogramming Time-Sharing Systems Parallel Systems Symmetric multiprocessing.
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. 參 資料蒐集的方法.
1 寬頻分碼多重進接無線通訊上 鏈傳收系統之設計與製作 Transceiver System Design and Implementation for WCDMA Uplink Communication 國科會計畫 (1999/8 – 2002/7) 簡介 2004/1.
計 算 機 概 論 Chapter 10 作業系統. Ch010 作業系統 2 學習目標  描述作業系統的兩個主要任務  定義記憶體及程序管理  解釋邏輯位址與實體位址間的關係  基礎:第 5.2 節 范紐曼 電腦架構  ( 第 5 章講義第 頁 )
Mapping - 1 Mapping From ER Model to Relational DB.
第 1 章 PC 的基本構造. 本章提要 PC 系統簡介 80x86 系列 CPU 及其暫存器群 記憶體: Memory 80x86 的分節式記憶體管理 80x86 的 I/O 結構 學習組合語言的基本工具.
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. 肆 資料分析與表達.
1 第 18 章 管線技術 2 管線觀念 最佳化效能的技術之一 管線:經過一序列台階程序的資訊結構 管線並沒有侷限在硬體結構: – 管線觀念是一種基本觀念 – 適用於各種不同的層面 – 視野寬廣.
台灣地區電子錢包 之現況分析 資管進修4B 指導老師:吳有龍 B 蔡恒德.
Subversion Tutorial Presenter: Ya-Lin Huang. Introduction 版本控制系統是什麼? 管理對資訊所做人為變動 程式設計師的工具之一 為何要使用版本控制系統? 促成有效率的團隊合作 使變動歷程能被追溯 2.
Trusted Video Management Lenel Onguard on Crystal.
科技專利與專案管理 授課教師:陳瑞堂老師 學生 : 黃維順 學號: MA4L0104. Shoe wear-out sensor, body-bar sensing system, unitless activity assessment and associated methods (US
Presentation transcript:

WU-YANG Technology Co., Ltd. SIOC 實驗6:DMA 黃彥翔/陳慶瀚 MIAT實驗室

2 實驗目的  控制DMA自動搬一記憶體或周邊之資料,並透過VCP 傳送到超級終端機顯示操作過程。 實作重點  DMA的控制 Polling Interrupt

SIOC DMA 簡介 DMA(Direct Memory Access),無須CPU可直接控 制記憶體,透過DMA,能使CPU的效率大為提高。 最多有兩個DMA控制器,DMA1有7個通道,每個通 道專門用來管理來自一個或多個外部的請求,還有 一個仲裁器來協調各個DMA請求的優先權。 3

WU-YANG Technology Co., Ltd. DMA Registers

DMA Channel Mapping 5

DMA Request Mapping 6

DMA Interrupt Status Register 7

DMA Interrupt Status Register Cont., 8

DMA Interrupt Flag Clear Register 9

DMA Channel x Configuration Register 10

DMA Channel x Configuration Register Cont., 11

DMA Channel x Configuration Register Cont., 12

DMA Channel x Number of Data Register 13

DMA Channel x Peripheral Address Register 14

DMA Channel x Memory Address Register 15

DMA Register Mapping 16

DMA Register Mapping Cont., 17

DMA Register Mapping Cont., 18

DMA Register Mapping Cont., 19

WU-YANG Technology Co., Ltd. DMA Standard Driver Library

DMA Standard Driver Library List 21

DMA DeInit Function 22

DMA Init Function 23

DMA Init Function Cont., 24

DMA Init Function Cont., 25

DMA Init Function Cont., 26

DMA Init Function Cont., 27

DMA Init Function Cont., 28

DMA Init Function Cont., 29

DMA Command Function 30

DMA Interrupt Function 31

DMA Interrupt Function Cont., 32

DMA Get CurrDataCounter Function 33

DMA Get Flag Status Function 34

DMA Get Flag Status Function Cont., 35

DMA Get Flag Status Function Cont., 36

DMA Get Flag Status Function Cont., 37

DMA Get Flag Status Function Cont., 38

DMA Clear Flag Function 39

DMA Get Interrupt Status Function 40

DMA Get Interrupt Status Function Cont., 41

DMA Get Interrupt Status Function Cont., 42

DMA Get Interrupt Status Function Cont., 43

DMA Clear Interrupt Pending Bit Function 44

實驗 1 – Polling DMA  Goal Use DMA to copy data from memory to memory  Principle Check the DMA flag 45

Development Flow 46 Embedded So ftware Side Download Program to the Flash of the STM32

RCC Configure 47 /* RCC Configure */ /* DMA1 clock enable */ RCC_AHBPeriphClockCmd(RCC_AHBPeriph_DMA1, ENABLE); Turn On DMA1 Clock

DMA Configure 48 /* DMA Configure */ void DMA_Configuration(void) { DMA_InitTypeDef DMA_InitStructure; /* DMA1 channel6 configuration */ DMA_DeInit(DMA1_Channel6); DMA_InitStructure.DMA_PeripheralBaseAddr = (uint32_t)SRC_Const_Buffer; DMA_InitStructure.DMA_MemoryBaseAddr = (uint32_t)DST_Buffer; DMA_InitStructure.DMA_DIR = DMA_DIR_PeripheralSRC; DMA_InitStructure.DMA_BufferSize = BufferSize; DMA_InitStructure.DMA_PeripheralInc = DMA_PeripheralInc_Enable; DMA_InitStructure.DMA_MemoryInc = DMA_MemoryInc_Enable; DMA_InitStructure.DMA_PeripheralDataSize = DMA_PeripheralDataSize_Word; DMA_InitStructure.DMA_MemoryDataSize = DMA_MemoryDataSize_Word; DMA_InitStructure.DMA_Mode = DMA_Mode_Normal; DMA_InitStructure.DMA_Priority = DMA_Priority_High; DMA_InitStructure.DMA_M2M = DMA_M2M_Enable; DMA_Init(DMA1_Channel6, &DMA_InitStructure); }

User Program 49 /* User Program */ while (DMA_GetFlagStatus(DMA1_FLAG_TC5) == RESET); DMA_ClearFlag(DMA1_FLAG_TC5); DMA_Configuration(); //DMA_Cmd(DMA1_Channel5, ENABLE);

實驗 2 – Interrupt DMA  Goal Use DMA to copy data from memory to memory  Principle Use the DMA Interrupt 50

Development Flow 51 Download Program to the Flash of the STM32F103C8

Q & A