MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 6a.pdf · program memories)...
Transcript of MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 6a.pdf · program memories)...
![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](https://reader033.fdocuments.net/reader033/viewer/2022042019/5e76f99f188e023e181b5204/html5/thumbnails/1.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022042019/5e76f99f188e023e181b5204/html5/thumbnails/2.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022042019/5e76f99f188e023e181b5204/html5/thumbnails/3.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022042019/5e76f99f188e023e181b5204/html5/thumbnails/4.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022042019/5e76f99f188e023e181b5204/html5/thumbnails/5.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022042019/5e76f99f188e023e181b5204/html5/thumbnails/6.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022042019/5e76f99f188e023e181b5204/html5/thumbnails/7.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022042019/5e76f99f188e023e181b5204/html5/thumbnails/8.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022042019/5e76f99f188e023e181b5204/html5/thumbnails/9.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022042019/5e76f99f188e023e181b5204/html5/thumbnails/10.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022042019/5e76f99f188e023e181b5204/html5/thumbnails/11.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022042019/5e76f99f188e023e181b5204/html5/thumbnails/12.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022042019/5e76f99f188e023e181b5204/html5/thumbnails/13.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022042019/5e76f99f188e023e181b5204/html5/thumbnails/14.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022042019/5e76f99f188e023e181b5204/html5/thumbnails/15.jpg)
1439/08/08
15
History (Cont.)
History (Cont.)