Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

New York University _ NYU Tandon School of Engineering Take Home Quiz 2 ECE6483 – Real Time Embedded Systems. Midterm 2

Rating
-
Sold
-
Pages
15
Grade
A+
Uploaded on
29-04-2023
Written in
2022/2023

New York University _ NYU Tandon School of Engineering Take Home Quiz 2 ECE6483 – Real Time Embedded Systems. Midterm 2 NYU Tandon School of Engineering Take Home Quiz 2 ECE6483 – Real Time Embe dded Systems PROBLEM 1 (20 Points): Suppose you are required to retrieve the temperature from the Analog Devices AD5933 chip, which is a chip used to make very precise impedance measurements. The interface is I2C and the relevant portions of the datasheet for this chip are attached. Also assume you have access to several I2C functions as follows: a. int Start_I2C() i. Initializes all of the I2C hardware pins etc. Returns 1 if successful, 0 otherwise b. int I2C_Write_Byte(uint8_t data) i. Writes ‘data’ on the I2C Bus. Returns 1 if slave ACK, 0 is slave NAK c. int I2C_Send_Start_Condition(uint8_t address, int isRead) i. Send a start or restart condition, followed by 7-bit address, followed by ‘isRead’ bit, which is 0 if write, 1 if read. ii. Returns 1 if successful, 0 otherwise d. int I2C_Send_Stop_Condition() i. returns 1 if successful, 0 otherwise e. int I2C_Request_Read(unint8_t *buffer, int numBytes) i. reads ‘numBytes’ bytes off the bus, each followed by an master ACK except for the last byte, which if followed by a master NAK indicating an end to the read. Returns 1 if it gets all the bytes, 0 otherwise and buffer holds the bytes. Using the datasheet provided, write a C code function float GetTemperature() required to get the temperature of the AD5933 chip. You can add any additional variables as long as you state what they are for and be sure to state any assumptions made.

Show more Read less
Institution
New York University _ NYU Tandon School
Course
New York University _ NYU Tandon School









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
New York University _ NYU Tandon School
Course
New York University _ NYU Tandon School

Document information

Uploaded on
April 29, 2023
Number of pages
15
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$10.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
AllAcademic Other
View profile
Follow You need to be logged in order to follow users or courses
Sold
67
Member since
6 year
Number of followers
39
Documents
548
Last sold
1 month ago
All the academic resources you need.

All the academic resources you need.

3.7

7 reviews

5
3
4
1
3
2
2
0
1
1

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions