- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The time needed for transmission limits the ADC samples per second. Estimate: Baud rate /12 = ADC sps
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank You all For your replies.