Microchip
直播中

王霞

8年用户 1405经验值
私信 关注
[问答]

由MHC生成的PORT初始化

嗨,我使用了“I2CY中断”,它是在Hyg安装(V2.04)中的例子(驱动程序)中找到的。我做了修改,需要使用PIC32 MX27 0F256D,得到I2C与我的奴隶通信。但是为什么只有当我只有波尔河时,MHC才会生成代码来初始化端口-G?我的MHC PIN管理器的T-A C?布氏菌属

以上来自于百度翻译


      以下为原文

    Hi,

I used the project "I2C_interrupt" which is found under examples (drivers) in the HARMony installation (v2.04).
I made the modifications needed to use PIC32MX270F256D and got the I2C to communicate with my slave.

But why does the MHC generate code for Initialization of port D-G when I only have Port A-C in my MHC Pin Manager?

BR
Pontus


回帖(1)

李波波

2018-11-27 15:21:07
我猜你改变了现有的和声项目的设备,不是吗?如果您想将现有项目用于其他设备,则应该导入其MHC设置,保存它,为新设备创建新项目,并使用导入的MHC设置。

以上来自于百度翻译


      以下为原文

    i guess you changed the device of an existing harmony project, didn't you? you should avoid doing that actually.
 
if you want to use an existing project for some other device, then you should import its MHC settings, save it, create a new project for the new device and use the imported mhc settings.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分