Test and Measurement Forum

SPI decoding and Chip Select

Forum for discussing PicoScope version 6 (non-automotive version)

SPI decoding and Chip Select

Postby itooo » Thu May 15, 2014 12:25 pm

Hello,

it seems the Chip Select is not taken into account when decoding SPI data, see this capture :
spi-cs.png


- 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 :
spi-settings.png


Did I do something wrong ?

Regards,
Attachments
20140515-0001.psdata
(47.92 KiB) Downloaded 48 times
itooo
Newbie
 
Posts: 0
Joined: Thu May 15, 2014 12:11 pm

Re: SPI decoding and Chip Select

Postby 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.

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2063
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to PicoScope 6 for Windows

Who is online

Users browsing this forum: No registered users and 0 guests