This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to create and use a frame with RS485 ?

Dear my all friends,

I am a new user of RS485 serial communication but I do not know how to trans and receive multiple bytes without any data loss as well as errors or jitter.

My MCUs are 89C51 family (89S51,DS89C420..), in fact, my trouble is how to control a communication session with multiple-byte data frame using serial port of 89C51 family. I should use interrupt routines or main loop to process that session ???

Any one help me, please..., thanks!

Parents
  • Let me express my heartfelt thanks to Mr. MALUND for his helpful advice.

    I will practise myseft then ask you again sir, ... It's hard for me to do communication between RS485 nodes because I have only the two put(byte) & get(byte) tools, could you show me the way to build another effective tools those could send a series of numbers or string, but still use the least code 'cause my memory is limited.

Reply
  • Let me express my heartfelt thanks to Mr. MALUND for his helpful advice.

    I will practise myseft then ask you again sir, ... It's hard for me to do communication between RS485 nodes because I have only the two put(byte) & get(byte) tools, could you show me the way to build another effective tools those could send a series of numbers or string, but still use the least code 'cause my memory is limited.

Children