RIGOL
Chapter 3 Demo Board Applications
User’s Guide for DS6000 Demo Board
3-38
3.3.2 SPI Signal
1.
Protocol Explanation
Clock signal and data appears synchronously. Sample the data on the rising edge of the clock
signal.
The continuous clock or data is one frame.
SS: select positive or negative polarity. When positive polarity is selected, the oscilloscope starts
decoding when the SS pin is logic low.. When negative polarity is selected, the oscilloscope
starts decoding when the SS pin is logic high.
For the data bus, every 8bit is a byte and every frame can contain 1 byte, 2 bytes or 3 bytes. In
the figure above, the frame contains 1 byte.
2.
Signal Explanation
Signal Output Pin:
SPI_SS, SPI_MOSI, SPI_SCLK
The output Data increases steadily from 0 to 255 and the bits of every frame of data can be
8/16/24/32
3.
Functions
SPI trigger, SPI decoding
4.
Demonstration and Result
Connect SPI_SCLK and GND to CH1 using the probe; connect SPI_MOSI and GND to CH2 using
the probe;
Set the trigger type to “SPI”, SCL to “CH1”, SDA to “CH2”, the trigger condition to “Timeout”, the
bits to 8, the data to “LLLH LLLH” and the clock edge to “Leading”.
When the oscilloscope is in T’D mode, set the decoding type to “SPI”, SS and MISO to “OFF”,
SCLK to “CH1”, MOSI to “CH2”, the data bits to 8, the endian to MSB and the ary to hex. Set the
BUS status to “ON” and the demonstration result is as shown in the figure on the next page.
www.
GlobalTestSupply
.com
Find Quality Products Online at: