SERIN Not Working, SEROUT Working


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Sep 2010
    Posts
    50

    Default Finally - Success!

    Quote Originally Posted by cc1984 View Post
    I pull the diode, thanks. I'll keep on trying, thanks for you help.
    I made a reduced size test program and still got the same results. Finally, with nothing else to try I changed the SERIN pin from PORTB.7 to another pin I was not using (PORTC.1). Works like a charm.

    I guess it is either a bad chip or some obscure setting for portb.7 I missed. Thanks for all the help.

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

    Default

    Quote Originally Posted by cc1984 View Post
    I made a reduced size test program and still got the same results. Finally, with nothing else to try I changed the SERIN pin from PORTB.7 to another pin I was not using (PORTC.1). Works like a charm.

    I guess it is either a bad chip or some obscure setting for portb.7 I missed. Thanks for all the help.
    Interesting. I still do not see the problem in your code (PORTB.7) so it must be hardware...
    Or maybe the wrong pin,,, typo???
    rcx var PORTB.7 'rs-232 input on portc.7
    Or a bad connection?
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Sep 2010
    Posts
    50

    Default

    Quote Originally Posted by mackrackit View Post
    Interesting. I still do not see the problem in your code (PORTB.7) so it must be hardware...
    Or maybe the wrong pin,,, typo???


    Or a bad connection?

    Could be a bad connection. I have it installed on a test board. I am making the permanent board which should only be traces, not a bunch of wires. Hopefully, that will remove my ghost.

    Thanks for all the help, unfortunately the code was the fun part, drawing up the circuit and making the cca is not as fun.

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