Department – ETC 2nd year September, 2022 Time- 45 minutes 2nd Internal Test Full marks-20
Answer all the question
1. Write C- program for 8051 microcontroller – (5X2)
a) Toggle the port pin P1.4 whenever the input is coming from P 1.5 pin. b) Show how 50Hz square wave can be generated by port pin P 0.3. 2. Design the interfacing a 2KB RAM chip with 8051 microcontroller as a data memory such that the starting address is 9000H. 5 3. Describe the addressing modes of 8051 microcontroller. 5