Category: Upskilling
-
MCU – Timer and Interrupts in LPC2378
Overview Features of timers in LPC23xx Timer Timer Register Map Example Calculation of time delay Timer Programming This is based on polling method since in while loop it continusly tries to match to a value and on matching moves further Interrupts Features VIC Interrupt structure VIC Register Map How are interrupts processed? Working with FIQ…
-
Real time systems – Resource Allocation
Overview Assumptions on resources and resource usage How to apply mutual exclusion and critical section on shared resource? Resource conflicts and blocking Impacts of Resource conflicts or blocking Priority Inversion Deadlock Resource access control protocol Non premptive critical protocol Basic Priority Inheritance Protocol Basic Priority Ceiling Protocol Blocking and duration of blocking Example below with…
-
Processor pipeline and pipeline designing
Introduction to Pipelining RISC Scalar pipeline Designing a pipeline Performance of the pipeline There are 2 factors to consider: Example of designing pipeline with basic ISA Step 1: ISA Step 2: Sub tasks of each instruction of ISA Operation ALU-FX FPU Load Store BR – Unconditional BR – Conditional Example Add R1,R2,R3 LD R4,[R1+16] SR…