...
首页> 外文期刊>CQ Amateur radio >An Introduction to Microcontrollers, Part 5 Run Programs in Eight MCUs
【24h】

An Introduction to Microcontrollers, Part 5 Run Programs in Eight MCUs

机译:单片机简介,第5部分,八个MCU中的运行程序

获取原文
获取原文并翻译 | 示例
           

摘要

Experimenters and engineers often think, "I wish I had a second microcontroller for this project." Take heart, one Propeller chip provides eight MCUs (Photo A), However, our examples have used only one. Let's suppose a circuit must perform three actions at different times: Action A every 1.2 seconds, Action B every 0.482 seconds, and Action C every 3.37 seconds. You might need three independent timers; one for each action. Even when an MCU includes many timers, writing code to handle them can present a challenge. When you use a Propeller chip, you could assign three MCUs to handle the three tasks. We call these stand-alone MCUs "cogs," and so far, our example programs have used only one cog, Cog 0. Objects we copied from the OBEX might have used more cogs, though. We just don't realize it unless we carefully examine their code.
机译:实验人员和工程师经常认为:“我希望我有第二个微控制器用于该项目。”令人振奋的是,一个Propeller芯片提供了八个MCU(照片A),但是,我们的示例仅使用了一个。假设电路必须在不同的时间执行三个动作:每1.2秒执行一次A,每0.482秒执行一次B,以及每3.37秒执行一次C。您可能需要三个独立的计时器。每个动作一个。即使MCU包含许多计时器,编写代码来处理它们也会带来挑战。使用Propeller芯片时,可以分配三个MCU来处理这三个任务。我们将这些独立的MCU称为“齿轮”,到目前为止,我们的示例程序仅使用了一个齿轮,即齿轮0。但是,从OBEX复制的对象可能使用了更多的齿轮。除非仔细检查他们的代码,否则我们不会意识到。

著录项

  • 来源
    《CQ Amateur radio》 |2016年第3期|32-35|共4页
  • 作者

    JONATHAN A. TITUS;

  • 作者单位

    14253 S. Trailview Way Herriman, UT 84096-8029;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号