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, 22.06.2019 11:30
Write a function so that the main program below can be replaced by the simpler code that calls function original main program: miles_per_hour = float( minutes_traveled = float( hours_traveled = minutes_traveled / 60.0 miles_traveled = hours_traveled * miles_per_hour print('miles: %f' % miles_traveled) sample output with inputs: 70.0 100.0 miles: 116.666667
Answers: 3
question
Computers and Technology, 22.06.2019 14:20
Consider a byte-addressable computer with 16mb of main memory, a cache capable of storing a total of 64kb of data and block size of 32 bytes. (a) how many bits in the memory address? (b) how many blocks are in the cache? (c) specify the format of the memory address, including names and sizes, when the cache is: 1. direct-mapped 2. 4-way set associative 3. fully associative
Answers: 2
question
Computers and Technology, 22.06.2019 23:00
Which factor is the most important when choosing a website host? whether customers will make secure transactions the number of email accounts provided the purpose of the website the quality of the host control panel
Answers: 3
question
Computers and Technology, 23.06.2019 00:50
Representa os dados de um banco de dados como uma coleç? o de tabelas constituídas por um conjunto de atributos, que definem as propriedades ou características relevantes da entidade que representam. marque a alternativa que representa o modelo descrito no enunciado. escolha uma:
Answers: 3
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, 11.06.2021 07:00
question
Mathematics, 11.06.2021 07:00
question
Mathematics, 11.06.2021 07:00
question
Mathematics, 11.06.2021 07:00
question
History, 11.06.2021 07:00
question
Mathematics, 11.06.2021 07:00
Questions on the website: 13722361