Both sides previous revisionPrevious revisionNext revision | Previous revision |
university:courses:electronics:m2k-spi-debug [02 Apr 2019 16:31] – Antoniu Miclaus | university:courses:electronics:m2k-spi-debug [31 Dec 2020 07:31] (current) – fix links Robin Getz |
---|
The objective of this tutorial is to use the Logic Analyzer instrument provided by the [[adi>ADALM2000]] (M2K) board and the [[university:tools:m2k:scopy|Scopy]] software toolset to visualize SPI (Serial Peripheral Interface) transactions between two devices. | The objective of this tutorial is to use the Logic Analyzer instrument provided by the [[adi>ADALM2000]] (M2K) board and the [[university:tools:m2k:scopy|Scopy]] software toolset to visualize SPI (Serial Peripheral Interface) transactions between two devices. |
| |
The [[resources:eval:user-guides:eval-adicup360:reference_designs:demo_cn0411|Total Dissolved Solids Measurements Demo (TDS)]] project will be used as an example. The project uses the [[http://www.analog.com/en/design-center/reference-designs/hardware-reference-design/circuits-from-the-lab/cn0411|EVAL-CN0411-ARDZ shield]] mounted to the [[adi>EVAL-ADICUP360]] microcontroller board. The shield includes two SPI devices: an [[ADI>AD5683R]], 16-bit, voltage-output DAC, and an [[ADI>AD7124-8]], low noise, low power, 24-bit Sigma-Delta ADC. | The [[resources:eval:user-guides:eval-adicup360:reference_designs:demo_cn0411|Total Dissolved Solids Measurements Demo (TDS)]] project will be used as an example. The project uses the [[adi>cn0411|EVAL-CN0411-ARDZ shield]] mounted to the [[adi>EVAL-ADICUP360]] microcontroller board. The shield includes two SPI devices: an [[ADI>AD5683R]], 16-bit, voltage-output DAC, and an [[ADI>AD7124-8]], low noise, low power, 24-bit Sigma-Delta ADC. |
| |
The TDS project includes a function to set the DAC voltage and read it back via the ADC, providing a complete example of a SPI transaction for analysis. (for more details on how setup and use the software, please refer to the TDS Demo link above). | The TDS project includes a function to set the DAC voltage and read it back via the ADC, providing a complete example of a SPI transaction for analysis. (for more details on how setup and use the software, please refer to the TDS Demo link above). |
\\ | \\ |
| |
==== Further Reading: ==== | ====Further Reading:==== |
| |
* [[https://www.analog.com/en/technical-articles/i2c-primer-what-is-i2c-part-1.html|I2C Primer: What is I2C? (Part 1)]] | * [[adi>en/analog-dialogue/articles/introduction-to-spi-interface.html|Analog Dialogue - Introduction to SPI interface]] |
* [[https://www.analog.com/en/technical-articles/i2c-timing-definition-and-specification-guide-part-2.html|I2C Timing: Definition and Specification Guide (Part 2)]] | * [[resources:eval:sdp:sdp-b:peripherals:spi|SPI: Serial Port Interface]] |
* [[https://www.analog.com/media/en/technical-documentation/technical-articles/I2C-Cabling.pdf|I2C-Cabling]] | * [[university:tools:m2k|ADALM2000 Overview]] |
| * [[university:tools:m2k:scopy|Scopy]] |
| * [[resources:eval:user-guides:eval-adicup360:reference_designs:demo_cn0411|Total Dissolved Solids Measurements Demo (TDS)]] |
| * [[resources:eval:user-guides:eval-adicup360:hardware:cn0411|EVAL-CN0411-ARDZ Shield Overview]] |
| * [[resources:eval:user-guides:eval-adicup360|EVAL-ADICUP360 User Guide]] |
| |