USART Asynchronous Mode - MCQs with answers

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 Answer

ANSWER: a. TXSTA



2. 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 9th bitr
d. All of the above

View Answer / Hide Answer

ANSWER: 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 9th bit as a parity

View Answer / Hide Answer

ANSWER: 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. FOSC / 8 (X +1 )
b. FOSC / 16 (X +1 )
c. FOSC / 32 (X +1 )
d. FOSC / 64 (X +1 )

View Answer / Hide Answer

ANSWER: b. FOSC / 16 (X +1 )


Post your comment