Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/06/04 16:53
Read: times


 
#66119 - RE: serial communication
Responding to: ???'s previous message
I am developing serial communication protocol usig 8051 MC. I want know how to calculate CRC for tranmit the message.

On my 8052.com user page is hdlcbcc.pdf, which describes a binary framing protocol and includes CRC code.

I transmit floating point value also. how to transmit the floating point value and how i receive the same value in receiver side.

Using said binary framing protocol, you can simply send the floating point value as is. The receiving end might need to adjust the byte ordering for compatibility with its conventions.

Of course you can avoid byte ordering issues by converting the floating point value to ASCII and send the text.


List of 7 messages in thread
TopicAuthorDate
serial communication            01/01/70 00:00      
   serial communication            01/01/70 00:00      
      RE: serial communication            01/01/70 00:00      
RE: serial communication            01/01/70 00:00      
RE: serial communication            01/01/70 00:00      
RE: serial communication            01/01/70 00:00      
RE: serial communication            01/01/70 00:00      

Back to Subject List