USART Asynchronous Mode - MCQs with answers
1. Where should the value of TX9 bit be loaded during the 9 bit transmission in an asynchronous mode?a. TXSTA
b. RCSTA
c. SPBRG
d. All of the above
View Answer / Hide Answer2. What is the purpose of a special function register SPBRG in USART ? a. To control the operation associated with baud rate generation
b. To control an oscillator frequency
c. To control or prevent the false bit transmission of 9
th bitr
d. All of the above
View Answer / Hide AnswerANSWER: a. To control the operation associated with baud rate generation
3. Why is the flag bit TXIF tested or examined in the PIR1 register after shifting all the data bits during the initialization process of USART in asynchronous mode?a. For ensuring the transmission of byte
b. For ensuring the reception of byte
c. For ensuring the on-chip baud rate generation
d. For ensuring the 9
th bit as a parity
View Answer / Hide AnswerANSWER: a. For ensuring the transmission of byte
4. How is the baud rate specified for high-speed (BRGH = 1) operation in an asynchronous mode ?a. F
OSC / 8 (X +1 )
b. F
OSC / 16 (X +1 )
c. F
OSC / 32 (X +1 )
d. F
OSC / 64 (X +1 )
View Answer / Hide AnswerANSWER: b. FOSC / 16 (X +1 )