Post Lab 6 Submission Form Group Member Names (full name)

advertisement
Post Lab 6 Submission Form
Group Member Names (full name)
Day of Home Lab (Mon, Tu, Wed or Th)
In Lab Screen Shots
1. Provide the UART transaction screen shot In-lab example.
2. Provide the SPI transaction screen shot In-lab example.
3. Provide the I2C transaction screen shot In-lab example.
Post Lab Screen Shots
4. Submit a screen shot of the triangle wave.
5. Submit a screen shot of a SPI transaction showing a write of a mid-value DAC value. The
view should be using the SPI protocol analyzer.
6. Submit a screen shot of an I2C transaction showing a DAC conversion of 0x1f. The view
should use the I2C protocol analyzer. Display values in HEX.
7. Submit a screen shot of an I2C transaction showing an ADC conversion of the voltage
generated by the DAC conversion of 0x1f (jumper the DAC output to the ADC input). The
view should use the I2C protocol analyzer. Display values in HEX.
Answers to In-Lab Questions
1. Why is the I2C transmission incomplete? That is, why can't you observe the transmission
of 0x1 and 0x2?
Answers to Post Lab Questions
2. List the SPI configuration changes you had to make from the example code for the DAC
interface.
3. MSS_SPI_set_slave_select sets the SPI select line. The evaluation kit provides just one
select line on the SPI header. If we wanted to add another DAC, what is one way you
could provide another select line? Consider that you can write your own select function.
4. What SPI transfer mode (ie MSS_SPI_MODE1) did you have to use for the DAC and why
(hint see figure 1-1 in the data sheet)?
Download