Jump to content
  • 0

SPI Protocol Analyzer mis-interprets data at high data rates


Wayne Contello

Question

I am using Waveforms 3.21.13 on macOS 14.1.

 

I think the SPI protocol analyzer incorrectly interprets data when the data rate is high.

SPI clock Freq: 6.25Mhz

Waveforms Sample rate: 100MHz.

 

image.thumb.png.e06b3cfcca24cb9965c19f70a5fa761f.png

image.thumb.png.e7bbd59804213e11a1497a98b2e9cfb9.png

 

When the SPI clock rate is: 3 MHz (decoding is correct):

image.thumb.png.282201d9fbd2859200ece1dbe9b8ccf2.png

 

When the SPI clock rate is 6MHz (decoding is incorrect)

image.thumb.png.97cdb8767699594d121a2c064f74f298.png

 

 

image.thumb.png.56244618e16b19b3c007e9a1ef72ecb9.png

 

 

image.thumb.png.423b751f8d3cdffbb7bba896c19dce37.png

 

The device I'm debugging receives the correct data, So I think the problem is in the way Waveforms (or the Analog Discovery 2) is sampling the data.  I do not have a source terminated clock on the uC so maybe there is ringing or reflections.  It also looks there are "extra" clocks somewhere because the aligmnment of the interpreter is off compared with spi clock groupings..

 

I can share a capture if it is helpful.

 

Thanks,

Wayne

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...