element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RoadTests & Reviews
  • Products
  • More
RoadTests & Reviews
Blog Picoscope 6424E Road Test - I2C Serial Decoding
  • Blog
  • RoadTest Forum
  • Documents
  • RoadTests
  • Reviews
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RoadTests & Reviews to participate - click to join for free!
  • Share
  • More
  • Cancel
  • Author Author: michaelkellett
  • Date Created: 21 Oct 2020 4:39 PM Date Created
  • Views 1118 views
  • Likes 6 likes
  • Comments 3 comments
Related
Recommended
  • 6424e
  • pico technologies

Picoscope 6424E Road Test - I2C Serial Decoding

michaelkellett
michaelkellett
21 Oct 2020

Most modern scopes offer some kind of serial data stream decoding. Many supply it as a paid for optional extra although special offers where some decoders are bundled with the instrument are common.

Pico have an unusual approach - all the serial decoders are bundled into the standard Picoscope 6 software and, hardware permitting, they work across the range of Pico's scopes.

The range is quite good:

image

Pico's decoders work on captured data which has been moved to the PC for processing. This means that you can't trigger off decoded data. Some scopes decode the serial protocol in hardware in the scope and they can trigger of a limited set of decoded data. In my blog Picoscope 6424E Road Test - SPI Testing with MSO Pods  I talk a bit more about this.

From my my work with this and several other scopes I've found that most of the time it's not terribly important.

 

The 6424E can be set up to trigger from a hardware event and then to store data in buffers (it does this all the time by default). You can set the size and number of the buffers, and because the scope has a huge memory the number of buffers can be quite large. We'll see this working in this blog.

image

 

I'm looking at data from a CO2 sensor. It's using its I2C interface. It signals when data is ready by pulsing the ready pin, you are allowed to read data from it immediately after the falling edge of the Ready signal.

This is a prototype sensor and I've made it do some odd things to help put the 6424E through its paces.

The sensor is hooked up to a test system and the Picoscope is looking passively at the I2C bus.

image

6424E triggered on Ready (channel C) falling edge

 

I've set the scope to use 512 buffers each of 1Msamples. Then in the serial decoder results table I've asked the scope to find buffers containing and Address Acknowledge in the data.

I've popped  up a Buffer management window to choose the buffer to look at, by default the scope shows the last one to be filled.

I'm triggering the tester to actually respond to the Ready signal by hand, and I triggered it three times in this test run.

 

Update 23/10/2020

 

The simple fixes are always the best !

It turns out that my new HP computer has mainly USB2 sockets, as far as I can tell only the two sockets on the front are USB 3 SuperSpeed capable !

 

So my tests so far have mostly been based on using USB2 speed connection to the Picoscope - and the notes above reference the first speed issue I've noticed.

 

I'll repeat the tests with a USB 3 connection.

 

(There is a thing you can download from Microsoft called USBview which can tell you what your ports are capable of and what they are currently doing.)

 

NB The following 4 paragraphs were written with the Picoscope connected by USB2 which limits its performance in these modes.

 

If I increase the number of samples to 5Ms per buffer the Picoscope misses most of the I2C transactions, (only saw 1 out of three).

With 1Ms per buffer the 6424E can keep up with the sensor (which generates 2 ready pulses per second).

At 5Ms per buffer the scope can't keep up and manages only 29 buffers in 30 seconds.

 

This is rather grim so I investigated further.

If you turn the serial decoding and low pass filtering off (must turn both off) then the scope can keep up and capture 5Ms at 2Hz repetition rate.

If you then stop it (in my case after 30 seconds) and turn serial decoding and the low pass filters back on they are applied to the captured data.

The search buffers tool found all the Address Acks that were placed on the I2C bus.

The search in buffers feature of the serial decoding table ran at a reasonable speed considering the amount of data but the operation of the

Buffer management window became criminally slow. This was made much worse by the lack of any quick way of navigating to a known buffer.

I have to say this is a bit disappointing - if I can make the scope capture at a better rate by switching stuff off during capture and back on again later then the scope should do that itself.

And it could also easily tell you that triggers have been missed, and estimate the actual update rate according to what is switched on.

 

So I have to be honest here and say that this was a pretty mixed experience.

The basic decoder operation seems fine and has some nice features, but the impact on update rate of having it switched on is not good.

The tools for looking at data in the buffers are not up to the job of managing the Gbytes of memory fitted to the scope.

 

I'm going to leave Serial Decoding here, and try to find some time to investigate the update rate thing in more detail - perhaps I've missed something.

 

MK

  • Sign in to reply

Top Comments

  • DAB
    DAB over 4 years ago +1
    Impressive list of protocols. DAB
  • michaelkellett
    michaelkellett over 4 years ago in reply to rsc

    In the end the Picoscope made a good fist of the job, the section in itallics is how the 6424 got on with a slow USB connection - it was (literally) 10x better with USB3 Super Speed !

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • rsc
    rsc over 4 years ago

    I had similar issues with my Rigol MSO1104Z trying to decode I2C and CAN.  You have a fast burst of data that you may or may not trigger correctly on, then a long wait between messages, then another burst, and the trick is decoding the messages between bursts.  The Microchip CAN bus analyzer software does an excellent job at parsing and sorting/time stamping messages.  I wish Rigol had similar software.

    Scott

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 4 years ago

    Impressive list of protocols.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube