完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
DSPIC33 FRM部分18(DS7000 05185A)给出了SPIXCON1.SPRE的以下描述:111=次级预分频器1:1110=次级预分频2:1…000=次级预分频8:1,那么未写入的预分频值是什么?3:1,4:1,5:1,6:1,7:1?我发现有点奇怪,质数值如3:1、5:1、7:1是可用的时钟除法器选项。这些真的可用吗?我问,因为我正试图实现4兆赫SPI时钟从40兆赫FCY。如果上述假设是正确的,这是不可能的。最接近的值是:5 MHz,PPRE=2(4:1),SPRE=6(2:1),这太快了。或3.33兆赫与PPRE=2(4:1),SPRE=5(3:1),如果存在这样的选项。令人烦恼的是,这不是4兆赫。
以上来自于百度翻译 以下为原文 dsPIC33 FRM section 18 (DS70005185A) gives the following description of SPIxCON1.SPRE: 111 = Secondary prescale 1:1 110 = Secondary prescale 2:1 . . . 000 = Secondary prescale 8:1 So what are the unwritten prescale values? 3:1, 4:1, 5:1, 6:1, 7:1? I find it a bit strange that prime number values like 3:1, 5:1, 7:1 are available clock divider options. Are these really available? I ask because I'm trying to achieve 4 MHz SPI clock from 40 MHz Fcy. This does not appear possible if above assumptions are correct. Closest values would be: 5 MHz with PPRE = 2 (4:1), SPRE = 6 (2:1) -- this is too fast. Or 3.33 MHz with PPRE = 2 (4:1), SPRE = 5 (3:1), if such option exists. Annoyingly, this is not desired 4 MHz. |
|
相关推荐
2个回答
|
|
|
显然,是的,它们还能是什么呢?为什么不呢?大概是我们用一个三位计数器来实现,它的重置值可以从0变化到7,使计数为1到8。不可能从可用的选项中得到10的总分值。8或12是你能得到的最接近的。
以上来自于百度翻译 以下为原文 Plainly yes. What else could they be? Why not? Presumably it us implemented with a three bit counter with a reset value that can vary from 0 to 7, giving counts of 1 to 8. Agreed. It is not possibly to get a total divide of 10 from the options available. 8 or 12 is the nearest you can get. |
|
|
|
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
501 浏览 0 评论
5808 浏览 9 评论
2350 浏览 8 评论
2237 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3543 浏览 3 评论
1156浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1119浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
887浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
501浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-12 08:57 , Processed in 0.815259 second(s), Total 76, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1756