Data framing for ADC data serial communication to PC

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Data framing for ADC data serial communication to PC

1,140 次查看
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 

标签 (1)
0 项奖励
回复
1 回复

1,079 次查看
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