Professional Documents
Culture Documents
USN
3. a) Indicate the different Arithmetic instructions available for MSP430 and [10 Marks] CO2 L2
explain their operation briefly.
b) Write an ALP to check whether the content of the Register R4 of [05 Marks] CO2 L3
MSP430 is Even/Odd. If it is Even, set the value of the Register R5
to 00EEH, otherwise reset it to 0000H.
c) Write an ALP to move six bytes of data present in a memory block [05 Marks] CO2 L3
to another memory block.
OR
4. a) Explain the operation of the following instruction [06 Marks] CO2 L2
i) NOP ii)CLR iii) PUSH iv) POP v) XOR vi) CLR
b) Write a note on Conditional and Unconditional Branch Instruction [08 Marks] CO2 L2
c) Write MSP430 Assembly program to count number of 0’s and 1’s in a [06 Marks] CO2 L3
given 16-bit number
5. a) Draw the connection diagram of LED with MSP430 microcontroller in [05 Marks] CO3 L3
active low mode and write C program to blink the LED at regular
interval
b) Interface a LCD to MSP430 and write a C program to display string [10 Marks] CO3 L3
“MSP430 Microcontroller”
c) Interface 8- LED’s to MSP430 and blink alternate LED’s [05 Marks] CO3 L3
OR
6. a) Draw the circuit diagram to read input from a switch for active low [05 Marks] CO3 L3
pulse with an external and internal pull-up register.
b) Interface a Push button switch and a simple LED to MSP430 and write a [08 Marks] CO3 L3
C program to switch on the LED whenever the button is pressed.
c) Explain registers associated with Port-1 of MSP430 microcontroller [07 Marks] CO3 L2
OR
10. a) Explain working principle of Serial Communication Interface (SPI) [10 Marks] CO5 L2
between master and slave along with a diagram
b) Explain format of Data for Asynchronous data transmission. Draw the [10 Marks] CO5 L2
waveform for two asynchronous bytes that carry the data 0xFF and 0x55
******************