SPI decoding and Chip Select

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

SPI decoding and Chip Select

Post by itooo »

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 417 times

Hitesh

Re: SPI decoding and Chip Select

Post by Hitesh »

Hi itooo,

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

Regards,

Post Reply