完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
第156页,第13部分说:所有端口上的所有引脚都可以配置为在IOC(IOC)引脚上操作中断。所以我认为上面的陈述不是真的。零件的勘误并没有提到这是一个硅问题。Microchip需要更正数据表,说除了PORTD以外的所有端口上的所有引脚都可以配置为中断(IOC)引脚的操作。不幸的是,我的电路板已经组装好了,我将使用3个PoTD-PI。国际奥委会的NS。我想我现在只需要在我的主要循环中投票。幸运的是,这不会影响性能。
以上来自于百度翻译 以下为原文 Page 156, section 13.0 says: All pins on all ports can be configured to operate as Interrupt-on-Change (IOC) pins. Nowhere in the data sheet is IOC for PORTD mentioned. So I assume the statement above is not true. The errata for the part does not mention this as being a silicon issue. Microchip needs to correct the data sheet to say All pins on all ports EXCEPT FOR PORTD can be configured to operate as Interrupt-on-Change (IOC) pins. Unfortunately my board is already assembled and I was going to use 3 PORTD pins for IOC. I guess I will now just have to poll the pins in my main loop. Fortunately that will not impact performance. |
|
相关推荐
2个回答
|
|
有趣的是,你做了整个董事会而不看表2…眨眼:
以上来自于百度翻译 以下为原文 Interesting that you did your entire board without looking at Table 2... wink: |
|
|
|
是的,我弄错了。当设置外围设备和重新映射引脚时,我使用表2。我没有注意到国际奥委会没有港口。我已经在其他两个项目中使用了1719个,但从来没有需要超过两个引脚的IOC。我现在知道这是我需要检查的另外一件事。我确信数据表永远不会被纠正。很久以前我就知道,不检查硅勘误表就不计划任何事情。但这并不能保证当你发现一个未知的硅问题时不会遇到问题。很久以前我学到的另一件事是忽略图片上的上拉电阻和下拉电阻。你永远不知道他们是否会工作,不管硅勘误笔记。总是使用外部上拉或下拉电阻。
以上来自于百度翻译 以下为原文 Yes, my mistake. I use Table 2 when setting up peripherals and remapping pins. I didn't notice IOC was not available for PORTD. I have used the 1719 in a couple of other projects but never needed IOC for more than a couple of pins. I now know this is one more thing I need to check for. I'm sure the data sheet will never be corrected. I learned a long time ago not to plan anything without checking silicon errata. But that doesn't guarantee that you won't run into a problem when you discover an unknown silicon issue. Another thing I learned a long time ago is to ignore the fact that the PICs have pullup and pulldown resistors. You never know if they will work or not regardless of silicon errata notes. ALWAYS use external pullup or pulldown resistors. |
|
|
|
只有小组成员才能发言,加入小组>>
5125 浏览 9 评论
1984 浏览 8 评论
1914 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3148 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2212 浏览 5 评论
696浏览 1评论
583浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
465浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
601浏览 0评论
494浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-1 16:13 , Processed in 1.151237 second(s), Total 51, Slave 44 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号