Menu

Dual Serial Ports

sashiono
2006-07-23
2013-04-17
  • sashiono

    sashiono - 2006-07-23

    I think I saw an example of a dual serial port driver for the lpc but using keil. That would be a useful example.

     
    • Bertrik Sikken

      Bertrik Sikken - 2006-08-19

      I have not looked into this (and I probably won't in the near future), but if you have some code for it I can have a look and try to add it.

       
    • sashiono

      sashiono - 2006-10-24

      the Code is posted in http://tech.groups.yahoo.com/group/lpc2000/files/
      the file name is VirtualCOM.zip, down at the bottom.

      copy and pasted from the source code:
      /* Two interface descriptor for 2 Virtual COM port,, each VCOM uses 3 endpoints */
      /* The total number of endpoints are 6, 2 interrupt IN for modem status reading,
      2 BULK OUT for COM TX, and 2 BULK IN for COM RX */

      The reasoning behind the dual serial ports is mainly for debugging. As my application uses one of the ports, I'd like to have another for printing out debug messages. And both of my actual uarts are connected to hardware.

       

Log in to post a comment.