KTU 2024 Scheme · Semester 5 · Program Elective II — Electronics and Communication Engineering
Arm Architecture and Programming (PEECT524) Syllabus
Official KTU 2024 Scheme syllabus for Arm Architecture and Programming, Semester 5, Program Elective II — Electronics and Communication Engineering (Electronics and Communication Engineering).
Course Code
PEECT524
Credits
3
Teaching Hours
3:0:0:0 (L:T:P:R)
CIE Marks
40
ESE Marks
60
Exam Duration
2 Hrs. 30 Min.
Prerequisites
Programming in C
Semester
Semester 5
Course Objective
To introduce ARM Cortex M programming in assembly and C To lay the foundation for practical embedded system design
Module-wise Syllabus
Module 1
9 contact hoursEmbedded C: Fixed-width integer data types in C99, boolean type, mixing types, manipulating bits in memory and IO ports, accessing memory mapped IO using pointers, structures, packed structures, bit fields, casting address of an object, unions. [1] Ch. 4 Review of computer organization: Memory, CPU, IO, Introduction to Arm cortex M architecture: Internal organization-general purpose and special registers, instruction pipelining, memory model, bit banding, Arm assembly language instruction format and operands [1] Ch. 5
Module 2
9 contact hoursArm assembly language programming: Loading constants into registers, loading memory data into registers, storing data from registers to memory, converting C assignment statements to assembly, memory address calculations, Memory addressing examples: translating C pointer expressions to assembly, translating C subscript expressions to assembly, translating structure references to assembly, Stack instructions, data processing instructions: updating flags in APSR, arithmetic instructions, bit manipulation instructions, shift instructions, bit field manipulation instructions [1] Ch. 6
Module 3
9 contact hoursControl structures in assembly language: instruction sequencing, conditional branch instructions, translating if-then and if-then-else statements to assembly, compound conditionals, implementing loops, speeding up array access, Implementing functions: function call and return, register usage, parameter passing, return values, temporary variables, preserving registers [1] Ch. 7.
Module 4
9 contact hoursIO programming in assembly: Interrupts and exceptions, thread and handler modes, entering the exception handler, returning from exception handler, latency reduction techniques, priorities and nested exceptions, synchronization, transfer rate and latency, buffers and queues, double buffering, polled waiting loops, interrupt driven IO, DMA [1] Ch. 8. System initialization: Memory layout, cpu and vector table, C run-time environment, System Timer [1] Ch. 13
Course Outcomes
- CO1Use the features of C that are frequently used in embedded systems
- CO2Explain a programmer's view of processor architecture
- CO3Choose between programming at the level of assembly or C as appropriate
Assessment Pattern (CIE: 40 marks, ESE: 60 marks)
Continuous Internal Evaluation (CIE)
| Attendance | 5 |
| Assignment / Microproject | 15 |
| Internal Examination 1 (Written) | 10 |
| Internal Examination 2 (Written) | 10 |
End Semester Examination (ESE)
Total 60 marks, 2 Hrs. 30 Min.. See the official KTU syllabus document for the exact Part A / Part B question pattern for this course.
Textbooks & Reference Books
Textbooks
- Fundamentals of Embedded Software with the ARM Cortex M3 — Daniel W Lewis (Pearson, 2e, 2015)
Reference Books
- The Definitive Guide to ARM Cortex-M3 and Cortex-M4 Processors — Joseph Yiu (Elsevier, 3e, 2014)
- Embedded systems with ARM Cortex M Microcontrollers in Assembly and C — Yifeng Zhu (E-man Press, 3e, 2018)
Frequently Asked Questions
How many credits is KTU Arm Architecture and Programming (PEECT524)?
3 credits, with 3:0:0:0 (L:T:P:R) teaching hours per week, under the KTU 2024 Scheme.
How many modules are in the PEECT524 syllabus?
4 modules, 36 total contact hours.
What is the CIE and ESE mark split for this course?
CIE (Continuous Internal Evaluation): 40 marks. ESE (End Semester Examination): 60 marks, 2 Hrs. 30 Min.. Total: 100 marks.
What are the recommended textbooks for PEECT524?
Fundamentals of Embedded Software with the ARM Cortex M3 (Daniel W Lewis).
Is this syllabus specific to one branch, or common to others too?
This Semester 5 course is listed under Program Elective II — Electronics and Communication Engineering at KTU under the 2024 Scheme — check the course header above for which branches it's common to.
Need help with KTU Arm Architecture and Programming?
Learnizo offers live, 1-on-1 online tuition for KTU ECE subjects — matched to your exact module and semester.