Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

determine data transmission

Status
Not open for further replies.

Max++

Junior Member level 3
Joined
May 24, 2006
Messages
29
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Thailand
Activity points
1,495
when microcontroler get data from A/D then send to PC for monitoring.
How can I determine the data in PC if it got any error during transmission.
 

If U use serial transmission RS232 configure the PC such that it checks parity. Or add to the microcontroller a Procedure that calculate the CRC/checksum of the Data to be verified when it reaches the PC.
 

Hi ,

Most of time I will using a data package to prevent error, like below

Header byte + ADC Data1 + ADC data 2 ... + Checksum

Checksum = header byte + ADC Data1 + ADC Data 2 +...

Then you can detect if any error during transimmsion.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top