18F6722 EUSART Question


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2008
    Location
    Los Angeles, CA
    Posts
    156

    Default 18F6722 EUSART Question

    PIC Multicalc generates a DEFINE that sets HSER_CLROERR to 1 in most cases. With a PIC18F6722 which has 2 EUSARTS, I'm finding that for most of the settings, there is an equivalent '1' and '2' setting, i.e. DEFINE HSER_RCSTA 90h would have HSER_RCSTA1 and HSER_RCSTA2 settings available. I'm not finding such a setting for automatically clearing overflows, however. Maybe there isn't such a feature? Anybody been here before?

    Len

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


    Did you find this post helpful? Yes | No

    Default

    I think it's ...

    DEFINE HSER2_CLROERR 1

    EDIT: And the others are ...

    DEFINE HSER2_RCSTA xxh
    DEFINE HSER2_TXSTA xxh

    <br>
    Last edited by Darrel Taylor; - 9th July 2010 at 23:05. Reason: EDIT:
    DT

  3. #3
    Join Date
    Dec 2008
    Location
    Los Angeles, CA
    Posts
    156


    Did you find this post helpful? Yes | No

    Default

    well it sure doesn't cause a compiler error, so I'll try it! Thanks.

    BTW, where do I download the latest version of DT_INTs? Hope they work w/ this chip!!

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


    Did you find this post helpful? Yes | No

    Default

    Dave
    Always wear safety glasses while programming.

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