Second serial port access ( Hserin2 )


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2004
    Posts
    43

    Unhappy Second serial port access ( Hserin2 )

    Hello !
    I need to start a project using two hardware serial port . As I searched on forums, I found noone actually working with HSERIN2/HSEROUT2. Someone said that it's not even well implemented in PBP. I have version 2.46 of PBP Compiller.
    Did anyone had a succesfull experience with theese two comands? I actually need only HSERIN2 and HSERIN/HSEROUT ( for the first hw port) .
    Now, one more unclear issue. What chip should I use ? I can do it with PIC18F6520 ( 2 hardware AUSART ) or PIC18F6527 ( 2 hardware EUSART )

    Thank you for your time,

  2. #2
    Join Date
    Jun 2004
    Posts
    43


    Did you find this post helpful? Yes | No

    Default Hello ,

    Is there anyone who have any ideea about this ?
    Thank you ,

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


    Did you find this post helpful? Yes | No

    Default

    I have not had the need to use HSERIN2/HSEROUT2, but I would assume it is like the manual says---

    Both AUSART and EUSART are pretty much the same thing.
    The "E" stands for enhanced with some bells and whistles.
    This might help understand the difference.
    http://ww1.microchip.com/downloads/e...tes/00944A.pdf
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Jun 2004
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Thank you very much Mackrackit.
    I know the difference between AUSART and EUSART. I was asking regarding the PBP compatibility side. Although it is supposed to work as described in the manual I red some complains from some users ( the posts does not exist anymore ) where they were stating that accessing the 2nd port does not work in PBP.
    I will give it a try .
    Thank you for your time,

  5. #5
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    It's been a long time, but I've used HSERIN2 on an 8720, and it worked as advertised.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  6. #6
    Join Date
    Jun 2004
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Well, this is very good news.
    Thank you , Bruce

Similar Threads

  1. HSERIN2 not working on PIC18F97J60 ???
    By mikebar in forum Serial
    Replies: 8
    Last Post: - 4th May 2008, 15:20
  2. interfacing to the pc serial port
    By kelangfei in forum General
    Replies: 4
    Last Post: - 7th October 2007, 22:35
  3. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  4. serial port control relay
    By win_832001 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 23rd June 2006, 23:56
  5. Replies: 2
    Last Post: - 28th April 2006, 12:10

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