USART Settings request. My PICMulti-Calc is not working


Closed Thread
Results 1 to 4 of 4
  1. #1

    Default USART Settings request. My PICMulti-Calc is not working

    Hi Can someone list the settings here from PICMultiCalc for 20MHz Osc, 16F877A @ 8N1 + 19200 Baud rate please as the calculator is not working on my computer. Thanks
    ___________________
    WHY things get boring when they work just fine?

  2. #2
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default Re: USART Settings request. My PICMulti-Calc is not working

    You mean like this?

    Name:  PICcalc.jpg
Views: 518
Size:  67.7 KB
    Louie

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: USART Settings request. My PICMulti-Calc is not working

    Thanks Louie. Could you please paste the settings here for the USART which I can copy into my code.
    Thanks
    ___________________
    WHY things get boring when they work just fine?

  4. #4
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default Re: USART Settings request. My PICMulti-Calc is not working

    Oops, I knew I forgot something...

    Code:
    '   Mister E PIC multi-calc "USART calc"
    '   OSC = 20MHz
    '   Baudrate = 19200
    
    RCSTA = $90 ' Enable serial port & continuous receive
    TXSTA = $24 ' Enable transmit, BRGH = 1
    SPBRG = 64  ' 19200 Baud @ 20MHz, 0.16%
    DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive
    DEFINE HSER_TXSTA 24h ' Enable transmit, BRGH = 1
    DEFINE HSER_SPBRG 64  ' 19200 Baud @ 20MHz, 0.16%
    DEFINE HSER_CLROERR 1 ' Clear overflow automatically
    Louie

Similar Threads

  1. A Defines Request
    By Kirk Fraser in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 31st March 2011, 23:23
  2. How to tell there is a serial request
    By cncmachineguy in forum Serial
    Replies: 4
    Last Post: - 21st November 2010, 22:14
  3. How to calc max debug rate?
    By circuitpro in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 27th September 2010, 17:33
  4. Problems with CRC8 Calc in 1Wire
    By JohnB in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th March 2007, 23:01
  5. Freebie Request
    By eddyh in forum General
    Replies: 1
    Last Post: - 16th May 2005, 08:06

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