You are here

ADC, USBUART | Cypress Semiconductor

ADC, USBUART

Summary: 3 Replies, Latest post by hemnk1234_1611811 on 06 Oct 2016 02:35 AM PDT
Verified Answers: 1
Last post
Log in to post new comments.
hemnk1234_1611811's picture
User
10 posts

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

user_1377889's picture
User
9621 posts

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

 

Bob

user_49271930's picture
User
420 posts

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.

hemnk1234_1611811's picture
User
10 posts

Thank You all For your replies.

Log in to post new comments.