MSP430 Microcontroller Questions and Answers – TIMER1

This set of MSP430 Micro-controller Multiple Choice Questions & Answers (MCQs) focuses on “Timer1”.

1. Which of the following is true about the FRFQx bits of the BTCTL register?
a) these bits are used for clock input
b) these bits are used for setting a particular frequency fLCD
c) these bits start the timer
d) these bits stop the timer
View Answer

Answer: b
Explanation: FRFQx bits of the BTCTL register are used for selecting a particular frequency fLCD varying from fACLK/256 to fACLK/32.

2. Timer1 is responsible for ________
a) providing a clock to the LCD module
b) cause an interrupt
c) a pulse for the RTC
d) all of the mentioned
View Answer

Answer: d
Explanation: Timer1 is responsible for providing a clock for the LCD module. It can also cause an interrupt if the BTIE bit is high. It also provides the clock to the RTC.

3. For fACLK = 32 KHz, what would be the desirable range of fLCD?
a) 2hz-256hz
b) 12hz-512hz
c) 128hz-1khz
d) 1khz-10khz
View Answer

Answer: c
Explanation: For fACLK = 32khz, the desirable range of the fLCD is the fACLK/256 to fACLK/32. This value comes out to be in the range of 128hz-1khz.
advertisement
advertisement

4. Normally BTCNT1 only function is to provide a prescalar for the BNTCNT2?
a) true
b) false
c) cant be said
d) depends on the conditions
View Answer

Answer: a
Explanation: LCD’s controllers nowadays don’t require a clock pulse, so the only main function of the BTCNT1 is to provide a prescalar for the BNTCNT2.

5. BTCNT2 provides 2 output signals?
a) true
b) false
c) cant be said
d) depends on the conditions
View Answer

Answer: b
Explanation: BNTCNT2 has no outputs. Instead, it raises the BTIFG flag at a frequency determined by the BTIPx bits.

6. RTCSEC, RTCMIN, RTCDOW etc. are the bytes of a set of registers that are used to store
a) seconds
b) minutes
c) days of a week
d) all of the mentioned
View Answer

Answer: d
Explanation: The current time and date are held in a set of registers that contain the following bytes like RTCSEC, RTCMIN, RTCHOUR, RTCDOW etc.

7. The RTC module is configured in the calendar mode if __________
a) RTCMODE bit is reset
b) RTCMODE is set
c) RTCRDY is reset
d) RTCRDY is set
View Answer

Answer:b
Explanation: Calendar mode is selected when RTCMODE is set.
advertisement

8. The RTC module makes use of the Basic Timer1 because of _________
a) its bytes are controlled in the Basic Timer1 register
b) it is started by timer1
c) it is ended by basic timer1
d) it needs a clock pulse of 1hz that is provided by basic timer1
View Answer

Answer: d
Explanation: The RTC module requires a clock of worth 1hz that is provided by basic timer1 so that why it makes use of basic timer1.

9. IF RTCIE interrupt is generated then _________
a) BTIFG flag is set
b) RTCFG flag is set
c) Both flags are set
d) None of the flag is set
View Answer

Answer: c
Explanation: When RTCIE interrupt is generated then both BTIFG and RTCFG flags are set simultaneously.
advertisement

10. What does the RTCTEVx bits do?
a) they cause an interrupt
b) they end an interrupt
c) they set the minute, hour, seconds daily at midnight or daily at noon
d) all of the mentioned
View Answer

Answer: c
Explanation: Every minute, every hour, daily at midnight or daily at noon are set by the bits of the RTCTEVx bits of the RTCCTL register.

Sanfoundry Global Education & Learning Series – Microcontroller.

To practice all areas of Microcontroller, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.