I want to send data from rs232 to raspberry pi and I want to know if we can achieve error correction and detection on raspberry pi

  • Yes you can. As a matter of interest which error correction and detection methods are you planning to use? Voting to close as not Pi specific. – joan May 28 '18 at 11:37
  • I want to use forward error correction I'm asking about how to apply – shikha Gupta May 29 '18 at 14:15
  • I do not understand the problem. Add the FEC as part of the transmitted bytes and strip/use the FEC from the received bytes. – joan May 29 '18 at 14:48

Yes, this new thing called "Google" is an amazing tool :)

Reed-Solomon and convolutional codes do FEC. Reed-Solomon is actually part of the Linux kernel in some distros, but unfortunately, it seems to have been deleted from Raspbian. However, there are numerous libraries with source code on GitHub. What I don't know is how much (if any) extra effort is required to get these libraries to compile for Raspbian's ARM processor:

Hope that helps get you started. We'll look forward to hearing how you get on with this. Please issue follow-up posts if you need help with any details.

Not the answer you're looking for? Browse other questions tagged or ask your own question.