Author Topic: MSO5074 serial decoder possible bug?  (Read 1667 times)

0 Members and 1 Guest are viewing this topic.

Offline diegogmxTopic starter

  • Contributor
  • Posts: 19
  • Country: dk
MSO5074 serial decoder possible bug?
« on: March 17, 2019, 04:03:59 am »
Either i'm completely confused about the polarity settings of the rs232 decoder or the scope has it backwards



i know this is pretty basic, but this is too basic for a bug, maybe i'm interpreting something wrong?
 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11234
  • Country: us
    • Personal site
Re: MSO5074 serial decoder possible bug?
« Reply #1 on: March 17, 2019, 04:36:17 am »
This is a correct polarity for RS-232, but not for UART. But the protocol name says RS-232, so it is ok.

I don't think that polarity icon should be read literally. This one just means "positive" in a sense "not inverted" compared to the normal for the protocol.
Alex
 

Offline diegogmxTopic starter

  • Contributor
  • Posts: 19
  • Country: dk
Re: MSO5074 serial decoder possible bug?
« Reply #2 on: March 17, 2019, 04:50:27 am »
i think i figured it out, the logic is still inverted, however the idle state does change, so the detection of the start bit changes
 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11234
  • Country: us
    • Personal site
Re: MSO5074 serial decoder possible bug?
« Reply #3 on: March 17, 2019, 04:56:10 am »
What logic is inverted?  The idle state for RS-232 is -3 V to -25 V (often -12 V is used). So this decoding is correct for non-inverted (as configured) polarity.
Alex
 

Offline diegogmxTopic starter

  • Contributor
  • Posts: 19
  • Country: dk
Re: MSO5074 serial decoder possible bug?
« Reply #4 on: March 17, 2019, 05:09:36 am »
you set the threshold in this case, it's not the standard rs232 (it should say uart rather than rs232), in this case it was set at about 2v
 

Offline NoisyBoy

  • Frequent Contributor
  • **
  • Posts: 503
  • Country: us
Re: MSO5074 serial decoder possible bug?
« Reply #5 on: March 18, 2019, 08:51:04 pm »
I was just reading the user's manual today and came across this topic on page 11-9, apparently the polarity icon is "negative" in Rigol's interpretation.  I would agree the icon is somewhat confusing and backward. 


This is a correct polarity for RS-232, but not for UART. But the protocol name says RS-232, so it is ok.

I don't think that polarity icon should be read literally. This one just means "positive" in a sense "not inverted" compared to the normal for the protocol.
 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11234
  • Country: us
    • Personal site
Re: MSO5074 serial decoder possible bug?
« Reply #6 on: March 18, 2019, 09:25:09 pm »
The polarity icon is correct for the protocol. RS-232 looks exactly as shown on the icon.  It would be better if they just wrote "inverted" and "non-inverted".
Alex
 

Offline NoisyBoy

  • Frequent Contributor
  • **
  • Posts: 503
  • Country: us
Re: MSO5074 serial decoder possible bug?
« Reply #7 on: March 19, 2019, 01:45:04 am »
X2

The polarity icon is correct for the protocol. RS-232 looks exactly as shown on the icon.  It would be better if they just wrote "inverted" and "non-inverted".
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf