Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 721925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:55:47+00:00 2026-05-14T05:55:47+00:00

My brain is fried, so I thought I would pass this one to the

  • 0

My brain is fried, so I thought I would pass this one to the community.

When sending 1 character to my embedded system, it consistently thinks it receives 2 characters. The first received character seems to map to the transmitted character (in some unknown way) and the second received character is always 0xff.

Here is what I observed:

Tx char (in hex)    Rx character (in hex), I left out the second byte (always ff)
31                    9D
32                    9B
33                    99
61                    3D
62                    3B
63                    39
64                    37
65                    35
41                    7D
42                    7B
43                    79

I have check my clocks and them seem to be OK. The only difference between this non working version and the previous version is that i am now using a RS485 chip.

I have traced the signal all the way up to the MCU and it looks fine (confirmed the bit value on the RX pin)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T05:55:47+00:00Added an answer on May 14, 2026 at 5:55 am

    The first received character seems to
    map to the transmitted character (in
    some unkown way)

    In each case the TX byte is shifted left 1 bit then inverted.

    For instance:

    31 = 00110001
    9D = 10011101

    0x31 << 1 = 01100010

    the complement of 01100010 is 0x9D

    I checked a couple of the others, looks to be the same for them all. I don’t know where the second byte is coming from but it could be a result of the likely signal inversion thats going on.

    RS485 uses differential signaling. It smells like you used the inverted output of the chip and plugged into a RS232 input.

    I have traced the signal all the way
    up to the MCU and it looks fine
    (confirmed the bit value on the rx
    pin)

    What signal did you use as the ground reference?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this is simple but my brain is fried from trying to solve
Hopefully this is a silly question but my brain is fried and I can't
I am racking my brain as to why this isn't working. What I would
I've stumbled upon this issue and my noob brain got fried trying to resolve
I'm sure this is a really simple, obvious answer, but my brain is fried
My brain is fried! I can't think. I'm using Core Data, and this is
I'm not exactly sure how the logic would work on this. My brain is
This should be an easy to solve but my brain has been fried the
Brain getting foggy on this one. I wanted to take my dice game from
My brain is fried at the moment, so here's the scenario. I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.