Author Topic: Problem decode UART on DSlogic  (Read 283 times)

0 Members and 1 Guest are viewing this topic.

Offline arcticfish

  • Newbie
  • Posts: 4
  • Country: 00
Problem decode UART on DSlogic
« on: September 05, 2019, 04:40:01 am »
Hi all,

Anyone has a DSlogic able to advise? I just bought a DSlogic to test out. To test this newly bought LA and the DSview whether it work as expected, I used a serial terminal software in my setup to send a ascii text "testing" to USB-RS485 device, then to the LA probe, and LA capture and send the reading to the DSview. The DSview was able to display 7 characters captured but it showed all zero on the data. Is there anything I did wrong?

You may refer to attachment for my setup.

Your advise is greatly appreciated

« Last Edit: September 05, 2019, 05:10:11 am by arcticfish »
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 7345
  • Country: nz
Re: Problem decode UART on DSlogic
« Reply #1 on: September 05, 2019, 05:17:27 am »
RS485 is differential. I think that's your first problem.

I don't know much about DSlogic but i would assume the inputs are ground ref not differential.
Greek letter 'Psi' (not Pounds per Square Inch)
 
The following users thanked this post: arcticfish

Offline arcticfish

  • Newbie
  • Posts: 4
  • Country: 00
Re: Problem decode UART on DSlogic
« Reply #2 on: September 05, 2019, 03:14:34 pm »
Thanks PSI. I got it, it was the differential wiring mistake.  |O

I still require some figuring how this software work. Not sure why the signal invert box has to be checked in DSview in order to see the corrected data.


 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 7345
  • Country: nz
Re: Problem decode UART on DSlogic
« Reply #3 on: September 06, 2019, 04:16:54 am »
Not sure why the signal invert box has to be checked in DSview in order to see the corrected data.

Some serial standards are inverted with respect to others.
So no matter what default they decide to use in the software someone will need invert enabled to get correct data.
Greek letter 'Psi' (not Pounds per Square Inch)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf