Tuesday, 26 June 2007

Receiving Data from RS232

There has a problem, when reading data from RS232. Transmit data are OK, I mean the transmit value from Software and checking from Hardware are the same. But at read data from HW by means of SW is different. It has an algorithm to calculate data for same with send and receive. When you have got a value (Bit stream) from HW, inverse that string and make NOT.

Eg: Read value -> 1011 to 1101 (Reverse) and than NOT(1101)=0010 <- its Answer

No comments:

Post a Comment