Problem

Detecting an error in an asynchronous data packet. Using Example 16.74 as a guide, compose...

Detecting an error in an asynchronous data packet. Using Example 16.74 as a guide, compose a Matlab script that performs error detection on the data generated in Project 15.1 by computing the parity in the read data value and comparing to the transmitted parity bit. Verify your code by introducing an error.

Example 16.74

Reading asynchronous nibble waveform

Figure 16.73 shows a Matlab script that reads an asynchronous transmission data character waveform produced by Example 16.73 and saved in disk file Async.mat.

Figure 16.73

Matlab script that reads an asynchronous data nibble waveform.

Example 16.73

Generating asynchronous waveform of nibble data

Figure 16.72 shows a Matlab script that generates and displays an asynchronous transmission data character waveform containing a start bit, 4 data bits, an even parity bit, and two stop bits. The specified baud rate computes the duration of one data character waveform.

Figure 16.72

Matlab script that generates an asynchronous data nibble waveform at 9600 baud.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 15
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT