ADC, USBUART

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hii everyone,

   

I am new to Psoc I am taking analog signal and giving to ADC and then to Filter through DMA and then passing to PC through USBUART.

   

My concern is when I use less sampling rate in ADC and transfer the signal through USBUART I could plot in MATLAB in realtime and changes are also reflecting simultaneously. But when I use high sampling rate in ADC and when I transfer through USBUART I could able to plot but there is lot of delay. If I change the input It is reflecting after long time.

   

I am using 8bit ADC and I am transferring though USBUART by using USBUART_PutData(&Output,1); and in matlab I am reading one byte at a time and plottitng the graph.

   

Please help me regarding this.

   

Thank you

   

Hem k

0 Likes
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

The time needed for transmission limits the ADC samples per second. Estimate: Baud rate /12 = ADC sps

   

 

   

Bob

0 Likes
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

USBUART uses packets of 64 bytes in transmission.
You must save the data and send through USBUART on 64 bytes it will increase the speed.

0 Likes
Anonymous
Not applicable

Thank You all For your replies.

0 Likes