完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
多亏了社区,我解决了很多问题,但这一次让我绝望。 我的项目是通过控制MOSFET晶体管的开度来控制低功率刷直流电机的速度。我用开发的KIT-01和PSoC3原型,但由于成本,我必须移动到PSoC1。 我没有启动DAC工作的试验成功。我已经通过了大量的附注和数据表,但仍然没有运气。我的项目必须进入PCB阶段,但我没有运气选择芯片PSOC3是昂贵的,但PSoC1不工作。 塞浦路斯的支持对我没有帮助——他们倾向于每10天回复一次,大多数想法与我的项目无关。IGET更多的调查从他们然后帮助。 最近,PoSO1示例“3”ADC到UART与DAC“只是为了确保IDO是正确的,但是再次DACNOT工作。我想,因为编译的例子正在工作。 附上的项目是我的试验,遵循相同的硬件设置和复制。我不明白。 非常感谢您的帮助。 奥列格 还有一个问题:有什么想法,DAC的输出阻抗是什么?为了控制MOSFET的栅极,我必须用OPAMP来缓冲它吗? tim2.Zip 559.5 K 以上来自于百度翻译 以下为原文 Hi, thanks to the community I've solved many problems but this one made me desperate. My project is controlling speed of a low power brushed dc motor by controlling openning of a mosfet transistor. I prototyped it with development kit-001 and psoc3 but due to the cost I have to move to psoc1. None of my trial to start DAC working succeeded. I have gone through lots of appnotes and datasheets but still no luck. My project has to go to the PCB stage but I have no luck with choosing chip - PSOC3 is expensive but PSOC1 is not working. Cypress support is no help for me - they tend to reply once per 10 days with most ideas not relative to my project. I get more surveys from them then help. Lately I followed psoc1 example#3 "ADC to UART with DAC" just to make sure I do everithing right but again DAC not working. I think, I missed something because compiled example is working. Attached project is my trial to follow the examle with the same hardware settings and copied main.c - and still doesn't work. I can't understand that. Any help is greatly appreciated, Oleg and another questions: any ideas what the output impedance of the dac? do I have to buffer it with opamp in order to control gate of a mosfet?
|
|
相关推荐
9个回答
|
|
发现错误并改正它,包括化妆品的变化。
中断是不那么容易的psoc1,有一些类似的经历… 快乐编码 鲍勃 以上来自于百度翻译 以下为原文 Found error and corrected it, including two cosmetical changes. Interrupts are not that easy in PSoC1, had some similar experiences... Happy coding Bob |
|
|
|
(和/美元%CK)…这是你的项目文件…
鲍勃 TEMP2A.ZIP 593.2 K 以上来自于百度翻译 以下为原文 (&/$%§CK) ... and here's your project file... Bob
|
|
|
|
你这个男人鲍伯!
什么中断没有发生?但是代码是从示例和硬件集中复制的。秘诀是什么? 对DAC的输出阻抗有什么想法? Br 奥列格 以上来自于百度翻译 以下为原文 You the man Bob! Whas that interrupt not occuring? But code was copied from example and hardware set the same. what is the secret? Any ideas about output impedance of the DAC? BR, Oleg |
|
|
|
这可能有助于缓冲区Z问题。
HTTP://www. CyPress?COM/?DOCID=27616 问候,Dana。 以上来自于百度翻译 以下为原文 This might assist on the buffer Z question - http://www.cypress.com/?docID=27616 Regards, Dana. |
|
|
|
嗨,奥列格,
在PSoC1中,中断处理不像PSOC3/5那样容易。在文件“引导.tPL”中,它只是一个模板文件,从其中生成“启动.ASM”,您可能会调用/跳转到中断例程。对于你的组件,如定时器,UART等,这已经被关注了,看看“Buff.ASM”。但是在组件的中断处理程序中,通常命名为CeaTeNAMEnE.I.ASM”,您会发现一个明确的位置,在那里插入一个“LCALL”到您的C中断例程。由于您用一个“Apple Primar指令”声明为一个中断处理程序,所以不需要ReavestAsvices和Re宏宏,而应该使用“LJMP”指令。看看你的“反161IN .ASM”文件。它是在生成过程中生成的,并由我相应修改。 这里(这里是:HTTP://www. CyPress?COM/?)ID = 4 &;摆脱= 36720)是一个应用程序noteconcerning中断psoc1。 快乐编码 鲍勃 以上来自于百度翻译 以下为原文 Hi Oleg, in PSoC1 the handling of interrupts is not as easy as in PSoC3/5. Within the file "BOOT.TPL", which is only a template-file from which "BOOT.ASM" is generated, you may isert a call/jump to your interrupt routine. For your components, as timer, UART etc. this is already cared for, have a look into "Boot.ASM". But within the component's interrupt-handler, usually named ComponentName_INT.ASM" you will find a clearly marked location where to insert an "LCALL" to your C-interrupt routine. Since you declared that routine with a #pragma instruction to be an interrupt handler you do not need registersave and restore macro and you should use an "LJMP" instruction instead. Have a look into your "Counter16_1_INT.ASM"-file. It was generated in the build-process and modified accordingly by me. There (here: http://www.cypress.com/?id=4&rID=36720 ) is an App-Note concerning interrupts in PSoC1. Happy coding Bob |
|
|
|
|
|
|
|
|
|
|
|
HII
我需要4-20mA输出。我有CY32 10-PSoCalv1板。我怎样才能做到呢???? 以上来自于百度翻译 以下为原文 hii i require 4-20mA ouput. i have CY3210-psocEval1 board. how can i do it??? |
|
|
|
欢迎来到论坛。这篇文章有几年历史了,通常最好开始一个新的帖子。
你不会从PSoC中得到4…20mA,但是你应该使用这个接口的驱动IC。 鲍勃 以上来自于百度翻译 以下为原文 Welcome in the forum. The post is a couple of years old, usually it is better to start a new thread. You will not get 4..20mA out of a PSoC, but there are driver ICs for this interface which you should use. Bob |
|
|
|
只有小组成员才能发言,加入小组>>
752个成员聚集在这个小组
加入小组2071 浏览 1 评论
1827 浏览 1 评论
3642 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1762 浏览 6 评论
1513 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
511浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
362浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
410浏览 2评论
357浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
860浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 23:11 , Processed in 2.467603 second(s), Total 94, Slave 77 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号