Cypress技术论坛
直播中

曾盼丽

8年用户 174经验值
私信 关注
[问答]

怎么使用UART向PC发送数字样本

你好,
我正在研究我们的语音信号,并使用UART向PC发送这些数字样本,并使用超终端在PC中进行采集。
问题是我丢失了很多样品。对于16000个BPS采样率,我只收集每秒1600个样本。
我没有使用DMA或ISR,我想这是一种有效的方式吗?
如果是这样的话,有人能帮助我把ISR或DMA添加到当前工作空间,包括C代码吗?
如果没有,还有其他有效的方法吗?
我已经附加了我的工作空间。
提前感谢

以上来自于百度翻译


     以下为原文
  Hi ,
     I am working on digitising our speech signals and transmitting these digital samples using UART to PC and collecting in PC using hyperterminal.
     
    Problem is am losing many samples. For 16000BPS sampling rate, i collect only 1600 samples per second.
    I have not used a DMA or ISR ,which i suppose, to be an efficient way?
    If so could somebody help me with adding the ISR or/and DMA to the present workspace including the C-code?
     
    If not, is there any other efficient way?
     
    I have attached my workspace.
     
    Thanks in advance

回帖(9)

曾盼丽

2019-4-28 11:42:03
或者这取决于输入信号的变化吗?
此外,我正在收集我的数字样本使用超终端,即在ASCII形式。如果接收到的样本与输入信号一致,有没有软件可以检查/绘图?或者我们需要把这个ASCII转换成二进制形式?
非常感谢!

以上来自于百度翻译


     以下为原文
   Or does it depend on the variation of input siignal ?
     
    Also i am collecting my digital samples using Hyperterminal i.e in ASCII form. Is there any software to check/plot if the received samples are in accordance with the input signal? or we need to convert this ascii to binary form?
     
    Thanks a lot in advance !
举报

李玉林

2019-4-28 11:48:05
我建议你去看看这里的视频,AppNog和代码:
AN6102-PSoC®3和PSoC 5 -使用DMA数据缓冲
HTTP://www. CyPress?COM/?RID=44335
耐心地复习这些材料,它会解决你的问题。
PSOC岩石
当做,
克曼卡德

以上来自于百度翻译


     以下为原文
  I'd advise you to go through the video,appnote and code linked here:
    AN61102 - PSoC® 3 and PSoC 5 - ADC Data Buffering Using DMA
    http://www.cypress.com/?rID=44335
     
    Go through those materials patiently,it will solve your problem.
    PSoC Rocks,
     
    Regards,
    kmmankad
举报

杨军

2019-4-28 12:06:19
这里是一个应用程序,它将从UART、以太网或USB
非商业用途。
HTTP://www. SelMaSurvi.COM/STAMPPLOTT/DEXX.HTM
问候,Dana。

以上来自于百度翻译


     以下为原文
  Here is an application that will graph from UART, or Ethernet or USB, free
    for non-commercial uses.
     
    http://www.selmaware.com/stampplot/index.htm
     
    Regards, Dana.
举报

曾盼丽

2019-4-28 12:14:07
谢谢大家分享!

以上来自于百度翻译


     以下为原文
   Thanks all for sharing !
举报

更多回帖

发帖
×
20
完善资料,
赚取积分