Getting 19200 baud serial out of a PIC


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959

    Default Re: Getting 19200 baud serial out of a PIC

    PIC12F1822

    8 Pins
    Internal precision 32Mhz oscillator.
    EUSART (HSEROUT).

    You can run at 250K baud on the internal OSC.

    Requires PBP 2.60A.
    DT

  2. #2
    Join Date
    Dec 2005
    Posts
    1,073

    Default Re: Getting 19200 baud serial out of a PIC

    Quote Originally Posted by Darrel Taylor View Post
    8 Pins
    Internal precision 32Mhz oscillator.
    EUSART (HSEROUT).
    Can the EUSART be inverted? If not, it may require additional hardware, depending on the application.

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959

    Default

    Quote Originally Posted by dhouston View Post
    Can the EUSART be inverted? If not, it may require additional hardware, depending on the application.
    The transmit side can be inverted.
    But with a 32Mhz OSC, 19200 is no problem for SEROUT2.

    The bluetooth module may take true levels though.
    DT

  4. #4
    Join Date
    Sep 2008
    Location
    Maine, USA
    Posts
    81

    Default Re: Getting 19200 baud serial out of a PIC

    That's a really cool chip - but it is pricey. I'm still on PBpro 2.50 - time to upgrade I guess. But I will try out the 12F615 first, I'm getting some next week. My bluetooth (BTM-182) unit needs true serial so that is OK.

    Thanks Darrell - you da man!
    "Do or do not, there is no try" Yoda

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

    Default Re: Getting 19200 baud serial out of a PIC

    Quote Originally Posted by tekart View Post
    That's a really cool chip - but it is pricey.
    It is about the same price as the PIC12f675, give or take 10 cents.

    http://www.microchipdirect.com/Produ...rds=pic12f1822

  6. #6
    Join Date
    Sep 2008
    Location
    Maine, USA
    Posts
    81

    Default GOT 19200 baud serial out of a 12F615

    Got some 12F615 chips today, and when I remembered to configure the internal oscillator for 8MHz it produced nice 19200 baud using SEROUT2:

    serout2 tx,32,1,[69,10,13] ' test serial output

    Thanks all!
    "Do or do not, there is no try" Yoda

  7. #7
    Join Date
    Dec 2005
    Posts
    1,073

    Default Re: GOT 19200 baud serial out of a 12F615

    Quote Originally Posted by tekart View Post
    Got some 12F615 chips today, and when I remembered to configure the internal oscillator for 8MHz it produced nice 19200 baud using SEROUT2:
    Thanks for the feedback.

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts