Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
kseerp opened this issue Aug 15, 2023 · 3 comments
Closed
Labels

Comments

@kseerp
Copy link

kseerp commented Aug 15, 2023

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 kseerp added the bug label Aug 15, 2023
@Brandon-Hurst
Copy link

Hello,

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

@Brandon-Hurst
Copy link

Hello,

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

@AlexandraTrifan
Copy link
Contributor

Hi!

The initial release candidate for the new Scopy v2.0.0 is now available in the official releases page: https://github.com/analogdevicesinc/scopy/releases/tag/v2.0.0-beta-rc1. This release candidate includes a lot of new features in Scopy but also multiple bug fixes in the original ADALM2000 plugin and the underlying libm2k.

Could you give this version a try and reopen the issue if the bug still appears?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants