Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 1 a . Draw the wiring diagram to connect SCI 0 of one DP 5 1 2 ( a producer ) to SCII of

Exercise 1
a. Draw the wiring diagram to connect SCI0 of one DP512(a producer) to SCII of another DP512(a
consumer). Specify the name of the pins/ports that you should use for the SCI communication.
b. Let rp be the baud rate for the SCI at the producer and rg be the baud rate for the SCI at the
consumer. What problem could happen if temporarily we had rp=9600bps and rg=4800bps?
What do we need in this case to handle this problem?
Let us assume that we have N frames that need to be sent by the producer to the consumer. Assume that a
frame contains 8-bit data, 1 start bit and 1 stop bit.
c. Calculate the time needed to transmit one bit by the producer.
d. Calculate the time needed to transmit a frame by the producer.
e. Assume that the consumer installed an Rx First-Input First-Output (FIFO) buffer that can handle
data received at high speeds. The consumer is processing this data in some long-term simulation
that requires a x=5 ms to take out a received frame from the Rx First-Input First-Output (FIFO)
buffer. If the producer transmits data for 1 second, what should be the minimum size for this FIFO
buffer RXLEN to prevent data overrun?
f. Provide the code to initialize the SCI to receive only (i.e. transmitter off) at 4800 bits/s with 8-bit
data frame and odd parity assuming a ECLK of 16 MHz.
g. How many pointers do we need to track the status of the Rx FIFO buffer? Find an expression in C
in terms of the RX buffer length RXLEN and the pointers to determine if the buffer is full.
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_2

Step: 3

blur-text-image_3

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

Data Analytics And Quality Management Fundamental Tools

Authors: Joseph Nguyen

1st Edition

B0CNGG3Y2W, 979-8862833232

More Books

Students also viewed these Databases questions

Question

The paleolithic age human life, short write up ?

Answered: 1 week ago

Question

4. Explain the strengths and weaknesses of each approach.

Answered: 1 week ago