ESD - Test 2
ESD - Test 2
1. The AT24C16A provides 16K bits(2048 bytes) of electrically erasable and programmable read- 10 4 4
only memory (EEPROM) with serial (I2C) interface. The 2048 bytes are organized into 8 pages
with 256 bytes each.
Addressing scheme is as follows.
• Each page requires 8-bits to access the 256 locations
• Additional 3 bits are required to address 8 pages.
The device address for I2C interface is 1010. The remaining bits of the first byte indicate 3-page
address bits as shown below:
Read Operation:
Pin Diagram:AT24C16
05
b. The message transfer is controlled by four different types of frames.
Data Frame: Carries data from transmitter to receiver.
Remote Frame: Transmitted by a node to request for a transfer frame with same identifier.
Error Frame: Transmitted by a node, on detecting a bus error.
Overload Frame: Used to provide a delay between two successive data frames or remote
frames. (02 Marks)
Data frame format: (03 Marks)
4. a. I2C: Typically operates at 3.3V or 5V, but some devices support lower voltages. Uses 05
open-drain or open-collector outputs for bidirectional communication.
I3C: Supports a wide range of voltage levels, including low-power modes. Uses push-
pull or open-drain signaling, depending on the mode of operation. 05
SPI: Operates at various voltage levels, commonly 3.3V or 5V. Uses push-pull outputs
for communication
(Similarly other differences)
b. Physical Layer:
Physical transmission uses differential signaling. The SATA PHY contains a
transmit pair and receive pair.
When the SATA-link is not in use, the transmitter allows the transmit pins to float to
their common-mode voltage level.
When the SATA-link is either active or in the link-initialization phase, the transmitter
drives the transmit pins at the specified differential voltage.
The link layer is responsible for managing the communication between the
SATA host controller and SATA storage devices.
Link Layer:
The operations are:
• Framing: SATA uses a frame-based protocol where data is transmitted in fixed-size
frames. Each frame consists of a header, payload (data), and a CRC for error
detection.
• Flow Control: Flow control mechanisms ensure that data is transmitted at an
appropriate rate to prevent buffer overflow or underflow.
• Addressing: SATA devices are identified using unique addresses. The link layer
handles addressing to ensure that data is correctly routed to the intended device.
• Hot-Plugging Support: The link layer manages the process of detecting and
initializing newly connected devices.
Transport Layer
The transport layer sits above the link layer and provides additional features and
functionalities to ensure efficient and reliable data transmission.
The functions are:
Command Queuing: SATA supports command queuing, allowing multiple
commands(READ,WRITE,IDENTIFY DEVICE,SET FEATURES, SECURITY
commands, etc..) to be sent to the storage device and executed in the order specified
by the host.
Power Management: SATA supports power management features at the transport
layer, allowing devices to enter low-power states when not in use to conserve energy.
5. Size Split Cache Unified Cache 10
Data cache Instruction cache
4 KB 15.94 % 1.78% 7.24%
8 KB 10.19% 1.10% 4.57%
16 KB 6.47% 0.64% 2.87%
32 KB 4.82% 0.39% 1.99%
4 KB:
Split cache:
AMAT= 0.75{(1-0.0178)+ 0.0178 x 50}+0.25{(1-0.1594)+0.1594x50)
=3.60 cycles
Unified cache:
AMAT= 0.75{(1-0.0724)+ 0.0724x 50}+0.25{2(1-0.0724)+0.0724x50)}
=4.7 cycles
Similar calculations for other cache sizes.
Conclusion: The unified cache has a longer AMAT, even though its miss rate is lower,
due to conflicts for instruction and data hazards.
Date: 22/02/2024 Test - 2 Max. Marks:50
Semester: V UG 𝟏
Duration: 1 𝟐 Hrs
Course: Embedded System Design Code:21EC54
As a teaching faculty of the course Embedded System Design with code: 21EC54,
We hereby confirm that the question paper with Scheme and Solutions is thoroughly reviewed and we
ensure that it adheres to the following criteria:
Sl. No Criteria Yes/No
1 The question paper adequately covers the prescribed syllabus contents.
2 The question paper is in line with the recommended pattern, taking into consideration the
structure and format suitable for the Continuous Internal Evaluation.
3 The question paper is designed to align with the Revised Bloom's Taxonomy,
encompassing various levels of cognitive skills such as remembering, understanding,
applying, analysing, evaluating, and creating.
4 The question paper is aligned with the defined course outcomes, ensuring that it effectively
assesses the knowledge and skills acquired during the course.
5 Course handling faculty (as applicable) who are responsible for preparing the question
paper, Scheme and Solutions have unanimously agreed to utilize this Question paper for
conducting the Continuous Internal Evaluation.
6 The Question paper, Scheme and complete Solutions have been submitted to the Test
coordinators within the designated time-frame to ensure the smooth conduction of
Continuous Internal Evaluations
Note: Course coordinators to obtain scrutinizer's acceptance by incorporating all suggestions from
scrutiny into the final versions of QP, Scheme, and Solutions.
Signature of HOD