Shop OBEX P1 Docs P2 Docs Learn Events
UART communication in Propeller — Parallax Forums

UART communication in Propeller

core88core88 Posts: 1
edited 2014-11-26 13:17 in General Discussion
I am posting this here as I could not find any relevant section in the forum: I have a P8X32A QuickStart board. I want to interact with the board from a graphical user interface (GUI). I am making the GUI in C#. I searched for UART communication for parallax board but could not find any information about it. I found some tutorials on serial port communication.
What I am doing right now is that I am trying to write to a serial port in my laptop from the GUI and read through the UART in the parallax board.
What would be best way to accomplish this task ? Your help would be very much appreciated.

Comments

  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-11-26 11:46
    The Propeller uses a software UART. Parallax Serial Terminal.spin is one of several possible "objects" you could use to add a UART.

    The code I attached to this post includes an example of using PC to Prop communication.

    I've listed various QuickStart demos and projects in this thread

    The Propeller Education Kit (PEK) includes examples of using an UART. The PEK is available from the "help" menu in the Propeller Tool. The PEK is probably a better starting point than the above links.

    Post #3 of my index (see signature) has additional links to Propeller tutorials.
  • Cluso99Cluso99 Posts: 18,069
    edited 2014-11-26 13:17
    There is also FullDuplexSerial (think it comes with PropTool, else its in the OBEX). I use this (my _rr004 variant with larger buffers) all the time to my laptops at 115,200 baud.

    Also there is a 4 port serial driver.
Sign In or Register to comment.