Baud rate 115200 on PIC16F877A


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2009
    Posts
    12

    Default Baud rate 115200 on PIC16F877A

    Dear all,
    Good day!

    can anyone tell me how to write the code with baud rate 115200 for PIC16F877A/PIC18F4620 using Picbasic Pro compiler (BASIC)?

    i only know use SEROUT2 PORTC.6, 16468, ["Hello"] that send baud rate 9600 to PC. But SEROUT2 does not support baud rate 115200.

    FYI.
    Crystal => 20MHz (Used)
    PIC => PIC16F877A / PIC18F4620
    Compiler => PicBasic Pro compiler 2.60 version
    IDE => Microcode studio

    TQ and BR

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

  3. #3
    Join Date
    Nov 2008
    Posts
    60


    Did you find this post helpful? Yes | No

    Default Re: Baud rate 115200 on PIC16F877A

    Why not use Hserout and use the hardware serial port?
    Regards
    CharlieM
    Using PBP3
    MCSPX

  4. #4
    Join Date
    Feb 2009
    Posts
    12


    Did you find this post helpful? Yes | No

    Default Re: Baud rate 115200 on PIC16F877A

    Dear c_moore,

    I am not familiar with this Hserout command. If we use this command, does it means only hardware serial port can send out 115200 baud rate? How about other port on the IC? can we assign it?

    TQ and BR

  5. #5
    Join Date
    Feb 2009
    Posts
    12


    Did you find this post helpful? Yes | No

    Default Re: Baud rate 115200 on PIC16F877A

    Dear mackrackit,
    Thanks for the information.

    BR

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Baud rate 115200 on PIC16F877A

    If I remember correctly the 16F877A only has one hardware serial port (one each TX-RX). There are some others with two.
    Dave
    Always wear safety glasses while programming.

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