serial Flowcontrol


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2006
    Posts
    60

    Default serial Flowcontrol

    Hello

    How can I use flowcontrol in my code for serial communication?
    My board receive data from other device over serial port (inverted, also no MAX232 device), but I need to control the incomming data then I need time to execute few things after receive the data and in this time the sending device do not send any data, have anyone a idea how can I do that?

    Thanks

    Regards
    Pedro

  2. #2
    Join Date
    Oct 2004
    Location
    Hangover, Germany
    Posts
    289


    Did you find this post helpful? Yes | No

    Default

    You can use hardware- or software-flowcontrol.

    Each flowcontrol you use must be supported by the sending device !

    hardware-flowcontrol:
    the sender sets RTS in order to ask, if the MODEM (this old things) is ready to receive data. The modems answer by setting CTS. Your part is to lower and higher the CTS-signal.
    DTR is set by the Sender (Terminal) and DSR is set by the MODEM after power-on.

    software-flowcontrol:
    If you are full, to send a Ctrl-S (XOFF) and if you have completed your work, send Ctrl-Q (XON).
    PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2

Similar Threads

  1. Replies: 33
    Last Post: - 19th March 2010, 03:02
  2. Dynamic USB Serial Number (PIC18F4550)
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 16th July 2009, 17:03
  3. Parsing Serial data stream
    By boroko in forum Serial
    Replies: 5
    Last Post: - 26th October 2008, 11:12
  4. PIC18F4680 to PC via MAX232 (RS232 serial) no output
    By opticsteam1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th April 2008, 20:39
  5. interfacing to the pc serial port
    By kelangfei in forum General
    Replies: 4
    Last Post: - 7th October 2007, 22:35

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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