Lesson-8: Processor, Microcontroller and Memory Selection
Total Page:16
File Type:pdf, Size:1020Kb
ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION – Lesson-8: Processor, Microcontroller And Memory Selection Chapter-4 L08: "Embedded Systems - Architecture, Programming and Design", 2015 1 Raj Kamal, Publs.: McGraw-Hill Education 1. PROCESSOR SELECTION Chapter-4 L08: "Embedded Systems - Architecture, Programming and Design", 2015 2 Raj Kamal, Publs.: McGraw-Hill Education Processor • Should operate at higher clock speed for processing more instructions per second. • High computing performance of computing when there exist (a) Pipeline(s) and superscalar architectures, (b) pre-fetch cache unit, caches, and register-files and MMU and (c) RISC architecture. • Register-windows provides fast context switching in a multitasking system. Chapter-4 L08: "Embedded Systems - Architecture, Programming and Design", 2015 3 Raj Kamal, Publs.: McGraw-Hill Education Processor • Power-efficient embedded system requires a processor that has auto-shut down feature for its units and programmability for the disabling these use of these when the processing need for a function or instruction set does not have constraint of execution time. It is also required to have Stop, Sleep and Wait instructions. It may also require special cache design. Chapter-4 L08: "Embedded Systems - Architecture, Programming and Design", 2015 4 Raj Kamal, Publs.: McGraw-Hill Education Processor • Burst mode accesses external memories fast, reads fast and writes fast. • Atomic operation unit provides hardware solution to shared data problem when designing embedded software, else special programming skill and efforts are to be made when sharing the variables among the multiple tasks Chapter-4 L08: "Embedded Systems - Architecture, Programming and Design", 2015 5 Raj Kamal, Publs.: McGraw-Hill Education Processor- specific features Big endian or little endian Energy efficient Chapter-4 L08: "Embedded Systems - Architecture, Programming and Design", 2015 6 Raj Kamal, Publs.: McGraw-Hill Education 2. Microcontroller Version Selection Chapter-4 L08: "Embedded Systems - Architecture, Programming and Design", 2015 7 Raj Kamal, Publs.: McGraw-Hill Education Numerous versions of 8051 Additional devices and units are provided in different versions. A version selected for embedded system design as per the application as well as its cost. Chapter-4 L08: "Embedded Systems - Architecture, Programming and Design", 2015 8 Raj Kamal, Publs.: McGraw-Hill Education Examples An embedded system in automobile for example requires CAN bus─ a version with CAN bus controller is selected. An 8051 enhancement 8052 ─ an additional timer. 2 Philips P83C528 ─ I C serial bus 8051 family member 83C152JA (and its sister JB, JC and JD microcontrollers) haves two direct memory access (DMA) channels on-chip. Chapter-4 L08: "Embedded Systems - Architecture, Programming and Design", 2015 9 Raj Kamal, Publs.: McGraw-Hill Education Example 80196KC has a PTS (Peripheral Transactions Server) that supports DMA functions Chapter-4 L08: "Embedded Systems - Architecture, Programming and Design", 2015 10 Raj Kamal, Publs.: McGraw-Hill Education 3. MEMORY SELECTION Chapter-4 L08: "Embedded Systems - Architecture, Programming and Design", 2015 11 Raj Kamal, Publs.: McGraw-Hill Education ROM image file in memory Software designer coding is over and the ROM image file is ready, a hardware designer of a system is faced with the a questions, of what type of memory and what to use, how much size of each, should be to used. Chapter-4 L08: "Embedded Systems - Architecture, Programming and Design", 2015 12 Raj Kamal, Publs.: McGraw-Hill Education Case Studies Automatic Washing machine Data Acquisition Systems for the sixteen- parameters channels Data Acquisition Systems for the ECG waveforms Multi channel Fast Encryption and cum decryption Transceiver System Mobile Phone system Chapter-4 L08: "Embedded Systems - Architecture, Programming and Design", 2015 13 Raj Kamal, Publs.: McGraw-Hill Education Summary We learnt • Processor selection • Microcontroller selection • Memory selection Chapter-4 L08: "Embedded Systems - Architecture, Programming and Design", 2015 14 Raj Kamal, Publs.: McGraw-Hill Education End of Lesson 8 of Chapter 4 on Processor, Microcontroller And Memory Selection Chapter-4 L08: "Embedded Systems - Architecture, Programming and Design", 2015 15 Raj Kamal, Publs.: McGraw-Hill Education .