# May-June 2017 - Model Answer Paper

Updated on 2017/06/20 01:08

Model Answer Paper for Embedded Processor

Note: Model answers and marking scheme is totally based on my knowledge and experience. This model answer is not provided by SPPU. There may be changes in marking scheme of SPPU Exam panel.

## Question 1

a) Compare various versions of ARM with respect to features, advantages, power disipation. (5 Marks)

 Comparison of ARM7, 9, 11 Features (2 points each) 2 Marks WikiNote: ARM 7, 9, 11(Though comparison is not directly mentioned, all the points are given on the page.) Comparison of ARM7, 9, 11 Advantages (2 points each) 2 Marks Comparison of ARM7, 9, 11 Power dissipation (1 point each) 1 Mark

b) Explain ARM7 Programmer's Model. (3 Marks)

 ARM7 Programmer's model diagram 2 Marks WikiNote: Programmer's Model Diagram ARM7 Programmer's model explaination 1 Mark WikiNote: Programmer's Model Explained

c) Explain the term ARM7 TDMI. (2 Marks)

 ARM7 TDMI (Each term carries half mark) 2 Marks WikiNote: ARM7TDMI

## Question 2

a) Draw and explain CPSR register structure for LPC2148 (6 Marks)

 CPSR register structure 2 Marks WikiNote: CPSR register structure Explaination of each bit of CPSR 4 Marks WikiNote: CPSR register bit

b) Explain the following instruction with example(Any two) (4 Marks)

 MUL R1,R2,R3 2 Marks R1=R2*R3multiplication of R2 & R3 , Store result in R1WikiNote: Multiply instruction SWP R0,R1 2 Marks Not sure about this because ideal syntax isSWP Rd, Rm, [Rn]  ;;swap a word between memory and aregister LDR R2,[R3]! 2 Marks WikiNote: Pre-indexedR2=[R3]; Load R2 with value located at R3 and R3=R3+4

## Question 3

a) Explain LPC2148's PLL & VPB divider blocks with diagrams (6 Marks)

 PLL & VPB Divider block diagram 3 Marks WikiNote: PLL & VPB Divider block diagram Explaination 3 Marks WikiNote: Explaination

b) Write program to display 'UNIPUNE' on LCD using LPC2148 (4 Marks)

 LCD interfacing Diagram with LPC2148 2 Marks WikiNote: LCD interfacing Diagram with LPC2148 Embedded 'C' Program 2 Marks WikiNote: Embedded 'C' Program

## Question 4

a) List features of UART0. Compare it with UART1 (4 Marks)

 Features of UART0 3 Marks WikiNote: Features of UART0 Comparison 1 Mark WikiNote: Comparison of UART0 & UART1(Though comparison is not directly mentioned, all the points are given on the page.)

b) Draw DAC interfacing diagram with LPC2148. Also write program for triangular waveform generation (6 Marks)

 DAC interfacing with LPC2148 3 Marks WikiNote: DAC interfacing Embedded C Program 3 Marks WikiNote: Embedded 'C' Program for DAC

## Question 5

a) Compare Cortex-A, Cortex-M, Cortex-R Processors (8 Marks)

 Comparison ..............(4 points) 2 Marks for each point WikiNote: Cortex-A, M, R

b) Explain in detail structure of CMSIS standard of ARM Cortex (8 Marks)

 CMSIS block diagram 4 Marks WikiNote: CMSIS block diagram CMSIS block diagram Explaination 4 Marks WikiNote: CMSIS block diagram Explained

## Question 6

a) Explain any one cortex M3 based controller in detail (8 Marks)

 Cortex M3 based controller(LPC1768 Block diagram) 4 Marks WikiNote: LPC1768 Block diagram Features & explaination 4 Marks WikiNote: Features Of LPC1768 & Explaination

b) Explain need of Operating system with desired features in development of complex application in Embedded system (8 Marks)

 Need of OS .................................6 points 4 Marks WikiNote: Need of OS Desired features of OS.......................6 points 4 Mark WikiNote: Desired features of OS

## Question 7

a) Explain features of LPC1768 (6 Marks)

 Features of LPC1768................12 points 6 Marks WikiNote: Features of LPC1768

b) Explain interfacing of RGB led with LPC2148 with suitable diagram. Also draw flowchart. (6 Marks)

 RGB LED interfacing with LPC1768 3 Marks WikiNote: RGB LED interfacing Flowchart 3 Marks WikiNote: Flowchart(In notes instead of Flowchart Embedded 'C' program is given)

c) Explain power control section of LPC1768 (4 Marks)

 Power control section (Power control modes explaination) 4 Marks WikiNote: Power control section

## Question 8

a) Explain block diagram of LPC1768 with neat diagram (8 Marks)

 LPC1768 Architecture Diagram 4 Marks WikiNote: LPC1768 Architecture Diagram Explaination 4 Marks WikiNote: Explained

b) Draw and explain interfacing of motor control using PWM technique with respect to LPC1768. Also include flowchart (8 Marks)

 DC motor control interfacing diagram with LPC1768 4 Marks WikiNote: DC motor control interfacing Flowchart 4 Marks WikiNote: Flowchart DC motor interfacing

## Question 9

Write notes on (18 Marks)

a) CAN protocol (Features, Application, Block Diagram) (6 Marks)

 CAN Features 2 Marks WikiNote: CAN Features CAN Application 2 Marks WikiNote: CAN Application CAN Block Diagram 2 Marks WikiNote: CAN Block Diagram

b) USB (Frame structure, Features) (6 Marks)

 USB Frame structure 4 Marks WikiNote: USB Frame structure USB Features 2 Marks WikiNote: USB Features

c) Ethernet (Frame structure, Features) (6 Marks)

 Ethernet Frame structure 4 Marks WikiNote: Ethernet Frame structure Ethernet Features 2 Marks WikiNote: Ethernet Features

## Question 10

a) Explain USB port structure. Explain USB protocol (9 Marks)

 USB port structure 4 Marks WikiNote: USB port structure USB protocol 5 Marks WikiNote: USB protocol

b) Write Embedded 'C' program for USB interfacing with respect to LPC2148 for any one application. (8 Marks)

 USB interfacing with LPC2148 4 Marks WikiNote: Embedded 'C' program 5 Marks WikiNote:

## Note

Note: In Que.7 (b) interfacing of RGB LED with LPC2148 is asked but it is expected to be LPC1768 according to syllabus.

Note: In Que.10 (b) interfacing of USB with LPC2148 is asked but it is expected to be LPC1768 according  to syllabus.

## References

• Prepared by Prof. Sujit Wagh
Tags:
Created by Vishal E on 2017/05/21 16:32

Happy WikiNoting!