
This experiment, as you see is similar to exp 1.3; although, here you are using the D/A and A/D modules
to transmit and receive the signal. Remember, that the D/A cannot transmit negative voltages. Connect the
ports you configured in the blocks with their corresponding pins on the screw terminal using wires
supplied to you in the lab. You should be able to see the waveform on the monitor.
In the second part of this experiment, you will determine the delay in A/D conversion. To do this, modify
your model files as shown below.
You may use the xpctargetspy command on the board running exp1_4_a2 then measure the difference in
the transmitted and looped back signal. The delay in one side of the conversion is then half of what you
measured off the screen.
Now, you will learn how to log and save data, this can be any signal, on to the flash disc. Add a new
target scope to the output of your exp1_4_a2 mux (multiplexer). Configure it as shown below. This
method configures the scope as a file scope. It saves the data in a file by the name specified in the
“Filename” box. Build and run your model and follow the next procedures to have the data transferred to
MATLAB workspace.
Commenti su questo manuale