0% found this document useful (0 votes)
25 views14 pages

19ECE304 Introduction

The document outlines the course structure for 'Microcontrollers and Interfacing,' detailing objectives, outcomes, modules, and lab components. It covers advanced RISC microprocessor features, ARM architecture, and Embedded C programming for microcontroller applications. Additionally, it emphasizes the importance of microcontrollers in various real-world applications and the skills needed for embedded system development.

Uploaded by

d.dobhal03
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views14 pages

19ECE304 Introduction

The document outlines the course structure for 'Microcontrollers and Interfacing,' detailing objectives, outcomes, modules, and lab components. It covers advanced RISC microprocessor features, ARM architecture, and Embedded C programming for microcontroller applications. Additionally, it emphasizes the importance of microcontrollers in various real-world applications and the skills needed for embedded system development.

Uploaded by

d.dobhal03
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

19ECE304 - Microcontrollers and

Interfacing (3 0 3 4)

Mr. Giriraja C V
Ms. Jayashree M Oli
Ms. Priya B K

1
19ECE304 - Microcontrollers and Interfacing
Course Objectives

• To introduce the advanced features of an advanced RISC Microprocessor.


• To apply the knowledge of Embedded C Programming for configuring various peripherals of
a microcontroller.
• To Design and Develop Microcontroller based solution for solving real world problems.

Course Outcomes:

CO1: Able to identify the importance of 32 bit Microprocessor


CO2: Able to understand architecture of the ARM Processor
CO3: Able to analyze Peripherals and their programming aspects
CO4: Able to design and develop embedded systems using microcontroller

2
19ECE304 - Microcontrollers and Interfacing
Module I

Introduction to ARM Processor-ARM Processor–Processor Families – Features of ARM -ARM7


TDMI Architecture – Programmer’s Model – Interrupts and Exceptions – Operating Modes–
Addressing Modes – ARM Instruction Set – THUMB Instruction Set – Basic ARM Assembly
Language Programs-Pipelining in ARM –ARM Cortex M - A & R series.

Module II

ARM LPC2148 Microcontroller-Introduction to LPC2148-Architecture-Advanced


Microcontroller Bus Architecture-Memory Map-Phase Locked Loop - VPB Divider - Wakeup
Timer - Brown-out Detector -Introduction to Embedded C Programming – Introduction to Keil
IDE – GPIO – LED and Switch Interfacing –UART - Transmission and Reception –ADC -
Potentiometer Interfacing.

3
19ECE304 - Microcontrollers and Interfacing
Module III

LPC2148 Peripherals and Interfacing-External Interrupts - Device Control – Timers - Delay


Timer – PWM - DC Motor Speed Control – DAC – Sine Wave Generation Interfacing -Keypad -
LCD - Seven Segment - Stepper Motor - Temperature Sensor.

Lab component

Basic Assembly Language Programs - PLL configuration - GPIO programming - Analog Sensor
interfacing using ADC - Serial Communication using UART -External Interrupt configuration -
PWM based motor speed control - Single stepping of Stepper Motor - Sine wave generation
using DAC - Universal Timer using Timer peripheral -Digital Panel meter using Seven Segment
Display Keypad and LCD interfacing.

4
19ECE304 - Microcontrollers and Interfacing

Text Book(s)

[1] Steve Furber, “ARM system On Chip Architecture”, Addison Wesley, 2000.
[2] LPC2148 User manual, NXP Semiconductors.

Reference(s)

[1] T Martin, “The Insider's Guide to the Philips ARM7-based Microcontrollers: An Engineer's
Introduction to the LPC2100 Series”, Hitex, 2005.
[2] Tammy Noergaard, “Embedded Systems Architecture A Comprehensive Guide for Engineers
and Programmers”, Newnes, 2013.

5
Lectur
Topics Key-Contents Objective References CO
e No(s)
Unit 1
1-4 Introduction to ARM Processor – Processor Families- Able to identify the Text book - 1
ARM Processor Features of ARM-ARM7 TDMI importance of 32-bit Chapter - 2.1 to
Architecture– Programmer’s Model Microcontroller 2.3 CO1

5-6 Introduction to Interrupts and Exceptions - Operating Able to understand Text book - 1
ARM Modes– Addressing Modes the basics of ARM Chapter - 5.1 &
Processor Microcontroller 5.2 CO1

7-14 ARM Instruction ARM Instruction Set-THUMB Able to understand Text book - 1
Set Instruction Set- Basic ARM Assembly the instruction set of Chapter - 3,5,7
Language Programs ARM CO3
Microcontroller

15-18 Pipelining in Three stage pipeline ARM Able to understand Text book - 1
ARM organization - Five stage pipeline the execution of each Chapter - 4.1 to
ARM Cortex M - ARM organization-ARM instruction instruction in ARM 4.3
A & R series. execution Microcontroller CO2

6
Unit 2
19-21 Bus and Memory Advanced Microcontroller Bus Able to understand Text book - 1 CO2
hierarchy in ARM Architecture-Memory size and speed - the bus configuration Chapter -8.2
Microcontroller On-chip memory- Caches and types of memory to 4.3
used
22 - 25 ARM LPC2148 Introduction to LPC2148- Able to understand Text book - 2 CO2
Microcontroller Architecture-Memory Map-Phase the architecture of
Locked Loop-VPB Divider – Wakeup LPC2148
Timer - Brown-out Detector

Unit 3
26-36 LPC2148 External Interrupts- Device Control – Able to analyze Text book - 2 CO3
Peripherals and Timers - Delay Timer- PWM-DC Peripherals and their
Interfacing Motor Speed Control -DAC – Sine programming aspects
Wave Generation Interfacing- Keypad
- LCD – Seven Segment- Stepper
Motor- Temperature Sensor

37-40 Introduction to Introduction Able to analyze It will be CO3


Embedded C to Keil IDE- GPIO – LED and Switch Peripherals and their performed
Programming Interfacing- programming aspects using Keil
UART - Transmission and Reception - and Proteus
ADC -Potentiometer Interfacing. simulation
tool
7
Lab Experiments
Expt Week Experiment Name Reference(s)
No
Week 1 Introduction to the tool
1 Week 2 Basic Assembly Language Programs

2 Week 3 Basic Assembly Language Programs


CO4
3 Week 4 Basic Assembly Language Programs

4 Week 5 Embedded C Programs

Lab Project CO4


5 Week 6 Interfacing LPC2148 using PLL configuration
6 Week 7 Interfacing LED with LPC2148 using GPIO programming
7 Week 8 Analog Sensor interfacing using ADC of LPC2148
8 Week 9 Serial Communication using UART of LPC2148
External Interrupt configuration - demo experiment
9 Week 10 PWM based motor speed control and Single stepping of
Stepper Motor - demo experiment Text book - 2 CO3

Sine wave generation using DAC of LPC2148


10 Week 11
Universal Timer using Timer peripheral - demo experiment
Digital Panel meter using Seven Segment Display, Keypad
11 Week 12
and LCD interfacing of LPC2148 8
Evaluation pattern:
Mid Term Exam -50 Weightage (30)
End semester: 100 Weightage (40)
Continuous Assessment (Lab) Weightage (30)
1. Lab Participation - 10 marks 7.5+7.5+7.5+7.5
2. Lab Quiz- 10 marks
3. Lab exam - 10 marks
4. Lab Project 10 marks

9
Need to study Microcontroller:
• Many people throughout the world use smartphones, personal digital assistant devices and
microcomputers.
• All of these devices utilize a key component: a microprocessor.
• A device that uses microprocessor is capable of many functions such as word processing,
calculation and communication via Internet or telephone.
• But for the device to work properly, the microprocessor itself has to communicate with other
parts of the device.
• For ex: a microprocessor would need to communicate with the video display to control the
output data that a program may produce.
• Microprocessor would act as device's "brain" in that it transmits, receives and interprets the
data needed to operate a device.

10
Is learning about microcontrollers and microprocessors necessary
for embedded systems?
• There are two aspects in Embedded System Development. Hardware and Firmware (software). Even
in the firmware, there are two aspects: Drivers and Application.
• On application, one may work on protocol stacks - working of network or transport layer algorithms
or one may work on algorithm development using C or MATLAB. Or, one may be working on
developing a test automation framework using LABView or dSpace.
• One need not have much understanding of micro-controller and micro-processor. Most of the
hardware is abstracted from them.
• The industry is moving towards this trend as most of the chip manufactures are providing low level
drivers. The embedded firmware is more on developing application over it.
• If one wants to become a thorough professional and a specialist, he needs to work at a deeper level
and troubleshoot the problems. Sometimes, the drivers provided might not work the way we want or
they might be slower. Also, as you work on some specific cases, we might see different issues which
are typical. In those cases, one needs a good understanding of electronics, micro-controllers.
• If you are new, can approach Embedded Systems through basic understanding of C programming.
Many persons are doing that with the help of Arduino boards. Once you get more familiar, it is better
to work closely with a micro controller based board by using the chip level drivers provided by
manufacturer.. 11
To be a good Embedded developer one should be good in the following skills.

1. C programming skill
2. Ability to understand Memory Map
3. Each controllers Start and End Address
4. Ability to understand the functional description of Controllers
5. How to interact with the controllers and get the work done.

12
Applications:

• Instrumentation
• Control
• Communication
• Office automation
• Consumer – Calculators, Accounting system, Games machine, Traffic light Control, Data
acquisition systems, Multi user, multi-function environments, Military applications,
wristwatches, consumer electronics and even automobiles.
• House hold devices
• Transportation
• Medical field
• Entertainment

13
14

You might also like