完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
亲爱的朋友们,我最近将代码从16F87迁移到16F1937。我遵循了所有的指令,一切都很好。但是……我注意到一些奇怪的东西,有0个比特,直到6个,端口0和PORTB位0。我假设它都在上电复位时关闭,对吗?任何想法都是受欢迎的,因为我现在在挣扎几天?非常尊敬的发明家
以上来自于百度翻译 以下为原文 Dear folks, I recently migrated code from the 16F887 to the 16F1937. I followed all instructions and everything works fine. However......I noticed some strange stuff with PORTD bits 0 till 6, PORTE bit 0 and PORTB bit 0. Is there special initialization that needs to take place, since there is also other stuff multiplexed with these pins? I would assume that it is all switched off at power-up reset right? Any idea's would be welcome, because I am struggling with this now for a couple of days? Very respectfully, inventor |
|
相关推荐
8个回答
|
|
|
是的,通常所有的“特殊功能”在启动时关闭,引脚在基本I/O模式下操作。除了模拟特征,如果存在…
以上来自于百度翻译 以下为原文 Yep, usually all "special features" are turned off at boot, and pins operate in basic I/O mode. Apart from the analog features, if present... |
|
|
|
|
|
也许芯片部分“6.3.3”的PDF会有帮助。
以上来自于百度翻译 以下为原文 Maybe the pdf for the chip section "6.3.3" will help. |
|
|
|
|
|
亲爱的DarioG,非常感谢你的建议。是的,我复习了这一部分。我注意到有更多的功能添加到引脚。我使用的引脚是非常简单的输入引脚,没有幻想。这在16F87上使用得很完美。在16F1937上,由于某种原因,数据只是不进入芯片?请告知发明人
以上来自于百度翻译 以下为原文 Dear DarioG, Thank you so much for the suggestion. Yes, I reviewed this section. What I noticed is that there are more functions added to pins. I am using the pins in question as very simple input pins, nothing fancy. This used to work perfect on the 16F887. On the 16F1937 , for some reason, the data is just not coming into the chip? please advise, inventor |
|
|
|
|
|
|
|
|
|
|
|
PDF(DS41364)的不同版本。我看到(DS4136E)可用,第12.5节。
以上来自于百度翻译 以下为原文 Different version of the pdf ( DS41364B ). I see (DS4136E) is available, section 12.5 |
|
|
|
|
|
请在整个测试程序中发布。如果有太多无关的东西,请删除它,并确保它仍然失败,然后留下剩下的。确保它是完整的,这样我们就可以拿走你的文件,编译/组装它,然后运行在一个芯片中。
以上来自于百度翻译 以下为原文 Please post you entire test program. If there's too much unrelated stuff in there, remove it, and make sure it still fails, then post what is left. Make sure it is complete, so we could take your file, compile/assemble it, and run in a chip. |
|
|
|
|
|
嗨,在PIC16F1937中有大量的添加。不要假设新的功能被关闭。例如,我认为有额外的模拟输入多路复用。如果是这样,意味着对于那些引脚,你需要选择数字模式。
以上来自于百度翻译 以下为原文 Hi, There are significant additions in PIC16F1937. Don't assume new functions are turned off. e.g. I think there are extra analog inputs multiplexed. If so, it means for those pins you need to select digital mode. Regards |
|
|
|
|
|
非常感谢,我研究了PDF,是的……有些东西是完全不同的,实现了变化,现在所有的工作都完美了!
以上来自于百度翻译 以下为原文 Thank you so much, I studied the pdf and yes........somethings are definitely different, implemented the changes and it all works perfect now! |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
495 浏览 0 评论
5808 浏览 9 评论
2347 浏览 8 评论
2237 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3542 浏览 3 评论
1154浏览 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 02:38 , Processed in 1.199080 second(s), Total 88, Slave 71 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2541