完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,我是一个新的用户与PICS,我正在实验中的NCO外围设备在PIC16F15313生产PFM输出。我有一个关于NCO增量寄存器的问题:NCO1ON/NCO1CUL寄存器决定NCO输出高或低的多少个时钟周期,或者这是别的什么吗?我在数据表中找不到答案,谢谢你的帮助。谢谢。
以上来自于百度翻译 以下为原文 Hi all, I'm a new user with PICs and I'm experimenting with the NCO peripheral in a PIC16f15313 to produce a PFM output. I've got a question regarding NCO increment registers: Do the NCO1INCH/NCO1INCL registers determine how many clock cycles the NCO output is high/low for or is this something else? I couldn't find an answer in the datasheet and any help would be appreciated. --Thank you |
|
相关推荐
3个回答
|
|
在PFM模式中,每当20位累加器溢出时产生新的脉冲,因此,脉冲频率只是NCO溢出频率,如数据表的方程22-1所示。“增量值”是由寄存器的内容给出的:CuN:英寸:ACNL,NCO时钟频率由NCO1CK寄存器中的N1CKS位选择的源来决定。脉冲宽度由NCO1CK寄存器的N1PWS位的值决定。我不知道还有什么要知道。戴夫
以上来自于百度翻译 以下为原文 In PFM mode, a new pulse is generated every time the 20-bit accumulator overflows. So, the pulse frequency is simply the NCO Overflow Frequency, as shown in Equation 22-1 of the data sheet. The "Increment Value" is given by contents of registers INCU:INCH:INCL, and NCO Clock Frequency is determined by the source selected by the N1CKS bits in the NCO1CLK register. Pulse width is determined by the value of the N1PWS bits of the NCO1CLK register. I'm not sure what else there is to know. Regards, Dave |
|
|
|
谢谢你,戴夫,现在你指出来似乎很明显。由于某种原因,我认为增量值写在3个寄存器中,在增量值本身中写入高和低输出周期。
以上来自于百度翻译 以下为原文 Thank you Dave, It seems really obvious now that you point it out. For some reason I was thinking that the increment value was written across 3 registers to write high and low output cycles within the increment value itself. |
|
|
|
嗨,这里有一个关于NCO的技术简介:HTTP:/WW1.MICCHIP.COM/DeLoSs/En/AppNoSe/90003131A.PDFRIGARDS
以上来自于百度翻译 以下为原文 Hi, there is a technical brief on the NCO : http://ww1.microchip.com/downloads/en/AppNotes/90003131A.pdf Regards |
|
|
|
只有小组成员才能发言,加入小组>>
4850 浏览 9 评论
1847 浏览 8 评论
1773 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
2975 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2076 浏览 5 评论
474浏览 1评论
320浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
379浏览 0评论
271浏览 0评论
LAN9252使用SQI通信,进行数字复位后读BYTE_TEST异常
1828浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-5-21 21:47 , Processed in 1.018403 second(s), Total 81, Slave 65 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号