热搜关键词: 电路基础ADC数字信号处理封装库PLC

pdf

ARM-Based Microcontroller Multitasking Projects Using the FreeRTOS Multitasking Kernel

  • 1星
  • 2022-07-01
  • 86.86MB
  • 需要1积分
  • 9次下载
标签: 嵌入式

嵌入式

ARM

ARM

ARM-Based  Microcontroller  Multitasking  Projects  Using  the  FreeRTOS  Multitasking  Kernel

ARM-Based
Microcontroller
Multitasking
Projects
Using the FreeRTOS
Multitasking Kernel
D
ogan
I
brahIm
Newnes is an imprint of Elsevier
The Boulevard, Langford Lane, Kidlington, Oxford OX5 1GB, United Kingdom
50 Hampshire Street, 5th Floor, Cambridge, MA 02139, United States
Copyright © 2020 Elsevier Ltd. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including
photocopying, recording, or any information storage and retrieval system, without permission in writing from the publisher.
Details on how to seek permission, further information about the Publisher’s permissions policies and our arrangements with
organizations such as the Copyright Clearance Center and the Copyright Licensing Agency, can be found at our website:
www.
elsevier.com/permissions.
This book and the individual contributions contained in it are protected under copyright by the Publisher (other than as may
be noted herein).
Notices
Knowledge and best practice in this field are constantly changing. As new research and experience broaden our understanding,
changes in research methods, professional practices, or medical treatment may become necessary.
Practitioners and researchers must always rely on their own experience and knowledge in evaluating and using any informa-
tion, methods, compounds, or experiments described herein. In using such information or methods they should be mindful of
their own safety and the safety of others, including parties for whom they have a professional responsibility.
To the fullest extent of the law, neither the Publisher nor the authors, contributors, or editors, assume any liability for any injury
and/or damage to persons or property as a matter of products liability, negligence or otherwise, or from any use or operation
of any methods, products, instructions, or ideas contained in the material herein.
Library of Congress Cataloging-in-Publication Data
A catalog record for this book is available from the Library of Congress
British Library Cataloguing-in-Publication Data
A catalogue record for this book is available from the British Library
ISBN: 978-0-12-821227-1
For information on all Newnes publications
visit our website at
https://www.elsevier.com/books-and-journals
Publisher:
Mara Conner
Acquisitions Editor:
Tim Pitts
Editorial Project Manager:
Rafael G. Trombaco
Production Project Manager:
Nirmala Arumugam
Designer:
Matthew Limbert
Typeset by Thomson Digital
About the author
Prof. Dr. Dogan Ibrahim has a BSc degree
in electronic engineering, an MSc degree in
automatic control engineering, and a PhD
degree in digital signal processing. Dogan
has worked in many industrial organiza-
tions before he returned to academic life.
Prof. Ibrahim is the author of over 80 tech-
nical books and over 200 technical articles
on microcontrollers, microprocessors, and
related fields. He is a Chartered electrical
engineer and a Fellow of the Institution of
Engineering Technology.
xi
Preface
A microcontroller is a single-chip micro-
processor system which contains data and
program memory, serial and parallel I/O,
timers, external and internal interrupts,
all integrated into a single chip that can
be purchased for as little as $2.00. About
40% of microcontroller applications are in
office automation, such as PCs, laser print-
ers, fax machines, intelligent telephones,
and so forth. About one-third of microcon-
trollers are found in consumer electronic
goods. Products like CD and DVD play-
ers, hi-fi equipment, video games, wash-
ing machines, cookers, and so on fall into
this category. The communications market,
automotive market, and the military share
the rest of the application areas.
Microcontrollers have traditionally been
programmed using the assembly language
of the target processor. Although the assem-
bly language is fast, it has the disadvantages
that it is difficult to develop and maintain
large projects using the assembly language.
Additionally, microcontrollers from differ-
ent manufacturers have different assembly
language instruction sets which makes it
very time consuming for the programmers
to learn new assembly languages every time
a different microcontroller is to be used. The
assembly code developed for one type of
microcontroller cannot be ported to another
type of microcontroller. Nowadays micro-
controllers are programmed using high-level
languages, such as C, C++, Pascal, or Basic.
Perhaps the biggest advantage of using a
high-level language is that the developed
code can easily be ported to other types of
microcontrollers. Additionally, it is easier to
maintain a program developed using a high-
level programming language.
There are many different types of micro-
controllers available from many manufactur-
ers. Most manufacturers offer development
kits (or development boards), which are
invaluable tools during the early stages
of project development. In this book the
Clicker 2 for STM32 development board is
used. This board is based on the STM32F407
type ARM Cortex-M4 processor that can
operate at up to 168MHz. The highly popu-
lar mikroC Pro for ARM compiler and IDE is
used for software development.
The topic of this book is FreeRTOS kernel
and multitasking. Multitasking has become
one of the important topics in microcon-
troller-based systems, namely in automation
applications. As the complexity of the proj-
ects grow, more functionality is demanded
from the projects and such projects require
the use of several inter-related tasks running
on the same processor and sharing the CPU in
order to implement the required operations.
As a result of this, the importance of mul-
titasking operation in microcontroller-based
applications has been growing steadily over
the last several years and many complex
automation projects nowadays make use of
some form of a multitasking kernel. In this
book the FreeRTOS multitasking kernel is
used in the projects. FreeRTOS is a market
leading real time multitasking kernel with
millions of deployments in all market sec-
tors. FreeRTOS is free of charge and is fully
documented and supported. It is available
to run on many hardware and software plat-
forms, including the ARM processors and
xiii
展开预览

文档解析

本书《ARM-Based Microcontroller Multitasking Projects Using the FreeRTOS Multitasking Kernel》由Dogan Ibrahim撰写,由Elsevier Newnes出版,深入探讨了基于ARM的微控制器在多任务处理项目中的应用,特别是利用FreeRTOS多任务内核。FreeRTOS是一个市场领先的实时多任务内核,已被广泛应用于各个行业领域。

作者Dogan Ibrahim拥有电子工程学士学位、自动控制工程硕士学位和数字信号处理博士学位,并且在工业界有丰富的工作经验。他撰写了超过80本技术书籍和200篇技术文章,是微控制器和微处理器领域的资深专家。

本书以项目为基础,旨在教授FreeRTOS内核的基本特性和API函数。书中提供了许多经过充分测试的项目案例,每个项目都有详细的描述、目标、背景(如适用)、框图、电路图、程序列表以及对未来工作的提议(如适用)。读者可以按照书中的指导直接使用这些项目,或者根据需要进行修改。

书中强调了使用高级语言(如C语言)进行微控制器编程的优势,包括代码的可移植性和易于维护性。同时,介绍了多种微控制器的发展套件(development kits),这些工具在项目开发的早期阶段非常有价值。

本书的目标读者包括学生、实践工程师和对使用ARM家族微控制器开发多任务实时项目感兴趣的业余爱好者。尽管书中使用了Clicker 2 for STM32开发板和STM32F407型ARM处理器,但作者鼓励读者尝试使用其他类型的开发板和ARM处理器。

此外,书中还详细介绍了ARM微控制器的架构,包括其内部结构和输入输出特性,以及STM32F407VGT6微控制器的详细特性。通过本章的学习,读者将对ARM微控制器的基本架构和编程有更深入的理解,为后续的项目开发打下坚实的基础。

猜您喜欢

评论

登录/注册

意见反馈

求资源

回顶部

推荐内容

热门活动

热门器件

随便看看

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved
×