完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
IAM使用EXT CLK的16位计数器,计数器属性---GT;周期为1,比较值为0,启用高、中断TC。
投入产出 现在我给出1Hz,它给出2秒 10Hz 200毫秒 100Hz 20MSEC 像这样的1KHz 2MSEC……?为什么? 现在我想我会给多少频率从Ext.CK非常想要作为输出? 我将使用哪个用户模块?如果周期为1 以上来自于百度翻译 以下为原文 Iam using 16 bit counter with ext clk ,counter properties---->period is --1,compare value --0,enable-high,interrupt-TC input output Now i gave 1Hz it gives 2sec 10Hz 200msec 100Hz 20msec 1KHz 2mSec like this...........? why? Now i want how much i wil give frequency from ext.clk that much want as ouput ? which user module i will use? if period is 1 |
|
相关推荐
9个回答
|
|
|
您的计数器除以2,周期设置为1。
问候,Dana。 以上来自于百度翻译 以下为原文 Your counter is dividing by 2 with a period set to 1. Regards, Dana. |
|
|
|
|
|
如果周期是1,我怎么能产生与输入相同的频率?哪个用户模块更喜欢?该用户模块的属性设置?
以上来自于百度翻译 以下为原文 how can i generate same frequency as input if period is 1?which user module prefer?properties setting for that user module? |
|
|
|
|
|
如果需要相同的输出频率,可以将“定时器”用户模块的周期寄存器设置为0,并将终端计数脉冲宽度设置为半个时钟周期。
你能让我们知道为什么你想要定时器配置相同的输出频率吗? 以上来自于百度翻译 以下为原文 If you want same output frequency, you can set the period register of "timer" user module to 0 and set the terminal count pulse width to one-half clock cycle. Can you please let us know why do you want timer to be configured with same output frequency? |
|
|
|
|
|
如果您试图反输入一个输入,但是用50%的DC,RJVB建议
申请。但是TC设置为1/2 CLK并不是绝对必要的,正如您可以使用的那样。 TC对输出频率进行比较。 问候,Dana。 以上来自于百度翻译 以下为原文 If you are trying to regurgitate an input, but with DC of 50%, rjvb recommendations apply. But it is not absolutely necessary to have Tc set at 1/2 clk, as you could use Tc vs Compare out as the output frequency. Regards, Dana. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
我对此表示纠正,RJVB是正确的。它需要一个周期=0和TC=1/2个时钟。
产生50%/1波形。只发生在TC输出上,比较是 无关紧要。 数据表在将TC置于1时钟的部分中有点误导性,导致一个 相信/ 1个话题仍然是相关的。 问候,Dana。 以上来自于百度翻译 以下为原文 I stand corrected on this, rjvb is correct. It takes a Period = 0 and Tc = 1/2 clock to produce a 50% /1 waveform. That occurs only on Tc output, compare out is irrelevant. Datasheet is a tad misleading in the section of placing Tc at 1 clock, leads one to believe /1 topic still relevant. Regards, Dana. |
|
|
|
|
|
我读这篇文章越多,就越困惑。
0的周期值将输入源时钟移位半个时钟周期,产生一个分频时钟。/ 27/24/22/21xxx,CYWSb6953,CYWS6C6215,CY8CYD02/03/04D,CY8CYD03/04D,CY8CTM110,CY8CTM110,CY8CTM120,CY8CTMA120,CY8C21X45,CY8CTMA300,CY8CTMA301,CY8CTMA301D,CY8CXX45,CY8CPLC20,CY8CYLD16P01,CY8C28 XXX设备系列,终端计数脉冲W在CY8C29中IDTH必须设置为半个周期。 这是否意味着,因为它列出了特定的部分,Tc必须设置为1/2,TC可以是1个时钟的部分吗? 问候,Dana。 以上来自于百度翻译 以下为原文 The more I read this section, the more confusing it is - A period value of zero outputs the input source clock shifted by one-half clock cycle, producing a divide- by-one clock. In the CY8C29/27/24/22/21xxx, CY8C23x33, CYWUSB6953, CY7C64215, CY8CLED02/04/08/16, CY8CLED03D/04D, CY8CTST110, CY8CTMG110, CY8CTST120, CY8CTMG120, CY8CTMA120, CY8C21x45, CY8CTMA300, CY8CTMA301, CY8CTMA301D, CY8C28x45, CY8CPLC20, CY8CLED16P01, CY8C28xxxdevice families, the terminal count pulse width must be set to one-half cycle. Does that mean, since it listed specific parts, Tc had to be set to 1/2, that there are parts that Tc can be 1 clock ? Regards, Dana. |
|
|
|
|
只有小组成员才能发言,加入小组>>
786个成员聚集在这个小组
加入小组cyUSB3014一直显示2.1,不能到3.0情况,谁遇到过
7088 浏览 0 评论
2474 浏览 1 评论
2166 浏览 1 评论
4031 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
2073 浏览 6 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
7566浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
6114浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
742浏览 2评论
710浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
7962浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 01:54 , Processed in 0.936308 second(s), Total 88, Slave 71 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
3692