scopy icon indicating copy to clipboard operation
scopy copied to clipboard

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

Open kseerp opened this issue 2 years ago • 2 comments

Environment:

  • OS: Windows
  • FW Version: v0.29
  • SW Version or git tag: v1.4.1 - f4beeb1

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

kseerp avatar Aug 15 '23 05:08 kseerp

Hello,

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

Brandon-Hurst avatar Apr 16 '24 19:04 Brandon-Hurst

Hello,

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

Brandon-Hurst avatar Jun 21 '24 16:06 Brandon-Hurst