Handling Serial 8N2


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Location
    Sydney, Australia
    Posts
    126


    Did you find this post helpful? Yes | No

    Default

    Hi Paul,

    38400 is the baud rate. I like the idea of using the pacing, but I am pretty sure that the SERIN / SEROUT combos are limited to 19200 max in terms of Baud Rate. 38400 is easy with a hardware UART and a 20MHz crystal.

    I think I'll grab a bit of proto board and a 16F and see if I can fool around with some code to get it working.

    Thanks,
    Bill

  2. #2
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    You had mentioned "setting it low for transmission" which is what you would do if you wanted inverted 8N2. The hardware uses true (idle high).
    38400 is the baud rate. I like the idea of using the pacing, but I am pretty sure that the SERIN / SEROUT combos are limited to 19200 max in terms of Baud Rate. 38400 is easy with a hardware UART and a 20MHz crystal.
    You could: DEFINE OSC 10 but use your 20 and get 38400 out of SERIN and SEROUT. IF you do, watch your other timing issues like Pause (see section 7.1 of the PBP manual).
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

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. Serial data to USB
    By cooksydesign in forum USB
    Replies: 18
    Last Post: - 29th October 2008, 15:10
  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