Author Topic: A possibly dumb Q on digital oscilloscopes  (Read 38018 times)

0 Members and 1 Guest are viewing this topic.

Online nctnico

  • Super Contributor
  • ***
  • Posts: 26891
  • Country: nl
    • NCT Developments
Re: A possibly dumb Q on digital oscilloscopes
« Reply #175 on: October 02, 2017, 08:06:01 pm »
Technically: RS485 is (like RS232, RS422, etc, etc) only an electrical interface specification so you can run any kind of bit pattern over it which forms a communication layer.

However, if there is a UART signal over any of these kind of links you should be able to decode it using the UART decoder. It is a matter of setting the right threshold and polarity (and the regular UART parameters ofcourse).
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline peter-hTopic starter

  • Super Contributor
  • ***
  • Posts: 3694
  • Country: gb
  • Doing electronics since the 1960s...
Re: A possibly dumb Q on digital oscilloscopes
« Reply #176 on: October 02, 2017, 09:16:36 pm »
What is the difference between UART and RS232? You can set a threshold for either mode.

I know what you mean about interface versus protocol etc and I have run e.g. Manchester using RS485 chips, but normally RS422/485 is just a differential version of RS232. The data encoding is the same i.e. NRZ, with a start bit, x data bits, 1 stop bit... To decode this in the correct differential way the scope would need a facility for subtracting two channels, otherwise the decoding is just like RS232.
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Offline rsjsouza

  • Super Contributor
  • ***
  • Posts: 5985
  • Country: us
  • Eternally curious
    • Vbe - vídeo blog eletrônico
Re: A possibly dumb Q on digital oscilloscopes
« Reply #177 on: October 03, 2017, 06:49:19 pm »
One thing we could not find today was decoding data on RS422/485 i.e. the difference between two signals. There is one option called RS232, and one called UART which I assume is the TTL level at a microcontroller i.e. inverted version of RS232.
According to this datasheet, the UART is a bit more configurable.
Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 19468
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: A possibly dumb Q on digital oscilloscopes
« Reply #178 on: October 03, 2017, 07:49:38 pm »
Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
... and to grok what isn't being said and what isn't being specified.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 
The following users thanked this post: rsjsouza

Offline rsjsouza

  • Super Contributor
  • ***
  • Posts: 5985
  • Country: us
  • Eternally curious
    • Vbe - vídeo blog eletrônico
Re: A possibly dumb Q on digital oscilloscopes
« Reply #179 on: October 03, 2017, 09:35:11 pm »
Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
... and to grok what isn't being said and what isn't being specified.
Good one!
Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 

Offline peter-hTopic starter

  • Super Contributor
  • ***
  • Posts: 3694
  • Country: gb
  • Doing electronics since the 1960s...
Re: A possibly dumb Q on digital oscilloscopes
« Reply #180 on: October 11, 2017, 06:20:25 pm »
Many thanks, rsjsouza. There is way more functionality in this than I had realised, or saw in the config pages.
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Offline peter-hTopic starter

  • Super Contributor
  • ***
  • Posts: 3694
  • Country: gb
  • Doing electronics since the 1960s...
Re: A possibly dumb Q on digital oscilloscopes
« Reply #181 on: October 24, 2017, 07:20:12 am »
Does the WS3034 have the capability to look at e.g. RS422 the correct way i.e. decode the two signals differentially?
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Offline Hydron

  • Frequent Contributor
  • **
  • Posts: 985
  • Country: gb
Re: A possibly dumb Q on digital oscilloscopes
« Reply #182 on: October 24, 2017, 07:38:08 am »
Can you use a maths function to find the difference between the two signals, then run the decode on that result?
 

Offline borjam

  • Supporter
  • ****
  • Posts: 908
  • Country: es
  • EA2EKH
Re: A possibly dumb Q on digital oscilloscopes
« Reply #183 on: October 24, 2017, 07:51:27 am »
Can you use a maths function to find the difference between the two signals, then run the decode on that result?
I would guess it's possible to use "MATH" as a source on a LeCroy. I was surprised by the ancient 9400 and how it allows you to stack operations using "MATH" as a source.

That said, in order to debug RS422/RS485 I think that a differential probe is almost mandatory. Especially with long cable runs. Common mode voltages can be a problem otherwise.

I use a Hameg HZ109 myself. You don't need a lot of bandwitdh.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf