0% found this document useful (0 votes)
76 views6 pages

ARM Question Papers

The document outlines examination questions for a Fourth Semester B.E. course on ARM Processor and Microcontroller, covering various units related to embedded systems, ARM architecture, and programming. It includes topics such as classifications of embedded systems, ARM instructions, interfacing with microcontrollers, and programming tasks. Students are required to answer questions from each unit, demonstrating their understanding of embedded systems and ARM microcontroller functionalities.

Uploaded by

manojshankar717
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
76 views6 pages

ARM Question Papers

The document outlines examination questions for a Fourth Semester B.E. course on ARM Processor and Microcontroller, covering various units related to embedded systems, ARM architecture, and programming. It includes topics such as classifications of embedded systems, ARM instructions, interfacing with microcontrollers, and programming tasks. Students are required to answer questions from each unit, demonstrating their understanding of embedded systems and ARM microcontroller functionalities.

Uploaded by

manojshankar717
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 6
USN @ Time: 3 Hours b) °) b) °) ») °°) b) °) °) | |] oz 14\sil (as Autonomous ltl fatto VTU, Belogav, Appoved by AICTE, Now Des) Even Semester B.E. Information Sc. and Engg. Examinati ARM Processor and Microcontroller Note: 1, Revealing of Identity in any form in the answer book wi Soe ea dy tive questions choosing one full question from each unit. Unit -1 List the classifications of embedded systems and explain any two Describe different types of program storage memory of an embedded system. Identify and explain the functional units that are connected using data buses ofan ARM core processor. classifications. OR Explain the following embedded system tasks:, 1) Data Collection/Storage ii) Data Communication What is vector table? List and explain ench interrupt of ARM processor with their vector address. Draw the complete ARM register structure and in detail describe each bit of Current Program Status Register (CPSR) with diagram. Unit - IL Identify which addressing mode is used in the following instructions and explain the operation of each instruction. i) STRBRI, [Ro], #1 ii) LDR R2, [Ro, #4] iii) STMIA Rol, {R1-R6, LR} iv) LDR R3, [Ro, RI}! Identify the uses and how these instructions work in the ARM architecture with an example. i) SUBBS ii) UMULL iii) LDM_ iv) MLX Describe the user programmable registers of LPC2148 ARM processor. OR Identify the uses and how these instructions work in the ARM architecture with an example. i) TEQ ii) STMFD_— iii) SWPB__ iv) MSR What is an addressing mode? Explain which type of addressing modes are supported by ARM processor with an example for each. Write an assembly level program to find the sum of N-32 result in memory location 040000000. numbers and store the Unit - 111 Write an assembly level program to find the n™ Fibonacci number using subprogram. List different multiple register to memory or data types supported by embedded C, along with declaration and range of values that can be stored in each data type with an example for each. Write a sequence of instructions (ARM instructions) to perform the following: ) IH1; while (1< 10 (X= X+5;1= F413} ii) R3 = R3 * 8 +25 don’t use multiply instructions N4ISI01 Siddaganga Institute of Technology, Tumakuru-572 103 ions July-Aug. 2024 ‘Max. Marks: 100 ui) be treated as malpractice. mt co PO FSO a2 nt p24 aan sat Please Turn Over 6 10 2 OR 3) Write an assembly level program to find the GCD of two numbers stored from 040000000 and 040000004 memory locations also store the result in memory location 0x40000008. b) Identify the usage of the following instructions of ARM. processor and describe its working with syntax. i) SWP ii)BL iii) STMIA iv) SWP ©) Convert the following for loop in C to its equivalent ARM assembly level code. for (i=0; i <32; i+) adst= 10; : Unit -1V 4) An alert sound has to be generated when some obstacle is detected by going high on GPIO pin Po.2. Design the above circuit and interface it to LPC2148 ‘microcontroller, also write a C program to generate required sound. ») Design a 0 to 9 digits keypad and interface it to be LPC2148 microcontroller using ports, Write a C program to read key and display its equivalent hex digit using UARTo. OR 4) A token generating mechanism is required to generate next token number and it has to display on 4-7 Segment display. Design the display circuit and interface it fo LPC2148 microcontroller and write a C program to display token number on the above interface, 5) A stepper motor is connected to the radar system to track the object moment direction. The GPIO pin PO.1 gives the direction of the object movement, like high signal indicates clockwise and low signal indicates anticlockwise. Write a C Program to rotate motor cither in clockwise or anticlockwise direction based on the signal. Unit-V ®) Draw the 2x16 LCD interface and connect it to the LPC2148 microcontroller. Write a C program to display “Welcome to ISE” on the same interface, 4) List the control lines and GPIO pins used to control the UART communication of LCP2148 microcontroller. ©) Describe the timer operations of LPC2148 microcontroller, OR a) Draw the DAC converter circuit and interface it to LPC2148 microcontroller. Write a C program to generate the | md waveform as shown in Fig. 10(a). Using the above interface. Fig. 10(a) 5) List the control lines and GPIO pins used to control the CAN-SPI communication of LCP2148 microcontroller, © Write a C program to generate 10msec delay using LPC2148 timer. (Assume PCLK = 60MHz). 10 10 10 10 10 N4ISIO1 204 3 eT 43 aoa os as oe sou oa so4o4 soaod USN @ asi | : ez {Ws Asoromou nstistn ated 0 VTU,Beapov Approved by AICTE, Now Doh) Fourth Semester B.E. Information Science and Engineering Examin: ARM Processor and Microcontroller Time: 3 Hours ») °) b) ©) b) S41S102 Siddaganga Institute of Technology, Tumakuru-572 103 ations July-Aug. 2024 Max, Marks: 100 Note : 1. Revealing of Identity in any form in the answer book will be treated as malpractice. 2. Answer any five questions choosing one full question from each unit Unit -1 Describe the four major design rules with respect to RISC philosophy. List any six differences between embedded system and general purpose computing system List any six applications of embedded system. oR Explain the purpose of embedded system. List any six differences between RISC and CISC architecture. Explain different types of read only memory of an embedded system. Unit -1 Explain the registers of ARM processor. With the vector table of ARM processor, describe the each interrupts. List the features of LPC2148 microcontroller. oR With neat diagram, explain current program status register. Explain the concept of pipeling in ARM with neat diagram. Write short notes on ARM processor families. Unit - 11 Describe the following instructions with an example. i) LDRB i) BLX iii) MRS iv) ADDC Identify the addressing modes of each instruction and explain the operation of h STRB RI, [RO], #1 ii) LDRRI, (RO, #4] iii) | STMIARO!, {R1-R6, LR) iv) LDRR3, (RI, R2]! Write an ALP to find whether the given number is ODD or EVEN. OR Explain the following ARM instructions with an example, i) MVN ii) MUL itt) SWP__ iv) RSB Write an ALP to find the largest number in an array of 32-bit numbers. Assume array size=10. Write an ALP to multiply 64bit with 32bit numbers. ™ 8 BL co ro P50 2414 221 0 224 0 peeapetteee 23 24 3 3 2 4 eee 2 3 4 4 3 33 4 pa 3 4 Please Turn Over XN » °) 7 a) Interface a 4%4 keyboa 2 Unit-1V (dicate all ports used). A stepper motor is connected to the stepper motor 90 degrees clo. its original position, Write short notes on sensors and actuators, Interface a seven se; the digits 0 to F, button is pressed. 10 a) Interface >) Write a C program to trans logic. i) ii) ©) Design a circuit to interface DAC to LPC2148, Unit -V Traingular Sine wave OR a 2x16 LCD to LPC214x microcontroller “ARM PROCESSOR” on LCD. When key! is pressed, Transmit the message ‘When key2 is pressed, Transmit the message “Goop” “Bad” d and write a program in C to display the key pressed. 8 dot matrix printer. Write a ¢ program to rotate ckwise and the stepper motor has to come back to and display mit message using internal UART for the following 10 10 10 10 S4lsiog 43 so 434 434 454 sos o4 usn [a{s[i] | | | [114] (@-E==] Natsio1/aRiso4 © Siddaganga Institute of Technology, Tumakuru-572 103 (@nAutenmous Instn aise to VIU, Belagav, Approved by AICTE, Nev De) Fourth Semester B.E. Information Sc. and Engg. Examinations Sept. 2023 ARM Processor and Microcontroller! ARM Microcontrollers and Embedded Systems Time: 3 Hours » °) b) ° b) °) b) °) b) Co) b) °) Max. Marks: 100 Note: 1. Revealing of identity In any form In the answor book will ba treated as malpractice. 2. Answer any five questions choosing one full question from cach unit Unit-1 What is an Embedded system? Compare general purpose computing system with embedded system. Explain the various applications of Embedded systems in detail. Differentiate between microprocessor and microcontroller, OR Give the classification of Embedded systems with examples of each. List the components of the core of embedded system and analyse different components of embedded system software. Distinguish between RISC and CISC. Unit - 11 Discuss the different types of exceptions of ARM7TDMI with their respective vector address in intercept vector table, modes of operation and the steps followed while entering or exiting the exceptions. ‘Analyse the CPSR bits of an ARM processor. With a neat diagram, show the system memory mapping of LPC 2148 microcontroller explaining all different memory regions. OR Ilustrate pipeline features in ARM 7 processor with relevant diagram. With 2 neat diagram, depict complete Arm register set and explain their importance in different processor modes. With a neat diagram, explain the data flow model of ARM core. Unit- 111 Explain different move instructions of ARM microcontroller with an example of each. Write Explain the following ARM instructions, operation i) STRH RO, [R1, #0X 04] ii) LDRSB RO, [R1, #4] iii) LDR RO, [RI, -R2, 2SR #04] an ALP to find largest and smallest number in an array of N-32-bit numbers. OR Develop an assembly language program to find the factorial of a number, Give the use of barrel shifler used in ARM microcontroller with a neat diagram. Baplain its working with an example instruction, Briefly explain the different comparison instructions of ARM. M 10 mL co ro rsC aa wo2oaot 220 4 2.4 Please Turn Over 40 by a) b) d) °) Unit-1V Briefly explain the registers associated with GPIO function in LPC 2148, Develop an embedded C program to display the Hex digits from 0 to F on a seven segment display interface with an appropriate delay in between, With neat diagram, explain stepper motor interface, oR With a neat diagram, explain 4 digit seven segment display interface. Develop an embedded C program to display “ISEDEPT” in rolling fashion using seven segment display interface. Explain the following in brief: i) LED ii) Keyboard interface ii) Push Button switch Unit-V With a neat diagram, explain the DAC interface. Develop an embedded C program to generate Triangular wave form using DAC interface. Write an embedded C program to display “Hello World” message using internal ART. OR Briefly explain the following i) PC protocol ii) Timers. Draw a neat diagram to interface LCD to LPC2148 microcontroller. Also, give the significance of RS, R/W and E pins of LCD. Write an embedded C program to interface DAC and generate a sine wave. N4ISI01/4RISO4 8 10 10 10

You might also like