Both sides previous revisionPrevious revision | |
university:courses:electronics:m2k-spi-debug [02 Apr 2019 16:33] – 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/analog-dialogue/articles/introduction-to-spi-interface.html|Analog Dialogue - Introduction to SPI interface]] | * [[adi>en/analog-dialogue/articles/introduction-to-spi-interface.html|Analog Dialogue - Introduction to SPI interface]] |
* [[resources:eval:sdp:sdp-b:peripherals:spi|SPI: Serial Port Interface]] | * [[resources:eval:sdp:sdp-b:peripherals:spi|SPI: Serial Port Interface]] |
* [[university:tools:m2k|ADALM2000 Overview]] | * [[university:tools:m2k|ADALM2000 Overview]] |