Serin after instant interupt?


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default Re: Serin after instant interupt?

    Say that you use the low-going edge as an interrupt trigger.

    Then you start the Serin command that waits for the negative going edge. My guess is that it will loose the first byte and then will receive next one.

    So, I would make two same characters as a start, one will be lost, the second will be the wait character, and then start getting the payload.

    Ioannis

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: Serin after instant interupt?

    I don't have any control over the transmitting device.. So I can't add bytes.

  3. #3
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: Serin after instant interupt?

    You could also manually read the RCREG directly.

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: Serin after instant interupt?

    I'm using software serin2 on a non usart pin.. My hardware UART are taken.

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default Re: Serin after instant interupt?

    Any chance to use a PIC with two USARTs?

    Ioannis

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