Serial protocol not supported?


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2005
    Posts
    13

    Question Serial protocol not supported?

    Hello,

    I need to send serial data asynchronously using a frame format of 1 start, 8 data and 1 stop bits.

    I've been looking around in the manual and this doesn't seem to be supported.

    Am I overlooking something here or will I need to write everything from scratch?

    Thank in advance,
    Steve

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405

    Default

    1 start, 8 data, and 1 stop bit is pretty standard stuff. Nothing special with this.

    serin/serout, serin2/serout2, hserin/hserout will all work fine. No need to roll your own.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    Sep 2007
    Posts
    10

    Smile

    If your PIC have UART.I think right way is using HSERIN.

  4. #4
    Join Date
    Nov 2005
    Posts
    13

    Default

    Oh my,

    Shame on me and RTFM i guess.
    My PIC indeed has hardware USART on board, should have read the manual.

    Just had to set the baud rate and such and of we go...

    I will never ask stupid questions on monday ever again (i think).

    Thanks,
    steve

Similar Threads

  1. Replies: 17
    Last Post: - 12th April 2014, 02:17
  2. How to define serial protocol ?
    By chrischristian in forum mel PIC BASIC
    Replies: 1
    Last Post: - 24th October 2009, 03:42
  3. Replies: 1
    Last Post: - 23rd December 2006, 10:38
  4. UPS serial protocol
    By sougata in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 5th November 2006, 02:49
  5. How to implement 8E2 serial protocol?
    By imt_67 in forum Serial
    Replies: 4
    Last Post: - 14th October 2005, 17:43

Members who have read this thread : 1

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