Jump to content

Computer Architecture Lab/SS2013/GROUP4 ASSIGNMENT3

From Wikiversity

Perform send and receive operations using the SimpCon UART interface.

Exercise 1

[edit | edit source]

Transmit ASCII 0 or 1 whenever the led is turned on or off respectively. The led switched every half second. Therefore, 2 characters per second.

Exercise 2

[edit | edit source]

Send as fast as the baudrate allows the repeated series of ASCII values 0 - 9.

Exercise 3

[edit | edit source]

Receive from UART and turn on the led when a command is issued, in this case character '1'. The same for turning off the led (character '0' is the command in this case).