You are on page 1of 2
University of Mumbai Examinations Summer 2022 ‘Max. Marks: 80 a. Choose the correct option for following questions. All the Questions are compulsory and 20 Marks) _| carry equal marks 02 marks each) 1 The Access Bank of PICTR consist of aad Rese Tpfion Az_| General Purpose & Bank select ‘Option B: | General Purpose & File Select Option C:—| General Pupose & Working ‘Option D:] General Purpose & Special Function 2. RLCF F, da For the given instruction syntax, which STATUS flags will gt of Option Az_[Z Option B: ZN Ws) ‘Option [ZNC ‘Option D=_[N 3, PICT#microcontollerhas size of address bus 3ize of data bus to access Data RAM. Option AL] bt, Sit ‘Option B12 bi, FT Option C16 bie § bit Option] 21 be 16 bi % MOVLW 00a, MOVWE TRISC What will happen sfter execution of above instructions? Option Az Pore C will at as Input Port Option Br] Port C will act as Outpat Por ‘Option C:—| Port C will Load WREG regsterwith OOH value ‘Option D-—| WREG register will get Toaded with the contents PORTC ser TT -| To access the program gde fon Program memory, Pointer weed and to access he data from program memory Option Az] Program Counter, Table Pointer ‘Option Br] Program Coantcr, File Select Regnier ‘Option C:| Table Pointer, File Select Register ‘Option D: | Table Poincr, Program counter z The Analy to Digital converter of Pela tsa birconverter. Option As [4 Option BS Option C: 10, Option D112 7 fe write the Command Word to Command Register of LOD, select te appropriate satus to De maintained at RS and RW pin respective Option Ar RS~0,RW ‘Option B: | RS=0, RW ‘Option C: RS=L RW=0 ‘Option D;_[RS=DR 5 “Write an instrction to Slart the analog to digital conversion in ADC module of Piel microcontroller. ‘Option Az_[ ADCONObits. ADON=O; ‘Option B:_| ADCONObits ADON-T;, ‘Option C;_| ADCONObits GOO, ‘Option Dz _| ADCONObitS GO-T; 9, Tthe SPBRG register of serial communication is Toaded with OSH and the clock Frequency (Fose) is 10MHz, Select the most appropriate Baud are set by serial communication module. ‘Option Az_| 2400 ‘Option B:_| 9600 ‘Option Cx_| 19200 Option D:_| 38400 10. Tn PWM mode of CCP module, the associated CCP pin is ‘Option Ax_| Input pin ‘Option B:_| Output pin ‘Option C:_| Clock input pin for mer ‘Option D:__| fnterrupt pin Q2_ | Solve any Four out of Six questions (05 marks each) (20 Marks) A Explain the Status register used in PicI® mie?ocontroller and also explain its significance B Write the differences between microprocessor and microcontroller. c Describe the Access Bank concept used in PicT8 microcontroller. D Explain the structure of Timer control register (TOCON) used in Timer0_ E ‘Explain the GIE and PEIE bits with reference to interrupt. FF Explain stack and subroutine, Explain any one instruction associated with that Q3___| Selveany Two Questions outof Three (0 marks each) (20 Marks) x What is mean by addressing mode? Explain the different addressing modes used in picl® microcontroller. 2 Describe the various Special function registers used in USART module used in Picl® microcontroller for serial communication. 3 Draw the block diagram of ADC module used in PicI8 microcontroller and hence explain the control registers associated with the same. Q4 (20 Marks) ‘Solve any Two Questions out of Three (0 marks each) Write #C program for Timer to generate a square wave of 100 Hz frequency at RB7 A pin. Assume the oscillatory frequency (Fosc) as 10 MHz. Operate Timer0 in 16 bit mode witha prescaler of 128. B Describe the Compare, Capture and PWM (CCP) module of PicI8 microcontroller c ‘Write a short note on Stepper motor interfacing with PicI8 microcontroller

You might also like