subject

1. Translate the logic to find the position of the first high in an 8 bit data item into program (Assembly or C language). The data must be read using interrupt driven SPI protocol. The data should be scanned from D7 to DO. Give the results for XX where XX is your Roll No. Register SPSR SPCR Bit-7 SPIF SPIE Bit-6 Bit-5 Bit-4 Bit-3 Bit-2 Bit-1 WCOL SPE DORD MSTR CPOL CPHA SPR1 Table.1 SPI Registers and their bit allocation Bit-o SPI2X SPRO The vector address for SPI ISR is at 0018 Hex address of ROM Location whereas its Vector Name in WinAVR is SPI_STC_vect. 2. Illustrate with a packet format for a master to write first three prime numbers to a slave address 1011111 using 12C protocol. 3. Develop an AVR code (Assembly or C language) to ask the student his/her attendance percentage through 12C protocol from a slave with address 1101110 with 50KHz frequency. The student should be allowed to sit in an exam if his/her attendance is greater than or equal to 75%, condoned if greater than 65% or equal, but less than 75% and not eligible if less than 65%. The decision letter should be displayed on PORT A. S. No Eligibility Letter to display 1 Eligible E 2 Condoned с 3 Not eligible N Table.2 Decision letter to be displayed Register TWSR TWCR Bit-7 Bit-6 Bit-5 Bit-4 Bit-3 Bit-2 TWS7 TWS6 TWS5 TWS4 TWINT TWEA TWSTA TWSTO TWWC TWEN Bit-1 Bit-o TWPS1 TWPSO TWIE Table 3 TWI/12C Registers and their bit allocation

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:10
Is the following an example of social media viral marketing? indicate your response by selecting yes or no. when you sign onto your favorite social networking website, you get messages from friends who have seen a television show they thought was a "must see! "
Answers: 1
question
Computers and Technology, 22.06.2019 04:00
Which of the following kinds of programs displays an online advertisement in a banner or pop-up window on webpages, email, or other internet service? e
Answers: 2
question
Computers and Technology, 23.06.2019 09:00
Design a class tictactoe that: holds the following information about the game: two-dimensional array (3 by 3), and winner. add additional variables as needed. includes the functions to perform the various operations on objects. for example, function to print the board, getting the move, checking if move is valid, determining if there is a winner after each move. add additional operations as needed. includes constructor(s). write the functions of the class, and write a program that uses the class. the program should declare an object of type tictactoe. the program will create the board and store it in the array. the program will allow two players to play the tic-tac-toe game. after every valid move update the array, check if there is a winner. if there is no winner and no tie, then print the board again to continue.
Answers: 2
question
Computers and Technology, 23.06.2019 13:30
Anetwork security application that prevents access between a private and trusted network and other untrusted networks
Answers: 1
You know the right answer?
1. Translate the logic to find the position of the first high in an 8 bit data item into program (As...
Questions
question
Mathematics, 28.07.2019 08:00
Questions on the website: 13722363