Help with I2C port change on FRDM-KE02Z

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

Help with I2C port change on FRDM-KE02Z

跳至解决方案
779 次查看
shuichiy
Contributor III

Let me add a question for I2C on FRDM-KE02Z.

On my FRDM-KE02Z, the oscillator has already removed (for internal clock, #define USE_FEE commented out in ke02_config.h) and an external I2C master connected instead.

Now I'm configuring I2C from PTA3/PTA2 to PTB7/PTB6.

On I2C Slave Demo sample,  following code is added in sysinit.c to change the pin.

sSIMConfig.u32PinSel |= SIM_PINSEL_IICPS_MASK;

Do I need other changes  on the software?

0 项奖励
回复
1 解答
610 次查看
shuichiy
Contributor III

I have resolved the problem.

The error is not in the code but on the board.

在原帖中查看解决方案

0 项奖励
回复
1 回复
611 次查看
shuichiy
Contributor III

I have resolved the problem.

The error is not in the code but on the board.

0 项奖励
回复