analogdevicesinc / scopy

A software oscilloscope and signal analysis toolset
http://wiki.analog.com/scopy
GNU General Public License v3.0
377 stars 157 forks source link

Scopy: Logic Analyzer SPI decoder not displayed for different SPI modes #1442

Open kseerp opened 10 months ago

kseerp commented 10 months ago

Environment:

Describe the bug The logic analyzer SPI decoder will not appear for different SPI modes other than SPI mode 0 (CPol: 0, CPha: 0), even if the MCU SPI mode was set to its respective modes. Another scenario is that after switching the channel settings from other SPI modes (1, 2, 3) back to SPI Mode 0, the decoded data will no longer be displayed.

To Reproduce Steps to reproduce the behavior:

  1. Go to "Logic Analyzer" in Scopy
  2. Set Channel Settings to respective pins.
  3. MCU SPI mode set to mode 3 (CPol: 1, CPha: 1).
  4. Set Single Capture with CS triggered to falling edge.
  5. See error

Expected behavior Decoded data would be displayed for different SPI modes.

Screenshots MCU SPI mode set to mode 3, scopy cpol and cpha set to 1. 1

Decoded data shows up when MCU SPI mode set to 0, scopy cpha and cpol set to 0. 2

Decoded data would no longer show after changing from different SPI modes back to SPI mode 0. 3

Brandon-Hurst commented 2 months ago

Hello,

I have frequently run into this issue myself. Is there any way we can expedite getting this looked at?

Brandon-Hurst commented 1 week ago

Hello,

Just pinging this issue again as it's been a while since this was put in place.