完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
我只是一个初学者在PSoC CY8C55 68 AXI…我有一些问题,我可以不使用API使用PWM组件吗?我可以使用没有CPU的PWM组件吗?直接连接到I/O端口是不常用的吗? 以上来自于百度翻译 以下为原文 hi, I am just a beginner in the PSOC cy8c5568axi..... I have some question.Can I use PWM component without using API ? Can I use PWM component that I do without CPU ? It is in common use that Directly connected to the I/O ports ? |
|
相关推荐
10个回答
|
|
我有一些问题,我可以不使用API使用PWM组件吗?我可以使用没有CPU的PWM组件吗?直接连接到I/O端口是常用的吗?翻译:EndoStIdApple。
以上来自于百度翻译 以下为原文 I have some question.Can I use PWM component without using API ?Can I use PWM component that I do without CPU ? Is it in common use that Directly connected to the I/O ports ? translation:我有些问题。我能不能使用 PSOC5 Creator 2.0V 提供的PWM模块,直接与I/O端口连接或与自己设计的通用模块的寄存器连接?不使用API,不经过CPU? |
|
|
|
您需要在代码中至少调用pWMySistar()。除此之外,还可以配置组件属性中的任何内容。可以使用PWM组件而不需要任何运行时CPU干预。但是如果要更改PWM的任何设置,则需要执行代码(例如,改变占空比)是的,这是没有问题的(通常是这样做的),将PWM输出直接连接到IO端口。
以上来自于百度翻译 以下为原文
|
|
|
|
您可以配置PSOC创建者上的PWM模块的所有参数。但是,您需要调用pWMySistTo()和/或使用Trutor。您还可以使用硬件使能来控制它。
但是要改变任务代码或功能,你必须使用API。 以上来自于百度翻译 以下为原文 You can configure the all the parameters of the PWM modules on PSOC Creator. But you will need to call PWM_Start() and/or use the triger. You can also control it using the hardware Enable. But to change the duty cicle or frecuency you will have to use the api. |
|
|
|
非常感谢您的响应。我可以使用硬件使能控制它,但是需要调用pWMyIn()。我知道OXUB的地址0x4006500~0x400 065 FF。我如何在没有使用DMA API的情况下使用它来实现我的UDB设计?或者我如何使用使用通用UDB的PWM组件来输入周期或COMARE或DeadTime?
以上来自于百度翻译 以下为原文 Thanks a lot for your response. I can control it using the hardware Enable,but need to call PWM_Init(). I know that 0x40006500~0x400065ff of UDB's address.how can I use it for my UDB design without using DMA of API ? Or how can I use PWM component that use common UDB to input Period or Comare or DeadTime? |
|
|
|
我认为你需要告诉我们更多关于你的申请。为什么要在硬件中配置PWM?所有的价值来自哪里?
以上来自于百度翻译 以下为原文 I think you need to tell us a little bit more about your application. Why do you want to configure the PWM all in hardware? Where do all the values come from? |
|
|
|
如果你真的需要在硬件中做到这一点,你可以尝试在硬件中构建你自己的PWM(带数据路径)。有一个4部分PSoC今天的视频系列关于(这是出于某种原因,没有出现在PSoC今天名单,只是在视频列表):
HTTP://Vio.CyPress .Copy/Valuo/Vielo/Web-SeriSe/PoSto-PoW-PWM部分-PAT-1/220360145800 1 HTTP//VIEO.CyPr.com/VIET-LabVIEW/VIDO/Web-SeriS/PSO-toW-PWM数据-PATIO-II/2207707761. HTTP//VIEO.CyPr.com/VIET-LabVIEW/VIDEO/Web-SeriSe/PSO-To-PWM,数据路径部分-III/221999 1842001 HTTP//VIEO.CyPr.com/VIET-LabVIEW/VIDO/Web-SeriS/PSO-to-PWM,数据路径部分-IV/222442631001 以上来自于百度翻译 以下为原文 If you really need to do this all in hardware, you can try to build your own PWM in hardware (with data path). There is a 4-part PSoC Today video series about that (which for some reason doesn't show up on the PSoC Today list, just in the video list): http://video.cypress.com/video-library/video/Web-Series/PSoC-Today-PWM-with-Data-Paths-Part-1/2203601458001 http://video.cypress.com/video-library/video/Web-Series/PSoC-Today-PWM-with-Data-Paths-Part-II/2207707476001 http://video.cypress.com/video-library/video/Web-Series/PSoC-Today-PWM-with-Data-Paths-Part-III/2219918420001 http://video.cypress.com/video-library/video/Web-Series/PSoC-Today-PWM-with-Data-Paths-Part-IV/2224466331001 |
|
|
|
谢谢你的回复。我的应用是工业驱动。它需要6个脉冲。我使用通用的UDB设计自己的PWM组件,但是它需要很多宏单元和Unique Pterms。我发现PSoC CRISTor 2提供PWM组件。它需要很少的源。我的老板泰勒斯我只使用硬件。
以上来自于百度翻译 以下为原文 Thanks for your reply.My application is industrial drives.It needs 6 pulses.I use common UDB designing own pwm component,but it needs many Macrocells and Unique Pterms.I find that PSOC Crestor 2.0 supply PWM component.And It need little Source.My boss telles me that I use hardware only. |
|
|
|
如果你被迫只使用硬件,那么为什么要使用PSoC呢?Yopu应该使用CPLD或者FPGA。PSoC的优点是可配置硬件与MCU的结合。只使用CPLD是没有意义的。
如果你真的需要,你可以查看PWM组件的定义,查看寄存器定义。这将允许您通过DMA(仍然需要一些代码来设置这些值)来设置这些值。 你为什么需要“小代码”?PSOC5至少有32 K闪光灯,并上升到256,这应该是绰绰有余。 以上来自于百度翻译 以下为原文 If you are forced to use hardware only, then why using a PSoC at all? Yopu should use a CPLD or FPGA then. The strength of PSoC is the combination of configurable hardware with a MCU. It makes no sense to use it a CPLD only. If you really need to, you can look into the definition of the PWM component, to see the register definitions. This would allow you to set these values via DMA (which still needs some code to set it up). Why do you need 'little code'? The PSoC5 has at least 32k flash, and goes up to 256, which should be more than enough. |
|
|
|
最近我为一个客户设计了一个设计方案,客户最初打算使用FPGA。因为他已经使用PSoC,一个板立即准备好了,并且设计没有客户需要的额外软件。因此,他可以在没有修改的情况下使用在他的下一个项目中被构建为用户模块的设计。
鲍勃 以上来自于百度翻译 以下为原文 I had recently to solve a design for a customer, who at first intended to use a fpga. Because he already used PSoCs, a board was ready instantly and the design was done without additional software as the customer required. As a result, he could use the design which was built as usermodules in his next projects without modifications Bob |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
760个成员聚集在这个小组
加入小组2160 浏览 1 评论
1909 浏览 1 评论
3732 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1841 浏览 6 评论
1589 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
797浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
554浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
493浏览 2评论
452浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
1309浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-3-10 05:12 , Processed in 1.171934 second(s), Total 65, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191