Syllabus Advance Microcontroller - (BE05000351) Total Credits Assessment Pattern and Marks Total Marks TH/30 Theory Practical ESE (E) PA (M) PA (I) PBL (I) ESE (V) 4 70 30 20 30 50 200 Sr. No. Course Content 1. ARM Introduction Types of computer Architectures, ISA's and ARM, Difference between RISC and CISC, RISC Design philosophy, ARM Design Philosophy, ARM processor family, Embedded System Software and Hardware (Chapter - 1) 2. ARM Architecture and pipeline structure The Acorn RISC Machine, ARM Core data flow model, Architectural inheritance, The ARM7TDMI programmerβs model : General purpose registers, CPSR, SPSR, ARM memory map, data format, load and store architecture, ARM 3 stage Pipeline, ARM 5 stage Pipeline, Pipeline Hazards, Data forwarding - a hardware solution, Stack implementation in ARM, Endianness, condition codes. Processor core Vs CPU core, ARM7TDMI Interface signals. (Chapter - 2) 3. ARM7TDMI assembly language instructions and programming : Different Types of Instructions, ARM Instruction set, data processing instructions. Shift Operations, shift Operations using RS lower byte, Immediate value encoding. Data processing Instructions. Addressing modes with examples. Instruction Timing, Swap Instructions, Swap Register related Instructions, Loading Constants. Program Control Flow, Control Flow Instructions, B & BL instructions, BX instruction. Interrupts and Exceptions, Exception Handlers, Reset Handling. Aborts, software Interrupt Instruction, undefined instruction exception. Interrupt Latency, Multiply Instructions, Thumb state, Thumb Programmers model, Thumb Implementation, Thumb Applications. Thumb Instructions, Interrupt processing. Interrupt Handling schemes, Examples of Interrupt Handlers, Co-processor instructions. (Chapters - 3, 4) 4. Embedded C Programming for ARM: ARM Development Environment Embedded Software, Advanced C concepts: masking, pointer aliasing, structure arrangement, bit-fields, unaligned data and Endianness, Division, floating point, Inline functions and inline assembly, function pointers and callbacks, Portability issues. C programs for General purpose I/O, general purpose timer, PWM Modulator, UART, I2C Interface, SPI Interface, ADC, DAC. (Chapter - 5) 5. Cache and Memory Management and Protection Memory Technologies, Need for memory Hierarchy, Hierarchical Memory Organization, Virtual Memory. Cache Memory, Mapping Functions. Cache Design, Unified or split cache, multiple level of caches, ARM cache features, coprocessor 15 for system control. Processes, Memory Map, Protected Systems, ARM systems with MPU, memory Protection Unit (MPU). Physical Vs Virtual Memory, Paging, Segmentation. MMU Advantage, virtual memory translation, Multitasking with MMU, MMU organization, Tightly coupled Memory (TCM). (Chapter - 6) 6. ARM Peripherals and versions AMBA overview, Typical AMBA-based microcontroller, AHB bus features, AHB Bus transfers, APB bus transfers, APB bridge. Overview of ARM Versions: ARMv5, ARMv6, ARM v7 (Cortex family R: Real time A: Application M: Microcontroller), ARM v8. (Chapter - 7)