网站大量收购独家精品文档,联系QQ:2885784924

第5讲 共轨控制单元实例-.ppt

  1. 1、本文档共45页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第5讲 共轨控制单元实例-

第五讲 共轨控制单元实例- MC68332 32位CPU 内部数据、地址、运算均为32位 外部地址24位,数据16位,支持64位数据传输 重叠指令执行(取指和执行同时进行) 主频25MHz,支持C语言编程 智能化外围子系统 TPU:16个独立定时器,9种功能,适用于多点电喷 QSM:高速同步通信QSPI和异步通信SCI 丰富的端口资源:32 I/O、8硬中断、12片选 完善的系统保护 COP监视定时器(watchdog) 周期中断定时器 伪中断监视器、HALT监视器和总线监视器 Operating Systems Basis software of a computer system Characteristics Resource management Interface between application and hardware Library of functions for the application Embedded Operating Systems Fusion of the application and the OS to one unit Characteristics Resource management Primary internal resources Less overhead Code of the OS and the application mostly reside in ROM What is real time? The correct result of a real time system depends on: a correct answer/reaction to a stimuli a point of time, when the result will be delivered Real Time Operating System Use in (real time) systems with focus on processing/answering time (time of reaction) ? e.g. control and continuos systems Use in systems with multi-simultaneous executive problems Typical features: Multitasking (task model) Scheduling of the tasks with priorities Synchronisation of the resources Taskmodel (multitasking) In a real time system several parts of a problem are handeled, they are called tasks. Tasks may be processed simultaneously or sequentially. Tasks compete against each other for the processor and for the resources (memory, I/O port, software function) States of a task Scheduling (task coordination) The scheduler decides which task is processed by the processor. Behaviour of scheduling Non preemptive scheduling (cooperative) Preemptive scheduling Type of scheduling Static scheduling (time control) Dynamic scheduling (event control) Method of scheduling Priority control Time slice (Round robin) FIFO Resources Hardware (memory, I/O port ) Software (global functions, global variables) All tasks in a real time system have access to resources. Resource managers prevent the simultaneous access to a resource through two tasks. Semaphore ? Prob

文档评论(0)

hhuiws1482 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:5024214302000003

1亿VIP精品文档

相关文档