Answered step by step
Verified Expert Solution
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
a Draw the wiring diagram to connect SCI of one DPa producer to SCII of another DPa
consumer Specify the name of the pinsports that you should use for the SCI communication.
b Let be the baud rate for the SCI at the producer and be the baud rate for the SCI at the
consumer. What problem could happen if temporarily we had and
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 bit data, start bit and 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 FirstInput FirstOutput FIFO buffer that can handle
data received at high speeds. The consumer is processing this data in some longterm simulation
that requires a x ms to take out a received frame from the Rx FirstInput FirstOutput FIFO
buffer. If the producer transmits data for 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 ie transmitter off at bitss with bit
data frame and odd parity assuming a ECLK of 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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started