AVR Microcontroller Questions and Answers for Experienced people on “Interfacing with RTC”.
1. RTC is used for __________
a) conversion
b) communication
c) real time and clock measurement
d) memory management
Answer: c
Clarification: RTC is a device that is basically used for all the real time clock related issues.
2. RTC chips use ______ to compute time, date when the power is off.
a) ac supply
b) generators
c) rectifiers
d) battery
Answer: d
Clarification: RTC chips require batteries in order to calculate the time and date when the power of the device is off.
3. DS12887 is known for as a ________
a) Communication device
b) Good battery device
c) RTC chip
d) All of the mentioned
Answer: c
Clarification: DS12887 is known as an RTC chip.
4. DS1307 is a parallel RTC with I2C bus.
a) true
b) false
c) cant be said
d) depends on the conditions
Answer: b
Clarification: DS1307 is a serial RTC with I2C bus.
5. DS1307 is a _______ pin IC and operates on _______ clock frequency.
a) 16, 8Mhz
b) 8, 16Mhz
c) 16, 32Mhz
d) 8, 32Khz
Answer: d
Clarification: DS1307 is a 8 pin IC and operates on a 32KHz clock frequency.
6. Vbat requires a positive signal of
a) 3V
b) 5V
c) 9V
d) 12V
Answer: a
Clarification: Vbat requires a positive signal of 3V which can be obtained through a battery.
7. In DS1307, which out of the following is correct about the SQW pin?
a) input pin
b) output pin
c) i/o pin
d) none of the mentioned
Answer:b
Clarification: In DS1307, SQW pin is an output pin. It provides a clock of frequency 1khz, 4khz, 8khz, 32khz if the pin is enabled.
8. DS1307 has a total of _______ bytes of RAM space.
a) 32
b) 64
c) 128
d) 256
Answer: b
Clarification: DS1307 has a total of 64 bytes(00-3F) of RAM space.
9. DS1307 control register has an address of _________
a) 00H
b) 03H
c) 07H
d) 10H
Answer: c
Clarification: DS1307 control register has an address of 07H.
10. What does the CH bit of the DS1307 demonstrate?
a) clock high
b) clock halt
c) clear high
d) clear halt
Answer: b
Clarification: CH bit means clock halt bit. If it is set to 1, then the oscillator gets disabled and vice versa.