Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Examen

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

Puntuación
-
Vendido
-
Páginas
15
Grado
A+
Subido en
29-04-2023
Escrito en
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.

Mostrar más Leer menos
Institución
New York University _ NYU Tandon School
Grado
New York University _ NYU Tandon School









Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
New York University _ NYU Tandon School
Grado
New York University _ NYU Tandon School

Información del documento

Subido en
29 de abril de 2023
Número de páginas
15
Escrito en
2022/2023
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$10.49
Accede al documento completo:

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
AllAcademic Other
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
67
Miembro desde
6 año
Número de seguidores
39
Documentos
548
Última venta
1 mes hace
All the academic resources you need.

All the academic resources you need.

3.7

7 reseñas

5
3
4
1
3
2
2
0
1
1

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes