tailieunhanh - Programming Embedded Systems II

Programming Embedded Systems II A 10-week course, using C Copyright © Michael J. Pont, 2002-2007 This document may be freely distributed and copied, provided that copyright notice at the foot of each OHP page is clearly visible in all copies. Michael J. Pont University of Leicester 11 12 13 14 15 16 17 18 19 20 VSS XTL1 XTL2 / PSEN ALE ‘8051’ VCC / EA 1 2 3 4 5 6 7 8 9 10 RST 40. | Programming Embedded Sys terns A 10-week course using c Patterns for Time Triggered s-Embedded1 Systems Michael J. Pont University of Leicester Further info http engineering mj p9 Copyright Michael J. Pont 2002-2007 This document may be freely distributed and copied provided that copyright notice at the foot of each OHP page is clearly visible in all copies. Seminar 1 1 Seminar 2 A flexible scheduler for single-processor embedded systems 1 Overview of this seminar 2 Overview of this course 3 By the end of the course you ll be able to . 4 Main course text 5 IMPORTANT Course prerequisites 6 Review Why use C 7 Review The 8051 microcontroller 8 Review The super loop software architecture 9 Review An introduction to schedulers 10 Review Building a scheduler 11 Ovendew of this seminar 12 The Co-operative Scheduler 13 Ovendew 14 The scheduler data structure and task array 15 The size of the task array 16 One possible initialisation function 17 IMPORTANT The one interrupt per microcontroller rule 18 The Update function 19 The Add Task function 20 The Dispatcher 22 Function arguments 24 Function pointers and Keil linker options 25 The Start function 28 The Delete Task function 29 Reducing power consumption 30 Reporting errors 31 Displaying error codes 34 Hardware resource implications 35 What is the CPU load of the scheduler 36 Determining the required tick interval 38 Guidelines for predictable and reliable scheduling 40 Overall strengths and weaknesses of the scheduler 41 Preparations for the next seminar 42 hi Seminar 3 Analogue I O using ADCs and PWM 43 Overview of this seminar 44 PATTERN One-Shot ADC 45 PATTERN One-Shot ADC 46 Using a microcontroller with on-chip ADC 47 Using an external parallel ADC 48 Example Using a Max 150 ADC 49 Using an external serial ADC 51 Example Using an external SPI ADC 52 Overview of SPI 53 Back to the example . 54 Example Using an external I2C ADC 55 Overview of I2C 56 Back to the example . 57 What is PWM 58 PATTERN .

TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
10    186    3    07-01-2025
9    180    0    07-01-2025