AES Unit1 - Slides
AES Unit1 - Slides
Bharathi V K
Department of Electronics and Communication Engineering
Advanced Embedded System
Bharathi V K
Department of Electronics and Communication Engineering
Advanced Embedded System
Textbooks
Text Books:
“Introduction to Embedded Systems”, K.V. Shibu, TMH Education Pvt. Ltd. 2009.
Reference Books:
Embedded System:-
❑ An embedded system is a system that has software embedded into
computer-hardware, which makes a system dedicated for an application(s)
or specific part of an application or product or part of a larger system.
❑ An embedded system is one that has a dedicated purpose software
embedded in a computer hardware
AES
Memory
• Speed
• Data storage size and capacity
• Bus width
• Power consumption
• Cost
AES
Embedded system requirements:
Program memory for holding control algorithm or embedded OS and the applications designed to run
on top of OS.
• Data memory for holding variables and temporary data during task execution.
• Memory for holding non-volatile data which are modifiable by the application.
• The memory requirement for an embedded system in terms of RAM (SRAM/DRAM) and ROM
(EEPROM/FLASH/NVRAM) is solely dependent on the type of the embedded system and
applications for which it is designed.
• There is no hard and fast rule for calculating the memory requirements. Lot of factors need to be
considered for selecting the type and size of memory for embedded system.
• Example: Design of Embedded based electronic Toy.
• If the ES design is RTOS based ,the RTOS requires certain amount of RAM for its execution and
ROM for storing RTOS Image.
AES
I/O system
• Sensor: A transducer device which converts energy from one form to another for any
measurement or control purpose.
• Sensors acts as input device
• Eg. Hall Effect Sensor which measures the distance between the cushion and magnet in the
Smart Running shoes from adidas
• Example: IR, humidity , PIR(passive infra red) , ultrasonic , piezoelectric , smoke sensors
AES
I/O system
• Actuator: A form of transducer device (mechanical or electrical) which converts
signals to corresponding physical action (motion). Actuator acts as an output device
• Eg. Micro motor actuator which adjusts the position of the cushioning element in the
Smart Running shoes from adidas
AES
I/O system
AES
I/O system
Light Emitting Diode (LED):
• Light Emitting Diode (LED) is an output device for visual Vcc indication in any
embedded system
• LED can be used as an indicator for the status of various signals or situations.
• Typical examples are indicating the presence of power conditions GND like „Device
ON‟, „Battery low‟ or „Charging of battery‟ for a battery operated handheld embedded
devices.
• LED is a p-n junction diode and it contains an anode and a cathode.
• For proper functioning of the LED, the anode of it should be connected to +ve terminal
of the supply voltage and cathode to the –ve terminal of supply voltage.
• The current flowing through the LED must limited to a value below the maximum
current that it can conduct.
• A resister is used in series between the power supply and the resistor to limit the
current through the LED
AES
I/O system
• The Relay is normally controlled using a relay driver circuit connected to the port pin of the processor/controller.
• A transistor can be used as the relay driver. The transistor can be selected depending on the relay driving current requirements.
AES
I/O system
-
• Piezo Buzzer:
Push button switch comes in two configurations, namely „Push to Make‟ and „Push to Break‟
The push button stays in the „closed‟ (For Push to Make type) or „open‟ (For Push to Break type)
state as long as it is kept in the pushed state and it breaks/makes the circuit connection when it is released.
AES
Communication Interface
Communication channel which interconnects the various components within an embedded product is referred as
Device/board level communication interface (Onboard Communication Interface)
• Inter Integrated Circuit Bus (I2C - Pronounced „I square C‟) is a synchronous bi-directional half duplex
(one-directional communication at a given point of time) two wire serial interface bus.
• The I2C bus is comprised of two bus lines, namely; Serial Clock – SCL and Serial Data – SDA
AES
Communication Interface
AES
Communication Interface
• SCL line is responsible for generating synchronization clock pulses and SDA is responsible
for transmitting the serial data across devices.
• Devices connected to the I2C bus can act as either „Master‟ device or „Slave‟ device.
• Slave devices wait for the commands from the master and respond upon receiving the
commands.
AES
Communication Interface
The sequence of operation for communicating with an I2C slave device is:
AES
Communication Interface
AES
Communication Interface
AES
Communication Interface
AES
Communication Interface Serial Peripheral Interface (SPI) Bus:
AES
Communication Interface
AES
Communication Interface
AES
Communication Interface
AES
Communication Interface
AES
Communication Interface
• 1-Wire is similar in concept to I²C, but with lower data rates and longer range. It is typically used
to communicate with small inexpensive devices such as digital thermometers and weather
instruments.
AES
Communication Interface
• There is always one master in overall charge, which may be a PC or a microcontroller. The
master initiates activity on the bus, simplifying the avoidance of collisions on the bus.
Protocols are built into the software to detect collisions.
• Many devices can share the same bus. Each device on the bus has a unique 64-bit serial
number.
AES
Communication Interface-(External Communication Interface)
• The Product level communication interface‟ (External Communication Interface) is responsible for data
transfer between the embedded system and other devices or modules
AES
Communication Interface
AES
Communication Interface
AES
Introduction to embedded system
AES
Introduction to embedded system
AES
USB (UNIVERSAL SERIAL BUS):
AES
USB (UNIVERSAL SERIAL BUS):
AES
USB (UNIVERSAL SERIAL BUS):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER ):
AES
Wireless communication interface :
They are basically classified into following types
1. Infrared
2. Bluetooth
3. Wi-Fi
4. Zigbee
5. GPRS
AES
INFRARED:
➢ Most of the thermal radiation emitted by objects near room temperature is infrared.
Infrared radiation is used in industrial, scientific, and medical applications. Night-vision
devices using active near-infrared illumination allow people or animals to be observed
without the observer being detected.
➢ The transmitter of an IR LED inside its circuit, which emits infrared light for every electric
pulse given to it. This pulse is generated as a button on the remote is pressed, thus
completing the circuit, providing bias to the LED.
➢ IR supports data rates ranging from 9600bits/second to 16Mbps
➢ Serial infrared: 9600bps to 115.2 kbps
➢ Medium infrared: 0.576Mbps to 1.152 Mbps
➢ Fast infrared: 4Mbps
AES
BLUETOOTH
▪ Wi-Fi is the name of a popular wireless networking technology that uses radio waves to
provide wireless high-speed Internet and network connections
▪ Wi-Fi follows the IEEE 802.11 standard
▪ Wi-Fi is intended for network communication and it supports Internet Protocol (IP) based
communication
▪ Wi-Fi based communications require an intermediate agent called Wi-Fi router/Wireless
Access point to manage the communications.
▪ The Wi-Fi router is responsible for restricting the access to a network, assigning IP
address to devices on the network, routing data packets to the intended devices on the
network.
▪ Wi-Fi operates at 2.4GHZ or 5GHZ of radio spectrum and they co-exist with other ISM
band devices like Bluetooth.
AES
ZIGBEE
Zigbee is an IEEE 802.15.4-based specification for a suite of high- level communication
protocols used to create personal area networks with small, low-power digital radios, such as for
home automation, medical device data collection, and other low-power low-bandwidth needs,
designed for small scale projects which need wireless connection.
AES
ZIGBEE
▪ Zigbee Coordinator: The zigbee coordinator acts as the root of the zigbee network. The ZC is
responsible for initiating the Zigbee network and it has the capability to store information about
the network.
▪ Zigbee Router: Responsible for passing information from device to another device or to
another ZR.
▪ Zigbee end device:End device containing zigbee functionality for data communication. It can
talk only with a ZR or ZC and doesn’t have the capability to act as a mediator for transferring
data from one device to another.
▪ Zigbee supports an operating distance of up to 100 metres at a data rate of 20 to 250 Kbps.
AES
General Packet Radio Service(GPRS):
AES
General Packet Radio Service(GPRS):
AES
SYSTEM COMPONENTS
➢ The system components refer to the components/ICs which are necessary for the
proper functioning of the embedded system.
➢ Some of these circuits may be essential for the proper functioning of the
processor/controller and firmware execution.
➢ Watchdog timer, Reset IC, Brown-out Protection IC, etc are examples of
circuits/ICs which are essential for the proper functioning of processor/controllers
AES
SYSTEM COMPONENTS
Reset circuit:
➢ The reset circuit is essential to ensure that the device is not operating at a voltage level
where the device is not guaranteed to operate, during system power ON.
➢ The reset signal brings the internal registers and the different hardware systems of the
processor/controller to known state and starts the firmware execution from reset vector.
➢ The reset signal can be either Active High or active Low.
➢ The reset signal to the processor can be applied at power ON through an external passive
reset circuit comprising a capacitor and resistor or through a standard reset IC like MAX810
from Maxim Dallas.
AES
SYSTEM COMPONENTS
➢ The processor behavior may not be predictable if the power supply voltage falls below
the recommended operating voltage.
➢ A brown-out protection circuit holds the processor/controller in reset state, when the
operating voltage falls below the threshold, until it rises above the threshold.
AES
SYSTEM COMPONENTS
Oscillator Unit:
RTC
➢ RTC is a system component responsible for keeping track of time.
➢ It holds information like current time( In hours, minutes, and seconds) in 12 hour/24 hours
format, date, month, year, day of the week, etc. and supply timing reference to the
system.
➢ RTC is intended to function even in the absence of the power
THANK YOU
Bharathi V K
Department of Electronics and Communication Engineering
[email protected]