SERIN2 = ok, HSERIN = no!


Results 1 to 29 of 29

Threaded View

  1. #2
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: SERIN2 = ok, HSERIN = no!

    EDIT: Your baud looks good.

    At first I didn't see your BRG16 =1, but Steves Picmulticalc is still good. I'll see if I can find anything real

    Steves PicMultiCalc tool works great for this, and give you text results you can just paste in to your code. Just enter OSC speed, baudrate, and press the go button.

    DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive
    DEFINE HSER_TXSTA 20h ' Enable transmit, BRGH = 0
    DEFINE HSER_SPBRG 12 ' 9600 Baud @ 8MHz, 0.16%
    DEFINE HSER_CLROERR 1 ' Clear overflow automatically


    http://www.picbasic.co.uk/forum/cont....-PICMultiCalc
    Last edited by ScaleRobotics; - 20th March 2012 at 13:21.
    http://www.scalerobotics.com

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