Menu

eusart cts and rts

Help
2017-12-06
2017-12-07
  • David Stephenson

    I am unfamiliar with serial (RS232) communication. What I am trying to do is connect up a FT230XS (serial to USB) to a pic16f18326. So what do I do with the Clear-To-Send and Ready-To-send Pins?

     
  • William Roth

    William Roth - 2017-12-06

    It depends upon the application. If you do not need CTS or RTS, then leave them open /disconnected..

    If used as a programmer for Arduino you will need both RTS and CTS. If used a a programmer for PIC with TinyBootloader you will need RTS.

     
  • David Stephenson

    I'm not using it for programming. I am using it to transfer data from external flash memory (A25L080) to my computer. So A25L080 to PIC16F18326 (via SPI) then 16F18326 to FT230X (via serial) then to the computer via USB.
    The FT230X has a definite CTS and RTS pins (and of course TXD and RXD), but I don't see any reference to how to connect these pins in the GCB help file.

     
  • William Roth

    William Roth - 2017-12-07

    GCB Serial libraries do not support CTS or RTS. Therefore there would not be anything in the Help concerning these.

    How is the computer receiving the serial data? Is there a specific application? Does it require CTS/RTS handshaking? (More info is required).

    If you need RTS/CTS handshaking then you could use any two PIC I/0 pins with RTS as an ouput and CTS as an input. Connect RTS and CTS from the FDTI device to any two pins on the PIC, Then you will need to work out the handshaking protocol (if needed)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.