PTCEC369 IOT Processors Syllabus:
PTCEC369 IOT Processors Syllabus – Anna University Part time Regulation 2023
COURSE OBJECTIVES:
● Learn the architecture and features of ARM.
● Study the exception handling and interrupts in CORTEX M3
● Program the CORTEX M3
● Learn the architecture of STM 32L15XXX ARM CORTEX M3/M4 microcontroller.
● Understand the concepts of System – On – Chip(SoC)
UNIT I OVERVIEW OF ARM AND CORTEX-M3
ARM Architecture – Versions, Instruction Set Development, Thumb 2 and Instruction Set Architecture, Cortex M3 Basics: Registers, Stack Pointer, Link Register, Program Counter, Special Registers, Operation Mode, Exceptions and Interrupts, Vector Tables, Stack Memory Operations, Reset Sequence , CORTEX M3 Instruction Sets: Assembly Basics, Instruction List, Instruction Descriptions, CORTEX M3 – Implementation Overview: Pipeline, Block Diagram. Bus Interfaces, I – Code Bus, D – Code Bus, System Bus- External PPB and DAP Bus.
UNIT II CORTEX EXCEPTION HANDLING AND INTERRUPTS
Exception Types, Priority, Vector Tables, Interrupt Inputs and Pending behaviour, Fault Exceptions, Supervisor Call and Pendable Service Call, NVIC: Nested Vector Interrupt Controller, Overview, Basic Interrupts, SYSTICK Time, Interrupt Behaviourm Interrupt/Exception Sequences, Exception Exits, Nested Interrupts, Tail – Chaining Interrupts, Late Arrivals and Interrupt Latency.
UNIT III CORTEX M3/M4 PROGRAMMING
Cortex M3/M4 Programming: Overview, Typical Development Flow, Using C, CMSIS Using Assembly, Excepiton Programming Using Interrupts, Exception/Interrupt Handlers, Software Interrupts, Vector Table Relocation, Memory Protection Unit and other CORTEX M3 Features, MPU Registers, Setting up the MPU, Power Management, Multiprocessor Configuration.
UNIT IV STM32L15XXX ARMCORTEX M3/M4 MICROCONTROLLER AND DEBUGGING TOOLS
STM32L15XXX ARM CORTEX M3/M4 Microcontroller: Memory and Bus Architecture, Power Control, Reset and Clock Control, STM32L15XXX Peripherals: GPIOs, System Configuration Controller, NVIC, ADC, Comparators, GP Timers, USART Development and Debugging Tools: Software and Hardware tools like Cross Assemblerm Compiler, Debugger, Simulator, In – Circuit Emulator(ICE), Logic Analyser.
UNIT V INTRODUCTION TO SYSTEM – ON – CHIP
System Architecture: An Overview, Components of the System Processors, Memories and Interconnects, Processor Architectures, Memory and Addressing, System Level Interconnection – An Approach for SOC Design – Chip basics – Cycle Time – Die Area – Power and Cost – Area, Power and Time Trade – Offs in Processor Design – Reliability and Configurability – SOC Design Approach – Application Studies – AES, 3D Graphics Processor. Image Compression and Video Compression.
30 PERIODS
PRACTICAL EXERCISES: 30 PERIODS
ARM Assembly Programming
1. Write a program to add two 32-bit numbers stored in r0 and r1 registers and write the result to r2. The result is stored to a memory location. a) Run the program with breakpoint and verify the result b) Run the program with stepping and verify the content of registers at each stage.
2. Write ARM assembly to perform the function of division. Registers r1 and r2 contain the dividend and divisor, r3 contains the quotient, and r5 contains the remainder.
Embedded C Programming on ARM Cortex M3/M4 Microcontroller
1. Write a program to turn on green LED (Port B.6) and Blue LED (Port B.7) on STM32LDiscovery by configuring GPIO.
2. Transmit a string “Programming with ARM Cortex” to PC by configuring the registers of USART2. Use polling method.
ARM Cortex M3/M4 Programming with CMSIS
1. Write a program to toggle the LEDs at the rate of 1 sec using standard peripheral library. Use Timer3 for Delay.
2. Transmit a string “Programming with ARM Cortex” to PC by using standard peripheral library with the help of USART3. Use polling method.
COURSE OUTCOMES:
On successful completion of this course, the student will be able to
CO1: Explain the architecture and features of ARM.
CO2: List the concepts of exception handling.
CO3: Write a program using ARM CORTEX M3/M4.
CO4: Learn the architecture of STM32L15XXX ARM CORTEX M3/M4.
CO5: Design an SoC for any application.
TOTAL:60 PERIODS
TEXTBOOKS
1. Joseph Yiu, The Definitive Guide to the ARM CORTEX M3/M4, Second Edition, Elsevier, 2010.(Unit – I, II)
2. Andrew N Sloss, Dominic Symes, Chris Wright, ARM System Developers Guide Designing and Optimising System Software, Elsevier, 2006 (Unit – III, IV)
3. Michael J Flynn and Wayne Luk, Computer System Design, System On Chip, Wiley India 2011.(Unit – V)
REFERENCES
Steve Furber, ARM System – on – Chip Architecture, 2nd Edition, Pearson, 2015.
CORTEX M Series ARM Reference Manual
CORTEX M3 Technical Reference Manual
STM32L152XX ARM CORTEX M3 Microcontroller Reference Manual 5/97
