Author Topic: RS232 intermitted issue  (Read 885 times)

0 Members and 1 Guest are viewing this topic.

Offline tzc24Topic starter

  • Newbie
  • Posts: 3
  • Country: my
RS232 intermitted issue
« on: April 26, 2024, 07:06:37 am »
Hi,

I connected the DP9 with RS232 to communicate to the PPMC board through TeraTerm software. In order for me to configure my PPMC board i would need to choose the Boot from 0xfff00000 <P1000 vxWorks>? but due to this is not the first priority so i need to press"n" from my PC to PPMC board trough the RS232 protocol but when i press "n" sometime the PPMC board able to get respond but sometime it is not. If anyone had encountered the similar issue before?

Attached with the TeraTerm screenshot.

Kindly advice on this.

Thank you.

Best Regards,
tzc
 

Offline xvr

  • Frequent Contributor
  • **
  • Posts: 434
  • Country: ie
    • LinkedIn
Re: RS232 intermitted issue
« Reply #1 on: April 26, 2024, 07:00:44 pm »
Check the voltage level on TX pin of PC. RS232 demand negative voltage there (+/- 12V as I remember). Some PC will not provide negative at all and reduced positive (about 5-10V). Not all RS232 receivers accept this.
 

Offline aliarifat794

  • Regular Contributor
  • *
  • !
  • Posts: 138
  • Country: bd
Re: RS232 intermitted issue
« Reply #2 on: April 27, 2024, 03:11:15 pm »
You can try a different terminal emulation software, such as PuTTY or HyperTerminal, to see if the issue persists.
 

Offline tzc24Topic starter

  • Newbie
  • Posts: 3
  • Country: my
Re: RS232 intermitted issue
« Reply #3 on: April 27, 2024, 11:49:48 pm »
I had checked all the tx voltage there are no abnormality found.
 

Offline tzc24Topic starter

  • Newbie
  • Posts: 3
  • Country: my
Re: RS232 intermitted issue
« Reply #4 on: April 27, 2024, 11:52:04 pm »
You can try a different terminal emulation software, such as PuTTY or HyperTerminal, to see if the issue persists.

I have tried different terminal and unfortunately all come out with the same output.
 

Offline m k

  • Super Contributor
  • ***
  • Posts: 2485
  • Country: fi
Re: RS232 intermitted issue
« Reply #5 on: May 01, 2024, 04:42:09 pm »
What kind of cable you have?

Could be a transient if pins are not connected but still in use.
Or ground current if both ends of cable shield are connected and potential difference is enough.
Advance-Aneng-Appa-AVO-Beckman-Danbridge-Data Tech-Fluke-General Radio-H. W. Sullivan-Heathkit-HP-Kaise-Kyoritsu-Leeds & Northrup-Mastech-OR-X-REO-Simpson-Sinclair-Tektronix-Tokyo Rikosha-Topward-Triplett-Tritron-YFE
(plus lesser brands from the work shop of the world)
 

Offline JustMeHere

  • Frequent Contributor
  • **
  • Posts: 818
  • Country: us
Re: RS232 intermitted issue
« Reply #6 on: May 01, 2024, 07:33:36 pm »
Make sure your flow control is configured correctly.   

This could be caused by software flow control not being turned on.  So if it's required, then that's probably your problem.

Also make sure bits-parity-stop settings are correct.
 

Offline CaptDon

  • Super Contributor
  • ***
  • Posts: 2067
  • Country: is
Re: RS232 intermitted issue
« Reply #7 on: May 02, 2024, 12:47:40 am »
I am not sure if your board needs only three wires, Pin 2,3 and 5 for TX, RX and ground OR if it wants all 9 pins available for things like CTS, RTS and so forth. If flow control is used it is probably hardware implemented and not software implemented. Software X-On / X-Off went out with the dinosaurs but CTS / RTS is still popular with the RS-232 signalling. 99% of RS-232 devices will work fine with +/- 5 volt signalling levels and probably 80% will work with levels as low as +/- 3 volts. Fast baud rates are evil with marginal cables and marginal signal levels!! 115K Baud gets iffy in probably 50% of all the stuff I have had to service. Can you get both ends to slow down to 38.4K Baud? This will often be more reliable.
Collector and repairer of vintage and not so vintage electronic gadgets and test equipment. What's the difference between a pizza and a musician? A pizza can feed a family of four!! Classically trained guitarist. Sound engineer.
 

Offline Retirednerd2020

  • Regular Contributor
  • *
  • Posts: 73
  • Country: us
Re: RS232 intermitted issue
« Reply #8 on: May 02, 2024, 04:54:27 pm »
Serial configuration as others have suggested, and:

Look at the serial signals both ways with an oscilloscope and measure the bit rate both ways.  Do they match?  I have seen bad DUT clock (mis-configured or wrong crystal or other problem) cause serial issues.
With a short cable ~3-12 Feet (1-4 Meters) , I've not had issues with 115,200 Baud if the bit-rates are within/near what they should be.
 

Offline JustMeHere

  • Frequent Contributor
  • **
  • Posts: 818
  • Country: us
Re: RS232 intermitted issue
« Reply #9 on: May 02, 2024, 08:41:52 pm »
Software X-On / X-Off went out with the dinosaurs

But it's still widely used in point-of-sale systems.  So you can't pretend it doesn't still exist.  Why use it?  It makes it easy to have printers a long distance from their terminal.  Since you only need TX, RX, and GND. 
« Last Edit: May 02, 2024, 10:10:16 pm by JustMeHere »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf