Академический Документы
Профессиональный Документы
Культура Документы
Engineering
DIVISION: B
COURSE
GROUP NO:1
INTRODUCTION
TI MSP430
Ultralow-power
architecture extends
KEY
FEATURES
battery life
WATCHDOG TIMER
WDT module performs a
controlled system restart
after a software problem
occurs
Can serve as an
interval timer
(generates interrupts)
WDT Control register
is password protected
Note: Powers-up
active
Mobile display
LCD
RS232
RS232
controller
Analog I/O
2-axes joystick
LEDs
Thermistor
Switches
Keypad
AN MSP430-BASED
10
Utility Metering
Gas Meter
Water Meter
Heat Volume Counter
Electricity Meter
Meter reading system
(RF)
Misc
Smart card reader
Taxi meter
Smart Batteries
Security
Glass break sensors
Door control
Smoke/fire/gas
detectors
Home
environment
Air conditioning
Control unit
Thermostat
Boiler control
Shutter control
Irrigation system
Washing
machine
CPU Introduction
CPU Registers
18
3 INSTRUCTION FORMATS
19
Interrupt
Are events applied to the application program that force a detour in
program flow;
Cause CPU subprogram execution (ISR);
When Interrupt Service Routine (ISR) ends, the program flow returns
to the previous state.
There are three classes of interrupts:
Reset.
Interrupts not maskable by GIE which cannot be disabled by the
general interrupt enable bit (GIE), but are enabled by individual
interrupt enable bits (NMIIE, ACCVIE, OFIE). Used for high priority
events.
Interrupts maskable by GIE where peripherals with interrupt
capability or the watchdog timer overflow in interval timer mode,
etc. Can be switched off by software.
Interrupt vector
11
CORTEX M3
Cortex R processors are used in the embedded applications
where mixed signal processing is possible.
There are various places where this mixed signal processing is
required like various household appliances such as refrigerator
control, freezers, washing machine etc., consumer products,
medical instrumentation etc.
The various processors in the series of Cortex M are M0, M0+,
M3 M4 and M. Cortex M0 has the lowest area and cost.
It consumes lowest energy and hence most energy efficient.
The ARM Cortex M0+ processor is suitable for applications like
touchscreen controller and power management.
PROJECT DESIGN
Implementation of UART serial communication technique with
microcontroller.
EdSim51 have developed a number of browser-based simulations to take
the student through some of the basic microcontroller/microprocessor
concepts. These concepts are universal; they are not specific to one device
such as the 8051. In fact, you will see the simulations work on a totally
fictitious microcontroller.
The need for providing communication interfaces arises due to the following
reasons. The embedded system needs to sends data to a host. The host will
analyze the data through a Graphical User Interface (GUI).
The embedded system may need to communicate with another
embedded
system to transmit or receive data. Providing a standard communication
interface is preferable rather than providing a proprietary interface.
A number of embedded systems may need to be networked to share a
data. Networked to share data. Network interfaces needs to be provided in
such case.
SOFTWARE SIMULATION
PUSH ACC
PUSH 20H
CLR A
MOV 20H, #0
again:
CALL setDirection
MOV A, TL1
CJNE A, #10, skip
CALL clearTimer
skip:
MOVC A, @A+DPTR
POP ACC
RET
MOV C, P2.0
CLR P3.4
CLR P3.3
POP 20H
MOV ACC.0, C
MOV C, F0
MOV 0, C
CJNE A, 20H, changeDir
JMP finish
changeDir:
CLR P3.0
CLR P3.1
CALL clearTimer
MOV C, P2.0
MOV C, F0
MOV F0, C
clearTimer:
CLR A
CLR TR1
MOV TL1, #0
SETB TR1
RET
CONCLUSION
We studied the properties of low power design and techniques to exploit
them on the architecture of the system.
The student will learn that, while in real time these delays are not
noticeable, to the microcontroller these operations take quite some time.
THANK-YOU