完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
HYALL,环境:Win 10 /MPLAB X V3.40/MCC V3.16/XC8设备:PIC18F26K22i已使用MCC配置MSSP1作为I2C主控器。引脚RC3和放大器RC4分别被指定为SCL&SDA。然而,在引脚管理器网格中,我无法选择RC5作为输出。一条消息弹出我们“无法取消在引脚管理器中的引脚RC5上选择SDO1。对于设置“sdopin”,有多种可选选项,因此自动分位数。无法进行操作。请在MSSP1模块的Easy Setupor Register视图中配置备选的“sdopin”值。“无法在EasySetup&Register视图中找到MSSP1模块中建议的备选分配。我缺少什么?”谢谢
以上来自于百度翻译 以下为原文 Hi all, Environment: Win 10 / MPLAB X v3.40 / MCC v3.16 / XC8 Device: PIC18F66K22 I have used MCC to configure MSSP1 as I2C master. Pins RC3 & RC4 have been assigned as SCL & SDA respectively. However, in the pin manager grid, I am unable to select RC5 as an output. A message pops us "Unable to deselect SDO1 on pin RC5 in the pin manager. There are multiple, alternative options for the setting "sdopin", so an automatic decision cannot be made. Please configure an alternative "sdopin" value in the Easy Setup or Register view of the MSSP1 module." Unable to locate the alternative assignment as suggested in the MSSP1 module in both Easy setup & Register view. What am I missing? Thanks |
|
相关推荐
2个回答
|
|
RC5绑定到MSSP1模块,用作SPI模式中的SDO引脚。在I2C模式下,数据表不清楚它是否保留给MSSP。然而,在启用MSSP之前选择RC5作为GPIO不会在PIN管理器中产生错误。
以上来自于百度翻译 以下为原文 RC5 is tied to the MSSP1 module for use as the SDO pin in SPI mode. It's not clear from the datasheet whether it remains reserved for the MSSP when in I2C mode. However...selecting RC5 as GPIO before enabling the MSSP produces no errors in the pin manager. |
|
|
|
确认为一个错误。这个问题已被分配IDMCCV3XX-4330。谢谢你,PG318,为解决办法!当MSSP处于I2C模式时,硬件不保留为SDO保留的引脚。由于这个装置已经发布了6年多的时间,所以到现在为止它已经被发现并记录在PIC18F66K22的errata中。
以上来自于百度翻译 以下为原文 Confirmed as a bug. This issue has been assigned ID MCCV3XX-4330. Thank you, pg318, for the workaround! The hardware does not keep the pin reserved for SDO when the MSSP is in I2C mode. Since this device has been released for 6+ years, it would have been discovered by now and documented in the PIC18F66K22 errata as a silicon bug. |
|
|
|
只有小组成员才能发言,加入小组>>
5025 浏览 9 评论
1928 浏览 8 评论
1865 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3081 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2153 浏览 5 评论
590浏览 1评论
453浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
486浏览 0评论
385浏览 0评论
IPECMD命令烧录AVR128DA48芯片,报找不到芯片错误
866浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-27 12:57 , Processed in 1.075018 second(s), Total 45, Slave 39 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191