Question Bank - Embedded Systems
Question Bank - Embedded Systems
Question Bank - Embedded Systems
SEMESTER –VII
EMBEDDED SYSTEMS
Getting the most of C-data types-manipulating bits in memory and I/O ports-accessing memory
mapped I/O devices – structures-variant access-mixing C to assembly-register usage-use of addressing
options-instruction sequencing –procedure call and return-parameter passing –retrieving parameters
memory management-scope-automatic allocation-static allocation-dynamic allocation-shared memory-
recognizing shared objects-reentrant functions-accessing shared memory device drivers- productivity
tools.
Use of µC/OS-II- Case study of coding for an Automatic Chocolate Vending Machine using
MUCOS RTOS- Case study of an Embedded system for an Adaptive Cruise Control Systems in a
Car- Case study of an Embedded Systems for a Smart Card.
REFERENCES:
Unit I
Part-A
1. What is an embedded system?
An embedded system can be defined as a computing device that does a
specific focused job. Applications such as the air conditioner, VCD player, printer,
fax achine...Etc are some of the examples of embedded system. Each of these
applications will have a processor and special hardware to meet the specific
requirement of the application along with embedded software that is executed by the
processor for meeting that specific requirement.
16. List out the different communication interface used in embedded system
For embedded systems to intract with the external world, a nymber of
communication interface are provided. These are:
Serial interface
Universal serial bus
Infrared
Ethernet
Wireless interface on ieee 802.11 wireless lan standard
Bluetooth radios interface
Unit II
Part A
Unit III
Part A
0 0 RPO TO PD Z DC C
STATUS register contains the flags and register bank select bits:
RPO – Register bank select, to select 2 banks one bit RPO is sufficient
TO – reset status bit, is only readable (time out bit)
PD – reset status bit, is only readable (Power down bit)
Z – Zero bit
DC – digital carry/borrow bit
C – carry/borrow bit
3. What is FSR
FSR(File Selection register): FSR is the pointer used for indirect memory
addressing in the whole register file. It must be noted that, in PIC,every instruction
that can be used for direct addressing may also be used in a different way for indirect
addressing. The only difference in indirect addressing mode is that one has to write
the address byte in FSR and then use INDF in the instruction. Thus, FSR points to the
desired memory location.
Part B
Unit –IV
Part A
1 0 1 0 1 1 1 1 0 1 1 1 0 1 1 1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
A task can have an event register in which the bits correspond to different
events. These 16 bit are divided into four portions corresponding to the events of
three tasks and one ISR.
Part B
Unit V
Part A
2. List out the signals, events and notifications of case study I AVCM
A mechanical system directs each coin to its appropriate port− Port_1, Port_2
or Port_5.
Each port generates an interrupt on receiving the coin at input.
Each port interrupt starts an ISR, which increase value of amount collected by
1 or 2 or 5 and posts an IPC to a waiting task the system
Each selected menu choice gives a notification to the system
12. List out the signals, events and notifications of ACC for car
15. explain the internal signals, events and notifications of smart card
Part B