完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
我的英语道歉,不讲起我用“谷歌翻译”。
试图做一个乐器,必须传送到计算机,这种风格的“吉他英雄”的游戏,我的问题是,当我尝试播放声音直接从PSoC和发送同时有声音失真,思考这quice使用“操作系统”看起来像是在做同时,但是当它发生的时候,没有人可以帮我操作funcioana DAC。谢谢您。 以上来自于百度翻译 以下为原文 I apologize for the English, do not speak so play me use "google translator". attempt to make a musical instrument, which must be communicated to a computer where this style "guitar hero" game, my problem is that when I try to play the sound directly from the Psoc and send at the same time the sound is distorted, thinking this quice use "RTOS" to look like it is doing at the same time but when it happened, not the DAC to RTOS funcioana someone could help me. Thank you. |
|
相关推荐
14个回答
|
|
问题:
你真的使用PSOS 1的实时操作系统(RTOS)吗? 你使用开发工具包吗?哪一个?? 你能发布完整的项目,让我们都可以看看吗?要做到这一点:使用Designer-& Gt;file & gt;存档项目,然后附加生成的存档。(不要使用Chrome,附加文件有问题) 鲍勃 以上来自于百度翻译 以下为原文 Questions: Are you really using an RTOS (Real-Time Operating System) for PSoC 1? Do you use a development Kit? Which one?? Can you post the complete project, so that we all can have a look at? To do so: use Designer -> File -> Archive Project and then attach the resulting archive. (do NOT use chrome, there is a problem with attached files) Bob |
|
|
|
是的,我使用RTOS,我在过去的项目中使用过,但是当我尝试使用DAC播放声音时,声音就不起作用了。RTOS不注意应用程序“2046”是旧的,但有一些修改,开发工具包是“CY32 10 PSoC EVAL1”,如果他们能给我更多的信息将是非常有用的其他项目,但工作情况并非如此。谢谢
RoStPosiLangLaLaFial.Access 1.Zip 591.5 K 以上来自于百度翻译 以下为原文 yes, I'm using rtos, I've used in past projects, but when I try to use a DAC to play a sound, the sound does not work. the rtos not take a note of the application "2046" is something old but works with a few adaptations, the development kit is the "CY3210-Psoc EVAL1" if they can give me more information would be very useful with other projects but works this is not the case. thanks |
|
|
|
PART2的设置可能是要选择播放的音调是不正确的。当你使用一个连接到TV+的开关时,端口应该有驱动器下拉。现在端口被定义为强,这是一个输出端口。
鲍勃 以上来自于百度翻译 以下为原文 Probably the settings for Port2 which is to select the tone to play is not correct. Bob |
|
|
|
鲍勃谢谢你的帮助,但如果你改变2端口配置不工作在一个单独的项目探讨发电机速度和效果很好,问题是我认为RTOS时间做的表,我将继续努力。
以上来自于百度翻译 以下为原文 bob thanks for helping, but if you change the configuration of port 2 does not work on a separate project the probe Generator Speeds and works well, the problem is I think the RTOS tine to do with the watch, I will continue trying. |
|
|
|
在全局资源窗口,芯片编辑器,设置您的OpAmp Bias和Buff Power
至高。 说你正在通过RTOS更新16千赫兹速率的DAC是正确的吗? 也听DAC输出,不是直接连接到扬声器我希望。 应该是一个高Z负载。 此外,我不知道在哪里设置计时器的周期,以及在其全局属性窗口中。 它的周期设置为1?这是你想要的,RTOS时隙ISR运行在16千赫? 最后,32 kHz的CLK从15到64 kHz不等,除非来自晶体。这是巨大的变化。 在采样率到DAC前。 问候,Dana。 以上来自于百度翻译 以下为原文 In the global resource window, chip editor, set your OpAmp Bias and A Buff Power to High. Is it correct to say you are updating DAC at 16 Khz rate via RTOS ? Also listening to DAC output, not a direct connection to speaker I hope. Sould be a Hi Z load. Also I do not see where you set the period of the timer, and in its global properties window you have its period set to 1 ? Is that what you want, the RTOS time slot ISR to run at 16 Khz ? Lastly the 32 Khz clk varies from 15 to 64 Khz, unless derived from a crystal. Thats a huge variation in sample rate to DAC if former. Regards, Dana. |
|
|
|
我为英语道歉,
感谢达纳骑士 第一:你为什么把价值观对全球资源的高?这会改变什么吗?第二:为什么钟表计时器是32K,是因为我做了一些试验和忘记改变他们上传之前,定时器的配置是:对rtos_timer8时钟配置:源VC1 2mhz捕获:低周期:62 comparevalue:0 interrupttype:终端计数输出:没有全球资源:cpu_clock:24mhz已经给我其他的项目,但不是这。谢谢,我会继续测试。 以上来自于百度翻译 以下为原文 I apologize for the English, thanks danaaknight first: why did you put the values right global resources on high? Does that change anything? second: the reason why the watch timer were 32k, it was because I was doing some tests and forget to change them before uploading, the configuration of the timer is: Configuration of RTOS_Timer8 Clock: Source VC1 2MHZ Capture: Low Period: 62 CompareValue: 0 InterruptType: Terminal count Output: None Global Resources: CPU_Clock: 24MHz already been operated on me for other projects, but not for this. Thanks and I will continue testing. |
|
|
|
第一:为什么你把价值观放在合适的位置上?这会改变什么吗?
是的,如果你看CT块,它们都受偏压影响,列输出缓冲器。 这驱动引脚。它影响AMBs的GBW和CM范围和驱动能力。展示 在相应的模块数据表和设备数据表中,在缓冲区的情况下。 问候,Dana。 以上来自于百度翻译 以下为原文 first: why did you put the values right global resources on high? Does that change anything? Yes, if you look at CT blocks they are all affected by bias, and the column output buffer that drives pins. It affects GBW of the amps, and CM range and drive capability. Shown in respective module datasheet and device datasheet, in the case of the buffer. Regards, Dana. |
|
|
|
好的,考虑到这一点和运算放大器缓冲器。
但是仍然不起作用,无论如何谢谢,抱歉的坚持,但如果你有其他想法是非常有用的。 以上来自于百度翻译 以下为原文 ok take this into account and op amp buffer. but still does not work, thanks anyway, sorry for the insistence but if you have some other idea would be very useful. |
|
|
|
我会尝试两个测试-
1)翻转销在RTOS时隙ISR的抖动测试,这样你可以看到 如果一个事件的采样率,如DAC的更新,将常数。 2)创建正弦表,并使用它输出到DAC。再看看它的波形 看看你能得出什么结论失真源。 问候,Dana。 以上来自于百度翻译 以下为原文 I would try two tests - 1) Flip a pin to test the jitter in the RTOS time slot ISR, that way you can see if the sample rate of an event, like DAC update, will be constant. 2) Create a sine table, and use that to output to DAC. Then look at its waveform to see if you can draw any conclusions about distortion source. Regards, Dana. |
|
|
|
|
|
|
|
嗨,关闭这个帖子,发现这个问题,它只为这个模板程序提供少于125U秒的时间,检查我的程序,需要更长的时间,如果其他人会使用,就不起作用了。
以上来自于百度翻译 以下为原文 hi to close the post, and found the problem, which only serves this template programs that take less than 125u seconds and check my program and takes longer for that does not work, if someone else will use, regards |
|
|
|
这里是没有“RTS”的程序,如果有人需要它。
档案1.ZIP 1.1兆字节 以上来自于百度翻译 以下为原文 here is the program without "rts" if someone needs it.
|
|
|
|
感谢您与我们分享您的经验!因为我只演奏长笛,所以我不太习惯使用多音调乐器作为吉他。
强尼B好鲍勃 以上来自于百度翻译 以下为原文 Thank you for sharing your experience with us! Since I only play the flute I am not quite used to multi-tone instruments as a guitar. Jonny B. Good Bob |
|
|
|
谢谢你对我的帮助,但有时,我不懂的语言是恼人的,并没有太多的知识,我想参加这个论坛有什么有。
以上来自于百度翻译 以下为原文 thank you for helping me, but sometimes it can be annoying for the language that I do not understand well, and do not have much knowledge I like to participate in this forum and contribute what little they have. |
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2105 浏览 1 评论
1851 浏览 1 评论
3669 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1786 浏览 6 评论
1536 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
570浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
423浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
437浏览 2评论
384浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
915浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 18:50 , Processed in 1.372692 second(s), Total 105, Slave 88 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号