How can I set Pins to have 2 routes in MUCExpresso

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How can I set Pins to have 2 routes in MUCExpresso

862 次查看
greycon
Contributor II

Hi. In the bubble example, which comes with the FRDM-K82F board, Pins 37 and 38 are assigned different routings in 2 separate Functional groups. In one  group they are defined as GPIO (So that they can be used to reset the attached I2C bus) and in another they are assigned as I2C3.

In my project, I am trying to do the same with Pins 55 and 56. So I defiine them as GPIOB2 and GPIO3 in one functional group, and as I2C0 in a different functional group. But whenever I try to do so, I get an error, telling me I have a Routing Conflict.

Can anyone tell me how to achieve this? Thanks

0 项奖励
1 回复

846 次查看
greycon
Contributor II

OK, found it. When I created my 2 new Functional Groups, they were, by default set to "Called by default initialization function" - so the Pin Config tool rightly called out a conflict.

I intend to call these myself, when I need to, so I just unticked this option, and all is now OK.