I think the SPI protocol analyzer incorrectly interprets data when the data rate is high.
SPI clock Freq: 6.25Mhz
Waveforms Sample rate: 100MHz.
When the SPI clock rate is: 3 MHz (decoding is correct):
When the SPI clock rate is 6MHz (decoding is incorrect)
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..
Question
Wayne Contello
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.
When the SPI clock rate is: 3 MHz (decoding is correct):
When the SPI clock rate is 6MHz (decoding is incorrect)
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 accountSign in
Already have an account? Sign in here.
Sign In Now