microcontrollerswebpages.iust.ac.ir/s_ebadollahi/files/micro/chapter 6a.pdf · program memories)...

15
1439/08/08 1 MICROCONTROLLERS Chapter 6 An Introduction to ARM Cortex M MCUs Dr. Saeed Ebadollahi References: ARM® Cortex® M4 Cookbook – Mark Fischer – Packt publishing – 2016 The Definitive Guide to ARM Cortex-M3 and Cortex-M4 Processors – Joseph Yiu – 2014 - Newnes / ://www.st.com http http://www.ti.com/ https://www.nxp.com http://www.Wikipedia.com

Upload: others

Post on 17-Mar-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 6a.pdf · program memories) Extensive peripheral set• AVR can achieve up to 1 MIPSper MHz up to 16MHz The AVR

1439/08/08

1

MICROCONTROLLERSChapter 6

An Introduction to ARM Cortex M MCUs

Dr. Saeed Ebadollahi

References:

•ARM® Cortex® M4 Cookbook – Mark Fischer – Packt publishing – 2016

•The Definitive Guide to ARM Cortex-M3 and Cortex-M4 Processors – Joseph Yiu –2014-Newnes

•/://www.st.comhttp

•http://www.ti.com/

•https://www.nxp.com

•http://www.Wikipedia.com

Page 2: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 6a.pdf · program memories) Extensive peripheral set• AVR can achieve up to 1 MIPSper MHz up to 16MHz The AVR

1439/08/08

2

Microcontroller vs Microproccessor

Inside of an Microcontroller

Page 3: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 6a.pdf · program memories) Extensive peripheral set• AVR can achieve up to 1 MIPSper MHz up to 16MHz The AVR

1439/08/08

3

Introduction to ARM Cortex

ARM vs AVR

•machine, where program and data are modified Harvard architectureThe AVR is a stored in separate physical memory systems that appear in different address

spaces, but having the ability to read data items from program memory using special instructions. However, it is commonly accepted that AVR stands for Alf and Vegard's RISC processor.Note that the use of "AVR" in this article generally refers

to the 8-bit RISC line of Atmel AVR Microcontrollers.

•and originally stood for "Acorn RISC 1983 was first used in ARMThe acronym Acorn processor was used in the original RISCfirst Acorn ComputersMachine".

and was one of the first RISC processors used in small computers. ArchimedesHowever, when the company was incorporated in 1990, the acronym was changed

to "Advanced RISC Machines", in light of the company's name "Advanced RISC , the company name was changed to 1998in IPOMachines Ltd." At the time of the

"ARM Holdings, often just called ARM like the processors.

Page 4: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 6a.pdf · program memories) Extensive peripheral set• AVR can achieve up to 1 MIPSper MHz up to 16MHz The AVR

1439/08/08

4

AVR Features

•Normally 8-bit

•4–256 KB program memory

•6–100-pin package

•Extended instruction set (multiply instructions and instructions for handling larger program memories)

•Extensive peripheral set

•bit microcontroller -8MHz The AVR 16per MHz up to MIPS1 AVR can achieve up to architecture was introduced in 1997

ARM Cortex M Features

•Normally 32-bit

•Normally 1 MB program memory

•14–250-pin package

•MHz400per MHz up to MIPS0.9 ARM Cortex M can achieve up to

•Lots of features and companies !

AnnouncedYear Core2004 Cortex-M32007 Cortex-M12009 Cortex-M02010 Cortex-M4(F)2012 Cortex-M0+2014 Cortex-M7(F)2016 Cortex-M232016 Cortex-M33(F)

Page 5: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 6a.pdf · program memories) Extensive peripheral set• AVR can achieve up to 1 MIPSper MHz up to 16MHz The AVR

1439/08/08

5

Producers

•Texas Instruments

•Atmel

•STMicroelectronics

•Renesas

•Philips

•NXP

•Nordic

•Toshiba

• Slicon Labs

• Altera

• Xilinx

• Actel

• Analog devices

• Apple

• Samsung

But we have to choose a producer

•You can choose between Texas, Atmel, NXP and ST.

•We have chosen ST

•But why ?

•Better GUI

•Most Compatible with HAL Libraries.

Page 6: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 6a.pdf · program memories) Extensive peripheral set• AVR can achieve up to 1 MIPSper MHz up to 16MHz The AVR

1439/08/08

6

MCU selection Criteria

MCU selection Criteria(Cont.)

Page 7: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 6a.pdf · program memories) Extensive peripheral set• AVR can achieve up to 1 MIPSper MHz up to 16MHz The AVR

1439/08/08

7

Cortex M0 Features

Cortex M3 Features

Page 8: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 6a.pdf · program memories) Extensive peripheral set• AVR can achieve up to 1 MIPSper MHz up to 16MHz The AVR

1439/08/08

8

Cortex M4 Features

Cortex M7(F7) Features

Page 9: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 6a.pdf · program memories) Extensive peripheral set• AVR can achieve up to 1 MIPSper MHz up to 16MHz The AVR

1439/08/08

9

Cortex M7 (H7) Features

Advantages of Cortex M

Page 10: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 6a.pdf · program memories) Extensive peripheral set• AVR can achieve up to 1 MIPSper MHz up to 16MHz The AVR

1439/08/08

10

Advantages of Cortex M (Cont.)

Advantages of Cortex M (Cont.)

Page 11: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 6a.pdf · program memories) Extensive peripheral set• AVR can achieve up to 1 MIPSper MHz up to 16MHz The AVR

1439/08/08

11

Advantages of Cortex M (Cont.)

Advantages of Cortex M (Cont.)

Page 12: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 6a.pdf · program memories) Extensive peripheral set• AVR can achieve up to 1 MIPSper MHz up to 16MHz The AVR

1439/08/08

12

Advantages of Cortex M (Cont.)

Applications of Cortex M

Page 13: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 6a.pdf · program memories) Extensive peripheral set• AVR can achieve up to 1 MIPSper MHz up to 16MHz The AVR

1439/08/08

13

Applications of Cortex M (Cont.)

Applications of Cortex M (Cont.)

Page 14: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 6a.pdf · program memories) Extensive peripheral set• AVR can achieve up to 1 MIPSper MHz up to 16MHz The AVR

1439/08/08

14

Cost

History

Page 15: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 6a.pdf · program memories) Extensive peripheral set• AVR can achieve up to 1 MIPSper MHz up to 16MHz The AVR

1439/08/08

15

History (Cont.)

History (Cont.)