USN 17-IA-I~ I 2-12-11:-1 cl 61Ll)I
-~                                      §"                         BEC405A
         Fourth Semester B.E./B.Tech. Degree Exaffl..f3,n, June/July 2024
                              Mlcrocontrol~~
      Time: 3 hrs.                                                         ~                                 Max. Marks: 100
             Note: 1. Answer any FIVE full questions, chod)vJ;.VNE full question fromt:lrnh module.
               2. M: Marks, L: Bloom's level, C: Co~t11Itcomes.                  ~'V-
                                                .
                                          Modul~l                              -      M L
                                                                                               ,                           C
Q.l     a. Bring out the difference between Mic:tjprocessor and Microco11q~Her.
                                                        ~             ......._
                                                                                      6 L2                             cot
        b. With a neat Architecture                  Cf~ ~.in,                        ,
                                                                 explain the Archite~~e of 8051                  10 L2 cot
           Microcontro lier.
                                                  "'~                          -""'
        C.   Explain: (i) RST             ~~~ff Pins of 8051                ;y                                   4   Lt   cot
                                           ~
                                           OR                                ~r
Q.2     a. Differentiate bet~~1SC and RISC.
                                                   ~
                                                        ~
                                                                           6 L2                                           cot
        b. With a neat cfiagfam, explain the I~cri)r Memory Structure and 10 L2                                           COi
           Programmin~Nael of 8051 Microcontroll .
                               ~ ~              .
        c. List out ~p1~l-features of8051 Mi~fntroller.                   4 L2                                            COi
                 .........._.,                             "--
                       ~                 Ml>-d~-2         ~T
Q.3     a. Define Addressing Mode. E1Ilin different aocfo~i g modes ~·th 10 L2                                            CO2
           example.                  ~                                      '!-j
                                                                           14
                                                                                                   . . .__
        b. Write an ALP to add tw~it numbers load~'ul'R1Rii and R:i~-~re 10 L3 CO2
             the result in ~Rs and Rt                 MSB to LSB. ~ •                          ,
Q.4     a. Defme Stack.
                               ~-
                              ~Jl
                                           _,,.
                                          .,,                  ~
                                                         OR ~ ~-   ~   ~
                                                                                          A
                                                                                          _v
                                          the operation ~ k using Stack ~'niter, PUSH 10 L2                               CO2
           and POP Instru~t          s.               ~           __ ,
        b. Write an~ f'o find largest of_~JI_,mbers.
                                                                            ~                                    10 L3 CO2
Q.S
                       ~"'Y
             Explain :((0 TMOD
                                                     <l ~~dule-3             xv
        a.                                      ~~ON register ~~Ort.                                             10 L2 C03
                   h
        b.
             ~l      on Pin Pl.2. ~
                                                1.
                     e XTAL = 22 MI-f \Write an ALP ~""eperate a square of frequency 10 L2                                C03
             ~                       ~
                                ~~
             "Explain : (i) S~~register                    QR~
Q.6     a.                                            (ii) Jm~hance of TI Flag          10 L2 C03
        b. Write a C prorsiin to transfer "YE$" serially at 9600 baud rate, 8 bit data, 10 L3 C03
             I stop bit, do t 1s continuouJ.ll., '
                                     1 .VModule-4
Q.7     a. Define Interrupt. List the s~s involved in Executing an Interrupt.                                    10 L2 C04
                                           >
        b. Explain Interrupt ~~r table of 8051 Microcontroller,                                                  s L2 C04
        c. Explain Interrup~l,le register.                                                                       s L2 C04
Q.8     a.
                        .        y
                                            OR
             Explain I~upt Control used in 8051.                                                                 10 L2 C04
        b. Explain~steps involved in programming serial communication Interrupt.                                 s L2 C04
                                                                 I of2
                                                                                          BEC40SA
      c. Explain how multiple Interrupts are handled in 8051.                            5   L2   C04
                                          Module-5
Q.9   a. Explain DAC Interface with a neat diagram a                  o write a program to 10 L3 C05
         generate staircase waveform.
                                                             •
      b. With a neat diagram, write a program t<rlit~face Stepper Motor t~~              10 L3 COS
         Microcontro Iler.                     '-J                       ~
                                                                                                        •
Q.10 a. Explain the Interfacing of DC              g C programming.           "          10 L3    C05
      b. With a neat diagram,
         Microcontro Iler.
                                                   p to Interface L
                                                                         ,.       to 8051 10 L3   cos
                                           *****
                                                             ,. -
                             ~f
                 ~~                                .,   $
                ~                          $
                                          ,.                     ~~~
                                 .,$             ~' $                              $
                                                                                  .,
                                                     ;',
                        .,   $                 s·
                                               ~
                                                    ,.
               ,.$
                                        ~~                        $
                                                                 ,.
         $
                              . ~
                              S:{                   .,   $
                             ~
                     ~                    ,.   $
                                 ,.   $
                         #
                             $                     2 of2
                 $
                .,