ebook img

ARM Cortex-M7 Devices Generic User Guide PDF

315 Pages·2015·1.92 MB·English
by  
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview ARM Cortex-M7 Devices Generic User Guide

ARM® Cortex®-M7 Devices Generic User Guide Copyright ©2015 ARM. All rights reserved. ARM DUI 0646B (ID082615) ARM Cortex-M7 Devices Generic User Guide Copyright ©2015 ARM. All rights reserved. Release Information The following changes have been made to this book. Change history Date Issue Confidentiality Change 19-March-2015 A Non-Confidential First release for r1p0 07-July-2015 B Non-Confidential First release for r1p1 Proprietary Notice This document is protected by copyright and other related rights and the practice or implementation of the information contained in this document may be protected by one or more patents or pending patent applications. No part of this document may be reproduced in any form by any means without the express prior written permission of ARM. No license, express or implied, by estoppel or otherwise to any intellectual property rights is granted by this document unless specifically stated. Your access to the information in this document is conditional upon your acceptance that you will not use or permit others to use the information for the purposes of determining whether implementations infringe any third party patents. THIS DOCUMENT IS PROVIDED “AS IS”. ARM PROVIDES NO REPRESENTATIONS AND NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, NON-INFRINGEMENT OR FITNESS FOR A PARTICULAR PURPOSE WITH RESPECT TO THE DOCUMENT. For the avoidance of doubt, ARM makes no representation with respect to, and has undertaken no analysis to identify or understand the scope and content of, third party patents, copyrights, trade secrets, or other rights. This document may include technical inaccuracies or typographical errors. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL ARM BE LIABLE FOR ANY DAMAGES, INCLUDING WITHOUT LIMITATION ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF ANY USE OF THIS DOCUMENT, EVEN IF ARM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. This document consists solely of commercial items. You shall be responsible for ensuring that any use, duplication or disclosure of this document complies fully with any relevant export laws and regulations to assure that this document or any portion thereof is not exported, directly or indirectly, in violation of such export laws. Use of the word “partner” in reference to ARM’s customers is not intended to create or refer to any partnership relationship with any other company. ARM may make changes to this document at any time and without notice. If any of the provisions contained in these terms conflict with any of the provisions of any signed written agreement covering this document with ARM, then the signed written agreement prevails over and supersedes the conflicting provisions of these terms. This document may be translated into other languages for convenience, and you agree that if there is any conflict between the English version of this document and any translation, the terms of the English version of the Agreement shall prevail. Words and logos marked with ® or ™ are registered trademarks or trademarks of ARM Limited or its affiliates in the EU and/or elsewhere. All rights reserved. Other brands and names mentioned in this document may be the trademarks of their respective owners. Please follow ARM’s trademark usage guidelines at, http://www.arm.com/about/trademark-usage-guidelines.php Copyright © 2015, ARM Limited or its affiliates. All rights reserved. ARM Limited. Company 02557590 registered in England. 110 Fulbourn Road, Cambridge, England CB1 9NJ. ARM DUI 0646B Copyright ©2015 ARM. All rights reserved. ii ID082615 Non-Confidential Confidentiality Status This document is Non-Confidential. The right to use, copy and disclose this document may be subject to license restrictions in accordance with the terms of the agreement entered into by ARM and the party that ARM delivered this document to. Product Status The information in this document is final, that is for a developed product. Web Address http://www.arm.com ARM DUI 0646B Copyright ©2015 ARM. All rights reserved. iii ID082615 Non-Confidential Contents ARM Cortex-M7 Devices Generic User Guide Preface About this book .......................................................................................................... vii Feedback ..................................................................................................................... x Chapter 1 Introduction 1.1 About the Cortex-M7 processor and core peripherals ............................................. 1-2 Chapter 2 The Cortex-M7 Processor 2.1 Programmers model ................................................................................................ 2-2 2.2 Memory model ....................................................................................................... 2-12 2.3 Exception model .................................................................................................... 2-19 2.4 Fault handling ........................................................................................................ 2-27 2.5 Power management ............................................................................................... 2-31 Chapter 3 The Cortex-M7 Instruction Set 3.1 Instruction set summary ........................................................................................... 3-2 3.2 CMSIS functions .................................................................................................... 3-12 3.3 About the instruction descriptions .......................................................................... 3-14 3.4 Memory access instructions .................................................................................. 3-24 3.5 General data processing instructions .................................................................... 3-42 3.6 Multiply and divide instructions .............................................................................. 3-82 3.7 Saturating instructions ......................................................................................... 3-104 3.8 Packing and unpacking instructions .................................................................... 3-116 3.9 Bit field instructions .............................................................................................. 3-123 3.10 Branch and control instructions ........................................................................... 3-127 3.11 Floating-point instructions .................................................................................... 3-135 3.12 Miscellaneous instructions ................................................................................... 3-172 ARM DUI 0646B Copyright ©2015 ARM. All rights reserved. iv ID082615 Non-Confidential Contents Chapter 4 Cortex-M7 Peripherals 4.1 About the Cortex-M7 peripherals ............................................................................. 4-2 4.2 Nested Vectored Interrupt Controller ....................................................................... 4-3 4.3 System control block .............................................................................................. 4-11 4.4 System timer, SysTick ........................................................................................... 4-33 4.5 Processor features ................................................................................................. 4-37 4.6 Optional Memory Protection Unit ........................................................................... 4-43 4.7 Floating Point Unit ................................................................................................. 4-55 4.8 Cache maintenance operations ............................................................................. 4-61 4.9 Access control ....................................................................................................... 4-66 Appendix A Cortex-M7 Options A.1 Cortex-M7 processor options ................................................................................... A-2 Appendix B Revisions Glossary ARM DUI 0646B Copyright ©2015 ARM. All rights reserved. v ID082615 Non-Confidential Preface This preface introduces the Cortex®-M7 Devices Generic User Guide. It contains the following sections: • About this book on pagevii. • Feedback on pagex. ARM DUI 0646B Copyright ©2015 ARM. All rights reserved. vi ID082615 Non-Confidential Preface About this book This book is a generic user guide for devices that implement the ARM Cortex-M7 processor. Implementers of Cortex-M7 designs make a number of implementation choices, that can affect the functionality of the device. This means that, in this book: • Some information is described as implementation defined. This can be a function, mode, range, value or setting that an ARM partner can choose to configure at implementation. • Some features are described as optional. This can be a function, component, mode, value or setting that the ARM partner can choose to include at implementation. See the Glossary for a description of the term implementation defined. In this book, unless the context indicates otherwise: Processor Refers to the Cortex-M7 processor, as supplied by ARM. Device Refers to an implemented device, supplied by an ARM partner, that incorporates a Cortex-M7 processor. In particular, your device refers to the particular implementation of the Cortex-M7 that you are using. Some features of your device depend on the implementation choices made by the ARM partner that made the device. Product revision status The rnpn identifier indicates the revision status of the product described in this book, where: rn Identifies the major revision of the product, for example r1. pn Identifies the minor revision or modification status of the product, for example p2. Intended audience This book is written for application and system-level software developers, familiar with programming, who want to program a device that includes the Cortex-M7 processor. Using this book This book is organized into the following chapters: Chapter1 Introduction Read this for an introduction to the Cortex-M7 processor and its features. Chapter2 The Cortex-M7 Processor Read this for information about how to program the processor, the processor memory model, exception and fault handling, and power management. Chapter3 The Cortex-M7 Instruction Set Read this for information about the processor instruction set. Chapter4 Cortex-M7 Peripherals Read this for information about Cortex-M7 core peripherals. AppendixA Cortex-M7 Options Read this for information about the processor implementation and configuration options. ARM DUI 0646B Copyright ©2015 ARM. All rights reserved. vii ID082615 Non-Confidential Preface AppendixB Revisions Read this for a list of the technical changes between released issues of this book. Glossary Read this for definitions of terms used in this book. Typographical conventions The following table describes the typographical conventions: Typographical conventions Style Purpose italic Introduces special terminology, denotes cross-references, and citations. bold Highlights interface elements, such as menu names. Denotes signal names. Also used for terms in descriptive lists, where appropriate. monospace Denotes text that you can enter at the keyboard, such as commands, file and program names, and source code. monospace Denotes a permitted abbreviation for a command or option. You can enter the underlined text instead of the full command or option name. monospace italic Denotes arguments to monospace text where the argument is to be replaced by a specific value. monospace bold Denotes language keywords when used outside example code. <and> Encloses replaceable terms for assembler syntax where they appear in code or code fragments. For example: MRC p15, 0 <Rd>, <CRn>, <CRm>, <Opcode_2> SMALL CAPITALS Used in body text for a few terms that have specific technical meanings, that are defined in the ARM® Glossary. For example, IMPLEMENTATION DEFINED, IMPLEMENTATION SPECIFIC, UNKNOWN, and UNPREDICTABLE. ARM DUI 0646B Copyright ©2015 ARM. All rights reserved. viii ID082615 Non-Confidential Preface Additional reading This section lists publications by ARM and by third parties. See Infocenter, http://infocenter.arm.com, for access to ARM documentation. See on ARM, www.arm.com/cmsis, for embedded software development resources including the Cortex® Microcontroller Software Interface Standard (CMSIS). ARM publications This book contains information that is specific to this product. See the following documents for other relevant information: • Cortex®-M7 Technical Reference Manual (ARM DDI 0489). • ARM®v7-M Architecture Reference Manual (ARM DDI 0403). Other publications This guide only provides generic information for devices that implement the ARM Cortex-M7 processor. For information about your device see the documentation published by the device manufacturer. ARM DUI 0646B Copyright ©2015 ARM. All rights reserved. ix ID082615 Non-Confidential Preface Feedback ARM welcomes feedback on this product and its documentation. Feedback on content If you have comments on content then send an e-mail to [email protected]. Give: • The title. • The number, ARM DUI 0646B. • The page numbers to which your comments apply. • A concise explanation of your comments. ARM also welcomes general suggestions for additions and improvements. Note ARM tests the PDF only in Adobe Acrobat and Acrobat Reader, and cannot guarantee the quality of the represented document when used with any other PDF reader. ARM DUI 0646B Copyright ©2015 ARM. All rights reserved. x ID082615 Non-Confidential

Description:
Processor. Refers to the Cortex-M7 processor, as supplied by ARM. Device .. Interruptible-Continuable Instruction (ICI) field for an interrupted load
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.