Find the answer to your Linux question:
Results 1 to 2 of 2
hi 1. can we communicate between a window machine and rtos machine using serial port... 2. can we set reset RTS and CTS lines ...is there any special care to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    1

    Question Rts/cts Set Not Set


    hi

    1. can we communicate between a window machine and rtos machine using serial port...
    2. can we set reset RTS and CTS lines ...is there any special care to be taken with regards to network byte order or something....

    3. how can we check the status of RTS using linux programming.....

  2. #2
    Just Joined!
    Join Date
    Jun 2006
    Posts
    29

    Post

    1. can we communicate between a window machine and rtos machine using serial port...
    YES,

    2. can we set reset RTS and CTS lines ...is there any special care to be taken with regards to network byte order or something....

    We can reset RTS and CTS by using
    outb (0x02, PORT+4); // PORT may be 0x3F8/0x2F8
    outb(0x10, PORT+6); this is reference to little endian mode


    Any how untill you need handshaking there is no reqirement of this. Even in hardware use RX, TX and Gnd.. 3 pins only, serial cable should be cross connected (check this once again)

    3. how can we check the status of RTS using linux programming.....

    to check the satus read this PORT+4, PORT+6


    hope this helps ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •