Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Let XY be the last two digits of your Roll Number. For example, if your Roll Number is BSEE16032, X-3, Y-2 and XY -

Let XY be the last two digits of your Roll Number. For example, if your Roll Number is BSEE16032, X-3, Y-2 and "XY" - 32. On your answer sheet write your Roll # and the values of "X", "Y" & "XY". Now answer the following question. You have connected a Device A (with an 12C address equal to "XY") to your AVR. The Device A has two internal memory locations (with Address [0] and [1]). a) What shall be the specific sequence of events if you want your AVR to write a value of "X" to location [1] (inside the Device A). Explain by providing 12C waveforms showing the values being transferred over the 12C Bus. b) What shall be the specific sequence of events if you want your AVR to read a byte from address [1] (inside the Device A). Explain by providing 12C waveforms showing the values being transferred over the 12C Bus. Note: For this question you DO NOT need to provide details of AVR specific 12C registers. Also, for this question, You DO NOT NEED to provide the C Code. You just need to provide the 12C waveforms illustrating the sequence of events for both parts (a & b). All the values in the waveform must be provided in binary. The waveform should be neat and clear. Marks Distribution (4+4-8 Marks] Provide the AVR C code for 03 (Part b), i.e. Write a C Code that programs the AVR to read a byte from Device A from the memory location with address (1) [8 Marks] We only have 6 pins available, but we need to take inputs from 14 different input sources. How can we achieve this goal? Explain. [4 marks]

Step by Step Solution

3.47 Rating (147 Votes )

There are 3 Steps involved in it

Step: 1

Here X3 Y2 and also considering the seqeunce of trasmission of data ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introductory Statistics Exploring The World Through Data

Authors: Robert Gould, Colleen Ryan

2nd Edition

9780321978509, 321978277, 321978501, 978-0321978271

More Books

Students also viewed these Electrical Engineering questions

Question

Please make it fast 5 7 8 . .

Answered: 1 week ago