SERIN2 = ok, HSERIN = no!


Closed Thread
Results 1 to 29 of 29

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: SERIN2 = ok, HSERIN = no!

    Could it be hardware related? Pull-up or current-limitting resistors?

    What about the Mode setting (True VS Inverted)?

    Robert


    EDIT: You use Open,True,N,9600bps for SERIN, that's inverted.

    You use BAUDCON = %01001000 for HSERIN, bit 5, 0 = non-inverted Data/Receive Polarity.


    There could be other stuff, but that's all I got.
    Last edited by Demon; - 20th March 2012 at 14:26.

  2. #2
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default Re: SERIN2 = ok, HSERIN = no!

    Hi Demon,

    I tried all that already. Neither a new chip nor data polarity will change anything; HSERIN won't work...while SERIN2 does :-/
    Roger

  3. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: SERIN2 = ok, HSERIN = no!

    BAUDCON bit 3

    BRG16: 16-Bit Baud Rate Register Enable bit
    1 = 16-bit Baud Rate Generator – SPBRGH and SPBRG
    0 = 8-bit Baud Rate Generator – SPBRG only (Compatible mode), SPBRGH value ignored

    Don't you want 8-bit?

    Robert
    Last edited by Demon; - 20th March 2012 at 15:27. Reason: Removed unnecessary stuff
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  4. #4
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default Re: SERIN2 = ok, HSERIN = no!

    I tried BAUDCON = %10000000 if this is what you mean. No luck either.
    Roger

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