ESD-unit 1-CSS - 2025
ESD-unit 1-CSS - 2025
Presented by,
C Sharmila Suttur
ECE,RIT
1
EMBEDDED SYSTEM DESIGN-SYLLABUS
UNIT 1
Typical Embedded Systems: Core of the embedded system, memory, sensors
and actuators, communication interface, other system components,
characteristics and quality attributes of embedded systems
UNIT – II
Programming for Embedded Systems: Overview of ANSI C, GNU
development tools, bit manipulation using C, memory management, timing of
programs, device drivers.
Types of files generated on cross compilation, disassembler/decompiler,
simulators and emulators.
Hardware Software Co-Design and Program Modelling: Fundamental issues
in hardware software co-design, computational models in embedded systems
2
EMBEDDED SYSTEM DESIGN-SYLLABUS
UNIT – III
GPIO and Interfacing: General purpose input/output ports, Interfacing of
ADC, DAC, UART, I2C, LCD, stepper motor, LED, keypad and 7-segment
display using data sheets of a microcontroller
UNIT – IV
RTOS and IDE for Embedded System Design: Operating system basics, types
of operating systems, tasks, Processes, Signals, process and threads,
Multithreading, Multiprocessing and Multitasking, Task Scheduling:
Scheduling Algorithms-Non Preemptive Scheduling, preemptive scheduling
with numerical.
UNIT – V
Inter-process communication: Task communication: Shared Memory, Pipes,
Message Passing, Task Synchronization: task synchronization issues – racing
and deadlock, Priority Inversion, Task Synchronisation Techniques:
Semaphores-concept of binary and counting semaphores, how to choose an
3
RTOS.
EMBEDDED SYSTEM DESIGN-SYLLABUS
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
• DSP Processors: Examples: SHARK , Blackfin Processors
• Wearables: Devices like fitness trackers rely on ASICs for health monitoring
and connectivity.
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Sensors and Actuators
43
44
45
46
47
48
49
50
51
52
53
54
Communication Interface
□ two shift registers, one in each device, which are connected to form
a loop.
□ The registers usually hold 8 bits.
□ Each device places a new bit on its output from the most significant
bit (msb) of the shift register when the clock has a negative edge and
reads its input into the lsb of the shift register on a positive edge of
the clock.
□ Thus a bit is transferred in each direction during each clock cycle.
□ After eight cycles the contents of the shift registers have been
exchanged and the transfer is complete.
Two ways of connecting two slaves to a single master using SPI
□ The alternative is to connect all the devices in a “daisy chain,”.
□ In this configuration the MOSI pins are not all connected together,
nor the MISO pins
□ The MISO pin of a slave is connected to the MOSI pin of the next
slave in the chain.
□ The MOSI pin of of the final slave is connected to MOSI on the
master.
□ Effectively all the shift registers inside each device are connected
into a single, long loop.
Inter-integrated Circuit Bus
□ The timing relationship between the data on the SDA line and the
clock on SCL is
• Data on SDA must be stable while SCL is high.
• The state of SDA may change only while SCL is low.
This means that data should be read after a rising edge of SCL and new
values should be written after a falling edge of SCL.
1.The master sends a start condition (S) by pulling SDA low
while SCL is high.
2. The master starts the clock and puts the first bit of the
address on SDA after SCL has gone low.
3. The value on SDA is valid after SCL has gone high and is
read by all slaves on the bus.
4. The last two steps are repeated until all 7 bits of the address
have been sent.
5. The final bit of the first byte specifies the direction for the
rest of the transfer. Here it is R/W*= 1, which shows that
the master wishes to read data from the slave.
6. The ninth bit is the acknowledgment (A or Ack), which is
low and is sent by the slave that recognizes its address.
7. The master must check that a slave acknowledges the address and abort
the transfer if the low bit is missing.
8. The next 8 clock cycles are used to transmit 1 byte of data from the
slave to the master. The master continues to provide the clock.
10. There is a final cycle of the clock to set up the stop signal. The master
pulls SDA low after the falling edge of the clock, which is the normal
time for changing SDA. It releases it again after the final rising edge
of the clock to give a rising edge on SDA while SCL is high, which
provides the stop signal (P).
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112