Author Topic: Our Prof. ordered us to purchase one Siglent SDS1104X-E...  (Read 14278 times)

0 Members and 1 Guest are viewing this topic.

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Hello everyone,
Our Prof. ordered us to purchase one Siglent SDS1104X-E. It's planned to buy at least a dozen of scopes for the student's laboratory.
Before making decision about buying the rest of scopes, we have to, so to speak, assess the potential of purchased Siglent.
A task is a troubleshooting of misbehaving communication between laboratory equipments (Prof's design, by the way :palm:). The Prof. himself got tired of this annoying malfunction.
So we have on the table brand-new scope right now.

Could anyone guide us (step by step) how to record RS485 packets and analyze if they are ok?
Then we would like to decode sent command from the master and an answer from the slave.

As a side note, we have to record a lot of the same packets. Since the slave answers very rarely with not distorted characters.
As far as we understand, in order to get what happens we have to catch at least one not distorted answer from the slave for further comparison and analyzing.

What we want to record is in the attachment.


Thanks in advance








« Last Edit: May 23, 2019, 07:51:39 pm by CiscERsang »
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #1 on: May 23, 2019, 07:12:47 pm »
Please check the firmware version as there is brand new firmware released yesterday that addresses some Decode issues/bugs.
Links here:
https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/msg2431869/#new
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 
The following users thanked this post: Dirk C., CiscERsang

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #2 on: May 23, 2019, 07:32:13 pm »
Please check the firmware version as there is brand new firmware released yesterday that addresses some Decode issues/bugs.
Links here:
https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/msg2431869/#new

We have 8.1.6.1.26 on board. Do you advise to perform an update at once?

they uploaded no user manual, but two service manuals instead. SDS100X-E. Could you look?
« Last Edit: May 23, 2019, 07:42:04 pm by CiscERsang »
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #3 on: May 23, 2019, 07:44:34 pm »
Please check the firmware version as there is brand new firmware released yesterday that addresses some Decode issues/bugs.
Links here:
https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/msg2431869/#new

We have 8.1.6.1.26 on board. Do you advise to perform an update at once?
Latest version is 6.1.33.
Check the release notes as there is several improvements for Decode
Quote
they uploaded no user manual, but two service manuals instead. SDS100X-E.
You can download any documentation here:
https://www.siglentamerica.com/resources/documents/digital-oscilloscopes/#sds1000x-e-series

Scroll down until you see the 1000X-E listings.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #4 on: May 23, 2019, 07:59:18 pm »

Scroll down until you see the 1000X-E listings.

Yes, I was there. Could you tell them that they confused and put two services manuals. There's no user manual under link called user manual. You can check that.
« Last Edit: May 23, 2019, 08:01:10 pm by CiscERsang »
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #5 on: May 23, 2019, 08:18:47 pm »

Scroll down until you see the 1000X-E listings.

Yes, I was there. Could you tell them that they confused and put two services manuals. There's no user manual under link called user manual. You can check that.
OK I see.
You can get the user manual here:
http://old.siglentamerica.com/USA_website_2014/Documents/manual/SDS1000X-E_UserManul_UM0101E-E03A.pdf
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3221
  • Country: pt
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #6 on: May 23, 2019, 08:38:00 pm »
Our Prof. ordered us to purchase one Siglent SDS1104X-E. It's planned to buy at least a dozen of scopes for the student's laboratory.

@tautech, with this prof your life is simplified!  :-DD
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #7 on: May 23, 2019, 08:42:25 pm »
Our Prof. ordered us to purchase one Siglent SDS1104X-E. It's planned to buy at least a dozen of scopes for the student's laboratory.

@tautech, with this prof your life is simplified!  :-DD
;D
We make little gains in brand awareness every day.  :phew:

But some days......... :horse:  ::)
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3221
  • Country: pt
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #8 on: May 23, 2019, 08:45:06 pm »
;D
We make little gains in brand awareness every day.  :phew:

But some days......... :horse:  ::)

Maybe it's simpler in the southern hemisphere...   ;D
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #9 on: May 24, 2019, 04:46:56 am »
I personally know of 2 Local Tafe's that refused upgrading to new DSO's because they where not aware of the EDUmode stuff to prevent students cheating by just pressing autosetup, so there is probably more business out there for you Tautech. (EDU mode can disable any combination of the autosetup Key, the Measure Menu or the Cursors Menu)

As for the RS485, I'll be getting home this afternoon, I'll have a look, its likely to be using the UART decoder. if its a normal RS485 connection then it can be wired to look like a 0-5V single ended signal

https://www.stratusengineering.com/rs232-rs422485-conversion-cable-connection-requires-no-external-electronics-power/
 

Offline plurn

  • Regular Contributor
  • *
  • Posts: 103
  • Country: 00
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #10 on: May 24, 2019, 05:36:20 am »

Could anyone guide us (step by step) how to record RS485 packets and analyze if they are ok?
Then we would like to decode sent command from the master and an answer from the slave.

As a side note, we have to record a lot of the same packets. Since the slave answers very rarely with not distorted characters.
As far as we understand, in order to get what happens we have to catch at least one not distorted answer from the slave for further comparison and analyzing.


I don't know how to do this. But there is some good information (a tutorial) from rf-loop on working with serial decode and history buffer starting at this post which might provide some help:

https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/msg2096347/#msg2096347
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16664
  • Country: 00
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #11 on: May 24, 2019, 06:50:43 am »
Please check the firmware version as there is brand new firmware released yesterday that addresses some Decode issues/bugs.

Really?   :scared:
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #12 on: May 24, 2019, 08:52:31 am »
;D
We make little gains in brand awareness every day.  :phew:

But some days......... :horse:  ::)

Maybe it's simpler in the southern hemisphere...   ;D

not sure, the Prof himself came from Europe (quite famous EU tech. uni) and saw there a classroom equipped with Siglents. So, he just had got a peek, I guess.  :)
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #13 on: May 24, 2019, 10:30:20 am »
Ok, a Guide,

- Switch on
- Press green "Default" key, (this just ensures I'm not fighting other settings from before)
- Rotate the "Vertical" knob to set channel 1 to 2V / Div
- Rotate the "Trigger Level" knob to 2V
- Rotate the "Horizontal" knob to fit atleast 1 full communication cycle on the screen, even if there is a big dead gap between the 2 packets, it will be recorded
- Rotate the "Horizontal Position" kbob so the blue triangle at the top of screen is lined up with the right edge of the first division (what you see on the screen is what is decoded,
- Press the "Decode" button (It should default to Decode 1, UART)
- Use the Third from the left UI button at the bottom of the screen to Enter the "Signal" menu
- Use the second from the left UI button at the bottom of the screen to Set "Threshold"
- Rotate the "Adjust / Intensity" Knob to make "Threshold" 2V
- Press the 6th UI Button to go back 1 menu
- Press the 4th UI button to enter the "Configure" menu
- Use the Second Button to set "Custom"
- Rotate the "Adjust / Intensity" Knob to make "Custom" match the "Baud Rate" you are using for your project

.... Continue for the other parameters for your project, this part I'm sure you can flesh out

- Use the 6th UI button to get to the 2nd pag of the "Configure" menu.

.... Continue Setting your Idle level and bit order

Done,
 
The following users thanked this post: tautech, CiscERsang

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16664
  • Country: 00
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #14 on: May 24, 2019, 04:16:06 pm »
Ok, a Guide,

- Switch on
- Press green "Default" key, (this just ensures I'm not fighting other settings from before)
- Rotate the "Vertical" knob to set channel 1 to 2V / Div
- Rotate the "Trigger Level" knob to 2V
- Rotate the "Horizontal" knob to fit atleast 1 full communication cycle on the screen, even if there is a big dead gap between the 2 packets, it will be recorded
- Rotate the "Horizontal Position" kbob so the blue triangle at the top of screen is lined up with the right edge of the first division (what you see on the screen is what is decoded,
- Press the "Decode" button (It should default to Decode 1, UART)
- Use the Third from the left UI button at the bottom of the screen to Enter the "Signal" menu
- Use the second from the left UI button at the bottom of the screen to Set "Threshold"
- Rotate the "Adjust / Intensity" Knob to make "Threshold" 2V
- Press the 6th UI Button to go back 1 menu
- Press the 4th UI button to enter the "Configure" menu
- Use the Second Button to set "Custom"
- Rotate the "Adjust / Intensity" Knob to make "Custom" match the "Baud Rate" you are using for your project

.... Continue for the other parameters for your project, this part I'm sure you can flesh out

- Use the 6th UI button to get to the 2nd pag of the "Configure" menu.

.... Continue Setting your Idle level and bit order

Done,

The following users thanked this post: tautech


Looks like everybody here has overlooked step 1 of the task (i.e. the difficult part).


 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3221
  • Country: pt
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #15 on: May 24, 2019, 04:35:19 pm »
Looks like everybody here has overlooked step 1 of the task (i.e. the difficult part).

@Fungus, enlighten us, please.
 

Offline plurn

  • Regular Contributor
  • *
  • Posts: 103
  • Country: 00
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #16 on: May 24, 2019, 05:26:52 pm »
Looks like everybody here has overlooked step 1 of the task (i.e. the difficult part).

@Fungus, enlighten us, please.

Ummm.. Connect the probes to the correct places maybe?
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #17 on: May 24, 2019, 08:13:08 pm »
Ok, a Guide,

- Switch on
- Press green "Default" key, (this just ensures I'm not fighting other settings from before)
- Rotate the "Vertical" knob to set channel 1 to 2V / Div
- Rotate the "Trigger Level" knob to 2V
- Rotate the "Horizontal" knob to fit atleast 1 full communication cycle on the screen, even if there is a big dead gap between the 2 packets, it will be recorded
- Rotate the "Horizontal Position" kbob so the blue triangle at the top of screen is lined up with the right edge of the first division (what you see on the screen is what is decoded,
- Press the "Decode" button (It should default to Decode 1, UART)
- Use the Third from the left UI button at the bottom of the screen to Enter the "Signal" menu
- Use the second from the left UI button at the bottom of the screen to Set "Threshold"
- Rotate the "Adjust / Intensity" Knob to make "Threshold" 2V
- Press the 6th UI Button to go back 1 menu
- Press the 4th UI button to enter the "Configure" menu
- Use the Second Button to set "Custom"
- Rotate the "Adjust / Intensity" Knob to make "Custom" match the "Baud Rate" you are using for your project

.... Continue for the other parameters for your project, this part I'm sure you can flesh out

- Use the 6th UI button to get to the 2nd pag of the "Configure" menu.

.... Continue Setting your Idle level and bit order

Done,

  • unboxing;
  • powered up;
  • FW was updated to ver. 6.1.33;
  • warmed up;
  • self-calibration was performed according to manual;
  • all probes were marked with corresponding coloured rings and compensated;
  • CH1 was hung on line B+;
  • CH2 was hung on line A-;
  • Press green "Default" key, (this just ensures I'm not fighting other settings from before);
  • Rotate the "Vertical" knob to set channel 1 to 2V / Div;
  • Rotate the "Trigger Level" knob to 2V;
Further troubles begin...
  • Rotate the "Horizontal" knob to fit atleast 1 full communication cycle on the screen, even if there is a big dead gap between the 2 packets,
    it will be recorded
    ;

The point is... Due to master features... in short, it can't send packets continuosly. It works like: a corresponding button is pressed  --> instantly very short transmission occurs. An example: 6E 75 6D 62 72 3F 0A . That means NUMBER?LF.
Then, in less then 10ms the slave answers (half-duplex works this way). An example: 1B 0D 0A. That means 27CRLF.

Is there a way to catch an entire packet? As it's seen, it's very short.
« Last Edit: May 24, 2019, 08:27:45 pm by CiscERsang »
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #18 on: May 24, 2019, 11:21:00 pm »
I do not know your baud rate, so lets say set horizontal to 2ms/Div, the scope has lots of sample points, so it may appear rather small, I should then add I suppose after setting up the decoders

Can you find out your baud rate,

So for Mk2 so far

Code: [Select]
- Switch on
- Press green "Default" key, (this just ensures I'm not fighting other settings from before)

- Rotate the "Vertical" knob to set channel 1 to 2V / Div
- Press the "2" button to Turn on the second channel
- Rotate the "Vertical" knob to set channel 2 to 2V / Div

- Rotate the "Horizontal" knob to 2ms / Div
- Rotate the "Horizontal Position" knob to -12ms

- Rotate the "Trigger Level" knob to 2V
- Press the "Normal" button for the trigger

- Press "Utility" button
- Press "Next Page" until your at page 4/4
- Press "Reference Position"
- Press "Horizontal" to set it to fixed position

- Press the "Decode" button (It should default to Decode 1, UART)
- Enter the "Signal" menu
- Press "RX" and set to "CH2"
- Press "Threshold", Rotate the "Adjust / Intensity" Knob to make "Threshold" 2V
- Press the 6th UI Button to go back 1 menu
- Enter the "Configure" menu
- Use the Second Button to set "Custom", Rotate the "Adjust / Intensity" Knob to make "Custom" match the "Baud Rate" you are using for your project

.... Continue for the other parameters for your project, this part I'm sure you can flesh out

- Use the 6th UI button to get to the 2nd pag of the "Configure" menu.

.... Continue Setting your Idle level and bit order

- Use the Back button to return to the main decode menu
- Ensure "Display" is set to "On
- Press next Page
- Press on "List"
- Press on "Display" and set to "Decode 1"
- Press the back button
- Press "Format" and change it to "ASCII"

- Run your Device once, the scope should trigger and there should be data on screen

- Press on the "Horizontal" knob to enter zoom mode
- Rotate the "Horizontal" knob twice clockwise to set the text at the top center of the screen to "500us/"
- Rotate the "Horizontal Position" knob to -12ms
- Continue Rotating the "Horizontal" knob clockwise until the first message is clearly visable on screen
- Trim with "Horizontal Position" as needed

This is the master message, the decoder will be on the bottom showing what ASCII it has decoded, the list display at the top hopefully makes it clearer, but sometimes you will need to zoom in furthur for it to show up nicely at the bottom

- Rotate the "Horizontal" knob Counter-clockwise, back to "500us/"
- Rotate the "Horizontal Position" knob to set to roughly -1ms
- Trim and zoom back in as required to show the response message clearly on screen, its the same as above, you may have to zoom in a bit furthur for it to show up nicely on the bottom.




Fungus, I'm still not clear what you think I am missing, you cannot decode on the math trace, If that is what you are trying to get at. If the OP wants me to flesh out all the decoder settings, I will need him to at minimum follow the guide without the decoder section for me to see his waveform and work out the settings.
 

Offline TK

  • Super Contributor
  • ***
  • Posts: 1722
  • Country: us
  • I am a Systems Analyst who plays with Electronics
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #19 on: May 25, 2019, 12:10:12 am »
Try using segmented memory to catch both transmission and reception in separate segments, use normal trigger mode
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #20 on: May 25, 2019, 12:42:56 am »
I think one of the things getting in the way is Siglent's dreaded automatic memory depth selection. If you zoom out at higher samplerates there is no more data to show. Fixate the memory depth to maximum and set the time/div to a value so you can trigger on the first packet and still have time to capture the reply.
« Last Edit: May 25, 2019, 12:44:54 am by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline nez

  • Contributor
  • Posts: 48
  • Country: us
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #21 on: May 25, 2019, 02:31:35 am »
FYI @CiscERsang, just in case you hadn't seen it, the link for the newest user manual has been corrected (I assume it was fixed after you guys tried it).

The updated manual for the new firmware (6.1.33) is:
UM0101E-E03B
https://www.siglentamerica.com/wp-content/uploads/dlm_uploads/2017/10/SDS1000X-E_UserManual_UM0101E-E03B.pdf

(Note the 'B' )

I believe the previous firmware (6.1.26) uses manual version:
UM0101E-E03A  (shown as UM0101X-E03A inside the doc's title page for some reason)

 
The following users thanked this post: CiscERsang

Offline plurn

  • Regular Contributor
  • *
  • Posts: 103
  • Country: 00
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #22 on: May 25, 2019, 03:41:25 am »
...
  • CH1 was hung on line B+;
  • CH2 was hung on line A-;
...

If you are connecting near the master slave devices (short distances), you might be able to get away with connecting to only one of those lines since they are are the same signal with one inverted as your diagram shows. That could free up some memory. Only the polarity of one of them will match up with the decode setting you pick I think you just need to pick the right one. If it was long distances involved, you would probably need some external converter to un-invert and combine them to remove noise and then still only measure a single line on the oscilloscope.

I guess you could separately measure both lines without decode to make sure the signals look properly inverted to make sure that is not an issue.

https://www.csimn.com/CSI_pages/RS-485-FAQ.html


The point is... Due to master features... in short, it can't send packets continuosly. It works like: a corresponding button is pressed  --> instantly very short transmission occurs. An example: 6E 75 6D 62 72 3F 0A . That means NUMBER?LF.
Then, in less then 10ms the slave answers (half-duplex works this way). An example: 1B 0D 0A. That means 27CRLF.

Is there a way to catch an entire packet? As it's seen, it's very short.

See my earlier post Reply #10 linking to a tutorial on using history buffer (Segmented memory as mentioned by TK). Should allow you to capture lots of packets.

Or - if you don't want to read everyones suggestions and join the dots for yourself, just get a Siglent sales engineer to do your homework for you with the promise of a big order if they get it right.
« Last Edit: May 25, 2019, 03:48:56 am by plurn »
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16664
  • Country: 00
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #23 on: May 25, 2019, 08:42:34 am »
Looks like everybody here has overlooked step 1 of the task (i.e. the difficult part).

@Fungus, enlighten us, please.

RS485 is a differential bus, you don't just connect a probe to a wire to diagnose it.

Ummm.. Connect the probes to the correct places maybe?

Which would be....?

 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #24 on: May 25, 2019, 09:44:35 am »
RS485 under controlled conditions with a ground lead provided can be done with just 1 wire, add external noise e.g. in a vehicle or complicated installation and you would be correct.

The SDS1104X-E does not let you decode on the math trace, so to treat it like a proper differential bus would require an external RS485 to UART or similar converters, like I linked in an image earlier.

The third alternative if the RS485 device is battery powered or not ground referenced. Connect your scope ground lead to Data- and the scope channel 1 signal to Data +, this way it is treated deferentially. done this many times with vehicle Canbus / J1708 (which is RS485)
« Last Edit: May 25, 2019, 09:46:51 am by Rerouter »
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #25 on: May 25, 2019, 10:06:17 am »
RS485 under controlled conditions with a ground lead provided can be done with just 1 wire, add external noise e.g. in a vehicle or complicated installation and you would be correct.
UART (serial) signals over RS485 always need a ground reference because UART signals have a varying DC component.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #26 on: May 25, 2019, 10:45:21 am »
I personally know of 2 Local Tafe's that refused upgrading to new DSO's because they where not aware of the EDUmode stuff to prevent students cheating by just pressing autosetup, so there is probably more business out there for you Tautech. (EDU mode can disable any combination of the autosetup Key, the Measure Menu or the Cursors Menu)
Do you have the secret key presses for this or some SCPI command you've discovered ?
I ask as I've asked the factory on this matter and got no reply.

Reply via PM if required.  ;)
TIA.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #27 on: May 25, 2019, 10:55:27 am »
Nothing secret about it, I've posted it in the main thread like 3 times so far, But I can understand it is a lot to parse at once.

If you change any settings, e.g. "EDUMODE Autosetup, OFF" the menu will appear and you can change it via the UI if you prefer, otherwise it is buried,
Even factory defaulting the scope or reloading a setup will not change it, only with those SCPI commands,
 
The following users thanked this post: Someone, tautech

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #28 on: May 25, 2019, 11:04:27 am »
Nothing secret about it, I've posted it in the main thread like 3 times so far, But I can understand it is a lot to parse at once.

If you change any settings, e.g. "EDUMODE Autosetup, OFF" the menu will appear and you can change it via the UI if you prefer, otherwise it is buried,
Even factory defaulting the scope or reloading a setup will not change it, only with those SCPI commands,
Totally missed anything you've bought to our attention before.  :-[  :palm:
And you know I'm always here and like to think I don't miss much but for this I need a good  :horse:
 :-DD
Thanks heaps, added to my archives.  :-+
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3221
  • Country: pt
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #29 on: May 25, 2019, 12:49:19 pm »
@Rerouter, thanks.

BTW, what stops a student from issuing the command himself to disable the EDU MODE?  The scope would need to be disconnected from the grid...

What about issuing SCPI commands via the USB disk scripting (a crafted .ADS) ? Have you investigated any of this?
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #30 on: May 25, 2019, 01:28:49 pm »
I'm going to go out on a limb that If a kid is familiar enough with test gear to find info on that command and re-enable them, he is more than smart enough to figure out how to do things without those controls,

After all they would not even tell a dealer about it, and things get buried on these forums really easily, If your that kid in the future having found this thread, God Speed you clever bugger
« Last Edit: May 25, 2019, 01:30:54 pm by Rerouter »
 
The following users thanked this post: Electro Fan, tv84

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #31 on: May 25, 2019, 08:28:26 pm »
RS485 under controlled conditions with a ground lead provided can be done with just 1 wire, add external noise e.g. in a vehicle or complicated installation and you would be correct.

The SDS1104X-E does not let you decode on the math trace, so to treat it like a proper differential bus would require an external RS485 to UART or similar converters, like I linked in an image earlier.

The third alternative if the RS485 device is battery powered or not ground referenced. Connect your scope ground lead to Data- and the scope channel 1 signal to Data +, this way it is treated deferentially. done this many times with vehicle Canbus / J1708 (which is RS485)


Please take a look at how does that a quite ancient oscilloscope. True, it's continuos transmission. The green one is math from differential signal (red/yellow).
Firstly, I need to get similar oscillogram, to analyze. Probably it won't come to decoding.
Do you mean it's not possible to get something useful (decode) from the green one? Or?


 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #32 on: May 25, 2019, 08:46:19 pm »
First just plain forget about needing Math in SDS1104X-E for data bus analysis !  :--

Connect probes to data lines and the ground/reference clip to an appropriate signal ground point.
Ensure trigger is set to Auto.

Adjust scope to get appropriate displayed signal amplitude.
Use trigger settings to get the start of any packet appearing on the horizontal trigger point....this may need the use of some trigger Holdoff so the scope cannot trigger again until after any packet. Use the scopes Holdoff virtual keyboard to make large adjustments rather than use the encoder.
Set trigger rise/fall to match the first edge of the data packet.

Then give us a screenshot showing something of the bus traffic and we can advise the next settings.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #33 on: May 27, 2019, 12:30:24 am »
OK so I've had a little research and play with my SDS1104X-E.
Note display settings used plus the now invisible 3ms Holdoff used to prevent retriggering within a packet.

RS485 is in many ways a similar differential protocol to 2 wire CAN so a few examples using CAN from my STB-3.

Some Math on the 2 wire CAN signals



With Zoom we can have a large number of packets on the main window and scroll through them using the Zoomed window using Hor Pos control however we can't use Math in this manner.



If we use Zoom and Decode there are no such restrictions



With all the bells and whistles activated we have the list with packet #75 representing the first post trigger packet and all the others accessible using the scroll control to examine the full list.



« Last Edit: May 27, 2019, 12:32:19 am by tautech »
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #34 on: May 29, 2019, 08:32:24 pm »
hello everyone,

all this time we were struggling with connection to WEB interface. First we desided to use TP-Link 725N (we borrowed that stuff), for some reasons it showed very bad results. We will try it again with tiny stuff, just to see what a reason might be. We saw WEB-page, however it was loading so slowly (perhaps it is just router issues).
So we desided to go the other way. We ordered this tiny stuff https://mikrotik.com/product/RBmAPL-2nD. I would say it's a piece of work.   :palm:
However, we were able to tame that stuff and now we can continue our bus troubleshooting.

to be continued...

« Last Edit: May 29, 2019, 08:49:52 pm by CiscERsang »
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #35 on: May 29, 2019, 10:03:18 pm »
hello everyone,

all this time we were struggling with connection to WEB interface. First we desided to use TP-Link 725N (we borrowed that stuff), for some reasons it showed very bad results. We will try it again with tiny stuff, just to see what a reason might be. We saw WEB-page, however it was loading so slowly (perhaps it is just router issues).
So we desided to go the other way. We ordered this tiny stuff https://mikrotik.com/product/RBmAPL-2nD. I would say it's a piece of work.   :palm:
However, we were able to tame that stuff and now we can continue our bus troubleshooting.

to be continued...
For tips on successful connection to the WEB interface watch this vid from ~1min in:
https://youtu.be/Cxh_Liay09E
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #36 on: May 30, 2019, 10:00:49 pm »

Then give us a screenshot showing something of the bus traffic and we can advise the next settings.

hello everyone,
Finally we managed to catch a query/answer with your help.
Off the top of my head there are visible signs of voltage level mismatching between query and reply. Either drivers are powered up with different voltage levels, or in case if voltages are equal, that might be a lack of biasing.

the supply voltage of slave's driver I will be able to measure.
the supple voltage of master's drive is not possible to measure, because of sealed master's case. It may make a query regarding drive's supply voltage to manufacturer, though.

your opinions please.

Web-server is :-+



« Last Edit: May 30, 2019, 10:14:47 pm by CiscERsang »
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #37 on: May 30, 2019, 10:42:02 pm »
Looking at these pictures I think that the slave is responding too quickly and/or something else is going on. The signals don't look OK at all and it is no surprise the communication isn't working reliably.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #38 on: May 30, 2019, 11:51:48 pm »
Yes, in that signals are at different levels is confusing and the idle levels are neither high or low but it seems this is just how RS485 is based on the timing diagram posted earlier.

Comments
Any visible distortion is insufficient to affect proper bus operation.
It might appear the supply voltages to each device are mismatched and so the levels are different. An adjustable PSU supplying the slave might be useful to find a match between device traffic levels.
Use probes and inputs set to 10x in order to reduce the capacitive load 1x probes place on the signal bus.
Change V/div to Coarse with a press of the V/div encoder.
Use the blue Print button to capture USB screenshots and in doing so you can have an appropriate menu showing to give more info on the settings used.
Adjust code to give a wait time before the slave replies.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #39 on: May 31, 2019, 12:11:17 am »
Any visible distortion is insufficient to affect proper bus operation.
You are definitely wrong here. This is RS485 on a short distance so we should see nice rectangular waves with  messages from each side having a consistent amplitude. This is not the case in what the OP is showing and that should be fixed first. If the bus is driven by more than one device on a bus then there is not way to tell what the other side will receive. There can be all kinds of circuitry in between the RS485 driver and the bus as well.
« Last Edit: May 31, 2019, 12:14:02 am by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #40 on: May 31, 2019, 12:16:14 am »
Any visible distortion is insufficient to affect proper bus operation.
You are definitely wrong here. This is RS485 on a short distance so we should see nice rectangular waves with  messages from each side having a consistent amplitude. This is not the case in what the OP is showing and that should be fixed first. If the bus is driven by more than one device on a bus then there is not way to tell what the other side will receive. There can be all kinds of circuitry in between the RS485 driver and the bus as well.
Please read the following line:
Yes, in that signals are at different levels is confusing and the idle levels are neither high or low but it seems this is just how RS485 is based on the timing diagram posted earlier.

Comments
Any visible distortion is insufficient to affect proper bus operation.
It might appear the supply voltages to each device are mismatched and so the levels are different. An adjustable PSU supplying the slave might be useful to find a match between device traffic levels.
Use probes and inputs set to 10x in order to reduce the capacitive load 1x probes place on the signal bus.
Change V/div to Coarse with a press of the V/div encoder.
Use the blue Print button to capture USB screenshots and in doing so you can have an appropriate menu showing to give more info on the settings used.
Adjust code to give a wait time before the slave replies.

Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #41 on: May 31, 2019, 12:31:40 am »
Look more closely at the signal. It is not about the base levels but there are also distorted pulsed in there at the beginning of the reply. A tell-tale sign something is wrong on an RS485 bus. I'd like to see a much cleaner start.
« Last Edit: May 31, 2019, 12:35:54 am by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #42 on: May 31, 2019, 12:52:45 am »
Look more closely at the signal. It is not about the base levels but there are also distorted pulsed in there at the beginning of the reply. A tell-tale sign something is wrong on an RS485 bus. I'd like to see a much cleaner start.
Yeah of course:
Yes, in that signals are at different levels is confusing and the idle levels are neither high or low but it seems this is just how RS485 is based on the timing diagram posted earlier.

Comments
Any visible distortion is insufficient to affect proper bus operation.
It might appear the supply voltages to each device are mismatched and so the levels are different. An adjustable PSU supplying the slave might be useful to find a match between device traffic levels.
Use probes and inputs set to 10x in order to reduce the capacitive load 1x probes place on the signal bus.
Change V/div to Coarse with a press of the V/div encoder.
Use the blue Print button to capture USB screenshots and in doing so you can have an appropriate menu showing to give more info on the settings used.
Adjust code to give a wait time before the slave replies.

Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline TurboTom

  • Super Contributor
  • ***
  • Posts: 1389
  • Country: de
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #43 on: May 31, 2019, 07:33:22 am »
@CiscERsang -

I'm quite surprised that there are those needle pulses in the distorted signal screenshot. The RS485 drivers shouldn't be able to produce these, especially since they are differential and not common-mode. Can you zoom in on them to better get an idea of their shape? It's well possible that you've got a problem with the termination on the line. Maybe one of the terminators is dodgy, or if they are actively switched, have a look at the switch / control signal. The common-mode DC offset between sent and received signals wouldn't bother me too much, this appears to be well within the common mode range of the typical RS485 line transceivers.

Cheers,
Thomas
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #44 on: May 31, 2019, 08:35:16 am »
@tautech,

An update:

- the first one: distortion while receiving;
-the second one; receiving is ok. I wouldn't say that it occurs sporadically. It's misbehaving almost constantly. For example, within fifty transmissions/measurements it's possible to see a single good event.

it looks like slaves' transmission begins too early. Don't it?



« Last Edit: May 31, 2019, 09:36:02 am by CiscERsang »
 

Offline TurboTom

  • Super Contributor
  • ***
  • Posts: 1389
  • Country: de
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #45 on: May 31, 2019, 08:43:16 am »
Thanks @CiscERsang, but what I meant to have magnified (VERY magnified  ;) ) is the tiny spike, just a pixel wide in your screenshots, indicated here, since it looks really awkward and it shouldn't be there:
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #46 on: May 31, 2019, 08:49:35 am »
Thanks @CiscERsang, but what I meant to have magnified (VERY magnified  ;) ) is the tiny spike, just a pixel wide in your screenshots, indicated here, since it looks really awkward and it shouldn't be there:


I've got you, I saw those tall "needle" spikes towards each other. I'm just figuring out how to capture that in a better way. ;) Give me a few minutes.
« Last Edit: May 31, 2019, 09:10:15 am by CiscERsang »
 

Offline TurboTom

  • Super Contributor
  • ***
  • Posts: 1389
  • Country: de
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #47 on: May 31, 2019, 09:23:20 am »
Just press the time base knob (sec/div) to enter zoom mode, turn it to the required magnification and use the horizontal shift (trigger delay) knob to move the highlighted area to the spike.  :)
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #48 on: May 31, 2019, 09:25:28 am »
Just press the time base knob (sec/div) to enter zoom mode, turn it to the required magnification and use the horizontal shift (trigger delay) knob to move the highlighted area to the spike.  :)
cross-posted see #46  ;)
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #49 on: May 31, 2019, 09:42:45 am »
Thanks @CiscERsang, but what I meant to have magnified (VERY magnified  ;) ) is the tiny spike, just a pixel wide in your screenshots, indicated here, since it looks really awkward and it shouldn't be there:
Decoupling do you reckon ?
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #50 on: May 31, 2019, 09:54:12 am »
Thanks @CiscERsang, but what I meant to have magnified (VERY magnified  ;) ) is the tiny spike, just a pixel wide in your screenshots, indicated here, since it looks really awkward and it shouldn't be there:


I've got you, I saw those tall "needle" spikes towards each other. I'm just figuring out how to capture that in a better way. ;) Give me a few minutes.
You have extra channels that you could connect one to the slave power rail to check rail behavior with timing correlation to the spike.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline TurboTom

  • Super Contributor
  • ***
  • Posts: 1389
  • Country: de
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #51 on: May 31, 2019, 10:09:39 am »
I'm almost certain that it's not a decoupling issue. It wouldn't explain the output voltage of one of the lines swinging ~1.5V below ground. To me, it much more looks like the transmitter of the first sequence doesn't get disabled fast enough before the answering node enables its transmitter, causing the two transmitters to "fight" each other momentarily. When the first transmitter finally gets disabled, the considerable current flowing through the line callapses and causes an inductive spike - that's what we see here and what will perfectly well explain the opposite polarity.

To solve the problem requires either delaying the answer to be sure the (first) transmitter is disabled or to look at the transmitter's code to make sure it gets disabled immediately after it finished its transmission. It may also just be a configuration issue, i.e. node1 is configured to send 2 stop bits while node 2 expects only 1 stop bit and thus starts its transmission too soon.

Cheers & good luck,
Thomas
 
The following users thanked this post: CiscERsang

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #52 on: May 31, 2019, 10:23:05 am »
Thanks Tom, yeah that sorta points to what Nico and I were saying earlier....the code needs fixing.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #53 on: June 01, 2019, 02:56:42 pm »


It might appear the supply voltages to each device are mismatched and so the levels are different. An adjustable PSU supplying the slave might be useful to find a match between device traffic levels.
oddly enough, but the manufacturer sweared that master's transceiver is powered up by 5.0V. I, in turn, measured slave's transceiver power supply voltage,
it's 5.0V.  :-//

Use the blue Print button to capture USB screenshots and in doing so you can have an appropriate menu showing to give more info on the settings used.
Adjust code to give a wait time before the slave replies.

for educational purposes, tell me please, what 's useful menu that should have been appeared after pushing the blue button. I had nothing noticed except making screenshots function.

thank you!
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #54 on: June 01, 2019, 08:04:58 pm »


It might appear the supply voltages to each device are mismatched and so the levels are different. An adjustable PSU supplying the slave might be useful to find a match between device traffic levels.
oddly enough, but the manufacturer sweared that master's transceiver is powered up by 5.0V. I, in turn, measured slave's transceiver power supply voltage,
it's 5.0V.  :-//
Sure but you can see master and slave levels are slightly different, whether that makes much difference to the thresholds each use for communication is another matter.

Use the blue Print button to capture USB screenshots and in doing so you can have an appropriate menu showing to give more info on the settings used.
Adjust code to give a wait time before the slave replies.

for educational purposes, tell me please, what 's useful menu that should have been appeared after pushing the blue button. I had nothing noticed except making screenshots function.
You have been using the Save feature and there's no need to for making simple USB screenshots so you might have  the Trigger menu showing so to show us Holdoff or a Decode menu.
Blue Print button is just a useful shortcut to save to USB.
« Last Edit: June 01, 2019, 09:48:39 pm by tautech »
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #55 on: June 04, 2019, 06:20:59 pm »
An update:

There are more details ragarding to issue.

  • AB_lines_A_char_00.png - master transmits a single char 'A', there's no reply from the slave.
  • AB_lines_A_char_with_reply.png - added a delimeter, so we have a reply. (distorted)
  • AB_not_distroted.png  - not distorted reply. 

sometimes the slave just a sweatheart... :-//


« Last Edit: June 04, 2019, 06:25:22 pm by CiscERsang »
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #56 on: June 04, 2019, 08:22:37 pm »
 :-//
What is Ch 3 and how does its 140V p-p signal correlate to the data bus ?
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #57 on: June 05, 2019, 06:08:59 am »
:-//
What is Ch 3 and how does its 140V p-p signal correlate to the data bus ?

CH3 hangs on driver enable signal.
In fact, there is not more than usual TTL level there. I just forgot to set the probe to x10 physically.  :palm:
Anyway it doesn't affect the timing.


An update:


  • the first one is ok;
  • the second one is distorted;

It's seen an unstable timing of slaves's driver enable signal. So-called floating timing.

The point is, the both are completed devices (serial production), and we can do nothing with timing. Both manufactures sweared that nobody before was complaining on such misbehaving.

BR

« Last Edit: June 05, 2019, 07:27:40 am by CiscERsang »
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #58 on: June 05, 2019, 07:32:40 am »
:-//
What is Ch 3 and how does its 140V p-p signal correlate to the data bus ?

CH3 hangs on driver enable signal.
In fact, there is not more than usual TTL level there.
I beg your pardon.  :bullshit:
TTL levels are 0-5V.
Ch3 is displaying 20 something V !  :-//


Now set the trigger to Ch3 and increase the timebase to carefully inspect the timing correlation between Ch3 and the data lines.
My guess is Ch3 transition is affecting the data lines and that will be able to be seen with a much faster timebase as  Ch1 and 2 spikes will trail the transition on Ch3.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline mrpackethead

  • Super Contributor
  • ***
  • Posts: 2845
  • Country: nz
  • D Size Cell
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #59 on: June 05, 2019, 08:00:27 am »
Tell the prof to talk to keysight, they are being super aggressive price wise for EDU, and will $/feature match the likes of Rigol and Siglent.
On a quest to find increasingly complicated ways to blink things
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #60 on: June 05, 2019, 08:05:39 am »
Tell the prof to talk to keysight, they are being super aggressive price wise for EDU, and will $/feature match the likes of Rigol and Siglent.
Yeah right, like walking backward.  :P
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline TurboTom

  • Super Contributor
  • ***
  • Posts: 1389
  • Country: de
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #61 on: June 05, 2019, 08:45:04 am »
@CiscERsang -

I`m not sure what`s your priority here, getting the 485 link operational or understanding how to use your new scope to analyze the problem. IMHO the communication problem has been spotted without even having to use a protocol decoder since it`s basically a bus collision. If the devices having the problem are out of series production, they should offer some way or the other to configure the bus protocol. See here for instance for some hints: https://automationforum.in/t/how-to-do-proper-port-settings-configuration-of-rs-485-modbus/1607

To get familiar with the scope, there`s nothing that will replace a good amount of practicing, maybe with the help of an experienced user, and that`s where this forum can be quite helpful. To get comfortable with a modern DSO doesn't depend that much on the model or brand of the scope (as long as it provides the basic required functions) but rather on the approach to use it. The bus problem you encountered is for instance a very good opportunity to experiment with extended trigger option (pulse, maybe runt) and also to experiment with segmented memory and pass/fail recognition. A modern DSO provides so many functions that you've probably just skimmed the surface.

Anyway, I'm sure you're on a good road to reach your goal and you'll finally master the encountered problems if you focus on them.
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #62 on: June 05, 2019, 08:48:51 am »

Now set the trigger to Ch3 and increase the timebase to carefully inspect the timing correlation between Ch3 and the data lines.
My guess is Ch3 transition is affecting the data lines and that will be able to be seen with a much faster timebase as  Ch1 and 2 spikes will trail the transition on Ch3.

Due to features of PCB we can't measure directly on corresponding IC pins. So it shows 20V something. Normally i was expecting a TTL level there.
« Last Edit: June 05, 2019, 09:20:11 am by CiscERsang »
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #63 on: June 05, 2019, 09:52:45 am »

Now set the trigger to Ch3 and increase the timebase to carefully inspect the timing correlation between Ch3 and the data lines.
My guess is Ch3 transition is affecting the data lines and that will be able to be seen with a much faster timebase as  Ch1 and 2 spikes will trail the transition on Ch3.

Due to features of PCB we can't measure directly on corresponding IC pins. So it shows 20V something. Normally i was expecting a TTL level there.
OK good.
So we have some elevated voltage for the CH3 TTL like the correct reference connection (ground) for Ch3 is unrelated to the data bus.
The Ch3 step timing is as expected before the corrupt bus signals but nevertheless it looks mostly unrelated.

Still I would take additional care that sufficient local bulk and fast decoupling capacitance is available for the bus devices so to be sure there isn't power rail blips causing the corrupted bus.

Interesting hunt.  :)
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #64 on: June 05, 2019, 10:00:25 am »
@CiscERsang -
I`m not sure what`s your priority here, getting the 485 link operational or understanding how to use your new scope to analyze the problem.
Both, as it's seen.

IMHO the communication problem has been spotted without even having to use a protocol decoder since it`s basically a bus collision. If the devices having the problem are out of series production, they should offer some way or the other to configure the bus protocol. See here for instance for some hints: https://automationforum.in/t/how-to-do-proper-port-settings-configuration-of-rs-485-modbus/1607
As  I wrote far above, both are set to 9600, even, 1 stop bit. Also it's seen on oscillograms provided. Btw, I've already learned how to calculate that. In emergency case, just write me I'll show you how to do that.  ;)
There are not any additional timing settings on both devices.
Both devices (master & slave) are German inventions (world known brands, btw.). Now, we know who sits in german's support deportments and answers to support queries. At best it's a moonlighting student as a practice showed. When we started speaking about half-duplex issues, timing and delaying, they just disappeared from view. Still nobody competent and useful had spoken with us.  :palm:



The bus problem you encountered is for instance a very good opportunity to experiment with extended trigger option (pulse, maybe runt) and also to experiment with segmented memory and pass/fail recognition. A modern DSO provides so many functions that you've probably just skimmed the surface.
  Anyway, I'm sure you're on a good road to reach your goal and you'll finally master the encountered problems if you focus on them.

We know. Do you have something useful for us?

BR
« Last Edit: June 05, 2019, 05:54:38 pm by CiscERsang »
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #65 on: June 05, 2019, 10:17:14 am »
Out of curiousity, does your RS485 bus use any termination, It should not be the cause of an issue, but if something is marginal it may be causing weird things like this. not with reflections of similar, more possibly the idle voltage level and correctly detecting things. as it seems like the current termination doesnt pull the idle level to the same voltage,

for an example, try adding 120 ohms across A and B
 

Offline Kean

  • Supporter
  • ****
  • Posts: 2092
  • Country: au
  • Embedded systems & IT consultant
    • Kean Electronics
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #66 on: June 05, 2019, 10:18:47 am »
Do you have bias resistors on the RS485 bus?
https://www.google.com/search?q=rs485+bias+resistors

I find that they are more important than termination resistors for short cable runs and at slower baud rates, so the bus doesn't idle in an invalid state.  It is somewhat hard to tell from what I've seen above if is this is a collision or biasing issue.
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #67 on: June 05, 2019, 10:58:54 am »
Out of curiousity, does your RS485 bus use any termination, It should not be the cause of an issue, but if something is marginal it may be causing weird things like this. not with reflections of similar, more possibly the idle voltage level and correctly detecting things. as it seems like the current termination doesnt pull the idle level to the same voltage,

for an example, try adding 120 ohms across A and B

Hi there,
A few weeks ago we played with termination. We tried all possible variants and that had not resolved the problem. Much water passed under the bridge (we leveled frames I mean), though. Moreover, the cable has so ridiculous length  ~1m. Definetely we'll try to do that again.


Anyway, thank you.


Do you have bias resistors on the RS485 bus?
https://www.google.com/search?q=rs485+bias+resistors

I find that they are more important than termination resistors for short cable runs and at slower baud rates, so the bus doesn't idle in an invalid state.  It is somewhat hard to tell from what I've seen above if is this is a collision or biasing issue.

If you compare initial oscillogramms with today's, you'll see a huge difference at leveling (before it wasn't leveled at all). Now, it much better than before. It's a result of implementaton of standard biasing. It's not a root issue, though, I think. An amplitude itself is still slightly different. As I wrote above we still can't measure power voltage of master's drive. The manufacturer sweared it's exactly 5.0V. The slave, for its part, has 5.0V, we measured that by themselves.

Anyway, thank you.
« Last Edit: June 05, 2019, 11:01:23 am by CiscERsang »
 

Offline Kean

  • Supporter
  • ****
  • Posts: 2092
  • Country: au
  • Embedded systems & IT consultant
    • Kean Electronics
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #68 on: June 05, 2019, 11:04:34 am »
OK, so it does seem like a collision.  The master may be disabling its driver "too late", or the slave enabling the driver and transmitting "too early".

Also, do you have a common power supply ground between the master and slave?  Maybe connect them using a 100R 1W resistor if you think there might be a voltage difference.
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #69 on: June 05, 2019, 11:31:43 am »
OK, so it does seem like a collision.  The master may be disabling its driver "too late", or the slave enabling the driver and transmitting "too early".

it was discussed at #36 and at related replies.

Also, do you have a common power supply ground between the master and slave?  Maybe connect them using a 100R 1W resistor if you think there might be a voltage difference.

An idea of this standard sounds  e.g. half-duplex (A-B lines & common ground), not more. They must have separated power suplies at least related to TTL levels.
« Last Edit: June 05, 2019, 01:00:33 pm by CiscERsang »
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #70 on: June 05, 2019, 12:50:50 pm »
@tautech,

The Ch3 step timing is as expected before the corrupt bus signals but nevertheless it looks mostly unrelated.

as it's seen a rise edge (blue one) of drive enable signal coincides with the beginning of corruption. Doesn't it?


Still I would take additional care that sufficient local bulk and fast decoupling capacitance is available for the bus devices so to be sure there isn't power rail blips causing the corrupted bus.

Interesting hunt.  :)


I did some study on shematics...
   A capacitance... there's a smd tantalum capacitance in the nearest vicinity (power rail is not more 1.5 cm length). Btw, at the beginning, we tried to solder there an other smd tantalum 4.7 µF. No success...

My guess is, at least it looks so, for some reasons:
  • mostly, the slave's, let's say, its brain processes a query too fast. So, it causes a distortion at the beginning of reply (it's clearly seen on the oscillograms).
  • however, sometimes the slave processes a query as it should be. Please note, it's seen at #57, it left an entire byte behind (I mean an idle space), then began responding.  :-+

Of course, as a cure I would try a timing setting. Unfortunately there's no any timing setting available for the slave or master.  :(

Why such good event occurs not constantly. The story has no records.

BR
« Last Edit: June 05, 2019, 05:50:07 pm by CiscERsang »
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3221
  • Country: pt
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #71 on: June 05, 2019, 02:27:06 pm »
CiscERsang,

I bet the Prof only asked you to buy the Siglent not to procure the solution in EEVBLOG to your problems.

I think you should try harder to solve the problem on your own now that you have clarified the scope's behavior. That's the beauty of the thing!
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #72 on: June 05, 2019, 02:40:21 pm »
CiscERsang,

I bet the Prof only asked you to buy the Siglent not to procure the solution in EEVBLOG to your problems.

I think you should try harder to solve the problem on your own now that you have clarified the scope's behavior. That's the beauty of the thing!

another one... If you have something useful to say, you are welcome. If you just want to   :blah: :blah:. let me say, don't interfere with us please.
« Last Edit: June 05, 2019, 02:51:32 pm by CiscERsang »
 

Offline TurboTom

  • Super Contributor
  • ***
  • Posts: 1389
  • Country: de
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #73 on: June 05, 2019, 04:44:09 pm »
...
We know. Do you have something useful for us?

BR

Thank you, I'm out of this and you've got the honor of being the first EEVBLOG member on my "ignore" list.

All the best,
Thomas
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #74 on: June 05, 2019, 10:46:26 pm »
@tautech,

The Ch3 step timing is as expected before the corrupt bus signals but nevertheless it looks mostly unrelated.

as it's seen a rise edge (blue one) of drive enable signal coincides with the beginning of corruption. Doesn't it?


Still I would take additional care that sufficient local bulk and fast decoupling capacitance is available for the bus devices so to be sure there isn't power rail blips causing the corrupted bus.

Interesting hunt.  :)


I did some study on shematics...
   A capacitance... there's a smd tantalum capacitance in the nearest vicinity (power rail is not more 1.5 cm length). Btw, at the beginning, we tried to solder there an other smd tantalum 4.7 µF. No success...

My guess is, at least it looks so, for some reasons:
  • mostly, the slave's, let's say, its brain processes a query too fast. So, it causes a distortion at the beginning of reply (it's clearly seen on the oscillograms).
  • however, sometimes the slave processes a query as it should be. Please note, it's seen at #57, it left an entire byte behind (I mean an idle space), then began responding.  :-+

Of course, as a cure I would try a timing setting. Unfortunately there's no any timing setting available for the slave or master.  :(

Why such good event occurs not constantly. The story has no records.

BR
Image embedded for context.

Observations and questions to consider.
Where you mark the start of corruption might also seem like a jump to slave bus levels as signals from the master Ch1 increases in amplitude while Ch2 decreases. Confusing.
Ch3, the TTL (something) is apparently negative and positive going....also confusing.
Is Ch3 from the master or slave side of the bus ?

I'm out of ideas of where to look next other than replicate the devices and bus traffic on another custom PCB so you can prove the problem lies with the master, slave, code or supply rails or some undiscovered combination of them.

As for advice on possible packet collisions, this is out of my experience so I advise you to listen to contributions made from other members.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #75 on: June 06, 2019, 07:40:33 am »

Where you mark the start of corruption might also seem like a jump to slave bus levels as signals from the master Ch1 increases in amplitude while Ch2 decreases. Confusing.
Yes, this looks as an untimely jump, because it's already slave's bus levels (so-called mark state). I wrote about this somewhere above. We managed to level both buses frames (biasing). However, a difference at amplitude still persists.

Ch3, the TTL (something) is apparently negative and positive going....also confusing.
Is Ch3 from the master or slave side of the bus ?
Ch3 hangs on slave's signal line called driver enable. So to speak, between brain and driver.


I'm out of ideas of where to look next other than replicate the devices and bus traffic on another custom PCB so you can prove the problem lies with the master, slave, code or supply rails or some undiscovered combination of them.

As for advice on possible packet collisions, this is out of my experience so I advise you to listen to contributions made from other members.

We are out of ideas too (except timing), and not only we, judging on yesterday's replies from some other people which were out of ideas long before us and had started writing beside the point.

Anyway, thank you that didn't leave us  :-+


 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #76 on: June 06, 2019, 07:52:43 am »
Ch3, the TTL (something) is apparently negative and positive going....also confusing.
Is Ch3 from the master or slave side of the bus ?
Ch3 hangs on slave's signal line called driver enable. So to speak, between brain and driver.

Let's investigate this more.

So for that 20 odd volt p-p 'driver enable', how is that electrically related to the slave ?
Its enable signal tells the slave to transmit right ?
How is that 20V p-p signal interfaced with the slave that transmits at a much lower level ?
What is the max rated input into the slave's enable pin ?

Can you share with us the device type or a link to the slaves datasheet ?
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #77 on: June 06, 2019, 07:54:13 am »

So for that 20 odd volt p-p 'driver enable', how is that electrically related to the slave ?

This is OEM PCBs. Mostly comprises smd 1204 size and less. It's quite tough to draw that. I had to make a sketch. Please see attachment.

Its enable signal tells the slave to transmit right ?
exactly!

How is that 20V p-p signal interfaced with the slave that transmits at a much lower level ?

It's hard to say. I need more time to trace that PCB based on 1204 smd components and PCB also has three or more layers, I think.

What is the max rated input into the slave's enable pin ?
Please see attachment. Note, CH3 hung on not directly on DE (drive enable) pin.  I need to perform some work to hang on that directly (solder a wire).



« Last Edit: June 06, 2019, 08:59:32 am by CiscERsang »
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #78 on: June 06, 2019, 09:16:39 am »
What is the max rated input into the slave's enable pin ?
Please see attachment. Note, CH3 hung on not directly on DE (drive enable) pin.  I need to perform some work to hang on that directly (solder a wire).
OK please check the levels directly into the DE pin.

If we study the screenshot again:


We can see above Ch3 goes quite negative and beyond the absolute max rating of -0.5V.



For those playing along, here's the datasheet:
https://datasheets.maximintegrated.com/en/ds/MAX1487-MAX491.pdf
« Last Edit: June 06, 2019, 09:19:15 am by tautech »
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #79 on: June 06, 2019, 09:27:07 am »

We can see above Ch3 goes quite negative and beyond the absolute max rating of -0.5V.


Please point me out a place where Ch3 begins going negative. I can't see that.

As soon as I make proper measuremnts I will make an update.

« Last Edit: June 06, 2019, 09:30:10 am by CiscERsang »
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #80 on: June 06, 2019, 09:35:52 am »

We can see above Ch3 goes quite negative and beyond the absolute max rating of -0.5V.


Please point me out a place where Ch3 begins going negative. I can't see that.
See the Ch3 marker at the left edge of the screenshot, any part of the waveform when DC input coupled below the marker is a negative voltage.
Yes sorry, I should have been more clear, it's already negative and going positive at the start of the bus corruption.

Still, where you have measured this DE value it is clearly negative and beyond the IC's acceptable ratings.
You need to check it again on the IC DE pin.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #81 on: June 06, 2019, 09:37:59 am »
See the Ch3 marker at the left edge of the screenshot, any part of the waveform when DC input coupled below the marker is a negative voltage.
Yes sorry, I should have been more clear, it's already negative and going positive at the start of the bus corruption.

Still, where you have measured this DE value it is clearly negative and beyond the IC's acceptable ratings.
You need to check it again on the IC DE pin.

I've got that.

A couple of days ago I wanted to ask you what's function of those markers on the left side. :)
« Last Edit: June 06, 2019, 09:47:26 am by CiscERsang »
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #82 on: June 06, 2019, 10:04:33 am »
See the Ch3 marker at the left edge of the screenshot, any part of the waveform when DC input coupled below the marker is a negative voltage.
Yes sorry, I should have been more clear, it's already negative and going positive at the start of the bus corruption.

Still, where you have measured this DE value it is clearly negative and beyond the IC's acceptable ratings.
You need to check it again on the IC DE pin.

I've got that.

A couple of days ago I wanted to ask you what's function of those markers on the left side. :)
Simply they're the 0V (no signal) channel markers and their position in volts (relative to mid display 0V) is also on the channel tab below the V/div setting. If you place them off the display their shape changes to a pointer that indicates the channel is positioned off the display.
Any channel can be re-positioned to the middle of the display (0V) with just a press of the active channels vertical position encoder.
All of the encoders have additional press functions that are written in small text below each encoder.
« Last Edit: June 06, 2019, 10:10:01 am by tautech »
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 
The following users thanked this post: CiscERsang

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #83 on: June 06, 2019, 08:48:40 pm »
@tautech,
as you asked...


An update:

please refer to homemade el.diagram where coloured points are measurement points. Also please refer to file names they are also meaningful.

  • slave's el.diagram;
  • common  view not readable reply;
  • common view readable reply; 
  • zoomed not readable reply;
  • zoomed readable reply;
  • dancing timing sample 00
  • dancing timing sample 01

An observation:

There have been done a few dozen of queries. I wouldn't say that dancing timing had affected significantly to unreadable/readable.
Unlike dancing timing, corrupted start bit's top was always affecting to unreadable/readable.

BR

I had to figure out a place of start bit. Since I'm already a huge expert on decoding differencial buses.  :) It was quite easy to figure out a place of that bit. I'm halfway, a sudden thought... It's UART's frame, I can force Siglent to do that.  :-DD Siglent's decoding looks nice.  :-+ Anyway, I fiinished that by myself.
« Last Edit: June 07, 2019, 06:38:12 am by CiscERsang »
 

Online Electro Fan

  • Super Contributor
  • ***
  • Posts: 3199
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #84 on: June 07, 2019, 06:03:04 am »
A couple other ideas:

1. Take a short break from your R485 project and probe and decode something easy like R232 on a PC, or maybe I2C with Arduinos just to confirm you are fully familiar with Siglent decoding basics.  Either you will confirm that everything is operating just the way you think or you will discover something new about Siglent probing and decoding - which might or might not be applicable to your RS485 project.

2. Once you reconfirm your Siglent decoding bearings then try a new different RS485 DUT setup - find a different set of hardware to test.  If by chance you can decode the new RS485 DUT setup then we know there is some obscure problem with your current hw DUT or the general setup, but at least you will have gained some confidence in your Siglent RS485 decoding skills.
« Last Edit: June 07, 2019, 06:05:05 am by Electro Fan »
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #85 on: June 07, 2019, 06:10:07 am »
A couple other ideas:

1. Take a short break from your R485 project and probe and decode something easy like R232 on a PC, or maybe I2C with Arduinos just to confirm you are fully familiar with Siglent decoding basics.  Either you will confirm that everything is operating just the way you think or you will discover something new about Siglent probing and decoding - which might or might not be applicable to your RS485 project.

2. Once you reconfirm your Siglent decoding bearings then try a new different RS485 DUT setup - find a different set of hardware to test.  If by chance you can decode the new RS485 DUT setup then we know there is some obscure problem with your current hw DUT or the general setup, but at least you will have gained some confidence in your Siglent RS485 decoding skills.

Dear Electro Fan,

we are not experiencing any problem with decoding buses. We are ok, Siglent is ok.  :)

you need to read posts a bit carefully. Prefereable from the beginning.

Sorry, no offence, mate

« Last Edit: June 07, 2019, 06:20:09 am by CiscERsang »
 

Online Electro Fan

  • Super Contributor
  • ***
  • Posts: 3199
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #86 on: June 07, 2019, 06:14:42 am »
I’ve read your entire thread, mate.
 

Online Electro Fan

  • Super Contributor
  • ***
  • Posts: 3199
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #87 on: June 07, 2019, 06:18:53 am »
If you are ok, and your Siglent decoding skills are ok, then prove it by successfully decoding another RS485 DUT setup.  After you do that you can look for differences in the two setups with substitutions, test by test.
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #88 on: June 07, 2019, 06:29:37 am »
We don't decode bus frames by themselves (senselessly, I've done that once, though). It does special proven equipment (so-called Master). It works fine with various other RS485 devices (slaves).

BR
 

Online Electro Fan

  • Super Contributor
  • ***
  • Posts: 3199
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #89 on: June 07, 2019, 07:48:21 am »
Have you tried another Master?
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #90 on: June 07, 2019, 07:56:13 am »
Have you tried another Master?

it was first what we had done. This is very specifical issue. This is question of adaptation, so to speak.
« Last Edit: June 07, 2019, 08:02:19 am by CiscERsang »
 

Online Electro Fan

  • Super Contributor
  • ***
  • Posts: 3199
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #91 on: June 07, 2019, 08:01:55 am »
Have you tried another Master?

it was first what we had done.

And that would mean

a) you have tried only one Master so far

or

b) the first thing you did to figure out the problem was to try a second Master

Which is it:  a or b ?
« Last Edit: June 07, 2019, 08:10:12 am by Electro Fan »
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #92 on: June 07, 2019, 08:13:05 am »
Can’t help much as I’m away but I want you to reset the V/div back to Coarse for each channel by pressing the V/div encoder.
Then enter Measure and select a V p-p for each channel in use.

These two things will help to see amplitude at just a glance and also keep waveform amplitude in a better relationship to each other.
Then you can overlay waveforms for better visibility of timing relationships.

I’m still watching if/when I can.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #93 on: June 07, 2019, 08:18:20 am »


And that would mean

a) you have tried a only one Master so far

or

b) the first thing you did to figure out the problem was to try a second Master


b)

In other words, both Masters work fine with various other slaves and work unstable with only one type of equipment which is described here.
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #94 on: June 07, 2019, 08:19:25 am »
Can’t help much as I’m away but I want you to reset the V/div back to Coarse for each channel by pressing the V/div encoder.
Then enter Measure and select a V p-p for each channel in use.

These two things will help to see amplitude at just a glance and also keep waveform amplitude in a better relationship to each other.
Then you can overlay waveforms for better visibility of timing relationships.

I’m still watching if/when I can.

ok, tautech.
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #95 on: June 08, 2019, 04:54:04 am »
Can’t help much as I’m away but I want you to reset the V/div back to Coarse for each channel by pressing the V/div encoder.
Then enter Measure and select a V p-p for each channel in use.

These two things will help to see amplitude at just a glance and also keep waveform amplitude in a better relationship to each other.
Then you can overlay waveforms for better visibility of timing relationships.

I’m still watching if/when I can.
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #96 on: June 08, 2019, 05:20:47 am »
Nice.  :)
You do have enough vertical realestate to show both waveforms at the same V/div setting as now we’re not so interested in amplitude more so timing relationship between EN and the start of the packet.
You can speed things up more with the timebase control but to keep things in better perspective this is where I’d use the dual (Zoom) timebase to examine the glitch in fine detail. You can slow the main timebase down heaps if you still have the trigger catching the EN and speed up in Zoom to see just the glitch.

One more thing I’m not understanding is the size of your screenshots as they should be only ~50kb max when got with the Print button to USB.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #97 on: June 08, 2019, 06:12:42 am »
Nice.  :)
You do have enough vertical realestate to show both waveforms at the same V/div setting as now we’re not so interested in amplitude more so timing relationship between EN and the start of the packet.


One thing confuses me: We have ~6 V amplitude at both input terminals. In datasheet is written max.ratings -0.5...5.0V at these inputs. Is this an amplitude mentioned? Should we consider that?
Or?



One more thing I’m not understanding is the size of your screenshots as they should be only ~50kb max when got with the Print button to USB.

That's web-server production, see our current network config description above at #34. We don't use USB function at all.


Btw, while scope usage I noticed some things (IMHO), that could be implemented in the next FW issues.  That's not so hard to do (hardware independent stuff). ;)
« Last Edit: June 08, 2019, 03:51:03 pm by CiscERsang »
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #98 on: June 08, 2019, 06:31:51 am »
Hard to get quotes correct on an iPad so respective replies

The IC output levels are related to their VCC/VDD plus DSO measurements are indicative NOT accurate like a DMM. Another thing to consider is the displayed info that the measurements are taken from.
Slow the timebase and have more waveforms displayed and measurements will be more precise.

Ok webserver, I did wonder, anyway great you’re using it here.  :)

Any improvement suggestions post them here, the 4ch X-E thread or PM me.
Probably the X-E thread so to get others discussing too and/or support for them.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline Kean

  • Supporter
  • ****
  • Posts: 2092
  • Country: au
  • Embedded systems & IT consultant
    • Kean Electronics
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #99 on: June 08, 2019, 02:06:37 pm »
One thing confuses me: We have ~6 V amplitude at both input terminals. In datasheet is written max.ratings -0.5...5.0V at these inputs.

Yes, this is because whoever designed this circuit took shortcuts leading to a poor design.  They relied on the 49k resistors to limit current from the +/-10V MAX232 outputs into the 5V CMOS MAX485 driver chip inputs.  The internal ESD protection diodes try to clamp the weaker signal, but by doing this they've potentially compromised signal integrity.

It is interesting that they used a schottky diode on the driver enable signal and not the driver input.  I was going to suggest you may have missed that on your reverse engineered schematic, but you can see the difference this makes in your last captures.  Both signals exceed the 5V Vcc upper bound of the MAX485 chip, but the DI signal also possibly exceeds the lower bound by going below -0.5V.

I would make two suggestions to try narrow the problem down, but they may take a little effort:
1. Remove the 49k resistors, and insert a TTL or CMOS inverter from the signal on the other side of the MAX232 into the MAX485 inputs.  This should give uncompromised waveforms, and help you determine if this part of the circuit (lazy level shifting) is causing your problems.
2. Monitor both the DI signal into the MAX485, and the RO signal on the matching driver in the slave.  Do this in the same capture and compare them to see if the data is being corrupted.  You may also need to do the reverse for the response comparing the slave DI pin to the master RO pin.  Trigger off the respective DE pin.  You said the cable between the master and slave is only 1m, so I'm guessing this shouldn't be hard - but be aware the scope grounds will directly connect the master & slave grounds.

If the master and slave use different UART master clocks & dividers then their baud rates could be right near the edge of tolerance (e.g. opposite ends of tolerance) and thus any compromised start bits could cause loss of communications.  Somewhat unlikely at a slow baud rate like 9600, but who knows what you may find when other short cuts have clearly been taken.  Much more likely there is bit corruption at the leading or trailing edges of the data packets due to poor inter-packet timing control.  You have already shown that the timing control of the DE pin on the master is inconsistent.

Also what you haven't shown is how the MAX485 RO pin is handled.  If it also goes through the MAX232 (for inverting) is may also be compromising the receive data waveforms as seen by the UARTs.
 
The following users thanked this post: CiscERsang

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #100 on: June 08, 2019, 03:47:06 pm »
Yes, this is because whoever designed this circuit took shortcuts leading to a poor design.  They relied on the 49k resistors to limit current from the +/-10V MAX232 outputs into the 5V CMOS MAX485 driver chip inputs.  The internal ESD protection diodes try to clamp the weaker signal, but by doing this they've potentially compromised signal integrity.
a small remark,

TTL/CMOS <---> MAX232 <---> RS232 <---> MAX485,

because MAX232 is TTL/CMOS -->RS232 converter.


It is interesting that they used a schottky diode on the driver enable signal and not the driver input.  I was going to suggest you may have missed that on your reverse engineered schematic, but you can see the difference this makes in your last captures.  Both signals exceed the 5V Vcc upper bound of the MAX485 chip, but the DI signal also possibly exceeds the lower bound by going below -0.5V.



No, that's not a mistake.


Also what you haven't shown is how the MAX485 RO pin is handled.  If it also goes through the MAX232 (for inverting) is may also be compromising the receive data waveforms as seen by the UARTs.


please find el.diagram update.

All other things at processing phase. 
« Last Edit: June 09, 2019, 05:55:55 am by CiscERsang »
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #101 on: June 10, 2019, 10:35:39 pm »
Spotted some tips that might be useful to link here:
https://www.eevblog.com/forum/beginners/rs-485-protection/
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 
The following users thanked this post: CiscERsang

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #102 on: June 24, 2019, 12:09:42 pm »
@tautech,
could you test decoding in a way as it's shown. It seems it doesn't know 'question mark'. The decoding conditions are ok. A message sounds like WHY?;
If it will be confirmed by your test, please put it in my list. You know which one.  ;)

One more question, a timebase 200us next 500us. There's nothing between them. Is it a standard, or?

BR
« Last Edit: June 24, 2019, 12:19:00 pm by CiscERsang »
 

Offline tinhead

  • Super Contributor
  • ***
  • Posts: 1918
  • Country: 00
    • If you like my hacks, send me a donation
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #103 on: June 24, 2019, 07:34:47 pm »
One more question, a timebase 200us next 500us. There's nothing between them. Is it a standard, or?

i would not call standard but common, one can find e.g. 1:2:5 or 2:4:8 based scales (there are others as well, like 1:2.5:5). Some manufacturers provides as well fine timebase adjustment (not that one need every day 127ns/DIV, but yeah, having 2:4:8 based gear with fine adj allows me to adjust my screen similar to other gear, which is 1:2:5 based).
I don't want to be human! I want to see gamma rays, I want to hear X-rays, and I want to smell dark matter ...
I want to reach out with something other than these prehensile paws and feel the solar wind of a supernova flowing over me.
 
The following users thanked this post: CiscERsang

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #104 on: June 24, 2019, 10:45:02 pm »
@tautech,
could you test decoding in a way as it's shown. It seems it doesn't know 'question mark'. The decoding conditions are ok. A message sounds like WHY?;
If it will be confirmed by your test, please put it in my list. You know which one.  ;)
Sorry I only have STB-3 with UART to check with so cannot check that '?' is recognized correctly.
Maybe RS485 has a different character set, I do not know.

Quote
One more question, a timebase 200us next 500us. There's nothing between them. Is it a standard, or?
There is always another way to get the info you seek, sure in CRO days we had a Fine timebase but today we have the more useful Zoom mode that especially with Decode allows us to keep a better track of where the byte of interest is in relation to the entire packet or data string.
I encourage you to get competent with Zoom and learn how to examine each byte in detail using the Horizontal position control.
Generally it's best to select 50ms/div (just below auto Roll mode) for full memory depth and to get as much info on the display before selecting Zoom and then use the zoomed timebase and H Pos to get the info you seek on the zoomed window.
The blue V trigger position indicator indicates where you are in both un-zoomed and zoomed windows.
Remember also that all of the encoders have a dual use, rotate for movement/adjustment and press for reset to 0, coarse adjustment, 50% etc.




Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 
The following users thanked this post: CiscERsang

Offline CiscERsangTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: za
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #105 on: June 25, 2019, 04:13:47 am »
Sorry I only have STB-3 with UART to check with so cannot check that '?' is recognized correctly.
I can read/write novels. Since the receive memory = 4096 byte,  the transmit memory = 1023 bytes;

Maybe RS485 has a different character set, I do not know.
Since this signal was taken from MAX232 output leads, that means it's pure UART signal. Not differential one.  :-+ So, please put it in my list of wishes.  :)



I encourage you to get competent with Zoom and learn how to examine each byte in detail using the Horizontal position control.
I used Zoom sometimes. However, a question had arisen, why there's so big time gap between 200us and 500us. So, I asked you.

thank you.

« Last Edit: June 25, 2019, 04:32:16 am by CiscERsang »
 

Offline tinhead

  • Super Contributor
  • ***
  • Posts: 1918
  • Country: 00
    • If you like my hacks, send me a donation
Re: Our Prof. ordered us to purchase one Siglent SDS1104X-E...
« Reply #106 on: June 25, 2019, 09:11:40 am »
why there's so big time gap between 200us and 500us.

#103

it is 1:2:5 based scale, nothing else
I don't want to be human! I want to see gamma rays, I want to hear X-rays, and I want to smell dark matter ...
I want to reach out with something other than these prehensile paws and feel the solar wind of a supernova flowing over me.
 
The following users thanked this post: CiscERsang


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf