Author Topic: DS1054Z SPI trigger isn't working as expected  (Read 1121 times)

0 Members and 1 Guest are viewing this topic.

Offline NRoach44Topic starter

  • Contributor
  • Posts: 33
  • Country: au
DS1054Z SPI trigger isn't working as expected
« on: December 03, 2015, 02:31:15 pm »
Hi again!

I'm screwing around with the Arduino Uno and I want to connect it to a MCP2515 so I can listen in on my car's CANBus.

I've set the trigger settings as follows:
  • Type: SPI
  • SCL: CH1 (Connected to 13 on the arduino)
  • SDA: CH2 (Connected to 11 on the arduino)
  • When: Timeout
  • Timeout: 3us (Just a value that should work)
  • Data: LLLL LLLL
  • Edge: Rising
  • Sweep: Normal

The issue is that in this setup the scope will trigger on any SPI packet, not just 0x00. If I set the trigger to anything other than 0x00 it will not trigger, even if I know that value is being sent out.

Also interestingly enough, if SDA is set to the same input as SCL, the behavior doesn't change (but it can't be set to an unused channel)

I'm hoping I'm doing something wrong here.

I'm running Version 00.04.03.SP2



Thanks!
 

Offline NRoach44Topic starter

  • Contributor
  • Posts: 33
  • Country: au
Re: DS1054Z SPI trigger isn't working as expected
« Reply #1 on: December 03, 2015, 02:36:24 pm »
I'm an idiot.

As you should be able to see, the trigger is way off the 5v in that screenshot.

If I set the right data to trigger on AND set a voltage threshold that's valid it works as expected.


 :palm:
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf