Question: Exercise 1 UART ( 1 0 marks ) In this exercise you will be develop a program that will run on the NUC 1 4

Exercise 1 UART (10 marks)
In this exercise you will be develop a program that will run on the NUC140 board, to send and receive data between the NUC140 Board and your laptop. From laptop side, you need an additional USB-UART adapter together with Terminal software to facilitate the communication. The diagram of the system can be simplified as follows:
The program has the following specifications:
a. Clock frequency of the CPU is at 50 MHz
b. UART channel 0 specification:
o UART clock source is 22.1184 MHz
o UART0 channel is used to transmit data and receive data.
o Data packet: 1 start bit +8 data bit + no parity bit +1 stop bit
o Baud rate: 115200 bps
After the reset, the board is standing by to wait for data to send from laptop. You will send the message HELLO, THIS IS ,,, FROM TEAM from Terminal to the NUC140 board. The board will receive the message and send it back to the laptop. If the setting is successful implemented, you can see the message re-appear in the RX box of Terminal.
For this exercise 1, you must use UART Interrupts for both TX and RX. Receive the message
from NUC140 board and display
here
Macros
Set Macros
M8M20
+CR
Send
Rx: 0, Tx: 0 NUC140 Board
USB-VATT
Adapter
 Exercise 1 UART (10 marks) In this exercise you will be

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!