SPI decoding and Chip Select

Forum for discussing PicoScope version 6 (non-automotive version)
Post Reply
Posts: 0
Joined: Thu May 15, 2014 12:11 pm

SPI decoding and Chip Select

Post by itooo » Thu May 15, 2014 12:25 pm


it seems the Chip Select is not taken into account when decoding SPI data, see this capture :
- Blue is MOSI
- Red is CS
- Green is SCK
- Gold is MISO

Taking a look at ~50us we can see CS is deasserted during a byte cycle (only 2 clock cycles have been done when CS is deasserted).
The decoding engine should abort when CS is released and start over when it is asserted again.
What we see here is the decoding engine takes the 6 first next clock cycles and merges them to the unfinnished previous word to build the next byte. Thus all the decoded data is shifted after this event.

Here are my settings :
Did I do something wrong ?

(47.92 KiB) Downloaded 187 times

Site Admin
Site Admin
Posts: 2847
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: SPI decoding and Chip Select

Post by Hitesh » Wed May 21, 2014 2:07 pm

Hi itooo,

Thank you for highlighting this issue - there is a bug in the software which will be investigated and fixed.


Software Dev. Engineer

Post Reply