home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / dosunde / 182 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.7 KB  |  42 lines

  1. Newsgroups: comp.unix.dos-under-unix
  2. Path: sparky!uunet!ukma!usenet.ins.cwru.edu!icd.ab.com!tinman.mke.ab.com!pingel
  3. From: pingel@tinman (Bob Pingel (4439))
  4. Subject: Serial Comms under SunPC 3.0
  5. Message-ID: <1992Nov9.174626.24487@tinman.mke.ab.com>
  6. Sender: usenet@tinman.mke.ab.com (NetNews server account)
  7. Nntp-Posting-Host: 130.151.83.153
  8. Organization: Allen-Bradley Co.
  9. X-Newsreader: Tin 1.1 PL5
  10. Date: Mon, 9 Nov 1992 17:46:26 GMT
  11. Lines: 29
  12.  
  13. I am attempting to do serial comms under SunPC 3.0.  I am having difficulties
  14. with the control lines.
  15.  
  16. When I send out a packet I set RTS and clear DTR.  Upon receiving a 
  17. transmit shift register empty (TSRE) I set DTR and clear RTS so that I can
  18. receive again.  The last switch of the control lines takes up to 4 seconds.
  19. Because of the time lag the device on the other end of the link has to wait
  20. a while before it can send.
  21.  
  22. This same code works fine on a regular PC.  My comms driver is written
  23. in assembly and I am diddling directly with the "UART" (no BIOS interface).
  24.  
  25. Any clues????
  26.  
  27. Bob Pingel
  28.  
  29.  
  30. --
  31. ____________________________________________________________________________
  32.                                                                  ___
  33.  Robert M. Pingel (414) 382-4439                   /\           |   \        
  34.  Electronic Operator Interface Development        /  \          |    |       
  35.  Allen-Bradley Company - Milwaukee               /____\  _____  |----\       
  36.  1201 South Second Street                       /      \        |     |      
  37.  Milwaukee, Wisconsin 53201                    /        \       |____/       
  38.                                            A Rockwell International Company
  39.  Internet: pingel@oieng.mke.ab.com      
  40.  MS Mail: abmke/oil/pingel
  41.  
  42.