Author Topic: Rigol DS1054z serial decode problem  (Read 2943 times)

0 Members and 1 Guest are viewing this topic.

Offline artelseTopic starter

  • Regular Contributor
  • *
  • Posts: 52
  • Country: 00
Rigol DS1054z serial decode problem
« on: October 31, 2016, 12:06:10 pm »
Trying out the serial decode option on my Rigol DS1054z and can't figure out why it is not decoding properly. I've set trigger to rs232, baud, etc. , but it seems to treat every pulse as a full frame? See attached screenshot and text file with settings where I send an uppercase U (0x55). As I am just starting to explore this functionality perhaps I need another setting?
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16561
  • Country: 00
Re: Rigol DS1054z serial decode problem
« Reply #1 on: October 31, 2016, 01:43:23 pm »
a) Most RS232 signals start high and go low when there's data.

b) Try sending a different byte and see if it's what you expect.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26755
  • Country: nl
    • NCT Developments
Re: Rigol DS1054z serial decode problem
« Reply #2 on: October 31, 2016, 02:02:16 pm »
a) Most RS232 signals start high and go low when there's data.
That is on TTL level. On real RS232 you see what is pictured in the screendump (note the v/div setting!). If the OP sets the decoding to 'idle low', not-inverted, -whatever Rigol calls it- it should work.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16561
  • Country: 00
Re: Rigol DS1054z serial decode problem
« Reply #3 on: October 31, 2016, 02:06:11 pm »
On real RS232 you see what is pictured in the screendump (note the v/div setting!).

I see 2 v/div, 5.3Vp/p.

"Real" RS232 would be +/- 12V.
« Last Edit: October 31, 2016, 02:07:42 pm by Fungus »
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26755
  • Country: nl
    • NCT Developments
Re: Rigol DS1054z serial decode problem
« Reply #4 on: October 31, 2016, 02:08:42 pm »
Hmm yeah. I'm too used to 3.3V (and less logic).
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline H.O

  • Frequent Contributor
  • **
  • Posts: 807
  • Country: se
Re: Rigol DS1054z serial decode problem
« Reply #5 on: October 31, 2016, 02:10:08 pm »
Except the polarity setting, what's the baudrate?
I see in the settings file that the decoder is set to 2400 baud but the bit-time seems to be WAY to long for tat.
 

Offline artelseTopic starter

  • Regular Contributor
  • *
  • Posts: 52
  • Country: 00
Re: Rigol DS1054z serial decode problem
« Reply #6 on: October 31, 2016, 02:27:17 pm »
Thanks for the replies! I found the problem, it was the cheap ass Chinese USB - Serial converter.. I swapped it with a decent one et voila all is fine! The problem with the board now also became apparent: a faulty MAX236.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf