Professional Documents
Culture Documents
Quiz 2
Consider the next picture of the Arduino Uno board along with the specifications of the
ATmega328:
Consider the next C code that sends 1 byte to the serial port using the UART of the Atmel
AVR 8-bit micro-controller. UCSR0A & UDR0 are memory mapped registers of the UART.
while(!(UCSR0A & 0x20));
UDR0 = x; // x: variable of type uint8
12. If the UART speed is 115200 baud (1baud = 1bps) and the CPU runs at 20 MHz. How
many cycles will it take to transmit the ASCII string “Algeria is free”?