Data framing for ADC data serial communication to PC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Data framing for ADC data serial communication to PC

564 Views
navidfanaee
Contributor III

Hi everybody 

I am working on a project which transfers ADC data from LPC-Link2 using USB to PC, for this purpose i need to frame the data in order to recognize either the start and end of the data and to which part of the application it belongs. as far as i know the best way to do it is using byte stuffing, however i am not sure where in the process ADC and DMA I should reframe the data. is there a better approach other than byte stuffing ?

Thanks in advance 

Labels (1)
0 Kudos
1 Reply

503 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello navidfanaee@gmail.com‌,

I think for the start and the end of frame this can be done if you sent one ADC sample per frame. If you want to identify where the frame comes in your application I think the byte stuffing approach is the most appropriate.

Best Regards,

Alexis Andalon