Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2014 Nancy France September 15 19 2014 Proceedings Part 2 Lnai 8725

Authors: Toon Calders ,Floriana Esposito ,Eyke Hullermeier ,Rosa Meo

2014th Edition

3662448505, 978-3662448502

More Books

Students also viewed these Databases questions

Question

Discuss communication challenges in a global environment.

Answered: 1 week ago